mirror of
https://github.com/kremalicious/metamask-extension.git
synced 2024-12-01 13:47:06 +01:00
466ece4588
This reverts commit1110287fe1
, reversing changes made to72eb233ee9
.
230 lines
3.8 KiB
SCSS
230 lines
3.8 KiB
SCSS
/*
|
|
Variables
|
|
*/
|
|
|
|
// Base Colors
|
|
$white: #fff;
|
|
$black: #000;
|
|
$orange: #ffa500;
|
|
$red: #f00;
|
|
$gray: #808080;
|
|
|
|
/*
|
|
Colors
|
|
http://chir.ag/projects/name-that-color
|
|
*/
|
|
$white-linen: #faf6f0; // formerly 'faint orange (textfield shades)'
|
|
$rajah: #f5c26d; // formerly 'light orange (button shades)'
|
|
$buttercup: #f5a623; // formerly 'dark orange (text)'
|
|
$tundora: #4a4a4a; // formerly 'borders/font/any gray'
|
|
$gallery: #efefef;
|
|
$alabaster: #f7f7f7;
|
|
$shark: #22232c;
|
|
$wild-sand: #f6f6f6;
|
|
$white: #fff;
|
|
$dusty-gray: #9b9b9b;
|
|
$alto: #dedede;
|
|
$alabaster: #fafafa;
|
|
$silver-chalice: #aeaeae;
|
|
$curious-blue: #037DD6;
|
|
$concrete: #f3f3f3;
|
|
$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;
|
|
$jaffa: #f28930;
|
|
$geyser: #d2d8dd;
|
|
$manatee: #93949d;
|
|
$spindle: #c7ddec;
|
|
$mid-gray: #5b5d67;
|
|
$cape-cod: #38393a;
|
|
$onahau: #d1edff;
|
|
$java: #29b6af;
|
|
$wild-strawberry: #ff4a8d;
|
|
$cornflower-blue: #7057ff;
|
|
$saffron: #f6c343;
|
|
$dodger-blue: #3099f2;
|
|
$zumthor: #edf7ff;
|
|
$ecstasy: #f7861c;
|
|
$linen: #fdf4f4;
|
|
$oslo-gray: #8C8E94;
|
|
$polar: #fafcfe;
|
|
$blizzard-blue: #bfdef3;
|
|
$mischka: #dddee9;
|
|
$web-orange: #f2a202;
|
|
|
|
/*
|
|
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: 0px 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;
|
|
|
|
$Blue-000: #eaf6ff;
|
|
$Blue-100: #a7d9fe;
|
|
$Blue-200: #75c4fd;
|
|
$Blue-300: #43aefc;
|
|
$Blue-400: #1098fc;
|
|
$Blue-500: #037DD6;
|
|
$Blue-600: #0260a4;
|
|
$Blue-700: #024272;
|
|
$Blue-800: #01253f;
|
|
$Blue-900: #00080d;
|
|
|
|
$Grey-000: #f2f3f4;
|
|
$Grey-100: #D6D9DC;
|
|
$Grey-200: #bbc0c5;
|
|
$Grey-300: #9fa6ae;
|
|
$Grey-400: #848c96;
|
|
$Grey-200: #bbc0c5;
|
|
$Grey-500: #6A737D;
|
|
$Grey-600: #535a61;
|
|
$Grey-800: #24272a;
|
|
|
|
$Red-000: #fcf2f3;
|
|
$Red-100: #f7d5d8;
|
|
$Red-200: #f1b9be;
|
|
$Red-300: #e88f97;
|
|
$Red-400: #e06470;
|
|
$Red-500: #D73A49;
|
|
$Red-600: #b92534;
|
|
$Red-700: #8e1d28;
|
|
$Red-800: #64141c;
|
|
$Red-900: #3a0c10;
|
|
|
|
$Orange-000: #fef5ef;
|
|
$Orange-300: #faa66c;
|
|
$Orange-600: #c65507;
|
|
$Orange-500: #F66A0A;
|
|
|
|
// 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: .875rem;
|
|
line-height: 1.25rem;
|
|
font-weight: 400;
|
|
}
|
|
|
|
%h8 {
|
|
font-size: .75rem;
|
|
line-height: 1.0625rem;
|
|
font-weight: 400;
|
|
}
|
|
|
|
|
|
/*
|
|
Spacing Variables
|
|
*/
|
|
$no-spacing: 0px;
|
|
$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: .625rem .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;
|
|
}
|
|
}
|