You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
211 lines
3.0 KiB
211 lines
3.0 KiB
/*
|
|
Variables
|
|
*/
|
|
|
|
// Base Colors
|
|
$white: #fff;
|
|
$black: #000;
|
|
$orange: #ffa500;
|
|
$red: #f00;
|
|
$gray: #808080;
|
|
|
|
/*
|
|
Colors
|
|
http://chir.ag/projects/name-that-color
|
|
*/
|
|
$gallery: #efefef;
|
|
$wild-sand: #f6f6f6;
|
|
$dusty-gray: #9b9b9b;
|
|
$alto: #dedede;
|
|
$alabaster: #fafafa;
|
|
$silver-chalice: #aeaeae;
|
|
$tundora: #4d4d4d;
|
|
$nile-blue: #1b344d;
|
|
$scorpion: #5d5d5d;
|
|
$silver: #cdcdcd;
|
|
$caribbean-green: #02c9b1;
|
|
$monzo: #d0021b;
|
|
$crimson: #e91550;
|
|
$blue-lagoon: #038789;
|
|
$purple: #690496;
|
|
$tulip-tree: #ebb33f;
|
|
$malibu-blue: #7ac9fd;
|
|
$athens-grey: #e9edf0;
|
|
$geyser: #d2d8dd;
|
|
$manatee: #93949d;
|
|
$spindle: #c7ddec;
|
|
$mid-gray: #5b5d67;
|
|
$cape-cod: #38393a;
|
|
$dodger-blue: #3099f2;
|
|
$ecstasy: #f7861c;
|
|
$linen: #fdf4f4;
|
|
$oslo-gray: #8c8e94;
|
|
$polar: #fafcfe;
|
|
$blizzard-blue: #bfdef3;
|
|
$mischka: #dddee9;
|
|
$web-orange: #f2a202;
|
|
$mercury: #e5e5e5;
|
|
|
|
/*
|
|
Z-Indicies
|
|
*/
|
|
$dropdown-z-index: 30;
|
|
$token-icon-z-index: 15;
|
|
$container-z-index: 15;
|
|
$header-z-index: 12;
|
|
$mobile-header-z-index: 26;
|
|
$main-container-z-index: 18;
|
|
$send-card-z-index: 20;
|
|
$sidebar-z-index: 26;
|
|
$sidebar-overlay-z-index: 25;
|
|
|
|
// Flex
|
|
%row-nowrap {
|
|
display: flex;
|
|
flex-flow: row nowrap;
|
|
}
|
|
|
|
%col-nowrap {
|
|
display: flex;
|
|
flex-flow: column nowrap;
|
|
}
|
|
|
|
// Background Image Sizing
|
|
%bg-contain {
|
|
background-size: contain;
|
|
background-repeat: no-repeat;
|
|
background-position: center;
|
|
}
|
|
|
|
%ellipsify {
|
|
text-overflow: ellipsis;
|
|
white-space: nowrap;
|
|
overflow: hidden;
|
|
}
|
|
|
|
%modal {
|
|
background-color: $white;
|
|
border-radius: 10px;
|
|
box-shadow: 0 5px 16px rgba($black, 0.25);;
|
|
}
|
|
|
|
/*
|
|
Z Indicies - Current
|
|
app - 11
|
|
hex/bn as decimal input - 1 - remove?
|
|
dropdown - 11
|
|
loading - 10 - higher?
|
|
mascot - 0 - remove?
|
|
*/
|
|
|
|
/*
|
|
Responsive Breakpoints
|
|
*/
|
|
$break-small: 575px;
|
|
$break-midpoint: 780px;
|
|
$break-large: 576px;
|
|
|
|
|
|
$primary-font-type: Roboto;
|
|
|
|
|
|
// Font Sizes
|
|
%h3 {
|
|
font-size: 1.5rem;
|
|
line-height: 2.125rem;
|
|
font-weight: 400;
|
|
}
|
|
|
|
%h4 {
|
|
font-size: 1.125rem;
|
|
line-height: 1.3125rem;
|
|
font-weight: 400;
|
|
}
|
|
|
|
%h5 {
|
|
font-size: 1rem;
|
|
line-height: 1.25rem;
|
|
font-weight: 400;
|
|
}
|
|
|
|
%h6 {
|
|
font-size: 0.875rem;
|
|
line-height: 1.25rem;
|
|
font-weight: 400;
|
|
}
|
|
|
|
%h8 {
|
|
font-size: 0.75rem;
|
|
line-height: 1.0625rem;
|
|
font-weight: 400;
|
|
}
|
|
|
|
|
|
/*
|
|
Spacing Variables
|
|
*/
|
|
$no-spacing: 0;
|
|
$xxs-spacing: 4px;
|
|
$xs-spacing: 8px;
|
|
$s-spacing: 16px;
|
|
$base-spacing: 24px;
|
|
$medium-spacing: 32px;
|
|
$large-spacing: 40px;
|
|
$xlarge-spacing: 48px;
|
|
$xxlarge-spacing: 64px;
|
|
|
|
|
|
%input {
|
|
background: $white;
|
|
border: 1px solid $Grey-100;
|
|
box-sizing: border-box;
|
|
border-radius: 8px;
|
|
padding: 0.625rem 0.75rem;
|
|
font-size: 1.25rem;
|
|
}
|
|
// Input mixin
|
|
|
|
%input-2 {
|
|
border: 2px solid $Grey-200;
|
|
border-radius: 6px;
|
|
color: $Grey-800;
|
|
padding: 0.875rem 1rem;
|
|
font-size: 1.125rem;
|
|
|
|
&:focus-within {
|
|
border-color: $Blue-500;
|
|
}
|
|
}
|
|
|
|
// Font mixin
|
|
|
|
%font {
|
|
font-family: Roboto;
|
|
font-style: normal;
|
|
font-weight: normal;
|
|
color: $Grey-800;
|
|
}
|
|
|
|
%font--bold {
|
|
@extend %font;
|
|
|
|
font-weight: bold;
|
|
}
|
|
|
|
%header--18 {
|
|
@extend %font;
|
|
|
|
font-size: 18px;
|
|
}
|
|
|
|
%header--24 {
|
|
@extend %font;
|
|
|
|
font-size: 24px;
|
|
}
|
|
|
|
%content-text {
|
|
@extend %font;
|
|
|
|
font-size: 14px;
|
|
}
|
|
|