gab-social/app/javascript/styles/global.css

255 lines
5.9 KiB
CSS
Raw Normal View History

2020-02-04 15:50:18 +00:00
html, body {
2020-02-03 18:24:24 +00:00
height: 100%;
2020-02-04 15:50:18 +00:00
margin: 0;
padding: 0;
2020-02-03 18:24:24 +00:00
}
body {
2020-02-04 15:50:18 +00:00
overflow-y: scroll;
overscroll-behavior-y: none;
2020-02-03 18:24:24 +00:00
}
2020-02-08 06:12:01 +00:00
.statusContent * {
margin-top: 0;
margin-bottom: 0;
font-size: 15px;
font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Ubuntu, "Helvetica Neue", sans-serif;
}
2020-02-03 18:24:24 +00:00
.default {
display: flex;
flex-basis: auto;
flex-direction: column;
2020-02-04 15:50:18 +00:00
align-items: stretch;
2020-02-03 18:24:24 +00:00
flex-shrink: 0;
2020-02-04 15:50:18 +00:00
border: 0 solid black;
2020-02-03 18:24:24 +00:00
z-index: 0;
2020-02-04 15:50:18 +00:00
margin: 0;
padding: 0;
box-sizing: border-box;
position: relative;
2020-02-03 18:24:24 +00:00
}
.text {
display: inline;
2020-02-04 15:50:18 +00:00
white-space: pre-wrap;
word-wrap: break-word;
font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Ubuntu, "Helvetica Neue", sans-serif;
2020-02-03 18:24:24 +00:00
}
2020-02-05 22:45:48 +00:00
.font {
font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Ubuntu, "Helvetica Neue", sans-serif;
}
2020-02-03 18:24:24 +00:00
.wrap {
white-space: pre-wrap;
word-wrap: break-word;
}
2020-02-04 15:50:18 +00:00
.overflowWrapBreakWord {
overflow-wrap: break-word;
}
2020-02-03 18:24:24 +00:00
.inherit {
color: inherit;
font: inherit;
white-space: inherit;
}
2020-02-08 06:12:01 +00:00
.flexNormal {
2020-02-03 18:24:24 +00:00
flex-basis: 0%;
flex-grow: 1;
flex-shrink: 1;
}
2020-02-04 15:50:18 +00:00
.flexGrow1 { flex-grow: 1; }
.flexShrink1 { flex-shrink: 1; }
.flexRow { flex-direction: row; }
.flexWrap { flex-wrap: wrap; }
2020-02-03 18:24:24 +00:00
2020-02-04 15:50:18 +00:00
.alignItemsEnd { align-items: flex-end; }
.alignItemsStart { align-items: flex-start; }
.alignItemsCenter { align-items: center; }
.justifyContentSpaceBetween { justify-content: space-between; }
.justifyContentCenter { justify-content: center; }
2020-02-03 18:24:24 +00:00
2020-02-04 15:50:18 +00:00
.overflowHidden {
overflow-x: hidden;
overflow-y: hidden;
2020-02-03 18:24:24 +00:00
}
2020-02-04 15:50:18 +00:00
.textOverflowEllipsis {
max-width: 100%;
overflow-x: hidden;
overflow-y: hidden;
text-overflow: ellipsis;
white-space: nowrap;
2020-02-03 18:24:24 +00:00
}
2020-02-08 06:12:01 +00:00
.whiteSpaceNoWrap { white-space: nowrap; }
.outlineNone { outline: none; }
.resizeNone { resize: none; }
2020-02-04 15:50:18 +00:00
.circle { border-radius: 9999px; }
2020-02-05 22:45:48 +00:00
.radiusSmall { border-radius: 4px; }
2020-02-08 06:12:01 +00:00
.borderColorSubtle { border-color: #ECECED; }
.borderColorWhite { border-color: #fff; }
.borderColorBrand { border-color: #21cf7a; }
2020-02-05 22:45:48 +00:00
.borderRight1PX { border-right-width: 1px; }
.borderBottom1PX { border-bottom-width: 1px; }
.borderLeft1PX { border-left-width: 1px; }
2020-02-08 06:12:01 +00:00
.borderTop1PX { border-top-width: 1px; }
.border1PX { border-width: 1px; }
.border2PX { border-width: 2px; }
2020-02-03 18:24:24 +00:00
2020-02-04 15:50:18 +00:00
.marginAuto { margin: auto; }
2020-02-03 18:24:24 +00:00
2020-02-04 15:50:18 +00:00
.displayNone { display: none; }
.displayBlock { display: block; }
.displayInline { display: inline; }
2020-02-05 22:45:48 +00:00
.displayFlex { display: flex !important; }
2020-02-04 15:50:18 +00:00
.displayInlineBlock { display: inline-block; }
2020-02-03 18:24:24 +00:00
2020-02-04 15:50:18 +00:00
.cursorPointer { cursor: pointer }
2020-02-03 18:24:24 +00:00
2020-02-04 15:50:18 +00:00
.pointerEventsAuto > * { pointer-events: auto;}
.pointerEventsNone { pointer-events: none !important; }
2020-02-03 18:24:24 +00:00
2020-02-08 06:12:01 +00:00
.backgroundTransparent { background-color: transparent; }
2020-02-05 22:45:48 +00:00
.backgroundPanel { background-color: #aaa; }
.backgroundSubtle { background-color: #F5F8FA; }
2020-02-08 06:12:01 +00:00
.backgroundSubtle2 { background-color: #e8ecef; }
.backgroundColorSubtle3 { background-color: #F6F6F9; }
2020-02-04 15:50:18 +00:00
.backgroundWhite { background-color: #fff; }
2020-02-05 22:45:48 +00:00
.backgroundColorBrandLightOpaque { background-color: rgba(54, 233, 145, 0.1); }
.backgroundColorBrandLight { background-color: #36e991; }
.backgroundColorBrand { background-color: #21cf7a; }
.backgroundColorBrandDark { background-color: #38A16B; }
2020-02-04 15:50:18 +00:00
.colorBlack { color: #000; }
2020-02-05 22:45:48 +00:00
.colorWhite { color: #fff; }
2020-02-04 15:50:18 +00:00
.colorSubtle { color: #666; }
2020-02-05 22:45:48 +00:00
.colorBrand { color: #21cf7a }
.fillColorBlack { fill: #000; }
2020-02-04 15:50:18 +00:00
.fillColorBrand { fill: #21cf7a; }
2020-02-08 06:12:01 +00:00
.fillColorSubtle { fill: #666; }
2020-02-03 18:24:24 +00:00
2020-02-04 15:50:18 +00:00
.bottom0 { bottom: 0; }
.left0 { left: 0px; }
.right0 { right: 0px; }
.top0 { top: 0px; }
2020-02-03 18:24:24 +00:00
2020-02-08 06:12:01 +00:00
.lineHeight125 { line-height: 1.25em; }
.lineHeight15 { line-height: 1.5em; }
2020-02-04 15:50:18 +00:00
.lineHeight2 { line-height: 2em; }
2020-02-03 18:24:24 +00:00
2020-02-04 15:50:18 +00:00
.positionFixed { position: fixed; }
2020-02-08 06:12:01 +00:00
.positionSticky { position: sticky; }
2020-02-04 15:50:18 +00:00
.positionRelative { position: relative; }
.positionAbsolute { position: absolute; }
2020-02-03 18:24:24 +00:00
2020-02-04 15:50:18 +00:00
.noSelect { user-select: none; }
2020-02-03 18:24:24 +00:00
2020-02-05 22:45:48 +00:00
.height100VH { height: 100vh; }
2020-02-04 15:50:18 +00:00
.height100PC { height: 100%; }
2020-02-08 06:12:01 +00:00
.height22PX { height: 22px; }
2020-02-04 15:50:18 +00:00
.height50PX { height: 50px; }
2020-02-08 06:12:01 +00:00
.height53PX { height: 53px; }
2020-02-04 15:50:18 +00:00
.height72PX { height: 72px; }
2020-02-08 06:12:01 +00:00
.height122PX { height: 122px; }
2020-02-03 18:24:24 +00:00
2020-02-05 22:45:48 +00:00
.width1015PX { width: 1015px; }
2020-02-08 06:12:01 +00:00
.width670PX { width: 670px; }
2020-02-05 22:45:48 +00:00
.width325PX { width: 325px; }
.width250PX { width: 250px; }
2020-02-04 15:50:18 +00:00
.width100PC { width: 100%; }
.width72PX { width: 72px; }
.maxWidth100PC { max-width: 100%; }
2020-02-03 18:24:24 +00:00
2020-02-04 15:50:18 +00:00
.top0 { top: 0; }
.top60PC { top: 60%; }
2020-02-03 18:24:24 +00:00
2020-02-04 15:50:18 +00:00
.textAlignCenter { text-align: center; }
2020-02-03 18:24:24 +00:00
2020-02-04 15:50:18 +00:00
.fontSize19PX { font-size: 19px; }
2020-02-08 06:12:01 +00:00
.fontSize16PX { font-size: 16px; }
2020-02-05 22:45:48 +00:00
.fontSize15PX { font-size: 15px; }
2020-02-08 06:12:01 +00:00
.fontSize14PX { font-size: 14px; }
2020-02-04 15:50:18 +00:00
.fontSize13PX { font-size: 13px; }
2020-02-08 06:12:01 +00:00
.fontSize12PX { font-size: 12px; }
2020-02-03 18:24:24 +00:00
2020-02-04 15:50:18 +00:00
.fontWeightNormal { font-weight: 400; }
2020-02-08 06:12:01 +00:00
.fontWeight500 { font-weight: 500; }
2020-02-04 15:50:18 +00:00
.fontWeightBold { font-weight: 600; }
2020-02-05 22:45:48 +00:00
.fontWeightExtraBold { font-weight: 800; }
2020-02-03 18:24:24 +00:00
2020-02-04 15:50:18 +00:00
.noUnderline { text-decoration: none; }
.underline { text-decoration: underline; }
2020-02-08 06:12:01 +00:00
.objectFitCover { object-fit: cover; }
2020-02-04 15:50:18 +00:00
.z1 { z-index: 1; }
.z2 { z-index: 2; }
.z3 { z-index: 3; }
2020-02-03 18:24:24 +00:00
2020-02-04 15:50:18 +00:00
.marginVertical5PX {
margin-top: 5px;
margin-bottom: 5px;
2020-02-03 18:24:24 +00:00
}
2020-02-08 06:12:01 +00:00
.marginLeft5PX { margin-left: 5px; }
.marginRight2PX { margin-right: 2px; }
2020-02-05 22:45:48 +00:00
.marginVertical10PX {
margin-top: 10px;
margin-bottom: 10px;
}
2020-02-08 06:12:01 +00:00
.marginRight10PX { margin-right: 10px; }
.marginLeft15PX { margin-left: 15px; }
.marginLeftAuto { margin-left: auto; }
.marginRightAuto { margin-right: auto; }
2020-02-05 22:45:48 +00:00
.marginBottom15PX { margin-bottom: 15px; }
2020-02-08 06:12:01 +00:00
.marginBottom10PX { margin-bottom: 10px; }
2020-02-05 22:45:48 +00:00
.marginTop10PX { margin-top: 10px; }
.marginTop5PX { margin-top: 5px; }
2020-02-08 06:12:01 +00:00
.marginTopNeg30PX { margin-top: -30px; }
2020-02-05 22:45:48 +00:00
.paddingHorizontal15PX {
padding-left: 15px;
padding-right: 15px;
}
.paddingRight15PX { padding-right: 15px; }
2020-02-08 06:12:01 +00:00
.paddingVertical5PX {
padding-top: 5px;
padding-bottom: 5px;
}
2020-02-04 15:50:18 +00:00
.paddingVertical10PX {
padding-top: 10px;
padding-bottom: 10px;
2020-02-03 18:24:24 +00:00
}
2020-02-05 22:45:48 +00:00
.paddingVertical15PX {
padding-top: 15px;
padding-bottom: 15px;
}
2020-02-08 06:12:01 +00:00
.paddingVertical2PX {
padding-top: 2px;
padding-bottom: 2px;
}
.paddingHorizontal10PX {
2020-02-04 15:50:18 +00:00
padding-left: 10px;
padding-right: 10px;
2020-02-03 18:24:24 +00:00
}
2020-02-04 15:50:18 +00:00
.paddingHorizontal20PX {
padding-left: 20px;
padding-right: 20px;
2020-02-03 18:24:24 +00:00
}