phpvms/resources/sass/now-ui/now-ui-kit/_misc.scss

83 lines
1.5 KiB
SCSS
Raw Normal View History

2017-07-28 20:13:52 +08:00
body{
color: $black-color;
font-size: $font-size-base;
font-family: $sans-serif-family;
overflow-x: hidden;
2017-07-28 20:13:52 +08:00
-moz-osx-font-smoothing: grayscale;
-webkit-font-smoothing: antialiased;
}
.main{
position: relative;
background: $white-color;
}
/* Animations */
.nav-pills .nav-link,
.nav-item .nav-link,
2017-07-28 20:13:52 +08:00
.navbar,
.nav-tabs .nav-link,
.tag,
.tag [data-role="remove"]{
2017-07-28 20:13:52 +08:00
@include transition($general-transition-time, $transition-ease);
}
//transition for dropdown caret
.card a,
2017-07-28 20:13:52 +08:00
.bootstrap-switch-label:before{
@include transition($fast-transition-time, $transition-ease);
}
.dropdown-toggle:after,
[data-toggle="collapse"][data-parent="#accordion"] i{
@include transition-on-prop(transform, $fast-transition-time, $transition-ease);
}
.dropdown-toggle[aria-expanded="true"]:after,
[data-toggle="collapse"][data-parent="#accordion"][aria-expanded="true"] i{
2017-07-28 20:13:52 +08:00
@include rotate-180();
}
.button-bar{
display: block;
position: relative;
width: 22px;
height: 1px;
border-radius: 1px;
background: $white-bg;
& + .button-bar{
margin-top: 7px;
}
&:nth-child(2){
width: 17px;
}
}
.separator-line{
2017-07-28 20:13:52 +08:00
height: 2px;
width: 44px;
background-color: $default-color;
margin: 20px auto;
&.separator-primary{
background-color: $primary-color;
}
}
.section-space{
height: 62px;
display: block;
}
.pull-left{
float: left;
}
.pull-right{
float: right;
}
.title-up{
text-transform: uppercase;
}