summaryrefslogtreecommitdiffstats
path: root/reporting/3rd_party/sass/base
diff options
context:
space:
mode:
authorMorgan Richomme <morgan.richomme@orange.com>2016-11-16 18:16:43 +0100
committerMorgan Richomme <morgan.richomme@orange.com>2016-11-17 09:27:08 +0100
commit9a810ff89ca61c3cd93d39d5fe9bd80a3eeaa282 (patch)
tree54de57f63d74b75eccf5d8d0d2c67ad21bc651a2 /reporting/3rd_party/sass/base
parentc6126c34037424f5a1cb7c859f27eab2e60653c3 (diff)
Refactor reporting dir
- dockerization - create util function for all the test projects - create a common config files - add unit tests - pep8 JIRA: RELENG-162 Change-Id: Ib209be4233084100ff238a7aeb2843ccc24a6f1e Signed-off-by: Morgan Richomme <morgan.richomme@orange.com>
Diffstat (limited to 'reporting/3rd_party/sass/base')
-rw-r--r--reporting/3rd_party/sass/base/_page.scss38
-rw-r--r--reporting/3rd_party/sass/base/_typography.scss189
2 files changed, 227 insertions, 0 deletions
diff --git a/reporting/3rd_party/sass/base/_page.scss b/reporting/3rd_party/sass/base/_page.scss
new file mode 100644
index 0000000..95397cb
--- /dev/null
+++ b/reporting/3rd_party/sass/base/_page.scss
@@ -0,0 +1,38 @@
+///
+/// Phantom by HTML5 UP
+/// html5up.net | @ajlkn
+/// Free for personal and commercial use under the CCA 3.0 license (html5up.net/license)
+///
+
+/* Basic */
+
+ // MSIE: Required for IEMobile.
+ @-ms-viewport {
+ width: device-width;
+ }
+
+ // MSIE: Prevents scrollbar from overlapping content.
+ body {
+ -ms-overflow-style: scrollbar;
+ }
+
+ // Ensures page width is always >=320px.
+ @include breakpoint(xsmall) {
+ html, body {
+ min-width: 320px;
+ }
+ }
+
+ body {
+ background: _palette(bg);
+
+ // Prevents animation/transition "flicker" on page load.
+ // Automatically added/removed by js/main.js.
+ &.is-loading {
+ *, *:before, *:after {
+ @include vendor('animation', 'none !important');
+ @include vendor('transition', 'none !important');
+ }
+ }
+
+ } \ No newline at end of file
diff --git a/reporting/3rd_party/sass/base/_typography.scss b/reporting/3rd_party/sass/base/_typography.scss
new file mode 100644
index 0000000..190762c
--- /dev/null
+++ b/reporting/3rd_party/sass/base/_typography.scss
@@ -0,0 +1,189 @@
+///
+/// Phantom by HTML5 UP
+/// html5up.net | @ajlkn
+/// Free for personal and commercial use under the CCA 3.0 license (html5up.net/license)
+///
+
+/* Type */
+
+ body, input, select, textarea {
+ color: _palette(fg);
+ font-family: _font(family);
+ font-size: 16pt;
+ font-weight: _font(weight);
+ line-height: 1.75;
+
+ @include breakpoint(xlarge) {
+ font-size: 14pt;
+ }
+
+ @include breakpoint(large) {
+ font-size: 12pt;
+ }
+ }
+
+ a {
+ @include vendor('transition', (
+ 'border-bottom-color #{_duration(transition)} ease',
+ 'color #{_duration(transition)} ease'
+ ));
+ text-decoration: none;
+ color: _palette(fg);
+ border-bottom: dotted 1px transparentize(_palette(fg), 0.5);
+
+ &:hover {
+ border-bottom-color: transparent;
+ color: _palette(accent1) !important;
+ }
+ }
+
+ strong, b {
+ color: _palette(fg-bold);
+ font-weight: _font(weight-bold);
+ }
+
+ em, i {
+ font-style: italic;
+ }
+
+ p {
+ margin: 0 0 _size(element-margin) 0;
+ }
+
+ h1 {
+ font-size: 2.75em;
+ color: _palette(fg-bold);
+ font-weight: _font(weight-bold-alt);
+ line-height: 1.3;
+ margin: 0 0 (_size(element-margin) * 0.5) 0;
+ letter-spacing: _font(letter-spacing-alt);
+
+ a {
+ color: inherit;
+ }
+
+ @include breakpoint(small) {
+ font-size: 2em;
+ margin: 0 0 (_size(element-margin) * 0.5) 0;
+ }
+
+ @include breakpoint(xxsmall) {
+ font-size: 1.75em;
+ }
+ }
+
+ h2, h3, h4, h5, h6 {
+ color: _palette(fg-bold);
+ font-weight: _font(weight-bold);
+ line-height: 1.5;
+ margin: 0 0 (_size(element-margin) * 1) 0;
+ text-transform: uppercase;
+ letter-spacing: _font(letter-spacing);
+
+ a {
+ color: inherit;
+ }
+ }
+
+ h2 {
+ font-size: 1.1em;
+ }
+
+ h3 {
+ font-size: 1em;
+ }
+
+ h4 {
+ font-size: 0.8em;
+ }
+
+ h5 {
+ font-size: 0.8em;
+ }
+
+ h6 {
+ font-size: 0.8em;
+ }
+
+ @include breakpoint(medium) {
+ h1, h2, h3, h4, h5, h6 {
+ br {
+ display: none;
+ }
+ }
+ }
+
+ @include breakpoint(small) {
+ h2 {
+ font-size: 1em;
+ }
+
+ h3 {
+ font-size: 0.8em;
+ }
+ }
+
+ sub {
+ font-size: 0.8em;
+ position: relative;
+ top: 0.5em;
+ }
+
+ sup {
+ font-size: 0.8em;
+ position: relative;
+ top: -0.5em;
+ }
+
+ blockquote {
+ border-left: solid (_size(border-width) * 4) _palette(border);
+ font-style: italic;
+ margin: 0 0 _size(element-margin) 0;
+ padding: (_size(element-margin) / 4) 0 (_size(element-margin) / 4) _size(element-margin);
+ }
+
+ code {
+ background: _palette(border-bg);
+ border-radius: _size(border-radius);
+ border: solid _size(border-width) _palette(border);
+ font-family: _font(family-fixed);
+ font-size: 0.9em;
+ margin: 0 0.25em;
+ padding: 0.25em 0.65em;
+ }
+
+ pre {
+ -webkit-overflow-scrolling: touch;
+ font-family: _font(family-fixed);
+ font-size: 0.9em;
+ margin: 0 0 _size(element-margin) 0;
+
+ code {
+ display: block;
+ line-height: 1.75;
+ padding: 1em 1.5em;
+ overflow-x: auto;
+ }
+ }
+
+ hr {
+ border: 0;
+ border-bottom: solid _size(border-width) _palette(border);
+ margin: _size(element-margin) 0;
+
+ &.major {
+ margin: (_size(element-margin) * 1.5) 0;
+ }
+ }
+
+ .align-left {
+ text-align: left;
+ }
+
+ .align-center {
+ text-align: center;
+ }
+
+ .align-right {
+ text-align: right;
+ } \ No newline at end of file