[GTK 3.20] Issue #484 fixed
parent
220dc21a1e
commit
b1c1fe6a8f
|
@ -191,14 +191,6 @@
|
|||
&:hover {
|
||||
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 {
|
||||
|
@ -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 {
|
||||
padding: ($spacing + 1) 0 0; // top | left/right | bottom
|
||||
border-style: solid;
|
||||
|
|
Loading…
Reference in New Issue