mirror of
https://github.com/kemko/nomad.git
synced 2026-01-06 02:15:43 +03:00
A new place to put styles only the styleguide uses
This commit is contained in:
@@ -1,5 +1,8 @@
|
||||
@import "./core";
|
||||
@import "./components";
|
||||
@import "./charts";
|
||||
@import './core';
|
||||
@import './components';
|
||||
@import './charts';
|
||||
|
||||
@import "ember-power-select";
|
||||
@import 'ember-power-select';
|
||||
|
||||
// Only necessary in dev
|
||||
@import './styleguide.scss';
|
||||
|
||||
44
ui/app/styles/styleguide.scss
Normal file
44
ui/app/styles/styleguide.scss
Normal file
@@ -0,0 +1,44 @@
|
||||
#styleguide {
|
||||
.mock-content {
|
||||
display: flex;
|
||||
height: 250px;
|
||||
|
||||
.mock-image,
|
||||
.mock-copy {
|
||||
height: 100%;
|
||||
width: 100%;
|
||||
margin: 1em;
|
||||
}
|
||||
|
||||
.mock-image {
|
||||
background: linear-gradient(
|
||||
to top right,
|
||||
transparent 0%,
|
||||
transparent 49%,
|
||||
$grey-blue 49%,
|
||||
$grey-blue 51%,
|
||||
transparent 51%,
|
||||
transparent 100%
|
||||
),
|
||||
linear-gradient(
|
||||
to bottom right,
|
||||
transparent 0%,
|
||||
transparent 49%,
|
||||
$grey-blue 49%,
|
||||
$grey-blue 51%,
|
||||
transparent 51%,
|
||||
transparent 100%
|
||||
);
|
||||
}
|
||||
|
||||
.mock-copy {
|
||||
background: repeating-linear-gradient(
|
||||
to bottom,
|
||||
$grey-blue,
|
||||
$grey-blue 5px,
|
||||
transparent 5px,
|
||||
transparent 14px
|
||||
);
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user