Clearer tab select
correct padding in Alerts Pressed button has inset shaddow
This commit is contained in:
parent
045ee3ff9f
commit
52da7d7899
5 changed files with 25 additions and 10 deletions
|
@ -33,6 +33,7 @@
|
|||
background: darken($color, 15%);
|
||||
background-image: linear-gradient(to top, darken($color, 10%), darken($color, 15%));
|
||||
border-color: 1px darken($color, 20%) solid;
|
||||
box-shadow: inset 0 0 5px rgba(darken($color, 20%), 0.4);
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -53,13 +54,24 @@
|
|||
text-shadow: 0 1px 0 $black;
|
||||
transition: all 0.2s ease-in-out;
|
||||
|
||||
&:first-child {
|
||||
border-top-left-radius: $border-radius;
|
||||
border-bottom-left-radius: $border-radius;
|
||||
}
|
||||
&:last-child {
|
||||
border-top-right-radius: $border-radius;
|
||||
border-bottom-right-radius: $border-radius;
|
||||
@if $border-radius <= 0 {
|
||||
&:first-child {
|
||||
border-top-left-radius: 3px;
|
||||
border-bottom-left-radius: 3px;
|
||||
}
|
||||
&:last-child {
|
||||
border-top-right-radius: 3px;
|
||||
border-bottom-right-radius: 3px;
|
||||
}
|
||||
} @else {
|
||||
&:first-child {
|
||||
border-top-left-radius: $border-radius;
|
||||
border-bottom-left-radius: $border-radius;
|
||||
}
|
||||
&:last-child {
|
||||
border-top-right-radius: $border-radius;
|
||||
border-bottom-right-radius: $border-radius;
|
||||
}
|
||||
}
|
||||
|
||||
&:hover {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue