num in metabox
This commit is contained in:
parent
1b899691a7
commit
a1671cb1d0
1 changed files with 30 additions and 2 deletions
|
@ -41,21 +41,49 @@
|
||||||
border-radius: 4px 4px 0 0;
|
border-radius: 4px 4px 0 0;
|
||||||
color: @color-nav;
|
color: @color-nav;
|
||||||
cursor: pointer;
|
cursor: pointer;
|
||||||
|
transition: @transition color, @transition background-color, @transition border-color;
|
||||||
|
|
||||||
* {
|
* {
|
||||||
cursor: pointer;
|
cursor: pointer;
|
||||||
}
|
}
|
||||||
|
|
||||||
.prefix {
|
.prefix {
|
||||||
font-size: .78rem;
|
font-size: .78rem;
|
||||||
color: @color-nav;
|
color: @color-nav;
|
||||||
|
position: relative;
|
||||||
|
transition: @transition color;
|
||||||
}
|
}
|
||||||
.num {
|
.num {
|
||||||
|
position: absolute;
|
||||||
|
right: -.8rem;
|
||||||
|
top: -.4rem;
|
||||||
|
background-color: @color-border;
|
||||||
|
border-radius: 2px;
|
||||||
|
color: @color-nav;
|
||||||
font-size: .56rem;
|
font-size: .56rem;
|
||||||
|
font-weight: 400;
|
||||||
|
text-align: center;
|
||||||
|
line-height: 1;
|
||||||
|
padding: .2em .2rem .1em;
|
||||||
|
transition: @transition color, @transition background-color;
|
||||||
|
|
||||||
}
|
}
|
||||||
&:hover, &:focus, &:active {
|
&:hover,
|
||||||
color: @color-link;
|
&:focus,
|
||||||
|
&:active {
|
||||||
background-color: @background_page-header;
|
background-color: @background_page-header;
|
||||||
border-color: @color-border;
|
border-color: @color-border;
|
||||||
border-bottom-color: transparent;
|
border-bottom-color: transparent;
|
||||||
|
color: @button_background;
|
||||||
|
|
||||||
|
.prefix {
|
||||||
|
color: @button_background;
|
||||||
|
}
|
||||||
|
|
||||||
|
.num {
|
||||||
|
background-color: @button_background;
|
||||||
|
color: @button_color;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
&.active > a {
|
&.active > a {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue