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

1055 lines
12 KiB
CSS
Raw Normal View History

2020-02-28 15:20:47 +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-03-14 17:31:29 +00:00
.overflowYScroll {
overflow: hidden;
overflow-y: scroll;
}
2020-03-07 04:53:28 +00:00
.statusContent,
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-03-07 04:53:28 +00:00
.dangerousContent,
2020-02-28 15:20:47 +00:00
.dangerousContent * {
margin-top: 0;
margin-bottom: 0;
font-size: 14px;
overflow-wrap: break-word;
font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Ubuntu, "Helvetica Neue", sans-serif;
}
2020-02-29 15:42:47 +00:00
.statusContent a,
2020-02-28 15:20:47 +00:00
.dangerousContent a {
color: #21cf7a;
2020-02-29 15:42:47 +00:00
text-decoration: none;
}
.statusContent a:hover,
.dangerousContent a:hover {
text-decoration: underline;
2020-02-28 15:20:47 +00:00
}
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-03-26 03:11:32 +00:00
.inheritFill {
fill: 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-28 15:20:47 +00:00
.flexGrow1 {
flex-grow: 1;
}
.flexShrink1 {
flex-shrink: 1;
}
.flexRow {
flex-direction: row;
}
.flexWrap {
flex-wrap: wrap;
}
.alignItemsEnd {
align-items: flex-end;
}
.alignItemsStart {
align-items: flex-start;
}
2020-02-03 18:24:24 +00:00
2020-02-28 15:20:47 +00:00
.alignItemsCenter {
align-items: center;
}
2020-02-04 15:50:18 +00:00
2020-02-28 15:20:47 +00:00
.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-28 15:20:47 +00:00
.whiteSpaceNoWrap {
white-space: nowrap;
}
.outlineNone {
outline: none;
}
.resizeNone {
resize: none;
}
.circle {
border-radius: 9999px;
}
.radiusSmall {
border-radius: 8px;
}
.borderColorSecondary2 {
border-color: #e5e9ed;
}
.borderColorSecondary {
border-color: #ECECED;
}
.borderColorWhite {
border-color: #fff;
}
.borderColorBrand {
border-color: #21cf7a;
}
.borderColorTransparent {
border-color: transparent;
}
.borderRight1PX {
border-right-width: 1px;
}
.borderBottom1PX {
border-bottom-width: 1px;
}
.borderLeft1PX {
border-left-width: 1px;
}
.borderTop1PX {
border-top-width: 1px;
}
.border1PX {
border-width: 1px;
}
.border2PX {
border-width: 2px;
}
.borderBottom2PX {
border-bottom-width: 2px;
}
.borderDashed {
border-style: dashed;
}
.marginAuto {
margin: auto;
}
2020-03-24 04:39:12 +00:00
.margin1PX {
margin: 1px;
}
2020-02-28 15:20:47 +00:00
.displayNone {
display: none;
}
.displayBlock {
display: block;
}
.displayInline {
display: inline;
}
.displayFlex {
display: flex !important;
}
.displayInlineBlock {
display: inline-block;
}
2020-04-02 04:17:21 +01:00
.cursorText {
cursor: text;
}
2020-02-28 15:20:47 +00:00
.cursorPointer {
cursor: pointer
}
2020-03-26 03:11:32 +00:00
.cursorNotAllowed {
cursor: not-allowed;
}
2020-02-28 15:20:47 +00:00
.pointerEventsAuto>* {
pointer-events: auto;
}
.pointerEventsNone {
pointer-events: none !important;
}
.backgroundTransparent {
background-color: transparent;
}
.backgroundPanel {
background-color: #aaa;
}
.backgroundSubtle {
background-color: #F5F8FA;
}
.backgroundSubtle_onHover:hover {
background-color: #F5F8FA;
}
.backgroundSubtle2 {
2020-02-29 15:42:47 +00:00
background-color: #e2e8ec;
2020-02-28 15:20:47 +00:00
}
.backgroundSubtle2Dark_onHover:hover {
background-color: #d9e0e5;
}
2020-03-04 03:45:16 +00:00
.backgroundColorSecondary3 {
2020-02-28 15:20:47 +00:00
background-color: #F6F6F9;
}
.backgroundColorPrimary {
background-color: #fff;
}
2020-03-06 15:38:22 +00:00
.backgroundColorWhite {
background-color: #fff;
}
2020-02-28 15:20:47 +00:00
.backgroundColorPrimaryOpaque {
2020-03-07 04:53:28 +00:00
background-color: rgba(255, 255, 255, 0.6);
2020-02-28 15:20:47 +00:00
}
.backgroundColorBrandLightOpaque {
background-color: rgba(54, 233, 145, 0.1);
}
2020-03-26 03:11:32 +00:00
.backgroundColorBlack {
background-color: #3B3B3B;
}
.backgroundColorBlackOpaque_onHover:hover {
background-color: rgba(59, 59, 59, 0.8);
}
2020-02-28 15:20:47 +00:00
.backgroundColorOpaque {
background-color: rgba(0, 0, 0, 0.4);
}
.backgroundColorBrandLight {
background-color: #36e991;
}
.backgroundColorBrand {
background-color: #21cf7a;
}
.backgroundColorBrand_onHover:hover {
background-color: #21cf7a;
}
.backgroundColorBrandDark {
background-color: #38A16B;
}
.backgroundColorBrandDark_onHover:hover {
background-color: #38A16B;
}
2020-03-26 03:11:32 +00:00
.backgroundColorDanger {
background-color: #DE2960;
}
2020-02-28 15:20:47 +00:00
.colorPrimary {
color: #000;
}
.colorWhite {
color: #fff;
}
.colorWhite_onHover:hover {
color: #fff;
}
2020-03-08 23:02:28 +00:00
.colorTertiary {
color: #777;
}
2020-02-28 15:20:47 +00:00
.colorSecondary {
color: #4B4F55;
}
.colorBrand {
color: #21cf7a
}
2020-03-31 17:04:50 +01:00
.colorGabPro {
color: #ffd700;
}
2020-02-28 15:20:47 +00:00
.fillColorBlack {
fill: #000;
}
.fillColorWhite {
fill: #fff;
}
2020-03-26 03:11:32 +00:00
.fillColorWhite_onHover:hover {
fill: #fff;
}
2020-02-28 15:20:47 +00:00
.fillColorBrand {
fill: #21cf7a;
}
2020-03-02 22:26:25 +00:00
.fillColorSecondary {
2020-02-28 15:20:47 +00:00
fill: #666;
}
2020-03-31 17:04:50 +01:00
.fillColorGabPro {
fill: #ffd700;
}
2020-02-28 15:20:47 +00:00
.bottom0 {
bottom: 0;
}
.bottomAuto {
bottom: auto;
}
.left0 {
left: 0px;
}
.right0 {
right: 0px;
}
.rightAuto {
right: auto;
}
.top0 {
top: 0px;
}
.lineHeight125 {
line-height: 1.25em;
}
.lineHeight15 {
line-height: 1.5em;
}
.lineHeight2 {
line-height: 2em;
}
.positionFixed {
position: fixed;
}
.positionSticky {
position: sticky;
}
.positionRelative {
position: relative;
}
.positionAbsolute {
position: absolute;
}
.noSelect {
user-select: none;
}
2020-03-05 15:44:17 +00:00
.resizeVertical {
resize: vertical;
}
.heightMax100VH {
max-height: 100vh;
}
2020-02-28 15:20:47 +00:00
.heightMin100VH {
min-height: 100vh;
}
2020-03-24 04:39:12 +00:00
.heightMax80VH {
max-height: 80vh;
}
2020-03-04 22:26:01 +00:00
.heightMin50VH {
min-height: 50vh;
}
2020-04-02 04:17:21 +01:00
.heightMin50PX {
min-height: 50px;
}
2020-02-28 15:20:47 +00:00
.height100VH {
height: 100vh;
}
.height100PC {
height: 100%;
}
2020-03-24 04:39:12 +00:00
.height24PX {
height: 24px;
}
2020-02-28 15:20:47 +00:00
.height22PX {
height: 22px;
}
2020-03-24 04:39:12 +00:00
.height20PX {
height: 20px;
}
2020-03-06 15:38:22 +00:00
.height4PX {
height: 4px;
}
2020-03-24 04:39:12 +00:00
.height1PX {
height: 1px;
}
2020-02-28 15:20:47 +00:00
.height50PX {
height: 50px;
}
.height53PX {
height: 53px;
}
.height72PX {
height: 72px;
}
.height122PX {
height: 122px;
}
2020-03-04 22:26:01 +00:00
.height158PX {
height: 158px;
}
2020-02-29 15:42:47 +00:00
.height220PX {
height: 220px;
}
2020-02-28 15:20:47 +00:00
.height260PX {
height: 260px;
}
.height350PX {
height: 350px;
}
.width1015PX {
width: 1015px;
}
.width645PX {
width: 645px;
}
.width340PX {
width: 340px;
}
2020-02-29 15:42:47 +00:00
.width330PX {
width: 330px;
}
2020-03-24 04:39:12 +00:00
.width250PX {
width: 240px;
}
2020-02-28 15:20:47 +00:00
.width240PX {
width: 240px;
}
.width72PX {
width: 72px;
}
2020-03-24 04:39:12 +00:00
.width50PX {
width: 50px;
}
.width20PX {
width: 20px;
}
2020-03-04 22:26:01 +00:00
.width100PC {
width: 100%;
}
2020-02-28 15:20:47 +00:00
.width50PC {
width: 50%;
}
2020-03-04 22:26:01 +00:00
.width25PC {
width: 25%;
}
2020-03-07 04:53:28 +00:00
.width4PX {
width: 4px;
}
2020-02-28 15:20:47 +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) {
2020-02-28 15:20:47 +00:00
.width1015PX {
width: 1080px;
}
.width645PX {
width: 700px;
}
.width340PX {
width: 350px;
}
.width240PX {
width: 250px;
}
2020-02-19 23:57:07 +00:00
}
@media (min-width: 1160px) and (max-width: 1280px) {
2020-02-28 15:20:47 +00:00
.width1015PX {
width: 910px;
}
.width645PX {
width: 580px;
}
.width340PX {
width: 300px;
}
.width240PX {
width: 230px;
}
2020-02-19 23:57:07 +00:00
}
@media (min-width: 1080px) and (max-width: 1160px) {
2020-02-28 15:20:47 +00:00
.width1015PX {
width: 850px;
}
.width645PX {
width: 525px;
}
.width340PX {
width: 300px;
}
.width240PX {
width: 210px;
}
2020-02-19 23:57:07 +00:00
}
@media (min-width: 992px) and (max-width: 1080px) {
2020-02-28 15:20:47 +00:00
.width1015PX {
width: 850px;
}
.width645PX {
width: 525px;
}
.width340PX {
width: 300px;
}
.width240PX {
width: 100px;
}
2020-02-19 23:57:07 +00:00
}
@media (min-width: 0px) and (max-width: 992px) {
2020-02-28 15:20:47 +00:00
.width1015PX {
max-width: 600px;
width: 100%;
}
.width645PX {
max-width: 600px;
width: 100%;
}
.width340PX {
width: 0px;
}
.width240PX {
width: 0px;
}
}
.top0 {
top: 0;
}
.top60PC {
top: 60%;
}
.textAlignLeft {
text-align: left;
}
.textAlignCenter {
text-align: center;
}
.fontSize24PX {
font-size: 24px;
}
.fontSize19PX {
font-size: 19px;
}
.fontSize16PX {
font-size: 16px;
}
.fontSize15PX {
font-size: 15px;
}
.fontSize14PX {
font-size: 14px;
}
.fontSize13PX {
font-size: 13px;
}
.fontSize12PX {
font-size: 12px;
}
2020-03-31 17:04:50 +01:00
.fontSize0 {
font-size: 0;
}
2020-02-28 15:20:47 +00:00
.fontWeightNormal {
font-weight: 400;
}
.fontWeightMedium {
font-weight: 500;
}
.fontWeightBold {
font-weight: 600;
2020-02-19 23:57:07 +00:00
}
2020-02-28 15:20:47 +00:00
.fontWeightExtraBold {
font-weight: 800;
}
2020-02-03 18:24:24 +00:00
2020-02-28 15:20:47 +00:00
.noUnderline {
text-decoration: none;
}
.underline {
text-decoration: underline;
}
2020-02-03 18:24:24 +00:00
2020-02-28 15:20:47 +00:00
.underline_onHover:hover {
text-decoration: underline;
}
2020-02-03 18:24:24 +00:00
2020-02-28 15:20:47 +00:00
.objectFitCover {
object-fit: cover;
}
2020-02-03 18:24:24 +00:00
2020-02-28 15:20:47 +00:00
.shadow {
/* todo */
}
2020-02-04 15:50:18 +00:00
2020-02-28 15:20:47 +00:00
.z1 {
z-index: 1;
}
2020-02-08 06:12:01 +00:00
2020-02-28 15:20:47 +00:00
.z2 {
z-index: 2;
}
.z3 {
z-index: 3;
}
.z4 {
z-index: 4;
}
2020-02-03 18:24:24 +00:00
2020-03-11 23:56:18 +00:00
.my5 {
2020-02-04 15:50:18 +00:00
margin-top: 5px;
margin-bottom: 5px;
2020-02-03 18:24:24 +00:00
}
2020-03-11 23:56:18 +00:00
.ml5 {
2020-02-28 15:20:47 +00:00
margin-left: 5px;
}
2020-03-06 15:38:22 +00:00
.marginLeftNeg5PX {
margin-left: -5px;
}
2020-03-07 04:53:28 +00:00
.marginBottomNeg5PX {
margin-bottom: -5px;
}
2020-03-26 03:11:32 +00:00
.mt2 {
margin-top: 2px;
}
2020-03-11 23:56:18 +00:00
.mr2 {
2020-02-28 15:20:47 +00:00
margin-right: 2px;
}
2020-03-11 23:56:18 +00:00
.mr5 {
2020-02-28 15:20:47 +00:00
margin-right: 5px;
}
2020-02-08 06:12:01 +00:00
2020-03-11 23:56:18 +00:00
.my10 {
2020-02-05 22:45:48 +00:00
margin-top: 10px;
margin-bottom: 10px;
}
2020-03-11 23:56:18 +00:00
.mr10 {
2020-02-28 15:20:47 +00:00
margin-right: 10px;
}
2020-03-11 23:56:18 +00:00
.ml15 {
2020-02-28 15:20:47 +00:00
margin-left: 15px;
}
2020-03-11 23:56:18 +00:00
.ml10 {
2020-03-05 15:44:17 +00:00
margin-left: 10px;
}
2020-02-28 15:20:47 +00:00
.marginLeftAuto {
margin-left: auto;
}
2020-02-05 22:45:48 +00:00
2020-02-28 15:20:47 +00:00
.marginRightAuto {
margin-right: auto;
}
2020-03-11 23:56:18 +00:00
.mb15 {
2020-02-28 15:20:47 +00:00
margin-bottom: 15px;
}
2020-03-11 23:56:18 +00:00
.mb10 {
2020-02-28 15:20:47 +00:00
margin-bottom: 10px;
}
2020-03-11 23:56:18 +00:00
.mt10 {
2020-02-28 15:20:47 +00:00
margin-top: 10px;
}
2020-03-11 23:56:18 +00:00
.mt5 {
2020-02-28 15:20:47 +00:00
margin-top: 5px;
}
.marginTopAuto {
margin-top: auto;
}
.marginTopNeg30PX {
margin-top: -30px;
}
.marginTopNeg75PX {
margin-top: -75px;
}
.paddingTop5625PC {
padding-top: 56.25%;
}
2020-03-04 22:26:01 +00:00
.paddingTop25PC {
padding-top: 25%;
}
2020-03-31 17:04:50 +01:00
.pt15 {
padding-top: 15px;
}
2020-03-11 23:56:18 +00:00
.pt10 {
2020-02-28 15:20:47 +00:00
padding-top: 10px;
}
2020-02-14 00:40:04 +00:00
2020-03-11 23:56:18 +00:00
.pt5 {
2020-03-07 04:53:28 +00:00
padding-top: 5px;
}
2020-03-11 23:56:18 +00:00
.pt2 {
2020-03-08 23:02:28 +00:00
padding-top: 2px;
}
2020-03-11 23:56:18 +00:00
.pb10 {
2020-03-07 04:53:28 +00:00
padding-bottom: 10px;
}
2020-03-11 23:56:18 +00:00
.pb5 {
2020-03-06 15:38:22 +00:00
padding-bottom: 5px;
}
2020-03-11 23:56:18 +00:00
.px15 {
2020-02-05 22:45:48 +00:00
padding-left: 15px;
padding-right: 15px;
}
2020-02-08 22:57:09 +00:00
2020-03-11 23:56:18 +00:00
.pl15 {
2020-02-28 15:20:47 +00:00
padding-left: 15px;
}
2020-03-11 23:56:18 +00:00
.pl0 {
2020-03-06 15:38:22 +00:00
padding-left: 0;
}
2020-03-11 23:56:18 +00:00
.pr0 {
2020-03-06 15:38:22 +00:00
padding-right: 0;
}
2020-03-11 23:56:18 +00:00
.pr15 {
2020-02-28 15:20:47 +00:00
padding-right: 15px;
}
2020-02-05 22:45:48 +00:00
2020-03-11 23:56:18 +00:00
.py5 {
2020-02-08 06:12:01 +00:00
padding-top: 5px;
padding-bottom: 5px;
}
2020-03-11 23:56:18 +00:00
.py10 {
2020-02-04 15:50:18 +00:00
padding-top: 10px;
padding-bottom: 10px;
2020-02-03 18:24:24 +00:00
}
2020-03-11 23:56:18 +00:00
.py15 {
2020-02-05 22:45:48 +00:00
padding-top: 15px;
padding-bottom: 15px;
}
2020-03-11 23:56:18 +00:00
.py2 {
2020-02-08 06:12:01 +00:00
padding-top: 2px;
padding-bottom: 2px;
}
2020-04-02 04:17:21 +01:00
.px2 {
padding-left: 2px;
padding-right: 2px;
}
2020-03-11 23:56:18 +00:00
.pb15 {
2020-02-28 15:20:47 +00:00
padding-bottom: 15px;
}
2020-03-11 23:56:18 +00:00
.px5 {
2020-02-08 22:57:09 +00:00
padding-left: 5px;
padding-right: 5px;
}
2020-03-11 23:56:18 +00:00
.px10 {
2020-02-04 15:50:18 +00:00
padding-left: 10px;
padding-right: 10px;
2020-02-03 18:24:24 +00:00
}
2020-03-07 04:53:28 +00:00
.opacity0 {
opacity: 0;
}
2020-03-26 03:11:32 +00:00
.opacity05 {
opacity: 0.5;
}
2020-03-07 04:53:28 +00:00
.opacity1 {
opacity: 1;
}
.boxShadow1 {
box-shadow: 1px 1px 1px 1px rgba(0, 0, 0, .25);
}
2020-03-14 17:31:29 +00:00
.boxShadow2 {
box-shadow: 0 0 15px -5px rgba(0,0,0,0.15);
}
2020-03-07 04:53:28 +00:00
.listStyleNone {
list-style: none;
}
2020-03-06 15:38:22 +00:00
.videoPlayerControlsBackground {
2020-03-07 04:53:28 +00:00
background: linear-gradient(0deg, rgba(0, 0, 0, .85), rgba(0, 0, 0, .45) 60%, transparent);
2020-03-06 15:38:22 +00:00
}
.videoPlayerSeek:before {
content: '';
display: block;
position: absolute;
border-radius: 4px;
top: 10px;
width: 100%;
height: 40px;
}
2020-03-07 04:53:28 +00:00
.videoPlayerVolume {
width: 24px;
right: 65px;
bottom: 60px;
2020-03-06 15:38:22 +00:00
}
2020-03-07 04:53:28 +00:00
.select {
height: 42px;
line-height: 42px;
font-size: 18px;
-webkit-appearance: none;
-moz-appearance: none;
appearance: none;
}
.emojione {
margin: -3px 0 0;
height: 20px;
width: 20px;
}
/* .videoPlayerVolume:before {
content: '';
display: block;
position: absolute;
2020-03-24 04:39:12 +00:00
} */
.visibilityHidden {
visibility: hidden;
2020-04-02 04:17:21 +01:00
}
/**
* Rich Text Editor
*/
.RTE :global(.RichEditor-hidePlaceholder .public-DraftEditorPlaceholder-root) {
display: none;
}
.RTE :global(.RichEditor-editor .RichEditor-blockquote) {
border-left: 5px solid #eee;
color: #666;
font-family: 'Hoefler Text', 'Georgia', serif;
font-style: italic;
margin: 16px 0;
padding: 10px 20px;
}
.RTE :global(.RichEditor-editor .public-DraftStyleDefault-pre) {
background-color: rgba(0, 0, 0, 0.05);
font-family: 'Inconsolata', 'Menlo', 'Consolas', monospace;
font-size: 16px;
padding: 20px;
2020-03-24 04:39:12 +00:00
}