Files
mostlymatter/webapp/sass/utils/_functions.scss
Asaad Mahmood dfbb16521c Minor bug and UI fixes (#6729)
* PLT-6797 - Code block language tag not selectable

* PLT-6771 - Aligning search box with RHS

* PLT-6827 - Fixing link color in error bar

* PLT-6241 - Adding edge detection
2017-06-22 22:28:04 -04:00

34 строки
779 B
SCSS

@charset "UTF-8";
@function em($pixels, $context: 14px) {
@return ($pixels / $context * 1em)
}
@function alpha-color($color, $amount) {
@return rgba($color, $amount)
}
%popover-box-shadow {
@include box-shadow(rgba(black, .175) 1px -3px 12px);
}
%font-awesome {
display: inline-block;
font: normal normal normal 14px/1 FontAwesome;
font-size: inherit;
text-rendering: auto;
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
transform: translate(0, 0);
}
@mixin unselectable {
-webkit-user-select: none; /* Chrome/Safari */
-moz-user-select: none; /* Firefox */
-ms-user-select: none; /* IE10+ */
/* Rules below not implemented in browsers yet */
-o-user-select: none;
user-select: none;
}