Implement Web Assets' theme system and selection, and add 'light' theme #118
@ -16,7 +16,7 @@
|
|||||||
&:last-child
|
&:last-child
|
||||||
/* Remove bottom half of the vertical line for last item. */
|
/* Remove bottom half of the vertical line for last item. */
|
||||||
.comment-card:before
|
.comment-card:before
|
||||||
height: calc(50% - 1.6rem)
|
height: calc(50% - var(--spacer))
|
||||||
.activity-status-change:before
|
.activity-status-change:before
|
||||||
height: calc(50% + var(--border-width))
|
height: calc(50% + var(--border-width))
|
||||||
|
|
||||||
@ -50,7 +50,7 @@
|
|||||||
left: var(--border-width)
|
left: var(--border-width)
|
||||||
position: absolute
|
position: absolute
|
||||||
top: 50%
|
top: 50%
|
||||||
width: 3.2rem
|
width: calc(var(--spacer) * 2)
|
||||||
z-index: -1
|
z-index: -1
|
||||||
|
|
||||||
.activity-icon
|
.activity-icon
|
||||||
@ -87,7 +87,7 @@
|
|||||||
&.activity-status-approved
|
&.activity-status-approved
|
||||||
.activity-icon
|
.activity-icon
|
||||||
border-color: var(--color-success)
|
border-color: var(--color-success)
|
||||||
box-shadow: 0 0 1.6rem var(--color-success-bg)
|
box-shadow: 0 0 var(--spacer) var(--color-success-bg)
|
||||||
color: var(--color-success-text)
|
color: var(--color-success-text)
|
||||||
|
|
||||||
.activity-icon
|
.activity-icon
|
||||||
|
@ -15,12 +15,12 @@
|
|||||||
border-radius: .4rem
|
border-radius: .4rem
|
||||||
content: ''
|
content: ''
|
||||||
display: block
|
display: block
|
||||||
height: 1.6rem
|
height: var(--spacer)
|
||||||
left: -.33rem
|
left: -.33rem
|
||||||
position: absolute
|
position: absolute
|
||||||
rotate: 45deg
|
rotate: 45deg
|
||||||
top: 1.6rem
|
top: var(--spacer)
|
||||||
width: 1.6rem
|
width: var(--spacer)
|
||||||
z-index: -1
|
z-index: -1
|
||||||
|
|
||||||
p:last-child
|
p:last-child
|
||||||
@ -35,7 +35,7 @@
|
|||||||
align-items: center
|
align-items: center
|
||||||
display: flex
|
display: flex
|
||||||
+list-unstyled
|
+list-unstyled
|
||||||
gap: 1.6rem
|
gap: var(--spacer)
|
||||||
margin: 0
|
margin: 0
|
||||||
|
|
||||||
li
|
li
|
||||||
|
@ -12,7 +12,7 @@
|
|||||||
|
|
||||||
.galleria-items
|
.galleria-items
|
||||||
display: flex
|
display: flex
|
||||||
gap: .8rem
|
gap: var(--spacer-2)
|
||||||
overflow-x: auto
|
overflow-x: auto
|
||||||
+padding(2, top)
|
+padding(2, top)
|
||||||
scroll-behavior: smooth
|
scroll-behavior: smooth
|
||||||
@ -43,7 +43,7 @@
|
|||||||
|
|
||||||
.galleria-item-type-video
|
.galleria-item-type-video
|
||||||
&::after
|
&::after
|
||||||
font-size: 3.2rem
|
font-size: calc(var(--spacer) * 2)
|
||||||
|
|
||||||
.galleria-item
|
.galleria-item
|
||||||
+border-radius
|
+border-radius
|
||||||
@ -69,7 +69,7 @@
|
|||||||
transform: translate(-50%, -50%)
|
transform: translate(-50%, -50%)
|
||||||
width: initial
|
width: initial
|
||||||
height: initial
|
height: initial
|
||||||
gap: 1.6rem
|
gap: var(--spacer)
|
||||||
|
|
||||||
|
|
||||||
&.is-active
|
&.is-active
|
||||||
@ -174,7 +174,7 @@
|
|||||||
|
|
||||||
.indicator
|
.indicator
|
||||||
background-color: rgba(black, .5)
|
background-color: rgba(black, .5)
|
||||||
bottom: 1.6rem
|
bottom: var(--spacer)
|
||||||
color: white
|
color: white
|
||||||
+fw-bold
|
+fw-bold
|
||||||
min-width: 3ch
|
min-width: 3ch
|
||||||
@ -187,7 +187,7 @@
|
|||||||
backdrop-filter: blur(2.8rem)
|
backdrop-filter: blur(2.8rem)
|
||||||
background-color: rgba(black, .5)
|
background-color: rgba(black, .5)
|
||||||
border-radius: var(--border-radius)
|
border-radius: var(--border-radius)
|
||||||
bottom: 1.6rem
|
bottom: var(--spacer)
|
||||||
color: white
|
color: white
|
||||||
+font-weight(500)
|
+font-weight(500)
|
||||||
line-height: 1.5
|
line-height: 1.5
|
||||||
|
@ -75,7 +75,7 @@ $container-width: map-get($container-max-widths, 'xl')
|
|||||||
font-size: var(--fs-xs)
|
font-size: var(--fs-xs)
|
||||||
justify-content: center
|
justify-content: center
|
||||||
padding-block: .1rem
|
padding-block: .1rem
|
||||||
padding-inline: .4rem
|
padding-inline: var(--spacer-1)
|
||||||
position: absolute
|
position: absolute
|
||||||
top: calc(var(--spacer-2) * -1)
|
top: calc(var(--spacer-2) * -1)
|
||||||
transition: background-color var(--transition-speed), box-shadow 500ms, color var(--transition-speed)
|
transition: background-color var(--transition-speed), box-shadow 500ms, color var(--transition-speed)
|
||||||
|
Loading…
Reference in New Issue
Block a user