mirror of
https://github.com/naturalcrit/homebrewery.git
synced 2026-01-12 02:22:40 +00:00
move some toolbar specific styling to toolbar.less
This commit is contained in:
@@ -1,12 +1,7 @@
|
|||||||
.anchored-trigger {
|
|
||||||
&.active {
|
|
||||||
background-color: #444444;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
.anchored-box {
|
.anchored-box {
|
||||||
position:absolute;
|
position:absolute;
|
||||||
top: 30px;
|
|
||||||
@supports (inset-block-start: anchor(bottom)){
|
@supports (inset-block-start: anchor(bottom)){
|
||||||
inset-block-start: anchor(bottom);
|
inset-block-start: anchor(bottom);
|
||||||
}
|
}
|
||||||
@@ -15,44 +10,4 @@
|
|||||||
&.active {
|
&.active {
|
||||||
visibility: visible;
|
visibility: visible;
|
||||||
}
|
}
|
||||||
padding : 15px;
|
|
||||||
color : white;
|
|
||||||
background-color : #555555;
|
|
||||||
border-radius : 5px;
|
|
||||||
font-size : .8em;
|
|
||||||
margin-top : 10px;
|
|
||||||
|
|
||||||
h1 {
|
|
||||||
border-bottom: 1px solid currentColor;
|
|
||||||
margin-bottom: 0.5em;
|
|
||||||
padding-bottom: 0.3em;
|
|
||||||
}
|
|
||||||
|
|
||||||
h2 {
|
|
||||||
color: lightgray;
|
|
||||||
border-bottom: 1px solid currentColor;
|
|
||||||
margin: 1em 0 0.5em 0;
|
|
||||||
padding-bottom: 0.3em;
|
|
||||||
}
|
|
||||||
|
|
||||||
label {
|
|
||||||
display: flex;
|
|
||||||
align-items: center;
|
|
||||||
justify-content: space-between;
|
|
||||||
gap: 6px;
|
|
||||||
|
|
||||||
}
|
|
||||||
|
|
||||||
&:before {
|
|
||||||
content: "";
|
|
||||||
width: 0px;
|
|
||||||
height: 0px;
|
|
||||||
position: absolute;
|
|
||||||
border: 10px solid transparent;
|
|
||||||
border-bottom: 10px solid #555555;
|
|
||||||
left: 50%;
|
|
||||||
transform: translateX(-50%);
|
|
||||||
top: -20px;
|
|
||||||
pointer-events: none;
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
@@ -38,17 +38,64 @@
|
|||||||
background-color: #444;
|
background-color: #444;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.anchored-trigger {
|
||||||
|
&.active {
|
||||||
|
background-color: #444444;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
.anchored-box {
|
.anchored-box {
|
||||||
color: #CCCCCC;
|
--box-color : #555555;
|
||||||
display: flex;
|
top : 30px;
|
||||||
flex-direction: column;
|
display : flex;
|
||||||
gap: 5px;
|
flex-direction : column;
|
||||||
|
gap : 5px;
|
||||||
|
padding : 15px;
|
||||||
|
margin-top : 10px;
|
||||||
|
font-size : .8em;
|
||||||
|
color : #CCCCCC;
|
||||||
|
background-color : var(--box-color);
|
||||||
|
border-radius : 5px;
|
||||||
|
|
||||||
|
h1 {
|
||||||
|
border-bottom: 1px solid currentColor;
|
||||||
|
margin-bottom: 0.5em;
|
||||||
|
padding-bottom: 0.3em;
|
||||||
|
}
|
||||||
|
|
||||||
|
h2 {
|
||||||
|
color: lightgray;
|
||||||
|
border-bottom: 1px solid currentColor;
|
||||||
|
margin: 1em 0 0.5em 0;
|
||||||
|
padding-bottom: 0.3em;
|
||||||
|
}
|
||||||
|
|
||||||
|
label {
|
||||||
|
display: flex;
|
||||||
|
align-items: center;
|
||||||
|
justify-content: space-between;
|
||||||
|
gap: 6px;
|
||||||
|
|
||||||
|
}
|
||||||
input{
|
input{
|
||||||
height: unset;
|
height: unset;
|
||||||
&[type='range'] {
|
&[type='range'] {
|
||||||
padding: 0;
|
padding: 0;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
&:before {
|
||||||
|
content: "";
|
||||||
|
width: 0px;
|
||||||
|
height: 0px;
|
||||||
|
position: absolute;
|
||||||
|
border: 10px solid transparent;
|
||||||
|
border-bottom: 10px solid var(--box-color);
|
||||||
|
left: 50%;
|
||||||
|
transform: translateX(-50%);
|
||||||
|
top: -20px;
|
||||||
|
pointer-events: none;
|
||||||
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
.radio-group:has(button[role='radio']){
|
.radio-group:has(button[role='radio']){
|
||||||
|
|||||||
Reference in New Issue
Block a user