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
@@ -0,0 +1,25 @@
|
|
1
|
+
.img-fluid {
|
2
|
+
@include img-fluid;
|
3
|
+
}
|
4
|
+
|
5
|
+
.img-thumbnail {
|
6
|
+
box-shadow: $thumbnail-box-shadow;
|
7
|
+
@include img-fluid;
|
8
|
+
}
|
9
|
+
|
10
|
+
//
|
11
|
+
// figure
|
12
|
+
//
|
13
|
+
.figure {
|
14
|
+
display: inline-block;
|
15
|
+
}
|
16
|
+
|
17
|
+
.figure-caption {
|
18
|
+
color: $figure-caption-color;
|
19
|
+
@include typography-caption;
|
20
|
+
}
|
21
|
+
|
22
|
+
.figure-img {
|
23
|
+
line-height: 1;
|
24
|
+
margin-bottom: $figure-img-margin-bottom;
|
25
|
+
}
|
@@ -0,0 +1,12 @@
|
|
1
|
+
.jumbotron {
|
2
|
+
background-color: $jumbotron-bg;
|
3
|
+
box-shadow: map-get($card-elevation-shadow, shadow);
|
4
|
+
color: $jumbotron-color;
|
5
|
+
padding: $toolbar-height $card-spacer-inner-x;
|
6
|
+
z-index: map-get($card-elevation-shadow, elevation);
|
7
|
+
}
|
8
|
+
|
9
|
+
.jumbotron-fluid {
|
10
|
+
padding-right: 0;
|
11
|
+
padding-left: 0;
|
12
|
+
}
|
@@ -0,0 +1,69 @@
|
|
1
|
+
@if $enable-flex {
|
2
|
+
.media {
|
3
|
+
display: flex;
|
4
|
+
}
|
5
|
+
|
6
|
+
.media-body {
|
7
|
+
flex: 1;
|
8
|
+
}
|
9
|
+
|
10
|
+
.media-bottom {
|
11
|
+
align-self: flex-end;
|
12
|
+
}
|
13
|
+
|
14
|
+
.media-middle {
|
15
|
+
align-self: center;
|
16
|
+
}
|
17
|
+
} @else {
|
18
|
+
.media,
|
19
|
+
.media-body {
|
20
|
+
overflow: hidden;
|
21
|
+
}
|
22
|
+
|
23
|
+
.media-body {
|
24
|
+
width: 10000px;
|
25
|
+
}
|
26
|
+
|
27
|
+
.media-body,
|
28
|
+
.media-left,
|
29
|
+
.media-right {
|
30
|
+
display: table-cell;
|
31
|
+
vertical-align: top;
|
32
|
+
}
|
33
|
+
|
34
|
+
.media-bottom {
|
35
|
+
vertical-align: bottom;
|
36
|
+
}
|
37
|
+
|
38
|
+
.media-middle {
|
39
|
+
vertical-align: middle;
|
40
|
+
}
|
41
|
+
}
|
42
|
+
|
43
|
+
//
|
44
|
+
// alignment
|
45
|
+
//
|
46
|
+
.media-right {
|
47
|
+
padding-left: $media-alignment-padding-x;
|
48
|
+
}
|
49
|
+
|
50
|
+
.media-left {
|
51
|
+
padding-right: $media-alignment-padding-x;
|
52
|
+
}
|
53
|
+
|
54
|
+
//
|
55
|
+
// misc
|
56
|
+
//
|
57
|
+
.media-heading {
|
58
|
+
margin-top: 0;
|
59
|
+
margin-bottom: $media-heading-margin-bottom;
|
60
|
+
}
|
61
|
+
|
62
|
+
.media-list {
|
63
|
+
list-style: none;
|
64
|
+
padding-left: 0;
|
65
|
+
}
|
66
|
+
|
67
|
+
.media-object {
|
68
|
+
display: block;
|
69
|
+
}
|
@@ -0,0 +1,118 @@
|
|
1
|
+
.nav {
|
2
|
+
list-style: none;
|
3
|
+
margin-bottom: 0;
|
4
|
+
padding-left: 0;
|
5
|
+
}
|
6
|
+
|
7
|
+
.nav-link {
|
8
|
+
display: inline-block;
|
9
|
+
position: relative;
|
10
|
+
|
11
|
+
// active, focus, hover
|
12
|
+
@include active-focus-hover {
|
13
|
+
@if ($link-decoration-active != "none") {
|
14
|
+
text-decoration: none;
|
15
|
+
}
|
16
|
+
}
|
17
|
+
|
18
|
+
// disabled
|
19
|
+
&.disabled {
|
20
|
+
cursor: $cursor-disabled;
|
21
|
+
|
22
|
+
@include plain-active-focus-hover {
|
23
|
+
color: $nav-link-color-disabled;
|
24
|
+
}
|
25
|
+
}
|
26
|
+
}
|
27
|
+
|
28
|
+
//
|
29
|
+
// inline
|
30
|
+
//
|
31
|
+
.nav-inline {
|
32
|
+
.nav-item {
|
33
|
+
display: inline-block;
|
34
|
+
}
|
35
|
+
|
36
|
+
.nav-item + .nav-item,
|
37
|
+
.nav-link + .nav-link {
|
38
|
+
margin-left: $nav-inline-item-spacer;
|
39
|
+
}
|
40
|
+
}
|
41
|
+
|
42
|
+
//
|
43
|
+
// pills
|
44
|
+
//
|
45
|
+
.nav-pills {
|
46
|
+
@include clearfix;
|
47
|
+
|
48
|
+
.nav-item {
|
49
|
+
float: left;
|
50
|
+
|
51
|
+
+ .nav-item {
|
52
|
+
margin-left: $nav-item-margin;
|
53
|
+
}
|
54
|
+
}
|
55
|
+
|
56
|
+
.nav-link {
|
57
|
+
color: $nav-link-color;
|
58
|
+
display: block;
|
59
|
+
padding: $nav-link-padding;
|
60
|
+
@include border-radius($border-radius);
|
61
|
+
@include transition-standard(background-color, color);
|
62
|
+
|
63
|
+
// active, focus, hover
|
64
|
+
@include active-focus-hover {
|
65
|
+
color: $nav-link-color-active;
|
66
|
+
}
|
67
|
+
|
68
|
+
// disabled
|
69
|
+
&.disabled {
|
70
|
+
color: $nav-link-color-disabled;
|
71
|
+
}
|
72
|
+
}
|
73
|
+
|
74
|
+
.nav-link.active,
|
75
|
+
.nav-item.open .nav-link {
|
76
|
+
cursor: default;
|
77
|
+
|
78
|
+
@include plain-active-focus-hover {
|
79
|
+
background-color: $nav-link-bg-active;
|
80
|
+
color: $nav-link-color-active;
|
81
|
+
}
|
82
|
+
}
|
83
|
+
}
|
84
|
+
|
85
|
+
.nav-stacked {
|
86
|
+
.nav-item {
|
87
|
+
display: block;
|
88
|
+
float: none;
|
89
|
+
|
90
|
+
+ .nav-item {
|
91
|
+
margin-top: $nav-item-margin;
|
92
|
+
margin-left: 0;
|
93
|
+
}
|
94
|
+
}
|
95
|
+
}
|
96
|
+
|
97
|
+
//
|
98
|
+
// tabs are defined in material design guidelines
|
99
|
+
// (https://material.google.com/components/tabs.html)
|
100
|
+
// therefore, tabs are styled in /assets/sass/material/_tab.scss
|
101
|
+
//
|
102
|
+
.tab-content {
|
103
|
+
// hide to start
|
104
|
+
> .tab-pane {
|
105
|
+
display: none;
|
106
|
+
}
|
107
|
+
|
108
|
+
// show when activated
|
109
|
+
> .active {
|
110
|
+
display: block;
|
111
|
+
}
|
112
|
+
}
|
113
|
+
|
114
|
+
.tab-pane {
|
115
|
+
&.fade {
|
116
|
+
transform: none;
|
117
|
+
}
|
118
|
+
}
|
@@ -0,0 +1,68 @@
|
|
1
|
+
.pagination {
|
2
|
+
background-color: $pagination-bg;
|
3
|
+
display: inline-block;
|
4
|
+
padding: $pagination-padding-y $pagination-padding-x;
|
5
|
+
position: relative;
|
6
|
+
vertical-align: middle;
|
7
|
+
}
|
8
|
+
|
9
|
+
.page-item {
|
10
|
+
display: inline;
|
11
|
+
}
|
12
|
+
|
13
|
+
.page-link {
|
14
|
+
background-color: transparent;
|
15
|
+
color: $btn-color;
|
16
|
+
display: block;
|
17
|
+
float: left;
|
18
|
+
font-size: $btn-font-size;
|
19
|
+
font-weight: $btn-font-weight;
|
20
|
+
line-height: 1;
|
21
|
+
margin-left: 1px;
|
22
|
+
padding: $btn-padding-y $btn-padding-x;
|
23
|
+
position: relative;
|
24
|
+
text-align: center;
|
25
|
+
vertical-align: middle;
|
26
|
+
white-space: nowrap;
|
27
|
+
@include border-radius($border-radius);
|
28
|
+
@include transition-standard(background-color, color);
|
29
|
+
|
30
|
+
// active, focus, hover
|
31
|
+
@include active-focus-hover {
|
32
|
+
background-color: $btn-bg-active;
|
33
|
+
color: $btn-color;
|
34
|
+
|
35
|
+
@if ($link-decoration-active != "none") {
|
36
|
+
text-decoration: none;
|
37
|
+
}
|
38
|
+
}
|
39
|
+
|
40
|
+
&:focus {
|
41
|
+
outline: 0;
|
42
|
+
}
|
43
|
+
|
44
|
+
.page-item:first-child & {
|
45
|
+
margin-left: 0;
|
46
|
+
}
|
47
|
+
|
48
|
+
.page-item.active & {
|
49
|
+
background-color: $btn-bg-active;
|
50
|
+
}
|
51
|
+
|
52
|
+
.page-item.disabled & {
|
53
|
+
background-color: transparent;
|
54
|
+
color: $btn-color-disabled;
|
55
|
+
cursor: $cursor-disabled;
|
56
|
+
}
|
57
|
+
}
|
58
|
+
|
59
|
+
// size
|
60
|
+
.pagination-lg .page-link {
|
61
|
+
font-size: $btn-font-size-lg;
|
62
|
+
padding: $btn-padding-y-lg $btn-padding-x-lg;
|
63
|
+
}
|
64
|
+
|
65
|
+
.pagination-sm .page-link {
|
66
|
+
font-size: $btn-font-size-sm;
|
67
|
+
padding: $btn-padding-y-sm $btn-padding-x-sm;
|
68
|
+
}
|
@@ -0,0 +1,84 @@
|
|
1
|
+
//
|
2
|
+
// material design guidelines specifically discouragae the usage of tooltips with rich information
|
3
|
+
// (https://material.google.com/components/tooltips.html#tooltips-usage)
|
4
|
+
//
|
5
|
+
|
6
|
+
.popover {
|
7
|
+
background-clip: padding-box;
|
8
|
+
background-color: $dialog-content-bg;
|
9
|
+
border: 1px solid transparent;
|
10
|
+
box-shadow: map-get($dialog-elevation-shadow, shadow);
|
11
|
+
display: block;
|
12
|
+
font-size: $font-size-base;
|
13
|
+
max-width: $dialog-width-sm;
|
14
|
+
position: absolute;
|
15
|
+
top: 0;
|
16
|
+
left: 0;
|
17
|
+
z-index: map-get($dialog-elevation-shadow, elevation);
|
18
|
+
@include border-radius($border-radius);
|
19
|
+
@include reset-text;
|
20
|
+
|
21
|
+
&.bs-tether-element-attached-bottom,
|
22
|
+
&.popover-top {
|
23
|
+
margin-top: ($tooltip-margin * -1);
|
24
|
+
}
|
25
|
+
|
26
|
+
&.bs-tether-element-attached-left,
|
27
|
+
&.popover-right {
|
28
|
+
margin-left: $tooltip-margin;
|
29
|
+
}
|
30
|
+
|
31
|
+
&.bs-tether-element-attached-right,
|
32
|
+
&.popover-left {
|
33
|
+
margin-left: ($tooltip-margin * -1);
|
34
|
+
}
|
35
|
+
|
36
|
+
&.bs-tether-element-attached-top,
|
37
|
+
&.popover-bottom {
|
38
|
+
margin-top: $tooltip-margin;
|
39
|
+
}
|
40
|
+
|
41
|
+
&.fade,
|
42
|
+
&.fade.in {
|
43
|
+
transition-property: opacity;
|
44
|
+
}
|
45
|
+
}
|
46
|
+
|
47
|
+
.popover-content {
|
48
|
+
padding: $dialog-inner-padding;
|
49
|
+
}
|
50
|
+
|
51
|
+
.popover-title {
|
52
|
+
margin: 0;
|
53
|
+
padding: $dialog-inner-padding;
|
54
|
+
padding-bottom: 0;
|
55
|
+
@include typography-title;
|
56
|
+
&:empty {
|
57
|
+
display: none;
|
58
|
+
}
|
59
|
+
}
|
60
|
+
|
61
|
+
// desktop
|
62
|
+
@include media-breakpoint-up(md) {
|
63
|
+
.popover {
|
64
|
+
&.bs-tether-element-attached-bottom,
|
65
|
+
&.popover-top {
|
66
|
+
margin-top: ($tooltip-margin-md-up * -1);
|
67
|
+
}
|
68
|
+
|
69
|
+
&.bs-tether-element-attached-left,
|
70
|
+
&.popover-right {
|
71
|
+
margin-left: $tooltip-margin-md-up;
|
72
|
+
}
|
73
|
+
|
74
|
+
&.bs-tether-element-attached-right,
|
75
|
+
&.popover-left {
|
76
|
+
margin-left: ($tooltip-margin-md-up * -1);
|
77
|
+
}
|
78
|
+
|
79
|
+
&.bs-tether-element-attached-top,
|
80
|
+
&.popover-bottom {
|
81
|
+
margin-top: $tooltip-margin-md-up;
|
82
|
+
}
|
83
|
+
}
|
84
|
+
}
|
@@ -0,0 +1,37 @@
|
|
1
|
+
.embed-responsive {
|
2
|
+
display: block;
|
3
|
+
height: 0;
|
4
|
+
overflow: hidden;
|
5
|
+
padding: 0;
|
6
|
+
position: relative;
|
7
|
+
|
8
|
+
embed,
|
9
|
+
iframe,
|
10
|
+
object,
|
11
|
+
video,
|
12
|
+
.embed-responsive-item {
|
13
|
+
border: 0;
|
14
|
+
height: 100%;
|
15
|
+
position: absolute;
|
16
|
+
top: 0;
|
17
|
+
bottom: 0;
|
18
|
+
left: 0;
|
19
|
+
width: 100%;
|
20
|
+
}
|
21
|
+
}
|
22
|
+
|
23
|
+
.embed-responsive-1by1 {
|
24
|
+
padding-bottom: percentage(1 / 1);
|
25
|
+
}
|
26
|
+
|
27
|
+
.embed-responsive-4by3 {
|
28
|
+
padding-bottom: percentage(3 / 4);
|
29
|
+
}
|
30
|
+
|
31
|
+
.embed-responsive-16by9 {
|
32
|
+
padding-bottom: percentage(9 / 16);
|
33
|
+
}
|
34
|
+
|
35
|
+
.embed-responsive-21by9 {
|
36
|
+
padding-bottom: percentage(9 / 21);
|
37
|
+
}
|
@@ -0,0 +1,62 @@
|
|
1
|
+
@import "mixins";
|
2
|
+
@import "variables";
|
3
|
+
|
4
|
+
//
|
5
|
+
// base css
|
6
|
+
//
|
7
|
+
@import "base/base";
|
8
|
+
@import "base/grid";
|
9
|
+
@import "base/typography";
|
10
|
+
|
11
|
+
//
|
12
|
+
// bootstrap components
|
13
|
+
// components covered in bootstrap's (v4.0.0-alpha.5) css but not in material design guidelines
|
14
|
+
//
|
15
|
+
@import "bootstrap/alert";
|
16
|
+
@import "bootstrap/animation";
|
17
|
+
@import "bootstrap/breadcrumb";
|
18
|
+
@import "bootstrap/button-group";
|
19
|
+
@import "bootstrap/carousel";
|
20
|
+
@import "bootstrap/close";
|
21
|
+
@import "bootstrap/code";
|
22
|
+
@import "bootstrap/custom-form";
|
23
|
+
@import "bootstrap/form";
|
24
|
+
@import "bootstrap/image";
|
25
|
+
@import "bootstrap/jumbotron";
|
26
|
+
@import "bootstrap/media";
|
27
|
+
@import "bootstrap/nav";
|
28
|
+
@import "bootstrap/pagination";
|
29
|
+
@import "bootstrap/popover";
|
30
|
+
@import "bootstrap/responsive-embed";
|
31
|
+
|
32
|
+
//
|
33
|
+
// material components
|
34
|
+
// components covered in material design guidelines https://material.google.com/components
|
35
|
+
//
|
36
|
+
@import "material/button";
|
37
|
+
@import "material/button-flat";
|
38
|
+
@import "material/button-float";
|
39
|
+
@import "material/card";
|
40
|
+
@import "material/chip";
|
41
|
+
@import "material/data-table";
|
42
|
+
@import "material/dialog";
|
43
|
+
@import "material/expansion-panel";
|
44
|
+
@import "material/menu";
|
45
|
+
@import "material/navdrawer";
|
46
|
+
@import "material/picker";
|
47
|
+
@import "material/progress";
|
48
|
+
@import "material/progress-circular";
|
49
|
+
@import "material/selection-control";
|
50
|
+
@import "material/stepper";
|
51
|
+
@import "material/tab";
|
52
|
+
@import "material/text-field";
|
53
|
+
@import "material/text-field-floating-label";
|
54
|
+
@import "material/text-field-input-group";
|
55
|
+
@import "material/text-field-textarea";
|
56
|
+
@import "material/toolbar";
|
57
|
+
@import "material/tooltip";
|
58
|
+
|
59
|
+
//
|
60
|
+
// utilities
|
61
|
+
//
|
62
|
+
@import "utilities";
|