material-sass 1.4.1 → 4.0.0.alpha5
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.gitignore +1 -0
- data/Rakefile +61 -0
- data/app/assets/fonts/{MaterialIcons-Regular.eot → material-icons/MaterialIcons-Regular.eot} +0 -0
- data/app/assets/fonts/{MaterialIcons-Regular.ijmap → material-icons/MaterialIcons-Regular.ijmap} +0 -0
- data/app/assets/fonts/{MaterialIcons-Regular.svg → material-icons/MaterialIcons-Regular.svg} +0 -0
- data/app/assets/fonts/{MaterialIcons-Regular.ttf → material-icons/MaterialIcons-Regular.ttf} +0 -0
- data/app/assets/fonts/{MaterialIcons-Regular.woff → material-icons/MaterialIcons-Regular.woff} +0 -0
- data/app/assets/fonts/{MaterialIcons-Regular.woff2 → material-icons/MaterialIcons-Regular.woff2} +0 -0
- data/app/assets/fonts/{README.md → material-icons/README.md} +0 -0
- data/app/assets/fonts/{codepoints → material-icons/codepoints} +0 -0
- data/app/assets/fonts/roboto/Roboto-Bold.eot +0 -0
- data/app/assets/fonts/roboto/Roboto-Bold.ttf +0 -0
- data/app/assets/fonts/roboto/Roboto-Bold.woff +0 -0
- data/app/assets/fonts/roboto/Roboto-Bold.woff2 +0 -0
- data/app/assets/fonts/roboto/Roboto-Light.eot +0 -0
- data/app/assets/fonts/roboto/Roboto-Light.ttf +0 -0
- data/app/assets/fonts/roboto/Roboto-Light.woff +0 -0
- data/app/assets/fonts/roboto/Roboto-Light.woff2 +0 -0
- data/app/assets/fonts/roboto/Roboto-Medium.eot +0 -0
- data/app/assets/fonts/roboto/Roboto-Medium.ttf +0 -0
- data/app/assets/fonts/roboto/Roboto-Medium.woff +0 -0
- data/app/assets/fonts/roboto/Roboto-Medium.woff2 +0 -0
- data/app/assets/fonts/roboto/Roboto-Regular.eot +0 -0
- data/app/assets/fonts/roboto/Roboto-Regular.ttf +0 -0
- data/app/assets/fonts/roboto/Roboto-Regular.woff +0 -0
- data/app/assets/fonts/roboto/Roboto-Regular.woff2 +0 -0
- data/app/assets/fonts/roboto/Roboto-Thin.eot +0 -0
- data/app/assets/fonts/roboto/Roboto-Thin.ttf +0 -0
- data/app/assets/fonts/roboto/Roboto-Thin.woff +0 -0
- data/app/assets/fonts/roboto/Roboto-Thin.woff2 +0 -0
- data/app/assets/javascripts/material.js +739 -798
- data/app/assets/javascripts/material/addons-materialise/pickadate.js +139 -0
- data/app/assets/javascripts/material/addons-materialise/textarea-autosize.js +9 -0
- data/app/assets/javascripts/material/addons-materialise/wave.js +12 -0
- data/app/assets/javascripts/material/addons/pickadate.js +7 -0
- data/app/assets/javascripts/material/addons/textarea-autosize.js +5 -0
- data/app/assets/javascripts/material/{wave.js → addons/wave.js} +0 -10
- data/app/assets/javascripts/material/src/floating-label.js +91 -0
- data/app/assets/javascripts/material/src/navdrawer.js +352 -0
- data/app/assets/javascripts/material/src/tab-switch.js +136 -0
- data/app/assets/javascripts/material/src/util.js +138 -0
- data/app/assets/stylesheets/material.min.css +2 -2
- data/app/assets/stylesheets/material.scss +1 -1
- data/app/assets/stylesheets/material/_mixins.scss +21 -0
- data/app/assets/stylesheets/material/_utilities.scss +15 -0
- data/app/assets/stylesheets/material/_variables.scss +25 -0
- data/app/assets/stylesheets/material/base/_base.scss +482 -0
- data/app/assets/stylesheets/material/base/_grid.scss +28 -40
- data/app/assets/stylesheets/material/base/_typography.scss +208 -0
- data/app/assets/stylesheets/material/bootstrap/_alert.scss +55 -0
- data/app/assets/stylesheets/material/bootstrap/_animation.scss +26 -0
- data/app/assets/stylesheets/material/bootstrap/_breadcrumb.scss +39 -0
- data/app/assets/stylesheets/material/bootstrap/_button-group.scss +155 -0
- data/app/assets/stylesheets/material/bootstrap/_carousel.scss +234 -0
- data/app/assets/stylesheets/material/bootstrap/_close.scss +31 -0
- data/app/assets/stylesheets/material/bootstrap/_code.scss +50 -0
- data/app/assets/stylesheets/material/bootstrap/_custom-form.scss +69 -0
- data/app/assets/stylesheets/material/bootstrap/_form.scss +116 -0
- data/app/assets/stylesheets/material/bootstrap/_image.scss +25 -0
- data/app/assets/stylesheets/material/bootstrap/_jumbotron.scss +12 -0
- data/app/assets/stylesheets/material/bootstrap/_media.scss +69 -0
- data/app/assets/stylesheets/material/bootstrap/_nav.scss +118 -0
- data/app/assets/stylesheets/material/bootstrap/_pagination.scss +68 -0
- data/app/assets/stylesheets/material/bootstrap/_popover.scss +84 -0
- data/app/assets/stylesheets/material/bootstrap/_responsive-embed.scss +37 -0
- data/app/assets/stylesheets/material/material.scss +62 -0
- data/app/assets/stylesheets/material/material/_button-flat.scss +53 -0
- data/app/assets/stylesheets/material/material/_button-float.scss +29 -0
- data/app/assets/stylesheets/material/material/_button.scss +241 -0
- data/app/assets/stylesheets/material/material/_card.scss +286 -0
- data/app/assets/stylesheets/material/material/_chip.scss +93 -0
- data/app/assets/stylesheets/material/material/_data-table.scss +138 -0
- data/app/assets/stylesheets/material/material/_dialog.scss +147 -0
- data/app/assets/stylesheets/material/material/_expansion-panel.scss +292 -0
- data/app/assets/stylesheets/material/material/_menu.scss +281 -0
- data/app/assets/stylesheets/material/material/_navdrawer.scss +289 -0
- data/app/assets/stylesheets/material/material/_picker.scss +272 -0
- data/app/assets/stylesheets/material/material/_progress-circular.scss +144 -0
- data/app/assets/stylesheets/material/material/_progress.scss +174 -0
- data/app/assets/stylesheets/material/material/_selection-control.scss +221 -0
- data/app/assets/stylesheets/material/material/_stepper.scss +135 -0
- data/app/assets/stylesheets/material/material/_tab.scss +196 -0
- data/app/assets/stylesheets/material/material/_text-field-floating-label.scss +51 -0
- data/app/assets/stylesheets/material/material/_text-field-input-group.scss +76 -0
- data/app/assets/stylesheets/material/material/_text-field-textarea.scss +31 -0
- data/app/assets/stylesheets/material/material/_text-field.scss +179 -0
- data/app/assets/stylesheets/material/material/_toolbar.scss +516 -0
- data/app/assets/stylesheets/material/material/_tooltip.scss +86 -0
- data/app/assets/stylesheets/material/mixins/_background-variant.scss +14 -0
- data/app/assets/stylesheets/material/mixins/_border-radius.scss +34 -0
- data/app/assets/stylesheets/material/mixins/_breakpoint.scss +38 -0
- data/app/assets/stylesheets/material/mixins/_clearfix.scss +7 -0
- data/app/assets/stylesheets/material/mixins/_form.scss +60 -0
- data/app/assets/stylesheets/material/mixins/_grid.scss +149 -0
- data/app/assets/stylesheets/material/mixins/_hex-to-rgba.scss +3 -0
- data/app/assets/stylesheets/material/mixins/_hover.scss +70 -0
- data/app/assets/stylesheets/material/mixins/_image.scss +4 -0
- data/app/assets/stylesheets/material/mixins/_list.scss +4 -0
- data/app/assets/stylesheets/material/mixins/_nav-divider.scss +6 -0
- data/app/assets/stylesheets/material/mixins/_pull.scss +7 -0
- data/app/assets/stylesheets/material/mixins/_reset-text.scss +35 -0
- data/app/assets/stylesheets/material/mixins/_screenreader.scss +23 -0
- data/app/assets/stylesheets/material/mixins/_strip-unit.scss +3 -0
- data/app/assets/stylesheets/material/mixins/_tab-focus.scss +5 -0
- data/app/assets/stylesheets/material/mixins/_text-emphasis.scss +14 -0
- data/app/assets/stylesheets/material/mixins/_text-hide.scss +7 -0
- data/app/assets/stylesheets/material/mixins/_text-truncate.scss +5 -0
- data/app/assets/stylesheets/material/mixins/_transition.scss +55 -0
- data/app/assets/stylesheets/material/mixins/_typography.scss +69 -0
- data/app/assets/stylesheets/material/utilities/_align.scss +23 -0
- data/app/assets/stylesheets/material/utilities/_background.scss +23 -0
- data/app/assets/stylesheets/material/utilities/_border.scss +27 -0
- data/app/assets/stylesheets/material/utilities/_clearfix.scss +3 -0
- data/app/assets/stylesheets/material/utilities/_display.scss +11 -0
- data/app/assets/stylesheets/material/utilities/_float.scss +15 -0
- data/app/assets/stylesheets/material/utilities/_material-icons.scss +10 -0
- data/app/assets/stylesheets/material/utilities/_screenreader.scss +7 -0
- data/app/assets/stylesheets/material/utilities/_spacing.scss +65 -0
- data/app/assets/stylesheets/material/utilities/_text.scss +95 -0
- data/app/assets/stylesheets/material/utilities/_visibility.scss +50 -0
- data/app/assets/stylesheets/material/utilities/_waves.scss +48 -0
- data/app/assets/stylesheets/material/variables/_animation.scss +22 -0
- data/app/assets/stylesheets/material/variables/_colour.scss +389 -0
- data/app/assets/stylesheets/material/variables/_elevation-shadow.scss +84 -0
- data/app/assets/stylesheets/material/variables/_grid.scss +32 -0
- data/app/assets/stylesheets/material/variables/_spacer.scss +73 -0
- data/app/assets/stylesheets/material/variables/_typography.scss +72 -0
- data/app/assets/stylesheets/material/variables/_variable-bootstrap.scss +129 -0
- data/app/assets/stylesheets/material/variables/_variable-material.scss +434 -0
- data/lib/material-sass/engine.rb +3 -2
- data/lib/material-sass/version.rb +1 -1
- metadata +128 -70
- data/app/assets/javascripts/material.min.js +0 -2
- data/app/assets/javascripts/material/_.js +0 -6
- data/app/assets/javascripts/material/bootstrap.js +0 -6
- data/app/assets/javascripts/material/form-floating-label.js +0 -49
- data/app/assets/javascripts/material/form-textarea.js +0 -13
- data/app/assets/javascripts/material/header.js +0 -12
- data/app/assets/javascripts/material/menu.js +0 -200
- data/app/assets/javascripts/material/modal.js +0 -12
- data/app/assets/javascripts/material/picker.js +0 -141
- data/app/assets/javascripts/material/snackbar.js +0 -116
- data/app/assets/javascripts/material/tab.js +0 -51
- data/app/assets/javascripts/material/tile.js +0 -181
- data/app/assets/stylesheets/material/addons/_material-icons.scss +0 -9
- data/app/assets/stylesheets/material/addons/_waves.scss +0 -44
- data/app/assets/stylesheets/material/addons/material-icons/_core.scss +0 -20
- data/app/assets/stylesheets/material/addons/material-icons/_larger.scss +0 -23
- data/app/assets/stylesheets/material/addons/material-icons/_path.scss +0 -11
- data/app/assets/stylesheets/material/addons/material-icons/_variables.scss +0 -3
- data/app/assets/stylesheets/material/base.scss +0 -50
- data/app/assets/stylesheets/material/base/_reset.scss +0 -421
- data/app/assets/stylesheets/material/components/_avatar.scss +0 -59
- data/app/assets/stylesheets/material/components/_breadcrumb.scss +0 -26
- data/app/assets/stylesheets/material/components/_button-flat.scss +0 -22
- data/app/assets/stylesheets/material/components/_button-float.scss +0 -183
- data/app/assets/stylesheets/material/components/_button.scss +0 -81
- data/app/assets/stylesheets/material/components/_card.scss +0 -175
- data/app/assets/stylesheets/material/components/_code.scss +0 -53
- data/app/assets/stylesheets/material/components/_dropdown.scss +0 -99
- data/app/assets/stylesheets/material/components/_form-checkbox.scss +0 -161
- data/app/assets/stylesheets/material/components/_form-floating-label.scss +0 -64
- data/app/assets/stylesheets/material/components/_form-switch.scss +0 -96
- data/app/assets/stylesheets/material/components/_form-textarea.scss +0 -4
- data/app/assets/stylesheets/material/components/_form.scss +0 -217
- data/app/assets/stylesheets/material/components/_label.scss +0 -23
- data/app/assets/stylesheets/material/components/_modal.scss +0 -164
- data/app/assets/stylesheets/material/components/_nav.scss +0 -53
- data/app/assets/stylesheets/material/components/_picker.scss +0 -298
- data/app/assets/stylesheets/material/components/_progress-circular.scss +0 -169
- data/app/assets/stylesheets/material/components/_progress-loadbar.scss +0 -97
- data/app/assets/stylesheets/material/components/_progress.scss +0 -132
- data/app/assets/stylesheets/material/components/_snackbar.scss +0 -59
- data/app/assets/stylesheets/material/components/_stepper.scss +0 -201
- data/app/assets/stylesheets/material/components/_tab.scss +0 -84
- data/app/assets/stylesheets/material/components/_table.scss +0 -82
- data/app/assets/stylesheets/material/components/_tile.scss +0 -156
- data/app/assets/stylesheets/material/elements/_content.scss +0 -42
- data/app/assets/stylesheets/material/elements/_header.scss +0 -141
- data/app/assets/stylesheets/material/elements/_menu.scss +0 -267
- data/app/assets/stylesheets/material/mixin/_grid.scss +0 -78
- data/app/assets/stylesheets/material/mixin/_responsive.scss +0 -32
- data/app/assets/stylesheets/material/mixin/_utilities.scss +0 -69
- data/app/assets/stylesheets/material/utilities/_print.scss +0 -95
- data/app/assets/stylesheets/material/utilities/_utilities-responsive.scss +0 -97
- data/app/assets/stylesheets/material/utilities/_utilities.scss +0 -393
- data/app/assets/stylesheets/material/var/_colours.scss +0 -336
- data/app/assets/stylesheets/material/var/_variables.scss +0 -78
@@ -1,84 +0,0 @@
|
|
1
|
-
.tab-nav {
|
2
|
-
box-shadow: 0 1px 0 $black-divider;
|
3
|
-
margin-top: $margin-md;
|
4
|
-
margin-bottom: $margin-md;
|
5
|
-
position: relative;
|
6
|
-
.nav {
|
7
|
-
margin-top: 0 !important;
|
8
|
-
margin-bottom: 0 !important;
|
9
|
-
> li {
|
10
|
-
> a,
|
11
|
-
> .a {
|
12
|
-
color: inherit;
|
13
|
-
text-transform: uppercase;
|
14
|
-
&:after {
|
15
|
-
border-bottom: 2px solid $brand-color-accent;
|
16
|
-
content: "";
|
17
|
-
display: block;
|
18
|
-
opacity: 0;
|
19
|
-
position: absolute;
|
20
|
-
bottom: 0;
|
21
|
-
left: 0;
|
22
|
-
transition: opacity 0.3s $timing;
|
23
|
-
width: 100%;
|
24
|
-
}
|
25
|
-
&:focus:after,
|
26
|
-
&:hover:after {
|
27
|
-
opacity: 0.3;
|
28
|
-
}
|
29
|
-
}
|
30
|
-
&.active > a:after,
|
31
|
-
&.active > .a:after {
|
32
|
-
opacity: 1;
|
33
|
-
transition: opacity 0s 0.45s;
|
34
|
-
}
|
35
|
-
}
|
36
|
-
}
|
37
|
-
}
|
38
|
-
|
39
|
-
.tab-nav-indicator {
|
40
|
-
background-color: transparent;
|
41
|
-
height: 2px;
|
42
|
-
position: absolute;
|
43
|
-
bottom: 0;
|
44
|
-
&.animate {
|
45
|
-
background-color: $brand-color-accent;
|
46
|
-
transition: left 0.225s $timing 0.225s, right 0.45s $timing;
|
47
|
-
will-change: left, right;
|
48
|
-
&.reverse {
|
49
|
-
transition: left 0.45s $timing, right 0.225s $timing 0.225s;
|
50
|
-
}
|
51
|
-
}
|
52
|
-
}
|
53
|
-
|
54
|
-
// colour
|
55
|
-
@each $color in $palette-list-class {
|
56
|
-
$i: index($palette-list-class, $color);
|
57
|
-
|
58
|
-
@if $color != "brand-accent" {
|
59
|
-
.tab-nav-#{$color} {
|
60
|
-
.nav {
|
61
|
-
> li {
|
62
|
-
> a,
|
63
|
-
> .a {
|
64
|
-
&:after {
|
65
|
-
border-bottom-color: nth($palette-list-color, $i);
|
66
|
-
}
|
67
|
-
}
|
68
|
-
}
|
69
|
-
}
|
70
|
-
.tab-nav-indicator.animate {
|
71
|
-
background-color: nth($palette-list-color, $i);
|
72
|
-
}
|
73
|
-
}
|
74
|
-
}
|
75
|
-
}
|
76
|
-
|
77
|
-
.tab-pane {
|
78
|
-
display: none;
|
79
|
-
visibility: hidden;
|
80
|
-
&.active {
|
81
|
-
display: block;
|
82
|
-
visibility: visible;
|
83
|
-
}
|
84
|
-
}
|
@@ -1,82 +0,0 @@
|
|
1
|
-
.table {
|
2
|
-
background-color: $white;
|
3
|
-
border: 0;
|
4
|
-
box-shadow: 0 -1px 0 rgba(0, 0, 0, 0.06), 0 0 3px rgba(0, 0, 0, 0.18), 0 1px 3px rgba(0, 0, 0, 0.18);
|
5
|
-
margin-top: $margin-md;
|
6
|
-
margin-bottom: $margin-md;
|
7
|
-
width: 100%;
|
8
|
-
.card-table > & {
|
9
|
-
box-shadow: none;
|
10
|
-
margin-right: ($grid-gutter * -1);
|
11
|
-
margin-left: ($grid-gutter * -1);
|
12
|
-
&:first-child {
|
13
|
-
margin-top: 0;
|
14
|
-
}
|
15
|
-
&:last-child {
|
16
|
-
margin-bottom: 0;
|
17
|
-
}
|
18
|
-
}
|
19
|
-
> tbody {
|
20
|
-
&:first-child > tr:first-child {
|
21
|
-
td,
|
22
|
-
th {
|
23
|
-
border-top: 0;
|
24
|
-
}
|
25
|
-
}
|
26
|
-
> tr:hover {
|
27
|
-
background-color: $offwhite-solid;
|
28
|
-
}
|
29
|
-
}
|
30
|
-
td,
|
31
|
-
th {
|
32
|
-
border-top: 1px solid $black-divider-solid;
|
33
|
-
font-size: $font-size;
|
34
|
-
line-height: $line-height;
|
35
|
-
padding: (($cell-height - $line-height) / 2 - 1) $grid-gutter (($cell-height - $line-height) / 2);
|
36
|
-
vertical-align: top;
|
37
|
-
&.nowrap {
|
38
|
-
white-space: nowrap;
|
39
|
-
width: 1%;
|
40
|
-
}
|
41
|
-
}
|
42
|
-
> thead {
|
43
|
-
&:first-child > tr:first-child {
|
44
|
-
td,
|
45
|
-
th {
|
46
|
-
border-top: 0;
|
47
|
-
}
|
48
|
-
}
|
49
|
-
td,
|
50
|
-
th {
|
51
|
-
color: $black-hint-solid;
|
52
|
-
font-size: $font-size-h6;
|
53
|
-
vertical-align: bottom;
|
54
|
-
}
|
55
|
-
}
|
56
|
-
}
|
57
|
-
|
58
|
-
.table-responsive {
|
59
|
-
box-shadow: 0 -1px 0 rgba(0, 0, 0, 0.06), 0 0 3px rgba(0, 0, 0, 0.18), 0 1px 3px rgba(0, 0, 0, 0.18);
|
60
|
-
margin-top: $margin-md;
|
61
|
-
margin-bottom: $margin-md;
|
62
|
-
min-height: 0.01%;
|
63
|
-
overflow-x: auto;
|
64
|
-
overflow-y: hidden;
|
65
|
-
-webkit-overflow-scrolling: touch;
|
66
|
-
-ms-overflow-style: -ms-autohiding-scrollbar;
|
67
|
-
.card-table > & {
|
68
|
-
box-shadow: none;
|
69
|
-
margin-right: ($grid-gutter * -1);
|
70
|
-
margin-left: ($grid-gutter * -1);
|
71
|
-
&:first-child {
|
72
|
-
margin-top: 0;
|
73
|
-
}
|
74
|
-
&:last-child {
|
75
|
-
margin-bottom: 0;
|
76
|
-
}
|
77
|
-
}
|
78
|
-
> .table {
|
79
|
-
box-shadow: none;
|
80
|
-
margin: 0;
|
81
|
-
}
|
82
|
-
}
|
@@ -1,156 +0,0 @@
|
|
1
|
-
.tile {
|
2
|
-
background-color: $white;
|
3
|
-
box-shadow: 0 -1px 0 #e5e5e5, 0 0 2px rgba(0, 0, 0, 0.12), 0 2px 4px rgba(0, 0, 0, 0.24);
|
4
|
-
display: flex;
|
5
|
-
min-height: $tile-height;
|
6
|
-
&[href]:focus,
|
7
|
-
&[href]:hover {
|
8
|
-
outline: 0;
|
9
|
-
text-decoration: none;
|
10
|
-
}
|
11
|
-
&.active {
|
12
|
-
margin-top: $margin-md;
|
13
|
-
margin-bottom: $margin-md;
|
14
|
-
}
|
15
|
-
}
|
16
|
-
|
17
|
-
// colour
|
18
|
-
@each $color in $palette-list-class {
|
19
|
-
$i: index($palette-list-class, $color);
|
20
|
-
|
21
|
-
.tile-#{$color} {
|
22
|
-
background-color: nth($palette-list-color, $i);
|
23
|
-
color: nth($palette-list-text, $i);
|
24
|
-
a,
|
25
|
-
a:focus,
|
26
|
-
a:hover {
|
27
|
-
color: inherit;
|
28
|
-
}
|
29
|
-
}
|
30
|
-
}
|
31
|
-
|
32
|
-
.tile-action {
|
33
|
-
min-height: $tile-height;
|
34
|
-
order: 1;
|
35
|
-
user-select: none;
|
36
|
-
html.no-touchevents & {
|
37
|
-
display: none;
|
38
|
-
}
|
39
|
-
html.no-touchevents .tile:hover & {
|
40
|
-
display: block;
|
41
|
-
}
|
42
|
-
}
|
43
|
-
|
44
|
-
.tile-action-show {
|
45
|
-
html.no-touchevents & {
|
46
|
-
display: block;
|
47
|
-
}
|
48
|
-
}
|
49
|
-
|
50
|
-
.tile-active-show {
|
51
|
-
&.collapsing {
|
52
|
-
transition: height 0.15s linear;
|
53
|
-
}
|
54
|
-
}
|
55
|
-
|
56
|
-
.tile-collapse {
|
57
|
-
flex-direction: column;
|
58
|
-
transition: margin 0.15s linear;
|
59
|
-
&.active {
|
60
|
-
margin-right: ($grid-gutter / -2);
|
61
|
-
margin-left: ($grid-gutter / -2);
|
62
|
-
}
|
63
|
-
> [data-toggle="tile"] {
|
64
|
-
cursor: pointer;
|
65
|
-
display: flex;
|
66
|
-
flex: 1;
|
67
|
-
[data-ignore="tile"] {
|
68
|
-
cursor: default;
|
69
|
-
cursor: initial;
|
70
|
-
}
|
71
|
-
}
|
72
|
-
}
|
73
|
-
|
74
|
-
.tile-collapse-full {
|
75
|
-
&.active {
|
76
|
-
margin-right: calc(-50vw + 50% + 2px);
|
77
|
-
margin-left: calc(-50vw + 50% + 2px);
|
78
|
-
}
|
79
|
-
// 992
|
80
|
-
@include responsive(md) {
|
81
|
-
&.active {
|
82
|
-
margin-right: calc(-50vw + 50% + #{$grid-gutter});
|
83
|
-
margin-left: calc(-50vw + 50% + #{$grid-gutter});
|
84
|
-
}
|
85
|
-
}
|
86
|
-
}
|
87
|
-
|
88
|
-
.tile-footer {
|
89
|
-
background-color: $offwhite-solid;
|
90
|
-
border-top: 1px solid $black-divider;
|
91
|
-
min-height: $nav-height;
|
92
|
-
@include clearfix();
|
93
|
-
.tile > &,
|
94
|
-
.tile-active-show > & {
|
95
|
-
&:first-child {
|
96
|
-
border-top: 0;
|
97
|
-
}
|
98
|
-
}
|
99
|
-
}
|
100
|
-
|
101
|
-
// colour
|
102
|
-
@each $color in $palette-list-class {
|
103
|
-
$i: index($palette-list-class, $color);
|
104
|
-
|
105
|
-
.tile-#{$color} .tile-footer {
|
106
|
-
background-color: nth($palette-list-dark, $i);
|
107
|
-
color: nth($palette-list-text-dark, $i);
|
108
|
-
}
|
109
|
-
}
|
110
|
-
|
111
|
-
.tile-footer-btn {
|
112
|
-
margin: (($nav-height - $btn-height) / 2) ($grid-gutter / 2);
|
113
|
-
white-space: nowrap;
|
114
|
-
.btn + .btn {
|
115
|
-
margin-left: ($grid-gutter / 2);
|
116
|
-
}
|
117
|
-
}
|
118
|
-
|
119
|
-
.tile-inner {
|
120
|
-
flex: 1;
|
121
|
-
margin: (($tile-height - $line-height) / 2) $grid-gutter;
|
122
|
-
min-width: 0;
|
123
|
-
}
|
124
|
-
|
125
|
-
.tile-side {
|
126
|
-
align-self: center;
|
127
|
-
&.pull-left {
|
128
|
-
order: -1;
|
129
|
-
margin-left: $grid-gutter;
|
130
|
-
}
|
131
|
-
&.pull-right {
|
132
|
-
order: 1;
|
133
|
-
margin-right: $grid-gutter;
|
134
|
-
}
|
135
|
-
}
|
136
|
-
|
137
|
-
.tile-sub {
|
138
|
-
border-top: 1px solid $black-divider;
|
139
|
-
padding-right: $grid-gutter;
|
140
|
-
padding-left: $grid-gutter;
|
141
|
-
@include clearfix();
|
142
|
-
}
|
143
|
-
|
144
|
-
// colour
|
145
|
-
@each $color in $palette-list-class {
|
146
|
-
$i: index($palette-list-class, $color);
|
147
|
-
|
148
|
-
.tile-#{$color} .tile-sub {
|
149
|
-
border-top-color: nth($palette-list-dark, $i);
|
150
|
-
}
|
151
|
-
}
|
152
|
-
|
153
|
-
.tile-wrap {
|
154
|
-
margin-top: $margin-md;
|
155
|
-
margin-bottom: $margin-md;
|
156
|
-
}
|
@@ -1,42 +0,0 @@
|
|
1
|
-
.content-header {
|
2
|
-
background-color: $offwhite-solid;
|
3
|
-
color: $black-text-solid;
|
4
|
-
overflow: hidden;
|
5
|
-
padding-top: $margin-sm;
|
6
|
-
padding-bottom: $margin-sm;
|
7
|
-
}
|
8
|
-
|
9
|
-
// colour
|
10
|
-
@each $color in $palette-list-class {
|
11
|
-
$i: index($palette-list-class, $color);
|
12
|
-
|
13
|
-
.content-header-#{$color},
|
14
|
-
.page-#{$color} .content-header {
|
15
|
-
background-color: nth($palette-list-color, $i);
|
16
|
-
color: nth($palette-list-text, $i);
|
17
|
-
}
|
18
|
-
}
|
19
|
-
|
20
|
-
.content-heading {
|
21
|
-
font-weight: $font-weight-light;
|
22
|
-
}
|
23
|
-
|
24
|
-
.content-inner {
|
25
|
-
margin-top: $margin-lg;
|
26
|
-
margin-bottom: $margin-lg;
|
27
|
-
}
|
28
|
-
|
29
|
-
.content-sub-heading {
|
30
|
-
font-size: $font-size-h4;
|
31
|
-
font-weight: $font-weight-medium;
|
32
|
-
line-height: $line-height-h4;
|
33
|
-
}
|
34
|
-
|
35
|
-
// colour
|
36
|
-
@each $color in $palette-list-class {
|
37
|
-
$i: index($palette-list-class, $color);
|
38
|
-
|
39
|
-
.page-#{$color} .content-sub-heading {
|
40
|
-
color: nth($palette-list-color, $i);
|
41
|
-
}
|
42
|
-
}
|
@@ -1,141 +0,0 @@
|
|
1
|
-
.header {
|
2
|
-
backface-visibility: hidden;
|
3
|
-
background-color: $offwhite-solid;
|
4
|
-
color: $black-text-solid;
|
5
|
-
min-height: $header-height;
|
6
|
-
z-index: $header-base;
|
7
|
-
&:after {
|
8
|
-
box-shadow: 0 1px 10px rgba(0, 0, 0, 0.5);
|
9
|
-
content: "";
|
10
|
-
display: block;
|
11
|
-
height: 100%;
|
12
|
-
opacity: 0;
|
13
|
-
position: absolute;
|
14
|
-
top: 0;
|
15
|
-
left: 0;
|
16
|
-
transition: opacity 0.3s $timing;
|
17
|
-
width: 100%;
|
18
|
-
z-index: -1;
|
19
|
-
}
|
20
|
-
&.affix:after {
|
21
|
-
opacity: 1;
|
22
|
-
}
|
23
|
-
a {
|
24
|
-
color: inherit;
|
25
|
-
z-index: 1;
|
26
|
-
}
|
27
|
-
.nav {
|
28
|
-
margin-top: 0;
|
29
|
-
margin-bottom: 0;
|
30
|
-
> li > a,
|
31
|
-
> li > .a {
|
32
|
-
height: $header-height;
|
33
|
-
}
|
34
|
-
}
|
35
|
-
.tab-nav {
|
36
|
-
box-shadow: none;
|
37
|
-
margin-top: 0;
|
38
|
-
margin-bottom: 0;
|
39
|
-
}
|
40
|
-
}
|
41
|
-
|
42
|
-
// colour
|
43
|
-
@each $color in $palette-list-class {
|
44
|
-
$i: index($palette-list-class, $color);
|
45
|
-
|
46
|
-
.header-#{$color} {
|
47
|
-
background-color: nth($palette-list-color, $i);
|
48
|
-
color: nth($palette-list-text, $i);
|
49
|
-
}
|
50
|
-
}
|
51
|
-
|
52
|
-
.header-affix {
|
53
|
-
max-height: $header-height;
|
54
|
-
overflow: hidden;
|
55
|
-
width: 0;
|
56
|
-
&.affix {
|
57
|
-
width: auto;
|
58
|
-
}
|
59
|
-
}
|
60
|
-
|
61
|
-
.header-affix-hide {
|
62
|
-
max-height: $header-height;
|
63
|
-
overflow: hidden;
|
64
|
-
width: auto;
|
65
|
-
&.affix {
|
66
|
-
width: 0;
|
67
|
-
}
|
68
|
-
}
|
69
|
-
|
70
|
-
.header-logo,
|
71
|
-
.header-text {
|
72
|
-
align-items: center;
|
73
|
-
display: flex;
|
74
|
-
float: left;
|
75
|
-
font-weight: $font-weight-light;
|
76
|
-
height: $header-height;
|
77
|
-
line-height: $line-height-h4;
|
78
|
-
margin: 0 $grid-gutter;
|
79
|
-
white-space: nowrap;
|
80
|
-
&:focus,
|
81
|
-
&:hover {
|
82
|
-
outline: 0;
|
83
|
-
text-decoration: none;
|
84
|
-
}
|
85
|
-
}
|
86
|
-
|
87
|
-
.header-logo {
|
88
|
-
font-size: $font-size-h4;
|
89
|
-
img {
|
90
|
-
display: block;
|
91
|
-
max-height: ($header-height * 0.75);
|
92
|
-
width: auto;
|
93
|
-
}
|
94
|
-
}
|
95
|
-
|
96
|
-
.header-seamed,
|
97
|
-
.header-standard,
|
98
|
-
.header-waterfall {
|
99
|
-
position: fixed;
|
100
|
-
top: 0;
|
101
|
-
right: 0;
|
102
|
-
left: 0;
|
103
|
-
}
|
104
|
-
|
105
|
-
.header-standard {
|
106
|
-
&:after {
|
107
|
-
opacity: 1;
|
108
|
-
}
|
109
|
-
}
|
110
|
-
|
111
|
-
.header-transparent {
|
112
|
-
background-color: transparent;
|
113
|
-
&:before {
|
114
|
-
background-color: $offwhite-solid;
|
115
|
-
content: "";
|
116
|
-
display: block;
|
117
|
-
height: 100%;
|
118
|
-
opacity: 0;
|
119
|
-
position: absolute;
|
120
|
-
top: 0;
|
121
|
-
left: 0;
|
122
|
-
transition: opacity 0.3s $timing;
|
123
|
-
width: 100%;
|
124
|
-
z-index: -1;
|
125
|
-
}
|
126
|
-
&.affix:before {
|
127
|
-
opacity: 1;
|
128
|
-
}
|
129
|
-
}
|
130
|
-
|
131
|
-
// colour
|
132
|
-
@each $color in $palette-list-class {
|
133
|
-
$i: index($palette-list-class, $color);
|
134
|
-
|
135
|
-
.page-#{$color} .header-transparent {
|
136
|
-
color: nth($palette-list-text, $i);
|
137
|
-
&:before {
|
138
|
-
background-color: nth($palette-list-color, $i);
|
139
|
-
}
|
140
|
-
}
|
141
|
-
}
|