grafana/public/sass/utils/_utils.scss

76 lines
1.1 KiB
SCSS
Raw Normal View History

.clearfix {
@include clearfix();
}
2016-02-15 08:27:41 -06:00
.highlight-word {
color: $brand-primary;
2016-02-15 08:27:41 -06:00
}
.emphasis-word {
font-weight: 500;
color: $text-color-emphasis;
}
2016-02-15 08:27:41 -06:00
// Close icons
// --------------------------------------------------
.close {
@include opacity(20);
2016-02-15 08:27:41 -06:00
float: right;
font-size: 20px;
font-weight: bold;
2016-02-16 03:42:06 -06:00
line-height: $line-height-base;
2016-02-15 08:27:41 -06:00
color: $black;
text-shadow: 0 1px 0 rgba(255,255,255,1);
2016-02-15 08:27:41 -06:00
&:hover,
&:focus {
color: $black;
text-decoration: none;
cursor: pointer;
@include opacity(40);
}
}
// Additional properties for button version
// iOS requires the button element instead of an anchor tag.
// If you want the anchor version, it requires `href="#"`.
button.close {
padding: 0;
cursor: pointer;
background: transparent;
border: 0;
-webkit-appearance: none;
}
//
// Utility classes
// --------------------------------------------------
// Quick floats
.pull-right {
float: right !important;
2016-02-15 08:27:41 -06:00
}
.pull-left {
float: left !important;
2016-02-15 08:27:41 -06:00
}
// Toggling content
.hide {
display: none;
}
.show {
display: block;
}
// Visibility
.invisible {
visibility: hidden;
}
// For Affix plugin
.affix {
position: fixed;
}