gab-social/app/javascript/styles/global.css
mgabdev efb2b7f0c2 Updated StatusCard, LinkTimeline styles
• Updated:
- StatusCard, LinkTimeline styles
2020-10-31 19:09:41 -05:00

1548 lines
32 KiB
CSS

:root {
--color_highlight: #CCF3DF;
--color_brand-dark: #378e61;
--color_brand-light: #63DA9D;
--color_brand-light-opaque: rgb(54, 233, 145, .125);
--color_brand: #21cf7a;
--color_white: #fff;
--color_black: #2d3436;
--color_black-opaque: rgba(0, 0, 0, .8);
--color_black-opaquer: rgba(0, 0, 0, .65);
--color_black-opaquest: rgba(0, 0, 0, .3);
--color_gold: #ffd700;
--color_red: #de2960;
--color_red-dark: #c72c5b;
--radius-small: 8px;
--radius-circle: 9999px;
--fs_xs: 0.8571428571rem;
--fs_s: 0.9285714286rem;
--fs_n: 1rem;
--fs_m: 1.0714285714rem;
--fs_l: 1.1428571429rem;
--fs_xl: 1.3571428571rem;
--fs_xxl: 1.7142857143rem;
--font_family: system-ui, -apple-system, BlinkMacSystemFont, Roboto, Ubuntu, "Helvetica Neue", sans-serif;
/* Default light theme */
--solid_color_primary: #fff;
--solid_color_primary-opaque:rgba(255, 255, 255,.6);
--solid_color_secondary: #e2e8ec;
--solid_color_secondary-dark: #d9e0e5;
--solid_color_tertiary: #f5f5f7;
--solid_color_block: #f5f8fa;
--solid_color_highlight: rgba(224, 234, 66, .125);
--text_color_primary: #2d3436;
--text_color_secondary: #4b4f55;
--text_color_tertiary: #777;
--border_color_secondary: #ececed;
/* Navigation bar. Only themes. Non-editable */
--navigation_background: var(--color_brand);
--navigation_blend: var(--color_brand-dark);
--navigation_blend--light: #29c173;
--navigation_primary: var(--color_white);
--navigation_brand: var(--color_white);
--navigation_search: var(--color_brand-light);
}
:visited {
color: inherit;
}
::selection {
background: var(--color_highlight);
}
::-moz-selection {
background: var(--color_highlight);
}
:root[no-circle] {
--radius-circle: 0 !important;
}
:root[no-radius] {
--radius-small: 0 !important;
}
:root[theme='muted'] {
--solid_color_primary: #222 !important;
--solid_color_primary-opaque:rgba(34, 34, 34, .6) !important;
--solid_color_secondary: #4f5050 !important;
--solid_color_secondary-dark: #424343 !important;
--solid_color_tertiary: #333 !important;
--solid_color_block: #2d2d2d !important;
--text_color_primary: #fff !important;
--text_color_secondary: #999 !important;
--text_color_tertiary: #656565 !important;
--border_color_secondary: #424141 !important;
/* Navigation bar. Only themes. Non-editable */
--navigation_background: #000 !important;
--navigation_blend: var(--text_color_secondary) !important;
--navigation_blend--light: var(--solid_color_block);
--navigation_primary: var(--text_color_primary) !important;
--navigation_brand: var(--color_brand) !important;
--navigation_search: var(--solid_color_tertiary) !important;
}
:root[theme='black'] {
--solid_color_primary: #13171b !important;
--solid_color_primary-opaque:rgba(19, 23, 27, .6) !important;
--solid_color_secondary: #343434 !important;
--solid_color_secondary-dark: #282828 !important;
--solid_color_tertiary: #000 !important;
--solid_color_block: #202327 !important;
--text_color_primary: #cccbcb !important;
--text_color_secondary: #888 !important;
--text_color_tertiary: #656565 !important;
--border_color_secondary: #343434 !important;
/* Navigation bar. Only themes. Non-editable */
--navigation_background: #000 !important;
--navigation_blend: var(--text_color_secondary) !important;
--navigation_blend--light: var(--solid_color_block);
--navigation_primary: var(--text_color_primary) !important;
--navigation_brand: var(--color_brand) !important;
--navigation_search: var(--solid_color_block) !important;
}
html,
body {
min-height: 100%;
margin: 0;
padding: 0;
background-color: var(--solid_color_tertiary);
}
body {
overflow-y: scroll;
overscroll-behavior-y: none;
}
code,
pre {
font-family: monospace !important;
}
.overflowYScroll {
overflow: hidden;
overflow-y: scroll;
}
.statusContent,
.statusContent * {
margin-top: 0;
margin-bottom: 0;
font-size: var(--fs_m);
line-height: 1.3125;
overflow-wrap: break-word;
color: var(--text_color_primary);
font-family: var(--font_family);
}
.statusContent p {
min-height: 18px;
}
.statusContent p:not(:last-of-type) {
margin-bottom: 18px;
}
.statusContent em {
font-style: italic;
}
.statusContent strong {
font-weight: 700;
}
.statusContent strike,
.statusContent del {
text-decoration: line-through;
}
.statusContent h1 {
font-size: var(--fs_xl);
font-weight: 700;
margin-top: 0.5rem;
margin-bottom: 0.5rem;
}
.statusContent h1 * {
font-size: var(--fs_xl) !important;
}
.statusContent ul,
.statusContent ol {
padding-left: 40px;
margin: 0.5rem 0;
}
.statusContent ul {
/* list-style-type: disc; */
}
.statusContent ol {
/* list-style-type: disc; */
}
.statusContent code {
background-color: var(--border_color_secondary);
color: var(--text_color_secondary) !important;
font-size: var(--fs_n) !important;
padding: 0.25em 0.5em;
}
.dangerousContent,
.dangerousContent * {
margin-top: 0;
margin-bottom: 0;
font-size: var(--fs_n);
line-height: 1.3125;
overflow-wrap: break-word;
color: var(--text_color_primary);
font-family: var(--font_family);
}
.statusContent a,
.dangerousContent a,
.statusContent a *,
.dangerousContent a * {
color: var(--color_brand);
text-decoration: none;
}
.statusContent a:hover,
.dangerousContent a:hover {
text-decoration: underline;
}
.statusCardVideo iframe {
height: 100% !important;
width: 100% !important;
}
.d {
display: flex;
flex-basis: auto;
flex-direction: column;
align-items: stretch;
flex-shrink: 0;
border: 0 solid var(--color_black);
z-index: 0;
margin: 0;
padding: 0;
box-sizing: border-box;
position: relative;
}
.text {
display: inline;
white-space: pre-wrap;
word-wrap: break-word;
font-family: var(--font_family);
}
.font {
font-family: var(--font_family);
}
.wrap {
white-space: pre-wrap;
word-wrap: break-word;
}
.overflowWrapBreakWord {
overflow-wrap: break-word;
}
.inherit {
color: inherit;
white-space: inherit;
}
.inheritFill { fill: inherit; }
.fillBrand { fill: var(--color_brand); }
.flexNormal {
flex-basis: 0%;
flex-grow: 1;
flex-shrink: 1;
}
.flex1 { flex: 1; }
.flexGrow1 { flex-grow: 1; }
.flexShrink1 { flex-shrink: 1; }
.flexRow { flex-direction: row; }
.flexWrap { flex-wrap: wrap; }
.flexColumnReverse { flex-direction: column-reverse; }
.aiEnd { align-items: flex-end; }
.aiStart { align-items: flex-start; }
.aiCenter { align-items: center; }
.jcSpaceBetween { justify-content: space-between; }
.jcSpaceAround { justify-content: space-around; }
.jcCenter { justify-content: center; }
.jcEnd { justify-content: flex-end; }
.overflowHidden {
overflow-x: hidden;
overflow-y: hidden;
}
.overflowYHidden { overflow-y: hidden; }
.overflowXScroll { overflow-x: scroll; }
.textOverflowEllipsis {
max-width: 100%;
overflow-x: hidden;
overflow-y: hidden;
text-overflow: ellipsis;
white-space: nowrap;
}
.textOverflowEllipsis2 { text-overflow: ellipsis; }
.whiteSpaceNoWrap { white-space: nowrap; }
.outlineNone { outline: none; }
.outlineOnFocus:focus {
box-shadow: 0 0 0 5px rgba(21, 156, 228, 0.4);
}
.resizeNone { resize: none; }
.circle { border-radius: var(--radius-circle); }
.radiusSmall { border-radius: var(--radius-small); }
.topLeftRadiusSmall { border-top-left-radius: var(--radius-small); }
.topRightRadiusSmall { border-top-right-radius: var(--radius-small); }
.bottomRightRadiusSmall { border-bottom-right-radius: var(--radius-small); }
.bottomLeftRadiusSmall { border-bottom-left-radius: var(--radius-small); }
.borderColorWhite { border-color: var(--color_white); }
.borderColorPrimary { border-color: var(--solid_color_primary); }
.borderColorSecondary { border-color: var(--border_color_secondary); }
.borderColorBrand { border-color: var(--color_brand); }
.borderColorTransparent { border-color: transparent; }
.borderRight1PX { border-right-width: 1px; }
.borderBottom1PX { border-bottom-width: 1px; }
.borderBottom6PX { border-bottom-width: 6px; }
.borderLeft1PX { border-left-width: 1px; }
.borderTop1PX { border-top-width: 1px; }
.borderTop2PX { border-top-width: 2px; }
.border1PX { border-width: 1px; }
.border2PX { border-width: 2px; }
.border6PX { border-width: 6px; }
.borderBottom2PX { border-bottom-width: 2px; }
.borderDashed { border-style: dashed; }
.displayNone { display: none; }
.displayBlock { display: block; }
.displayInline { display: inline; }
.displayFlex { display: flex !important; }
.cursorText { cursor: text; }
.cursorPointer { cursor: pointer; }
.cursorNotAllowed { cursor: not-allowed; }
.backgroundCandy {
background-image: linear-gradient(-45deg,
rgba(255, 255, 255, 0.15) 10%,
rgba(255, 255, 255, 0) 10%,
rgba(255, 255, 255, 0) 20%,
rgba(255, 255, 255, 0.15) 20%,
rgba(255, 255, 255, 0.15) 30%,
rgba(255, 255, 255, 0) 30%,
rgba(255, 255, 255, 0) 40%,
rgba(255, 255, 255, 0.15) 40%,
rgba(255, 255, 255, 0.15) 50%,
rgba(255, 255, 255, 0) 50%,
rgba(255, 255, 255, 0) 60%,
rgba(255, 255, 255, 0.15) 60%,
rgba(255, 255, 255, 0.15) 70%,
rgba(255, 255, 255, 0) 70%,
rgba(255, 255, 255, 0) 80%,
rgba(255, 255, 255, 0.15) 80%,
rgba(255, 255, 255, 0.15) 90%,
rgba(255, 255, 255, 0) 90%,
rgba(255, 255, 255, 0)
);
}
.bgTransparent { background-color: transparent; }
.bgLoading { background-color: #ccc; }
.bgSubtle { background-color: var(--solid_color_block); }
.bgSubtle_onHover:hover { background-color: var(--solid_color_block); }
.bgSecondary { background-color: var(--solid_color_secondary); }
.bgSecondaryDark_onHover:hover { background-color: var(--solid_color_secondary-dark); }
.bgTertiary { background-color: var(--solid_color_tertiary); }
.bgPrimary { background-color: var(--solid_color_primary); }
.bgPrimaryOpaque { background-color: var(--solid_color_primary-opaque) }
.bgWhite { background-color: var(--color_white); }
.bgBlack { background-color: var(--color_black); }
.bgBlackOpaque { background-color: var(--color_black-opaquer); }
.bgBlackOpaque_onHover:hover { background-color: var(--color_black-opaque); }
.bgBlackOpaquest_onHover:hover { background-color: var(--color_black-opaquest); }
.bgBrand { background-color: var(--color_brand); }
.bgBrand_onHover:hover { background-color: var(--color_brand); }
.bgBrandLight { background-color: var(--color_brand-light); }
.bgBrandLightOpaque { background-color: var(--color_brand-light-opaque); }
.bgBrandLightOpaque_onHover:hover { background-color: var(--color_brand-light-opaque); }
.bgBrandDark { background-color: var(--color_brand-dark); }
.bgBrandDark_onHover:hover { background-color: var(--color_brand-dark); }
.bgRed { background-color: red; }
.bgDanger { background-color: var(--color_red); }
.bgDangerDark_onHover:hover { background-color: var(--color_red-dark); }
.bgPro { background-color: var(--color_gold); }
.bgDonor { background-color: #4DA6FF; }
.bgInvestor { background-color: #6DD900; }
.bgFacebook { background-color: #4267B2; }
.bgTwitter { background-color: #1DA1F2; }
.bgReddit { background-color: #FF4500; }
.bgTelegram { background-color: #158ACA; }
.bgSMS { background-color: #74DE6F; }
/* */
.cPrimary { color: var(--text_color_primary); }
.cBlack { color: var(--color_black); }
.cError { color: var(--color_red); }
.cWhite { color: var(--color_white); }
.cWhite_onHover:hover { color: var(--color_white); }
.cSecondary { color: var(--text_color_secondary); }
.cTertiary { color: var(--text_color_tertiary); }
.cBrand { color: var(--color_brand); }
.colorBGPrimary { color: var(--solid_color_primary); }
/* */
.topNeg50PX { top: -50px; }
.top0 { top: 0; }
.top120PX { top: 120px; }
.top53PX { top: 53px; }
.top60PC { top: 60%; }
.top50PC { top: 50%; }
.bottom0 { bottom: 0; }
.bottom55PX { bottom: 55px; }
.bottomAuto { bottom: auto; }
.left0 { left: 0px; }
.left50PC { left: 50%; }
.right0 { right: 0px; }
.rightAuto { right: auto; }
/* */
.lineHeight125 { line-height: 1.25em; }
.lineHeight15 { line-height: 1.5em; }
.lineHeight2 { line-height: 2em; }
/* */
.posSticky { position: sticky; }
.posFixed { position: fixed; }
.posAbs { position: absolute; }
.noSelect { user-select: none; }
.resizeVertical { resize: vertical; }
.maxH100VH { max-height: 100vh; }
.maxH100PC { max-height: 100%; }
.maxH80VH { max-height: 80vh; }
.maxH340PX { max-height: 340px; }
.maxH200PX { max-height: 200px; }
.maxH56PX { max-height: 56px; }
.maxH40PX { max-height: 40px; }
.calcH106PX { height: calc(100vh - 106px); }
.calcH53PX { height: calc(100vh - 53px); }
.calcH80VH106PX { height: calc(80vh - 106px); }
.minH100VH { min-height: 100vh; }
.minH50VH { min-height: 50vh; }
.minH200PX { min-height: 200px; }
.minH106PX { min-height: 106px; }
.minH103PX { min-height: 103px; }
.minH98PX { min-height: 98px; }
.minH80PX { min-height: 80px; }
.minH58PX { min-height: 58px; }
.minH53PX { min-height: 53px; }
.minH50PX { min-height: 50px; }
.minH40PX { min-height: 40px; }
.minH28PX { min-height: 28px; }
.h100PC { height: 100%; }
.h350PX { height: 350px; }
.h260PX { height: 260px; }
.h220PX { height: 220px; }
.h215PX { height: 215px; }
.h200PX { height: 200px; }
.h158PX { height: 158px; }
.h122PX { height: 122px; }
.h60PX { height: 60px; }
.h53PX { height: 53px; }
.h40PX { height: 40px; }
.h24PX { height: 24px; }
.h22PX { height: 22px; }
.h20PX { height: 20px; }
.h14PX { height: 14px; }
.h10PX { height: 10px; }
.h4PX { height: 4px; }
.h1PX { height: 1px; }
.hAuto { height: auto; }
.maxW100PC { max-width: 100%; }
.maxW80PC { max-width: 80%; }
.maxW640PX { max-width: 640px; }
.maxW100PC130PX { max-width: calc(100% - 130px); }
.maxW100PC86PX { max-width: calc(100% - 86px); }
.maxW100PC42PX { max-width: calc(100% - 42px); }
.maxW212PX { max-width: 212px; }
.minW330PX { min-width: 330px; }
.minW120PX { min-width: 120px; }
.minW84PX { min-width: 84px; }
.minW76PX { min-width: 76px; }
.minW20PX { min-width: 20px; }
.minW14PX { min-width: 14px; }
.w100PC { width: 100%; }
.w50PC { width: 50%; }
.w25PC { width: 25%; }
.w1255PX { width: 1255px; }
.w1015PX { width: 1015px; }
.w645PX { width: 645px; }
.w340PX { width: 340px; }
.w330PX { width: 330px; }
.w300PX { width: 300px; }
.w240PX { width: 240px; }
.w208PX { width: 208px; }
.w115PX { width: 115px; }
.w84PX { width: 84px; }
.w76PX { width: 76px; }
.w72PX { width: 72px; }
.w60PX { width: 60px; }
.w50PX { width: 50px; }
.w40PX { width: 40px; }
.w20PX { width: 20px; }
.w14PX { width: 14px; }
.w10PX { width: 10px; }
.w4PX { width: 4px; }
.w1PX { width: 1px; }
.wAuto { width: auto; }
@media (min-width: 1480px) {
.w1015PX {
width: 1080px;
}
.w645PX {
width: 700px;
}
.w340PX {
width: 350px;
}
.w240PX {
width: 250px;
}
}
@media (min-width: 1160px) and (max-width: 1280px) {
.w1015PX {
width: 910px;
}
.w645PX {
width: 580px;
}
.w340PX {
width: 300px;
}
.w240PX {
width: 230px;
}
.w1255PX {
width: 1140px;
}
}
@media (min-width: 1080px) and (max-width: 1160px) {
.w1015PX {
width: 850px;
}
.w645PX {
width: 525px;
}
.w340PX {
width: 300px;
}
.w240PX {
width: 210px;
}
.w1255PX {
width: 1060px;
}
}
@media (min-width: 992px) and (max-width: 1080px) {
.w1015PX {
width: 780px;
}
.w645PX {
width: 470px;
}
.w340PX {
width: 285px;
}
.w240PX {
width: 170px;
}
.w1255PX {
width: 950px;
}
}
@media (min-width: 0px) and (max-width: 992px) {
.w1015PX {
max-width: 600px;
width: 100%;
margin-left: auto;
margin-right: auto;
}
.w645PX {
max-width: 600px;
width: 100%;
}
.w340PX {
width: 0px;
}
.w240PX {
width: 0px;
}
.w1255PX {
width: 100%;
}
:global(.emoji-mart) {
border: 0 !important;
border-radius: 0 !important;
width: 100% !important;
min-width: 100% !important;
}
.modal {
width: 100% !important;
max-width: 100% !important;
min-width: 100% !important;
}
.modal > div {
border-bottom-left-radius: 0 !important;
border-bottom-right-radius: 0 !important;
}
.modal:after {
content: '';
display: block;
position: absolute;
width: 70px;
height: 6px;
background-color: var(--solid_color_primary);
border-radius: var(--radius-circle);
left: calc(100% / 2 - 35px);
top: -20px;
}
}
.textAlignRight { text-align: right; }
.textAlignLeft { text-align: left; }
.textAlignCenter { text-align: center; }
.fs24PX { font-size: var(--fs_xxl); }
.fs19PX { font-size: var(--fs_xl); }
.fs16PX { font-size: var(--fs_l); }
.fs15PX { font-size: var(--fs_m); }
.fs14PX { font-size: var(--fs_n); }
.fs13PX { font-size: var(--fs_s); }
.fs12PX { font-size: var(--fs_xs); }
.fs0 { font-size: 0; }
.fw400 { font-weight: 400; }
.fw500 { font-weight: 500; }
.fw600 { font-weight: 600; }
.fw800 { font-weight: 800; }
.noUnderline { text-decoration: none; }
.underline { text-decoration: underline; }
.underline_onHover:hover { text-decoration: underline; }
.objectFitCover { object-fit: cover; }
.objectFitContain { object-fit: contain; }
.textShadow {
text-shadow: 0 0 5px var(--color_black);
}
.z1 { z-index: 1; }
.z2 { z-index: 2; }
.z3 { z-index: 3; }
.z4 { z-index: 4; }
.z5 { z-index: 5; }
.my10 {
margin-top: 10px;
margin-bottom: 10px;
}
.m1PX { margin: 1px; }
.mr15 { margin-right: 15px; }
.mr10 { margin-right: 10px; }
.mr5 { margin-right: 5px; }
.mr2 { margin-right: 2px; }
.mrAuto { margin-right: auto; }
.ml15 { margin-left: 15px; }
.ml10 { margin-left: 10px; }
.ml7 { margin-left: 7px; }
.ml5 { margin-left: 5px; }
.ml2 { margin-left: 2px; }
.mlAuto { margin-left: auto; }
.mlNeg5PX { margin-left: -5px; }
.mb15 { margin-bottom: 15px; }
.mb10 { margin-bottom: 10px; }
.mb5 { margin-bottom: 5px; }
.mbNeg5PX { margin-bottom: -5px; }
.mt15 { margin-top: 15px; }
.mt10 { margin-top: 10px; }
.mt5 { margin-top: 5px; }
.mt2 { margin-top: 2px; }
.mtAuto { margin-top: auto; }
.mtNeg26PX { margin-top: -26px; }
.mtNeg32PX { margin-top: -32px; }
.mtNeg50PX { margin-top: -50px; }
.mtNeg75PX { margin-top: -75px; }
.pt5625PC { padding-top: 56.25%; }
.pt25PC { padding-top: 25%; }
.pt53PX { padding-top: 53px; }
.pt15 { padding-top: 15px; }
.pt10 { padding-top: 10px; }
.pt7 { padding-top: 7px; }
.pt5 { padding-top: 5px; }
.pt2 { padding-top: 2px; }
.pb35 { padding-bottom: 35px; }
.pb15 { padding-bottom: 15px; }
.pb10 { padding-bottom: 10px; }
.pb5 { padding-bottom: 5px; }
.pb2 { padding-bottom: 2px; }
.pl35 { padding-left: 35px; }
.pl25 { padding-left: 25px; }
.pl20 { padding-left: 20px; }
.pl15 { padding-left: 15px; }
.pl10 { padding-left: 10px; }
.pl5 { padding-left: 5px; }
.pl0 { padding-left: 0; }
.pr15 { padding-right: 15px; }
.pr10 { padding-right: 10px; }
.pr5 { padding-right: 5px; }
.pr0 { padding-right: 0; }
.px15 {
padding-left: 15px;
padding-right: 15px;
}
.py5 {
padding-top: 5px;
padding-bottom: 5px;
}
.py7 {
padding-top: 7px;
padding-bottom: 7px;
}
.py10 {
padding-top: 10px;
padding-bottom: 10px;
}
.py15 {
padding-top: 15px;
padding-bottom: 15px;
}
.py2 {
padding-top: 2px;
padding-bottom: 2px;
}
.px2 {
padding-left: 2px;
padding-right: 2px;
}
.px5 {
padding-left: 5px;
padding-right: 5px;
}
.px10 {
padding-left: 10px;
padding-right: 10px;
}
.opacity0 { opacity: 0; }
.opacity05 { opacity: 0.5; }
.opacity1 { opacity: 1; }
.boxShadow1 { box-shadow: 1px 1px 1px 1px rgba(0, 0, 0, .25); }
.boxShadowPopover { box-shadow: 0 0 15px -5px rgba(0,0,0,0.15); }
.boxShadowBlock { box-shadow: 0 1px 2px rgba(0,0,0,0.2); }
.boxShadowDot { box-shadow: inset 0 0 0 3px #fff, inset 0 0 0 6px #000; }
.boxShadowNone .boxShadowBlock {
box-shadow: none !important;
border-radius: 0 !important;
}
.boxShadowAvatarPro {
box-shadow: 0 0 0 2px var(--color_gold);
}
.boxShadowProfileAvatar {
box-shadow: 0 0 0 6px var(--solid_color_primary);
}
.boxShadowProfileAvatarFooter {
box-shadow: 0 0 0 4px var(--solid_color_primary), 0 0 0 5px var(--border_color_secondary);
}
.listStyleNone {
list-style: none;
}
.videoEase {
transition: left 0.25s linear, width 0.25s linear;
}
.videoPlayerControlsBackground {
background: linear-gradient(0deg, rgba(0,0,0,.85), rgba(0,0,0,.45) 60%, transparent);
}
.videoPlayerSeek:before {
content: '';
display: block;
position: absolute;
border-radius: 4px;
top: 10px;
width: 100%;
height: 40px;
}
.videoPlayerVolume {
width: 24px;
left: 68px;
bottom: 60px;
}
.select {
height: 42px;
line-height: 42px;
-webkit-appearance: none;
-moz-appearance: none;
appearance: none;
}
:global(.emojione) {
margin: -3px 0 0;
height: 20px;
width: 20px;
}
:global(.emoji-mart-emoji span) {
background-repeat: no-repeat;
background-position: center;
}
:global(.invisible) {
font-size: 0px;
display: inline;
white-space: pre-wrap;
word-wrap: break-word;
font-family: var(--font_family);
}
:global(.ellipsis) {
display: inline;
white-space: pre-wrap;
word-wrap: break-word;
font-family: var(--font_family);
color: inherit;
user-select: none;
}
:global(.ellipsis):after {
display: inline;
content: '…';
position: relative;
}
/* .videoPlayerVolume:before {
content: '';
display: block;
position: absolute;
} */
.visiblyHidden {
clip: rect(1px, 1px, 1px, 1px);
clip-path: inset(50%);
height: 1px;
width: 1px;
margin: -1px;
padding: 0;
composes: posAbs;
}
.visibilityHidden {
visibility: hidden;
}
.highlightedComment {
background-color: var(--solid_color_highlight);
}
.searchInput::placeholder {
color: rgba(255,255,255,0.65);
opacity: 1;
}
.searchInput:-ms-input-placeholder {
color: rgba(255,255,255,0.65);
}
.searchInput::-ms-input-placeholder {
color: rgba(255,255,255,0.65);
}
.noScrollbar::-webkit-scrollbar {
display: none;
}
.noScrollbar {
-ms-overflow-style: none;
}
.saveAreaInsetPB {
padding-bottom: env(safe-area-inset-bottom, 0);
}
.saveAreaInsetPT {
padding-top: env(safe-area-inset-top, 0);
}
.saveAreaInsetPL {
padding-left: env(safe-area-inset-left, 0);
}
.saveAreaInsetPR {
padding-right: env(safe-area-inset-right, 0);
}
.saveAreaInsetMR {
margin-right: env(safe-area-inset-right, 0);
}
.saveAreaInsetMB {
margin-bottom: env(safe-area-inset-bottom, 0);
}
.bgNavigation {
background-color: var(--navigation_background);
}
.bgNavigationBlend {
background-color: var(--navigation_blend);
}
.bgNavigationBlendLight {
background-color: var(--navigation_blend--light);
}
.fillPrimary {
fill: var(--color_primary);
}
.fillWhite {
fill: var(--color_white);
}
.fillNavigation {
fill: var(--navigation_primary);
color: var(--navigation_primary);
}
.fillNavigationBlend {
fill: var(--navigation_blend);
color: var(--navigation_blend);
}
.colorNavigation {
color: var(--navigation_primary);
}
.fillNavigationBrand {
fill: var(--navigation_brand);
color: var(--navigation_brand);
}
.navigationUnderlineActive:after {
content: '';
display: block;
left: 0;
right: 0;
height: 2px;
bottom: 1px;
position: absolute;
background-color: var(--navigation_primary);
}
.searchNavigation {
background-color: var(--navigation_search);
}
.gabsocial {
composes: saveAreaInsetPB saveAreaInsetPT saveAreaInsetPL saveAreaInsetPR;
}
/**
* Rich Text Editor
*/
:global(.RichEditor-hidePlaceholder .public-DraftEditorPlaceholder-root) {
display: none;
}
/* :global(.public-DraftEditorPlaceholder-inner) {
font-weight: 400;
font-size: var(--fs_l);
} */
.statusContent blockquote,
:global(.RichEditor-blockquote) {
border-left: 5px solid var(--border_color_secondary);
color: var(--text_color_secondary);
font-style: italic;
margin: 16px 0;
padding: 10px 20px;
}
.statusContent pre,
:global(.public-DraftStyleDefault-pre) {
background-color: rgba(0,0,0,.05);
font-family: 'Inconsolata', 'Menlo', 'Consolas', monospace;
font-size: var(--fs_l);
padding: 10px 20px;
margin-top: 0.5rem;
margin-bottom: 0.5rem;
}
/* */
:global(.emoji-mart-search input) {
border-radius: var(--radius-circle) !important;
}
/* */
:global(.react-datepicker) {
border: 0 !important;
width: 100% !important;
display: flex !important;
flex-direction: row !important;
}
:global(.react-datepicker__header) {
background-color: transparent !important;
border-color: var(--border_color_secondary) !important;
}
:global(.react-datepicker__month-container) {
float: none !important;
width: calc(100% - 103px) !important;
border-color: var(--border_color_secondary) !important;
}
:global(.react-datepicker__day) {
display: flex !important;
width: auto !important;
flex-basis: 0% !important;
flex-grow: 1 !important;
flex-shrink: 1 !important;
align-items: center !important;
justify-content: center !important;
outline: none !important;
padding: 0.135rem !important;
}
:global(.react-datepicker__day-names) {
padding: 0.5rem 0 !important;
}
:global(.react-datepicker__day-names),
:global(.react-datepicker__week) {
width: 100% !important;
display: flex !important;
justify-content: space-around !important;
}
:global(.react-datepicker__time-container) {
float: none !important;
border-color: var(--border_color_secondary) !important;
min-height: 230px !important;
}
:global(.react-datepicker__time-list-item) {
padding: 15px !important;
height: auto !important;
}
:global(.react-datepicker__navigation--next--with-time:not(.react-datepicker__navigation--next--with-today-button)) {
right: 120px !important;
}
:global(.react-datepicker__time-list-item--selected),
:global(.react-datepicker__day--selected),
:global(.react-datepicker__day--in-selecting-range),
:global(.react-datepicker__day--in-range),
:global(.react-datepicker__month-text--selected),
:global(.react-datepicker__month-text--in-selecting-range),
:global(.react-datepicker__month-text--in-range),
:global(.react-datepicker__quarter-text--selected),
:global(.react-datepicker__quarter-text--in-selecting-range),
:global(.react-datepicker__quarter-text--in-range) {
background-color: var(--color_brand) !important;
}
:global(.react-datepicker__current-month),
:global(.react-datepicker-time__header),
:global(.react-datepicker-year-header),
:global(.react-datepicker__day-name),
:global(.react-datepicker__day),
:global(.react-datepicker__time-name),
:global(.react-datepicker__time-list-item) {
font-size: var(--fs_s) !important;
color: var(--text_color_primary) !important;
}
:global(.react-datepicker__current-month),
:global(.react-datepicker-time__header),
:global(.react-datepicker-year-header) {
font-weight: 500 !important;
font-size: var(--fs_l) !important;
}
:global(.react-datepicker__time-container .react-datepicker__time .react-datepicker__time-box ul.react-datepicker__time-list li.react-datepicker__time-list-item:hover),
:global(.react-datepicker__day:hover),
:global(.react-datepicker__month-text:hover),
:global(.react-datepicker__quarter-text:hover) {
background-color: var(--solid_color_primary-opaque) !important;
}
:global(.react-datepicker),
:global(.react-datepicker__time-container),
:global(.react-datepicker__time) {
background-color: var(--solid_color_block) !important;
}
:global(.react-datepicker__time-container),
:global(.react-datepicker__time-container .react-datepicker__time .react-datepicker__time-box) {
width: 100px !important;
}
@media (max-width: 500px) {
:global(.react-datepicker) {
flex-direction: column !important;
}
:global(.react-datepicker__month-container) {
width: 100% !important;
}
:global(.react-datepicker__navigation--next--with-time:not(.react-datepicker__navigation--next--with-today-button)) {
right: 10px !important;
}
:global(.react-datepicker__header) {
border-top: 1px solid var(--border_color_secondary) !important;
}
:global(.react-datepicker__time-container),
:global(.react-datepicker__time-container .react-datepicker__time .react-datepicker__time-box) {
width: 100% !important;
}
:global(.react-datepicker__time-list),
:global(.react-datepicker__time-container) {
min-height: 150px !important;
}
}
/* */
@font-face {
font-family: 'gab_font_icon';
src: url('../fonts/gab_font_icon/gab_font_icon.eot?fn562y');
src: url('../fonts/gab_font_icon/gab_font_icon.eot?fn562y#iefix') format('embedded-opentype'),
url('../fonts/gab_font_icon/gab_font_icon.ttf?fn562y') format('truetype'),
url('../fonts/gab_font_icon/gab_font_icon.woff?fn562y') format('woff'),
url('../fonts/gab_font_icon/gab_font_icon.svg?fn562y#gab_font_icon') format('svg');
font-weight: normal;
font-style: normal;
font-display: block;
}
.gfi {
/* use !important to prevent issues with browser extensions that change fonts */
font-family: 'gab_font_icon' !important;
speak: never;
font-style: normal;
font-weight: normal;
font-variant: normal;
text-transform: none;
line-height: 1;
/* Better Font Rendering =========== */
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
}
.gfi-error:before {
content: "\e900";
}
.gfi-facebook:before {
content: "\e901";
}
.gfi-reddit:before {
content: "\e902";
}
.gfi-share:before {
content: "\e903";
}
.gfi-sms:before {
content: "\e904";
}
.gfi-telegram:before {
content: "\e905";
}
.gfi-twitter:before {
content: "\e906";
}
.gfi-light-bulb:before {
content: "\e907";
}
.gfi-tv:before {
content: "\e908";
}
.gfi-news:before {
content: "\e909";
}
.gfi-visible:before {
content: "\e90a";
}
.gfi-add-image:before {
content: "\e90b";
}
.gfi-bookmark:before {
content: "\e90c";
}
.gfi-caret-down:before {
content: "\e90d";
}
.gfi-star-outline:before {
content: "\e90e";
}
.gfi-stopwatch:before {
content: "\e90f";
}
.gfi-add:before {
content: "\e910";
}
.gfi-angle-left:before {
content: "\e911";
}
.gfi-angle-right:before {
content: "\e912";
}
.gfi-apps:before {
content: "\e913";
}
.gfi-arrow-left:before {
content: "\e914";
}
.gfi-arrow-right:before {
content: "\e915";
}
.gfi-audio-mute:before {
content: "\e916";
}
.gfi-audio:before {
content: "\e917";
}
.gfi-back:before {
content: "\e918";
}
.gfi-block:before {
content: "\e919";
}
.gfi-blockquote:before {
content: "\e91a";
}
.gfi-bold:before {
content: "\e91b";
}
.gfi-calendar:before {
content: "\e91c";
}
.gfi-chat:before {
content: "\e91d";
}
.gfi-check:before {
content: "\e91e";
}
.gfi-close:before {
content: "\e91f";
}
.gfi-code:before {
content: "\e920";
}
.gfi-cog:before {
content: "\e921";
}
.gfi-comment:before {
content: "\e922";
}
.gfi-copy:before {
content: "\e923";
}
.gfi-dissenter:before {
content: "\e924";
}
.gfi-ellipsis:before {
content: "\e925";
}
.gfi-email:before {
content: "\e926";
}
.gfi-explore:before {
content: "\e927";
}
.gfi-fullscreen:before {
content: "\e928";
}
.gfi-gif:before {
content: "\e929";
}
.gfi-globe:before {
content: "\e92a";
}
.gfi-group-add:before {
content: "\e92b";
}
.gfi-group:before {
content: "\e92c";
}
.gfi-happy:before {
content: "\e92d";
}
.gfi-hidden:before {
content: "\e92e";
}
.gfi-home:before {
content: "\e92f";
}
.gfi-italic:before {
content: "\e930";
}
.gfi-like:before {
content: "\e931";
}
.gfi-liked:before {
content: "\e932";
}
.gfi-link:before {
content: "\e933";
}
.gfi-list-add:before {
content: "\e934";
}
.gfi-list:before {
content: "\e935";
}
.gfi-lock-filled:before {
content: "\e936";
}
.gfi-lock:before {
content: "\e937";
}
.gfi-media:before {
content: "\e938";
}
.gfi-mic:before {
content: "\e939";
}
.gfi-minimize-fullscreen:before {
content: "\e93a";
}
.gfi-missing:before {
content: "\e93b";
}
.gfi-more:before {
content: "\e93c";
}
.gfi-notifications:before {
content: "\e93d";
}
.gfi-ol-list:before {
content: "\e93e";
}
.gfi-pause:before {
content: "\e93f";
}
.gfi-pencil:before {
content: "\e940";
}
.gfi-pin:before {
content: "\e941";
}
.gfi-play:before {
content: "\e942";
}
.gfi-poll:before {
content: "\e943";
}
.gfi-pro:before {
content: "\e944";
}
.gfi-quote:before {
content: "\e945";
}
.gfi-repost:before {
content: "\e946";
}
.gfi-rich-text:before {
content: "\e947";
}
.gfi-search-alt:before {
content: "\e948";
}
.gfi-search:before {
content: "\e949";
}
.gfi-select:before {
content: "\e94a";
}
.gfi-shop:before {
content: "\e94b";
}
.gfi-sort:before {
content: "\e94c";
}
.gfi-star:before {
content: "\e94d";
}
.gfi-strikethrough:before {
content: "\e94e";
}
.gfi-subtract:before {
content: "\e94f";
}
.gfi-text-size:before {
content: "\e950";
}
.gfi-trash:before {
content: "\e951";
}
.gfi-trends:before {
content: "\e952";
}
.gfi-ul-list:before {
content: "\e953";
}
.gfi-underline:before {
content: "\e954";
}
.gfi-unlock-filled:before {
content: "\e955";
}
.gfi-verified:before {
content: "\e956";
}
.gfi-warning:before {
content: "\e957";
}
.gfi-website:before {
content: "\e958";
}
.gfi-gab-g:before {
content: "\e959";
}