refactor: views consolidation + css fixes
This commit is contained in:
@@ -1,6 +1,5 @@
|
||||
html {
|
||||
box-sizing: border-box;
|
||||
font-family: $core-font-standard;
|
||||
height: 100%;
|
||||
}
|
||||
*, *:before, *:after {
|
||||
@@ -11,7 +10,7 @@ html {
|
||||
display: none;
|
||||
}
|
||||
|
||||
#app {
|
||||
#root {
|
||||
position: relative;
|
||||
min-height: 100%;
|
||||
|
||||
@@ -19,67 +18,3 @@ html {
|
||||
height: 100vh;
|
||||
}
|
||||
}
|
||||
|
||||
// Container
|
||||
|
||||
.container {
|
||||
position: relative;
|
||||
}
|
||||
|
||||
.content {
|
||||
padding: 20px;
|
||||
}
|
||||
|
||||
.datatable {
|
||||
th, td {
|
||||
vertical-align: middle;
|
||||
}
|
||||
}
|
||||
|
||||
// Visibility
|
||||
|
||||
.is-hidden {
|
||||
display: none !important;
|
||||
}
|
||||
|
||||
.is-hidden-mobile {
|
||||
@include mobile {
|
||||
display: none !important;
|
||||
}
|
||||
}
|
||||
|
||||
.is-hidden-tablet {
|
||||
@include tablet {
|
||||
display: none !important;
|
||||
}
|
||||
}
|
||||
|
||||
.is-hidden-tablet-only {
|
||||
@include tablet-only {
|
||||
display: none !important;
|
||||
}
|
||||
}
|
||||
|
||||
.is-hidden-touch {
|
||||
@include touch {
|
||||
display: none !important;
|
||||
}
|
||||
}
|
||||
|
||||
.is-hidden-desktop {
|
||||
@include desktop {
|
||||
display: none !important;
|
||||
}
|
||||
}
|
||||
|
||||
.is-hidden-desktop-only {
|
||||
@include desktop-only {
|
||||
display: none !important;
|
||||
}
|
||||
}
|
||||
|
||||
.is-hidden-widescreen {
|
||||
@include widescreen {
|
||||
display: none !important;
|
||||
}
|
||||
}
|
||||
|
@@ -1,39 +0,0 @@
|
||||
.icons {
|
||||
display: inline-block;
|
||||
color: mc('grey', '800');
|
||||
|
||||
&.is-text {
|
||||
display: inline-block;
|
||||
width: 1em;
|
||||
height: 1em;
|
||||
vertical-align: middle;
|
||||
position: relative;
|
||||
top: -0.0625em;
|
||||
stroke: none;
|
||||
fill: none;
|
||||
}
|
||||
|
||||
@each $size in 16,18,20,24,32,48,64,96,128 {
|
||||
&.is-#{$size} {
|
||||
width: #{$size}px;
|
||||
height: #{$size}px;
|
||||
}
|
||||
}
|
||||
|
||||
&.has-right-pad {
|
||||
margin-right: .5rem;
|
||||
}
|
||||
|
||||
&.is-outlined {
|
||||
stroke-width: 2px;
|
||||
use {
|
||||
fill: inherit;
|
||||
stroke: mc('grey', '800');
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
.material-design-icon {
|
||||
display: inline-flex;
|
||||
}
|
@@ -1,25 +0,0 @@
|
||||
|
||||
// --------------------------------------
|
||||
// FONTS
|
||||
// --------------------------------------
|
||||
|
||||
$core-font-standard: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
|
||||
$core-font-monospace: Consolas, "Liberation Mono", Menlo, Courier, monospace;
|
||||
|
||||
// --------------------------------------
|
||||
// LAYOUT
|
||||
// --------------------------------------
|
||||
|
||||
$tablet: 769px !default;
|
||||
$desktop: 980px !default;
|
||||
$widescreen: 1180px !default;
|
||||
|
||||
// --------------------------------------
|
||||
// COLORS
|
||||
// --------------------------------------
|
||||
|
||||
$color-text: mc('grey', '800');
|
||||
$color-link: mc('blue', '500');
|
||||
$color-link-hover: mc('blue', '700');
|
||||
$color-link-active: mc('purple', '500');
|
||||
$color-bg: #F4F5F9;
|
Reference in New Issue
Block a user