2017-08-11 08:21:39 +02:00
|
|
|
/*
|
|
|
|
Z-Indicies
|
|
|
|
*/
|
2017-08-22 02:59:08 +02:00
|
|
|
$dropdown-z-index: 30;
|
2017-08-22 17:37:15 +02:00
|
|
|
$token-icon-z-index: 15;
|
2017-08-22 02:59:08 +02:00
|
|
|
$container-z-index: 15;
|
|
|
|
$header-z-index: 12;
|
2017-09-14 18:56:40 +02:00
|
|
|
$mobile-header-z-index: 26;
|
2017-08-22 17:37:15 +02:00
|
|
|
$main-container-z-index: 18;
|
2017-08-22 02:59:08 +02:00
|
|
|
$send-card-z-index: 20;
|
2017-08-22 17:37:15 +02:00
|
|
|
$sidebar-z-index: 26;
|
|
|
|
$sidebar-overlay-z-index: 25;
|
2017-08-09 04:01:33 +02:00
|
|
|
|
2019-07-31 21:56:44 +02:00
|
|
|
// 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;
|
2020-07-15 15:13:40 +02:00
|
|
|
box-shadow: 0 5px 16px rgba($black, 0.25);;
|
2019-07-31 21:56:44 +02:00
|
|
|
}
|
|
|
|
|
2017-08-11 08:21:39 +02:00
|
|
|
/*
|
|
|
|
Z Indicies - Current
|
|
|
|
app - 11
|
|
|
|
hex/bn as decimal input - 1 - remove?
|
|
|
|
dropdown - 11
|
|
|
|
loading - 10 - higher?
|
|
|
|
mascot - 0 - remove?
|
|
|
|
*/
|
2017-08-11 04:54:42 +02:00
|
|
|
|
2017-10-13 00:46:09 +02:00
|
|
|
|
2019-06-13 04:56:04 +02:00
|
|
|
/*
|
|
|
|
Spacing Variables
|
|
|
|
*/
|
2020-07-15 15:13:40 +02:00
|
|
|
$no-spacing: 0;
|
2019-06-13 04:56:04 +02:00
|
|
|
$xxs-spacing: 4px;
|
|
|
|
$xs-spacing: 8px;
|
|
|
|
$s-spacing: 16px;
|
|
|
|
$base-spacing: 24px;
|
|
|
|
$medium-spacing: 32px;
|
|
|
|
$large-spacing: 40px;
|
|
|
|
$xlarge-spacing: 48px;
|
|
|
|
$xxlarge-spacing: 64px;
|
|
|
|
|
|
|
|
|
2019-07-31 21:56:44 +02:00
|
|
|
%input {
|
|
|
|
background: $white;
|
|
|
|
border: 1px solid $Grey-100;
|
|
|
|
box-sizing: border-box;
|
|
|
|
border-radius: 8px;
|
2020-07-15 15:13:40 +02:00
|
|
|
padding: 0.625rem 0.75rem;
|
2019-07-31 21:56:44 +02:00
|
|
|
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;
|
|
|
|
}
|
|
|
|
}
|