Move carets into misc stylesheet

pull/2887/head
Alex P 2018-02-27 20:45:40 -08:00
parent 62db0828ca
commit be0a920e62
3 changed files with 28 additions and 19 deletions

View File

@ -93,26 +93,7 @@ $dropdown-purple-header: $c-potassium;
align-items: center; align-items: center;
.caret { .caret {
position: absolute;
top: calc(50% + 1px);
right: $form-md-padding; right: $form-md-padding;
transform: translateY(-50%);
width: 11px;
height: 16px;
&:after {
content: "\e902";
font-family: 'icomoon' !important;
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
color: inherit;
display: inline;
position: absolute;
top: 50%;
left: 50%;
transform: translate(-50%,-55%);
font-size: 11px;
}
} }
> .icon { > .icon {

View File

@ -0,0 +1,27 @@
/*
Miscellaneous
-----------------------------------------------------------------------------
*/
.caret {
position: absolute;
top: calc(50% + 1px);
right: $form-md-padding;
transform: translateY(-50%);
width: 11px;
height: 16px;
&:after {
content: "\e902";
font-family: 'icomoon' !important;
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
color: inherit;
display: inline;
position: absolute;
top: 50%;
left: 50%;
transform: translate(-50%,-55%);
font-size: 11px;
}
}

View File

@ -14,3 +14,4 @@
@import 'alerts'; @import 'alerts';
@import 'panels'; @import 'panels';
@import 'radio-buttons'; @import 'radio-buttons';
@import 'misc';