-
Notifications
You must be signed in to change notification settings - Fork 29
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Improve event title and language switcher style (#206)
* Improve style of event titles and language switcher * Update gitignore to include Mac-related stuff
- Loading branch information
Showing
4 changed files
with
66 additions
and
5 deletions.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,12 @@ | ||
# PHP | ||
/vendor/ | ||
|
||
# JetBrains IDE | ||
.idea | ||
|
||
# Mac OS | ||
.DS_Store | ||
|
||
# Misc | ||
*.env | ||
metas.php | ||
.idea |
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 |
---|---|---|
@@ -0,0 +1,40 @@ | ||
.language-switcher { | ||
position: relative; | ||
display: inline-block; | ||
} | ||
|
||
.language-switcher select { | ||
appearance: none; | ||
-webkit-appearance: none; | ||
-moz-appearance: none; | ||
padding: 8px 32px 8px 12px; | ||
font-size: 16px; | ||
border: 1px solid var(--primary-color); | ||
border-radius: 6px; | ||
background-color: white; | ||
cursor: pointer; | ||
min-width: 140px; | ||
transition: all 0.2s ease; | ||
} | ||
|
||
.language-switcher::after { | ||
content: '▼'; | ||
font-size: 12px; | ||
color: #666; | ||
position: absolute; | ||
right: 12px; | ||
top: 50%; | ||
transform: translateY(-50%); | ||
pointer-events: none; | ||
} | ||
|
||
.language-switcher select:hover { | ||
border-color: #999; | ||
box-shadow: 0 2px 4px rgba(0,0,0,0.1); | ||
} | ||
|
||
.language-switcher select:focus { | ||
outline: none; | ||
border-color: var(--primary-color); | ||
box-shadow: var(--box-shadow); | ||
} |
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