-
Notifications
You must be signed in to change notification settings - Fork 52
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
UI: Right sidebar UI #657
Merged
+99
−124
Merged
UI: Right sidebar UI #657
Changes from all commits
Commits
Show all changes
26 commits
Select commit
Hold shift + click to select a range
be7751f
more
jordanvidrine 02519aa
more
jordanvidrine 6554129
i think i fixed it
jordanvidrine 3a0c11d
fix test
jordanvidrine b16d4a2
fix
jordanvidrine 93efd70
linting
jordanvidrine e2d384d
UX: match style of topic post events
jordanvidrine efae7c0
more
jordanvidrine 27564de
hover effect
jordanvidrine a8cc08c
more
jordanvidrine b570b70
init
jordanvidrine dfe6064
font-size:
jordanvidrine 33b7522
merge
jordanvidrine 08f0c5e
merge
jordanvidrine 9d18f9a
merge 2
jordanvidrine 3c84ac9
remove methods
jordanvidrine 26efaf6
Merge branch 'main' of https://github.com/discourse/discourse-calenda…
jordanvidrine 5edbe87
fixing tests
jordanvidrine a9d2d9b
fixing errors
jordanvidrine 6ccf5c9
more fixes
jordanvidrine 99bcb1a
more fixes
jordanvidrine 4282ffd
more fixes
jordanvidrine a03e0db
remove unneeded test
jordanvidrine 4c06f22
more
jordanvidrine b4af1b7
fix typo
jordanvidrine 4bd0ec2
fix typo
jordanvidrine File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,43 +1,68 @@ | ||
.upcoming-events-list { | ||
&__formatted-month { | ||
font-weight: 600; | ||
} | ||
|
||
&__day-section { | ||
&__event { | ||
column-gap: 0.5em; | ||
display: flex; | ||
flex-direction: column; | ||
padding-bottom: 0.5rem; | ||
gap: 0.5rem; | ||
padding: 0.5em; | ||
border-radius: var(--d-border-radius); | ||
} | ||
|
||
&__formatted-day { | ||
margin-left: 0.5rem; | ||
font-weight: 600; | ||
font-size: var(--base-font-size); | ||
&__event:last-of-type { | ||
margin-bottom: 0.75em; | ||
} | ||
|
||
&__event { | ||
&__event:hover { | ||
background-color: var(--primary-50); | ||
} | ||
&__event-date { | ||
display: flex; | ||
flex-shrink: 0; | ||
align-items: center; | ||
margin-left: 1rem; | ||
gap: 0.25rem; | ||
justify-content: center; | ||
width: 2.5em; | ||
height: 2.5em; | ||
margin: 0; | ||
padding: 0; | ||
border: 1px solid var(--primary-low); | ||
border-radius: var(--d-button-border-radius); | ||
flex-direction: column; | ||
background-color: var(--secondary); | ||
} | ||
&__event-date .month { | ||
text-align: center; | ||
color: var(--primary); | ||
font-size: var(--font-down-3); | ||
text-transform: uppercase; | ||
} | ||
&__event-date .day { | ||
text-align: center; | ||
color: var(--primary); | ||
font-weight: bold; | ||
font-size: var(--font-down-1); | ||
line-height: var(--line-height-medium); | ||
} | ||
|
||
&__event-content { | ||
display: flex; | ||
flex-direction: column; | ||
} | ||
&__event-name { | ||
width: 70%; | ||
display: -webkit-box; | ||
-webkit-line-clamp: 1; | ||
-webkit-box-orient: vertical; | ||
overflow: hidden; | ||
color: var(--primary); | ||
} | ||
|
||
&__event-time { | ||
width: 30%; | ||
text-align: center; | ||
font-size: var(--font-down-2); | ||
font-weight: 400; | ||
color: var(--primary-700); | ||
} | ||
|
||
&__footer { | ||
border-top: 1px solid var(--primary-low); | ||
padding-top: 0.5em; | ||
font-size: var(--font-down-1); | ||
margin-top: 1em; | ||
font-size: var(--font-down-2); | ||
line-height: var(--line-height-medium); | ||
padding-left: 0.5em; | ||
} | ||
&__footer a { | ||
color: var(--primary-high); | ||
} | ||
&__footer a:hover { | ||
color: var(--primary); | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
is there a reason this got moved around?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
a rebase issue