new var @fix_border-radius for no custom border-radius
This commit is contained in:
parent
527e72e79a
commit
acc4acbcf1
4 changed files with 8 additions and 4 deletions
|
@ -119,7 +119,7 @@
|
||||||
position: relative;
|
position: relative;
|
||||||
display: block;
|
display: block;
|
||||||
border: 1px solid transparent;
|
border: 1px solid transparent;
|
||||||
border-radius: 2px;
|
border-radius: @fix_border-radius;
|
||||||
margin-bottom: -.3rem;
|
margin-bottom: -.3rem;
|
||||||
padding: .6em 0 .6em (@icon-size + 1);
|
padding: .6em 0 .6em (@icon-size + 1);
|
||||||
transition: @transition color, @transition background-color, @transition border-color;
|
transition: @transition color, @transition background-color, @transition border-color;
|
||||||
|
@ -181,6 +181,7 @@
|
||||||
|
|
||||||
&::before {
|
&::before {
|
||||||
background-color: @color-site-bg;
|
background-color: @color-site-bg;
|
||||||
|
border-radius: @fix_border-radius 0 0 @fix_border-radius;
|
||||||
}
|
}
|
||||||
|
|
||||||
&::after {
|
&::after {
|
||||||
|
|
|
@ -129,7 +129,7 @@
|
||||||
position: relative;
|
position: relative;
|
||||||
display: block;
|
display: block;
|
||||||
border: 1px solid transparent;
|
border: 1px solid transparent;
|
||||||
border-radius: 2px;
|
border-radius: @fix_border-radius;
|
||||||
padding: .6em 0 .6em (@icon-size + 1);
|
padding: .6em 0 .6em (@icon-size + 1);
|
||||||
transition: @transition color, @transition background-color, @transition border-color;
|
transition: @transition color, @transition background-color, @transition border-color;
|
||||||
|
|
||||||
|
@ -190,6 +190,7 @@
|
||||||
|
|
||||||
&::before {
|
&::before {
|
||||||
background-color: @color-site-bg;
|
background-color: @color-site-bg;
|
||||||
|
border-radius: @fix_border-radius 0 0 @fix_border-radius;
|
||||||
}
|
}
|
||||||
|
|
||||||
&::after {
|
&::after {
|
||||||
|
@ -243,7 +244,7 @@
|
||||||
overflow-y: auto;
|
overflow-y: auto;
|
||||||
background-color: @color-content-bg;
|
background-color: @color-content-bg;
|
||||||
border: 1px solid @button_background;
|
border: 1px solid @button_background;
|
||||||
border-radius: 2px;
|
border-radius: @fix_border-radius;
|
||||||
font-size: .8rem;
|
font-size: .8rem;
|
||||||
margin-top: .1rem;
|
margin-top: .1rem;
|
||||||
padding: .3rem .6em;
|
padding: .3rem .6em;
|
||||||
|
|
|
@ -22,7 +22,7 @@
|
||||||
height: 100%;
|
height: 100%;
|
||||||
background-color: @button_background;
|
background-color: @button_background;
|
||||||
border: solid 1px @button_background;
|
border: solid 1px @button_background;
|
||||||
border-radius: 2px 0 0 2px;
|
border-radius: @fix_border-radius 0 0 @fix_border-radius;
|
||||||
color: @button_color;
|
color: @button_color;
|
||||||
text-decoration: none;
|
text-decoration: none;
|
||||||
text-align: center;
|
text-align: center;
|
||||||
|
@ -51,6 +51,7 @@
|
||||||
a {
|
a {
|
||||||
background-color: @button_background;
|
background-color: @button_background;
|
||||||
border-color: @button_background;
|
border-color: @button_background;
|
||||||
|
border-radius: 0 @fix_border-radius @fix_border-radius 0;
|
||||||
|
|
||||||
&:hover,
|
&:hover,
|
||||||
&:focus,
|
&:focus,
|
||||||
|
|
|
@ -12,6 +12,7 @@
|
||||||
@background_page-header: __background_page-header__;
|
@background_page-header: __background_page-header__;
|
||||||
|
|
||||||
@border-radius: __default_border_radius__;
|
@border-radius: __default_border_radius__;
|
||||||
|
@fix_border-radius: 2px;
|
||||||
|
|
||||||
@font_family_screen: __font_family_screen__;
|
@font_family_screen: __font_family_screen__;
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue