mirror of
https://github.com/encounter/numix-blue-gtk-theme.git
synced 2026-07-10 12:18:49 -07:00
[GTK 3.20] Issue #484 fixed
This commit is contained in:
committed by
Khurshid Alam
parent
220dc21a1e
commit
b1c1fe6a8f
@@ -191,14 +191,6 @@
|
|||||||
&:hover {
|
&:hover {
|
||||||
background-color: mix($bg_color, $base_color, .6);
|
background-color: mix($bg_color, $base_color, .6);
|
||||||
}
|
}
|
||||||
|
|
||||||
&:not(:first-child):not(:only-child){
|
|
||||||
box-shadow: -1px 0 1px 0 rgba(0,0,0,0.1);
|
|
||||||
}
|
|
||||||
|
|
||||||
&:not(:last-child):not(:only-child) {
|
|
||||||
box-shadow: 1px 0 1px 0 rgba(0,0,0,0.1);
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
label {
|
label {
|
||||||
@@ -211,6 +203,68 @@
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
&.top tab,
|
||||||
|
&.bottom tab {
|
||||||
|
&:hover {
|
||||||
|
&:not(:first-child):not(:last-child):not(:only-child) {
|
||||||
|
box-shadow: 1px 0 1px shade($base_color, .85), -1px 0 1px shade($base_color, .85);
|
||||||
|
}
|
||||||
|
|
||||||
|
&:last-child:not(:only-child) {
|
||||||
|
box-shadow: -1px 0 1px shade($base_color, .85);
|
||||||
|
}
|
||||||
|
|
||||||
|
&:first-child:not(:only-child) {
|
||||||
|
box-shadow: 1px 0 1px shade($base_color, .85);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
&:checked {
|
||||||
|
&:not(:first-child):not(:last-child):not(:only-child) {
|
||||||
|
box-shadow: 1px 0 1px shade($base_color, .8), -1px 0 1px shade($base_color, .8);
|
||||||
|
}
|
||||||
|
|
||||||
|
&:last-child:not(:only-child) {
|
||||||
|
box-shadow: -1px 0 1px shade($base_color, .8);
|
||||||
|
}
|
||||||
|
|
||||||
|
&:first-child:not(:only-child) {
|
||||||
|
box-shadow: 1px 0 1px shade($base_color, .8);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
&.right tab,
|
||||||
|
&.left tab {
|
||||||
|
&:hover {
|
||||||
|
&:not(:first-child):not(:last-child):not(:only-child) {
|
||||||
|
box-shadow: 0 1px 1px shade($base_color, .85), 0 -1px 1px shade($base_color, .85);
|
||||||
|
}
|
||||||
|
|
||||||
|
&:last-child:not(:only-child) {
|
||||||
|
box-shadow: 0 -1px 1px shade($base_color, .85);
|
||||||
|
}
|
||||||
|
|
||||||
|
&:first-child:not(:only-child) {
|
||||||
|
box-shadow: 0 1px 1px shade($base_color, .85);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
&:checked {
|
||||||
|
&:not(:first-child):not(:last-child):not(:only-child) {
|
||||||
|
box-shadow: 0 1px 1px shade($base_color, .8), 0 -1px 1px shade($base_color, .8);
|
||||||
|
}
|
||||||
|
|
||||||
|
&:last-child:not(:only-child) {
|
||||||
|
box-shadow: 0 -1px 1px shade($base_color, .8);
|
||||||
|
}
|
||||||
|
|
||||||
|
&:first-child:not(:only-child) {
|
||||||
|
box-shadow: 0 1px 1px shade($base_color, .8);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
&.top tab {
|
&.top tab {
|
||||||
padding: ($spacing + 1) 0 0; // top | left/right | bottom
|
padding: ($spacing + 1) 0 0; // top | left/right | bottom
|
||||||
border-style: solid;
|
border-style: solid;
|
||||||
|
|||||||
Reference in New Issue
Block a user