refactor(sww): Simplify CSS
This commit is contained in:
parent
b590bb5f95
commit
2967b9e807
1 changed files with 31 additions and 23 deletions
|
@ -43,17 +43,21 @@ tooltip {
|
||||||
menuitem {
|
menuitem {
|
||||||
padding: 2px 8px;
|
padding: 2px 8px;
|
||||||
|
|
||||||
&:last-child {
|
&:first-child {
|
||||||
margin: 0px 0px $bg-radius 0px;
|
margin-top: $bg-radius;
|
||||||
}
|
}
|
||||||
|
|
||||||
&:first-child {
|
&:last-child {
|
||||||
margin: $bg-radius 0px 0px 0px;
|
margin-bottom: $bg-radius;
|
||||||
}
|
}
|
||||||
|
|
||||||
&:hover {
|
&:hover {
|
||||||
background-color: $blue-500;
|
background-color: $blue-500;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
image {
|
||||||
|
// -gtk-icon-size: 15px;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -70,37 +74,41 @@ tooltip {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
.end {
|
.end .tray {
|
||||||
> box {
|
|
||||||
|
|
||||||
widget > image {
|
widget {
|
||||||
|
> image {
|
||||||
background: $bg-300;
|
background: $bg-300;
|
||||||
margin: $bg-margin 0px;
|
margin: $bg-margin 0px;
|
||||||
padding: 0 6px;
|
padding: 0 6px;
|
||||||
}
|
}
|
||||||
|
|
||||||
widget:first-child > image {
|
&:hover > image {
|
||||||
border-top-left-radius: $bg-radius;
|
background: $bg-100;
|
||||||
border-bottom-left-radius: $bg-radius;
|
|
||||||
}
|
|
||||||
|
|
||||||
widget:last-child > image {
|
|
||||||
border-top-right-radius: $bg-radius;
|
|
||||||
border-bottom-right-radius: $bg-radius;
|
|
||||||
}
|
|
||||||
|
|
||||||
> label:first-child {
|
|
||||||
padding-right: 16px;
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
label:last-child {
|
widget:first-child > image {
|
||||||
margin-right: 12px;
|
border-top-left-radius: $bg-radius;
|
||||||
|
border-bottom-left-radius: $bg-radius;
|
||||||
}
|
}
|
||||||
|
|
||||||
box label:last-child {
|
widget:last-child > image {
|
||||||
margin-left: 12px;
|
border-top-right-radius: $bg-radius;
|
||||||
|
border-bottom-right-radius: $bg-radius;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// > label:first-child {
|
||||||
|
// padding-right: 16px;
|
||||||
|
// }
|
||||||
|
|
||||||
|
// label:last-child {
|
||||||
|
// margin-right: 12px;
|
||||||
|
// }
|
||||||
|
|
||||||
|
// box label:last-child {
|
||||||
|
// margin-left: 12px;
|
||||||
|
// }
|
||||||
}
|
}
|
||||||
|
|
||||||
.workspaces {
|
.workspaces {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue