tethysfaceid
Version:
601 lines (494 loc) • 7.44 kB
text/less
@primary-blue : #03224c;
@primary-blue-light : #384978;
@primary-blue-dark : #000025;
.ant-tag {
background: transparent;
}
.vertical-middle {
position: fixed;
top: 50%;
left: 50%;
}
.white-bg {
background: white;
}
.cards-list {
padding: 0 15px;
}
.no-margin {
margin: 0;
}
.negative-margin {
margin-left: -18px;
margin-right: -18px;
width: calc(100% + 36px);
}
.no-padding {
padding: 0 ;
}
.narrow {
max-width: 800px;
margin: auto;
}
.bold {
font-weight: 600;
}
.normal {
font-weight: 400;
}
.italics {
font-style: italic;
}
.text-large {
font-size: 20px;
}
.text-normal {
font-size: 16px;
}
.text-regular {
font-size: 14px;
}
.text-small {
font-size: 12px;
}
.uppercase {
text-transform: uppercase;
}
.capitalize {
text-transform: capitalize;
}
.light-border {
border: 1px solid #c2c2c24d;
}
.no-border {
border: none;
}
.flex {
display: flex;
&.justify-center {
justify-content: center;
}
&.align-middle {
align-items: center;
}
&.align-end {
align-items: flex-end;
}
&.justify-start {
justify-content: flex-start;
}
&.justify-end {
justify-content: flex-end;
}
&.flex-apart {
justify-content: space-between;
}
&.wrap {
flex-wrap: wrap;
}
&.direction-column {
flex-direction: column;
}
&.direction-row {
flex-direction: row;
}
&.reverse-row {
flex-direction: row-reverse;
}
}
.inline-block {
display: inline-block;
}
a.link-no-color {
color: inherit;
}
.block {
display: block;
}
.flex-one {
flex: 1 1 auto;
}
.full-width {
width: 100%;
}
.full-height {
height: 100%;
}
.center {
text-align: center;
input {
text-align: center;
}
}
.ellipsis {
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
max-width: 100%;
}
.left {
text-align: left;
}
.right {
text-align: right;
}
.mobile {
display: none;
@media (max-width: 768px) {
display: inherit;
}
}
.desktop {
@media (max-width: 768px) {
display: none;
}
}
.tablet {
display: none;
@media (max-width: 965px) {
display: inherit;
}
}
.relative {
position: relative;
}
.pointer {
cursor: pointer;
}
.space-right {
margin-right: 16px;
&.short {
margin-right: 12px;
}
&.extra-short {
margin-right: 6px;
}
&.long {
margin-right: 24px;
}
&.extra-long {
margin-right: 48px;
}
}
.space-left {
margin-left: 16px;
&.short {
margin-left: 12px;
}
&.extra-short {
margin-left: 6px;
}
&.long {
margin-left: 24px;
}
&.extra-long {
margin-left: 48px;
}
&.double-extra-long {
margin-left: 132px;
}
}
.space-top {
margin-top: 16px;
&.short {
margin-top: 12px;
}
&.extra-short {
margin-top: 6px;
}
&.long {
margin-top: 24px;
}
&.extra-long {
margin-top: 48px;
}
&.double-extra-long {
margin-top: 132px;
}
}
.space-bottom {
margin-bottom: 16px;
&.short {
margin-bottom: 12px;
}
&.extra-short {
margin-bottom: 6px;
}
&.long {
margin-bottom: 32px;
}
&.extra-long {
margin-bottom: 48px;
}
}
.inner-space-top {
padding-top: 16px;
&.short {
padding-top: 12px;
}
&.extra-short {
padding-top: 6px;
}
&.long {
padding-top: 24px;
}
&.extra-long {
padding-top: 48px;
}
&.double-extra-long {
padding-top: 132px;
}
}
.inner-space-bottom {
padding-bottom: 16px;
&.short {
padding-bottom: 12px;
}
&.extra-short {
padding-bottom: 6px;
}
&.long {
padding-bottom: 32px;
}
&.extra-long {
padding-bottom: 48px;
}
}
.primary {
&,
& > * {
color: @primary-blue;
}
&-bg {
background: @primary-blue;
}
&-trans {
color: @primary-blue;
background: fadeout(@primary-blue, 90%);
border: none;
&.colored-border {
border: 1px solid fadeout(@primary-blue, 50%);
}
}
h1,h2,h3,h4,h5,h6,p,label{
color: @primary-blue;
}
}
.default {
&,
& > * {
color: #000;
}
&-bg {
background: #000;
}
&-trans {
color: #000;
background: fadeout(#000, 90%);
border: none;
&.colored-border {
border: 1px solid fadeout(#000, 50%);
}
}
}
.secondary {
&,
& > * {
color: #a6aab5;
}
&-bg {
background: #a6aab5;
}
&-bg.light {
background: rgba(166, 170, 181, 0.5);
}
&-trans {
color: #a6aab5;
background: fadeout(#a6aab5, 90%);
border: none;
&.colored-border {
border: 1px solid fadeout(#a6aab5, 50%);
}
}
}
.error {
&,
& > * {
color: #ff6961;
}
&-bg {
background: #ff6961;
}
&-trans {
color: #ff6961;
background: fadeout(#ff6961, 90%);
border: none;
&.colored-border {
border: 1px solid fadeout(#ff6961, 50%);
}
}
}
.success {
&,
& > * {
color: #009781;
}
&-bg {
background: #009781;
}
&-trans {
color: #009781;
background: fadeout(#009781, 90%);
border: none;
&.colored-border {
border: 1px solid fadeout(#009781, 50%);
}
}
}
.warning {
&,
& > * {
color: #ffb347;
}
&-bg {
background: #ffb347;
}
&-trans {
color: #ffb347;
background: fadeout(#ffb347, 90%);
border: none;
&.colored-border {
border: 1px solid fadeout(#ffb347, 50%);
}
}
}
.currency-block {
.currency {
margin-right: 3px;
font-size: 0.95em;
font-weight: normal;
}
}
.info-icon {
font-family: 'Times New Roman', Times, serif ;
font-style: italic;
font-size: 14px;
display: inline-block;
border: 1px solid #d9d9d9;
height: 22px;
width: 22px;
color: #898989;
border-radius: 50%;
text-align: center;
line-height: 20px;
cursor: help;
}
.overflow-scroll {
overflow: scroll;
}
.shadow {
box-shadow: 1px 1px 4px rgba(0, 0, 0, 0.15);
&:not(.no-hover):hover {
box-shadow: 2px 2px 8px rgba(0, 0, 0, 0.15);
}
}
.ant-affix {
z-index: 100;
}
.inline-block {
display: inline-block;
}
.details-title {
font-size: 24px;
font-weight: 600;
&.gap-below {
margin-bottom: 40px;
}
@media (max-width: 767px) {
& {
font-size: 18px;
}
}
}
.nowrap {
white-space: nowrap;
}
.ant-affix {
z-index: 96;
}
.psuedo-hide {
opacity: 0;
touch-action: none;
}
.hide {
display: none;
}
.tall-line {
line-height: 2.5;
}
.page-loader {
position: fixed;
width: 100%;
height: 100%;
background: rgba(255, 255, 255, 0.7);
display: flex;
align-items: center;
justify-content: center;
z-index: 1000;
top: 0;
left: 0;
}
.padded {
padding-left: 16px;
padding-right: 16px;
}
.sticky {
position: sticky;
z-index: 98;
}
.live-price-container {
padding: 8px;
cursor: help;
.live {
background-color: #4fc400;
height: 6px;
width: 6px;
border-radius: 50%;
animation: shadow-pulse 1s infinite;
}
@keyframes shadow-pulse {
0% {
box-shadow: 0 0 0 0px #4fc400aa;
}
100% {
box-shadow: 0 0 0 5px transparent;
}
}
}
.multi-line-clamp {
overflow: hidden;
display: -webkit-box;
-webkit-line-clamp: 2;
-webkit-box-orient: vertical;
}
.mx-auto {
margin-left: auto;
margin-right: auto;
}
h1 {
font-size: 20px;
}
.type-none {
list-style-type: none;
}
ul,p {
font-size: 13px;
line-height: 1.3rem;
}
.mw-10{
min-width: 10px;
display: inline-block;
}
h1,h2,h3,h4,h5,h6 {
font-weight: 600;
}