mirror of
https://github.com/overleaf/overleaf.git
synced 2024-11-30 07:45:26 -05:00
31fcd01e3a
Adding classname to notifications and overlay css utility GitOrigin-RevId: 068672352efe2c93ca830d1dae0209cd02688226
82 lines
1.2 KiB
Text
Executable file
82 lines
1.2 KiB
Text
Executable file
//
|
|
// Utility classes
|
|
// --------------------------------------------------
|
|
|
|
// Floats
|
|
// -------------------------
|
|
|
|
.clearfix {
|
|
.clearfix();
|
|
}
|
|
.center-block {
|
|
.center-block();
|
|
}
|
|
.pull-right {
|
|
float: right !important;
|
|
}
|
|
.pull-left {
|
|
float: left !important;
|
|
}
|
|
|
|
// Toggling content
|
|
// -------------------------
|
|
|
|
// Note: Deprecated .hide in favor of .hidden or .sr-only (as appropriate) in v3.0.1
|
|
.hide {
|
|
display: none !important;
|
|
}
|
|
.show {
|
|
display: block !important;
|
|
}
|
|
.invisible {
|
|
visibility: hidden;
|
|
}
|
|
.text-hide {
|
|
.text-hide();
|
|
}
|
|
|
|
// Hide from screenreaders and browsers
|
|
//
|
|
// Credit: HTML5 Boilerplate
|
|
|
|
.hidden {
|
|
display: none !important;
|
|
visibility: hidden !important;
|
|
}
|
|
|
|
// For Affix plugin
|
|
// -------------------------
|
|
|
|
.affix {
|
|
position: fixed;
|
|
}
|
|
|
|
.w-100 {
|
|
width: 100%;
|
|
}
|
|
|
|
// Overflow utils
|
|
.overflow-auto {
|
|
overflow: auto !important;
|
|
}
|
|
.overflow-hidden {
|
|
overflow: hidden !important;
|
|
}
|
|
.overflow-visible {
|
|
overflow: visible !important;
|
|
}
|
|
.overflow-scroll {
|
|
overflow: scroll !important;
|
|
}
|
|
|
|
.text-truncate {
|
|
overflow: hidden;
|
|
text-overflow: ellipsis;
|
|
white-space: nowrap;
|
|
}
|
|
|
|
// Positioning
|
|
.ol-overlay {
|
|
position: absolute;
|
|
z-index: 1;
|
|
}
|