Gab-Social/app/javascript/styles/global.css

332 lines
8.2 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;
2020-02-17 17:50:29 +00:00
overflow-wrap: break-word;
2020-02-08 06:12:01 +00:00
font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Ubuntu, "Helvetica Neue", sans-serif;
}
2020-02-14 00:40:04 +00:00
.statusCardVideo iframe {
height: 100% !important;
width: 100% !important;
}
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; }
2020-02-21 00:57:29 +00:00
.outlineNone { outline: none; }
.outlineFocusBrand:focus { outline: 2px solid #21cf7a; }
2020-02-08 06:12:01 +00:00
.resizeNone { resize: none; }
2020-02-04 15:50:18 +00:00
.circle { border-radius: 9999px; }
2020-02-14 00:40:04 +00:00
.radiusSmall { border-radius: 8px; }
2020-02-05 22:45:48 +00:00
2020-02-21 00:57:29 +00:00
.borderColorSecondary2 { border-color: #e5e9ed; }
.borderColorSecondary { border-color: #ECECED; }
2020-02-08 06:12:01 +00:00
.borderColorWhite { border-color: #fff; }
.borderColorBrand { border-color: #21cf7a; }
2020-02-22 23:26:23 +00:00
.borderColorTransparent { border-color: transparent; }
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-22 23:26:23 +00:00
.borderBottom2PX { border-bottom-width: 2px; }
2020-02-03 18:24:24 +00:00
2020-02-24 21:56:07 +00:00
.borderDashed { border-style: dashed; }
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-14 00:40:04 +00:00
.backgroundSubtle_onHover:hover { background-color: #F5F8FA; }
2020-02-08 06:12:01 +00:00
.backgroundSubtle2 { background-color: #e8ecef; }
2020-02-22 23:26:23 +00:00
.backgroundSubtle2Dark_onHover:hover { background-color: #d9e0e5; }
2020-02-19 23:57:07 +00:00
.backgroundcolorSecondary3 { background-color: #F6F6F9; }
2020-02-21 00:57:29 +00:00
.backgroundColorPrimary { background-color: #fff; }
2020-02-24 21:56:07 +00:00
.backgroundColorPrimaryOpaque { background-color: rgba(255,255,255,0.8); }
2020-02-05 22:45:48 +00:00
.backgroundColorBrandLightOpaque { background-color: rgba(54, 233, 145, 0.1); }
2020-02-14 00:40:04 +00:00
.backgroundColorOpaque { background-color: rgba(0,0,0, 0.4); }
2020-02-05 22:45:48 +00:00
.backgroundColorBrandLight { background-color: #36e991; }
.backgroundColorBrand { background-color: #21cf7a; }
2020-02-21 00:57:29 +00:00
.backgroundColorBrand_onHover:hover { background-color: #21cf7a; }
2020-02-05 22:45:48 +00:00
.backgroundColorBrandDark { background-color: #38A16B; }
2020-02-14 00:40:04 +00:00
.backgroundColorBrandDark_onHover:hover { background-color: #38A16B; }
2020-02-19 23:57:07 +00:00
.colorPrimary { color: #000; }
2020-02-05 22:45:48 +00:00
.colorWhite { color: #fff; }
2020-02-21 00:57:29 +00:00
.colorWhite_onHover:hover { color: #fff; }
2020-02-19 23:57:07 +00:00
.colorSecondary { color: #4B4F55; }
2020-02-05 22:45:48 +00:00
.colorBrand { color: #21cf7a }
.fillColorBlack { fill: #000; }
2020-02-08 22:57:09 +00:00
.fillColorWhite { fill: #fff; }
2020-02-04 15:50:18 +00:00
.fillColorBrand { fill: #21cf7a; }
2020-02-19 23:57:07 +00:00
.fillcolorSecondary { fill: #666; }
2020-02-03 18:24:24 +00:00
2020-02-04 15:50:18 +00:00
.bottom0 { bottom: 0; }
2020-02-24 21:56:07 +00:00
.bottomAuto { bottom: auto; }
2020-02-04 15:50:18 +00:00
.left0 { left: 0px; }
.right0 { right: 0px; }
2020-02-24 21:56:07 +00:00
.rightAuto { right: auto; }
2020-02-04 15:50:18 +00:00
.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-19 23:57:07 +00:00
.heightMin100VH { min-height: 100vh; }
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-14 00:40:04 +00:00
.height260PX { height: 260px; }
2020-02-17 17:50:29 +00:00
.height350PX { height: 350px; }
2020-02-03 18:24:24 +00:00
2020-02-05 22:45:48 +00:00
.width1015PX { width: 1015px; }
2020-02-21 00:57:29 +00:00
.width645PX { width: 645px; }
2020-02-14 00:40:04 +00:00
.width400PX { width: 400px; }
2020-02-21 00:57:29 +00:00
.width340PX { width: 340px; }
2020-02-19 23:57:07 +00:00
.width240PX { width: 240px; }
2020-02-04 15:50:18 +00:00
.width100PC { width: 100%; }
.width72PX { width: 72px; }
2020-02-22 23:26:23 +00:00
.width50PC { width: 50%; }
2020-02-04 15:50:18 +00:00
.maxWidth100PC { max-width: 100%; }
2020-02-03 18:24:24 +00:00
2020-02-19 23:57:07 +00:00
@media (min-width: 1480px) {
.width1015PX { width: 1080px; }
2020-02-21 00:57:29 +00:00
.width645PX { width: 700px; }
.width340PX { width: 350px; }
2020-02-19 23:57:07 +00:00
.width240PX { width: 250px; }
}
@media (min-width: 1160px) and (max-width: 1280px) {
.width1015PX { width: 910px; }
2020-02-21 00:57:29 +00:00
.width645PX { width: 580px; }
.width340PX { width: 300px; }
2020-02-19 23:57:07 +00:00
.width240PX { width: 230px; }
}
@media (min-width: 1080px) and (max-width: 1160px) {
.width1015PX { width: 850px; }
2020-02-21 00:57:29 +00:00
.width645PX { width: 525px; }
.width340PX { width: 300px; }
2020-02-19 23:57:07 +00:00
.width240PX { width: 210px; }
}
@media (min-width: 992px) and (max-width: 1080px) {
.width1015PX { width: 850px; }
2020-02-21 00:57:29 +00:00
.width645PX { width: 525px; }
.width340PX { width: 300px; }
2020-02-19 23:57:07 +00:00
.width240PX { width: 100px; }
}
@media (min-width: 0px) and (max-width: 992px) {
.width1015PX { width: 600px; }
2020-02-21 00:57:29 +00:00
.width645PX { width: 600px; }
.width340PX { width: 0px; }
2020-02-19 23:57:07 +00:00
.width240PX { width: 100px; }
}
2020-02-04 15:50:18 +00:00
.top0 { top: 0; }
.top60PC { top: 60%; }
2020-02-03 18:24:24 +00:00
2020-02-21 00:57:29 +00:00
.textAlignLeft { text-align: left; }
2020-02-04 15:50:18 +00:00
.textAlignCenter { text-align: center; }
2020-02-03 18:24:24 +00:00
2020-02-14 00:40:04 +00:00
.fontSize24PX { font-size: 24px; }
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-19 23:57:07 +00:00
.fontWeightMedium { 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-14 00:40:04 +00:00
.underline_onHover:hover { text-decoration: underline; }
2020-02-04 15:50:18 +00:00
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-24 21:56:07 +00:00
.z4 { z-index: 4; }
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-08 22:57:09 +00:00
.marginRight5PX { margin-right: 5px; }
2020-02-08 06:12:01 +00:00
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-14 00:40:04 +00:00
.marginTopAuto { margin-top: auto; }
2020-02-08 06:12:01 +00:00
.marginTopNeg30PX { margin-top: -30px; }
2020-02-05 22:45:48 +00:00
2020-02-14 00:40:04 +00:00
.paddingTop5625PC { padding-top: 56.25%; }
2020-02-05 22:45:48 +00:00
.paddingHorizontal15PX {
padding-left: 15px;
padding-right: 15px;
}
2020-02-08 22:57:09 +00:00
.paddingLeft15PX { padding-left: 15px; }
2020-02-05 22:45:48 +00:00
.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;
}
2020-02-08 22:57:09 +00:00
.paddingHorizontal5PX {
padding-left: 5px;
padding-right: 5px;
}
2020-02-08 06:12:01 +00:00
.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
}