aboutsummaryrefslogtreecommitdiff
path: root/client/css
diff options
context:
space:
mode:
authorHunternif2021-08-04 03:29:02 +0100
committerHunternif2021-08-04 03:29:02 +0100
commitc4874e2289c92879a059ee7e4a6fd7243039de1f (patch)
tree84cdf71382bf7c6b51ef80cf1e543340227be235 /client/css
parentca861cdc44ca476cec2949f237bbc7503862ad58 (diff)
parent414106a4773d3a532e0903b6ee9524ca78c5e6ad (diff)
Merge branch 'master' into hunternif
Diffstat (limited to 'client/css')
-rw-r--r--client/css/core-general.styl5
-rw-r--r--client/css/pager.styl4
-rw-r--r--client/css/post-main-view.styl14
-rw-r--r--client/css/tag-input-control.styl26
4 files changed, 41 insertions, 8 deletions
diff --git a/client/css/core-general.styl b/client/css/core-general.styl
index 6b481b3..b1f8401 100644
--- a/client/css/core-general.styl
+++ b/client/css/core-general.styl
@@ -240,6 +240,9 @@ nav
background: $focused-tab-background-color-darktheme
&#top-navigation
background: $top-navigation-color-darktheme
+ ul
+ #mobile-navigation-toggle
+ color: $text-color-darktheme
a .access-key
text-decoration: underline
@@ -275,7 +278,7 @@ a .access-key
background: darken($message-error-background-color, 60%)
&.success
border: 1px solid darken($message-success-border-color, 30%)
- background: darken($message-success-background-color, 60%)
+ background: darken($message-success-background-color, 80%)
.thumbnail
/*background-image: attr(data-src url)*/ /* not available yet */
diff --git a/client/css/pager.styl b/client/css/pager.styl
index 547b719..66206a9 100644
--- a/client/css/pager.styl
+++ b/client/css/pager.styl
@@ -22,7 +22,7 @@
z-index: 1
span
position: relative
- background: white
+ background: $window-color
padding: 0 1em
z-index: 2
@@ -31,3 +31,5 @@
.page-header
&:before
background: $top-navigation-color-darktheme
+ span
+ background: $window-color-darktheme
diff --git a/client/css/post-main-view.styl b/client/css/post-main-view.styl
index 6078617..aa4a5fd 100644
--- a/client/css/post-main-view.styl
+++ b/client/css/post-main-view.styl
@@ -7,8 +7,8 @@
>.sidebar
margin-right: 1em
- min-width: 20em
- max-width: 20em
+ min-width: 21em
+ max-width: 21em
line-height: 160%
a:active
@@ -27,7 +27,7 @@
padding: 0.3em 0
text-align: center
vertical-align: middle
- transition: background 0.2s linear
+ transition: background 0.2s linear, box-shadow 0.2s linear
&:not(.inactive):hover
background: lighten($main-color, 90%)
i
@@ -52,6 +52,14 @@
.post-content
margin: 0
+.darktheme .post-view
+ >.sidebar
+ nav.buttons
+ article
+ a:not(.inactive):hover
+ background: unset
+ box-shadow: inset 0 0 0 0.3em $main-color
+
@media (max-width: 800px)
.post-view
flex-wrap: wrap
diff --git a/client/css/tag-input-control.styl b/client/css/tag-input-control.styl
index bc34cb9..66e060b 100644
--- a/client/css/tag-input-control.styl
+++ b/client/css/tag-input-control.styl
@@ -86,6 +86,12 @@ div.tag-input
font-size: 90%
unselectable()
+@keyframes tag-added-to-post
+ from
+ max-height: 0
+ to
+ max-height: 5em
+
ul.compact-tags
width: 100%
margin: 0.5em 0 0 0
@@ -103,18 +109,30 @@ ul.compact-tags
a:focus
outline: 0
box-shadow: inset 0 0 0 2px $main-color
+ // these 3 added when tag is added to ul
+ &.added, &.new, &.implication
+ animation: tag-added-to-post 1s ease forwards
&.implication
- background: $implied-tag-background-color
color: $implied-tag-text-color
+ background-color: $implied-tag-background-color
&.new
- background: $new-tag-background-color
color: $new-tag-text-color
+ background-color: $new-tag-background-color
&.duplicate
- background: $duplicate-tag-background-color
color: $duplicate-tag-text-color
+ background-color: $duplicate-tag-background-color
i
padding-right: 0.4em
+.darktheme ul.compact-tags
+ li
+ &.new
+ background-color: darken($new-tag-background-color, 80%)
+ &.implication
+ background-color: darken($implied-tag-background-color, 85%)
+ &.duplicate
+ background-color: darken($duplicate-tag-background-color, 80%)
+
div.tag-input, ul.compact-tags
.tag-usages, .tag-weight, .remove-tag
color: $inactive-link-color
@@ -134,6 +152,8 @@ div.tag-input, ul.compact-tags
background: $window-color-darktheme
ul li:last-child
border-bottom: 0.5em solid alpha($window-color-darktheme, 0)
+ p
+ background: darken($tag-suggestions-header-color, 80%)
.append
color: $inactive-link-color-darktheme
div.tag-input, ul.compact-tags

© 2015 - 2026 Jakob L. Kreuze