Permalink
Switch branches/tags
Nothing to show
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
72 lines (56 sloc) 1.69 KB
//====================================================
// Display
//====================================================
.hidden { display: none; }
.block { display: block; }
.flex { display: flex; }
.inline { display: inline; }
.inline-block { display: inline-block; }
.inline-flex { display: inline-flex; }
.overflow-hidden { overflow: hidden; }
.overflow-scroll { overflow: scroll; }
.overflow-auto { overflow: auto; }
.hide-on-small { @include small { display: none !important; }}
.hide-on-medium { @include medium { display: none !important; }}
.hide-on-large { @include large { display: none !important; }}
//====================================================
// Text wrap
//====================================================
.pre { white-space: pre; }
.nowrap { white-space: nowrap; }
//====================================================
// Scrolling
//====================================================
.scroll-horizontal {
overflow-x: scroll;
overflow-y: hidden;
}
.scroll-vertical {
overflow-x: hidden;
overflow-y: scroll;
}
.no-scrollbar::-webkit-scrollbar {
width: 0px;
height: 0px;
background: transparent;
}
//====================================================
// Textareas
//====================================================
.resize-none { resize: none; }
.resize-vertical { resize: vertical; }
.resize-horizontal { resize: horizontal; }
//====================================================
// Misc.
//====================================================
.cursor-pointer {
cursor: pointer;
}
.no-pointer-events {
pointer-events: none;
}
.disabled {
opacity: 0.5;
cursor: not-allowed;
pointer-events: none;
}