bedrock_sass 0.1.2 → 0.1.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +1 -1
- data/assets/_vendor/tinymce/plugins/advlist/index.js +7 -0
- data/assets/_vendor/tinymce/plugins/advlist/plugin.js +428 -0
- data/assets/_vendor/tinymce/plugins/advlist/plugin.min.js +1 -0
- data/assets/_vendor/tinymce/plugins/anchor/index.js +7 -0
- data/assets/_vendor/tinymce/plugins/anchor/plugin.js +338 -0
- data/assets/_vendor/tinymce/plugins/anchor/plugin.min.js +1 -0
- data/assets/_vendor/tinymce/plugins/autolink/index.js +7 -0
- data/assets/_vendor/tinymce/plugins/autolink/plugin.js +404 -0
- data/assets/_vendor/tinymce/plugins/autolink/plugin.min.js +1 -0
- data/assets/_vendor/tinymce/plugins/autoresize/index.js +7 -0
- data/assets/_vendor/tinymce/plugins/autoresize/plugin.js +451 -0
- data/assets/_vendor/tinymce/plugins/autoresize/plugin.min.js +1 -0
- data/assets/_vendor/tinymce/plugins/autosave/index.js +7 -0
- data/assets/_vendor/tinymce/plugins/autosave/plugin.js +608 -0
- data/assets/_vendor/tinymce/plugins/autosave/plugin.min.js +1 -0
- data/assets/_vendor/tinymce/plugins/bbcode/index.js +7 -0
- data/assets/_vendor/tinymce/plugins/bbcode/plugin.js +264 -0
- data/assets/_vendor/tinymce/plugins/bbcode/plugin.min.js +1 -0
- data/assets/_vendor/tinymce/plugins/charmap/index.js +7 -0
- data/assets/_vendor/tinymce/plugins/charmap/plugin.js +850 -0
- data/assets/_vendor/tinymce/plugins/charmap/plugin.min.js +1 -0
- data/assets/_vendor/tinymce/plugins/code/index.js +7 -0
- data/assets/_vendor/tinymce/plugins/code/plugin.js +338 -0
- data/assets/_vendor/tinymce/plugins/code/plugin.min.js +1 -0
- data/assets/_vendor/tinymce/plugins/codesample/css/prism.css +138 -0
- data/assets/_vendor/tinymce/plugins/codesample/index.js +7 -0
- data/assets/_vendor/tinymce/plugins/codesample/plugin.js +1582 -0
- data/assets/_vendor/tinymce/plugins/codesample/plugin.min.js +1 -0
- data/assets/_vendor/tinymce/plugins/colorpicker/index.js +7 -0
- data/assets/_vendor/tinymce/plugins/colorpicker/plugin.js +272 -0
- data/assets/_vendor/tinymce/plugins/colorpicker/plugin.min.js +1 -0
- data/assets/_vendor/tinymce/plugins/contextmenu/index.js +7 -0
- data/assets/_vendor/tinymce/plugins/contextmenu/plugin.js +496 -0
- data/assets/_vendor/tinymce/plugins/contextmenu/plugin.min.js +1 -0
- data/assets/_vendor/tinymce/plugins/directionality/index.js +7 -0
- data/assets/_vendor/tinymce/plugins/directionality/plugin.js +270 -0
- data/assets/_vendor/tinymce/plugins/directionality/plugin.min.js +1 -0
- data/assets/_vendor/tinymce/plugins/emoticons/img/smiley-cool.gif +0 -0
- data/assets/_vendor/tinymce/plugins/emoticons/img/smiley-cry.gif +0 -0
- data/assets/_vendor/tinymce/plugins/emoticons/img/smiley-embarassed.gif +0 -0
- data/assets/_vendor/tinymce/plugins/emoticons/img/smiley-foot-in-mouth.gif +0 -0
- data/assets/_vendor/tinymce/plugins/emoticons/img/smiley-frown.gif +0 -0
- data/assets/_vendor/tinymce/plugins/emoticons/img/smiley-innocent.gif +0 -0
- data/assets/_vendor/tinymce/plugins/emoticons/img/smiley-kiss.gif +0 -0
- data/assets/_vendor/tinymce/plugins/emoticons/img/smiley-laughing.gif +0 -0
- data/assets/_vendor/tinymce/plugins/emoticons/img/smiley-money-mouth.gif +0 -0
- data/assets/_vendor/tinymce/plugins/emoticons/img/smiley-sealed.gif +0 -0
- data/assets/_vendor/tinymce/plugins/emoticons/img/smiley-smile.gif +0 -0
- data/assets/_vendor/tinymce/plugins/emoticons/img/smiley-surprised.gif +0 -0
- data/assets/_vendor/tinymce/plugins/emoticons/img/smiley-tongue-out.gif +0 -0
- data/assets/_vendor/tinymce/plugins/emoticons/img/smiley-undecided.gif +0 -0
- data/assets/_vendor/tinymce/plugins/emoticons/img/smiley-wink.gif +0 -0
- data/assets/_vendor/tinymce/plugins/emoticons/img/smiley-yell.gif +0 -0
- data/assets/_vendor/tinymce/plugins/emoticons/index.js +7 -0
- data/assets/_vendor/tinymce/plugins/emoticons/plugin.js +256 -0
- data/assets/_vendor/tinymce/plugins/emoticons/plugin.min.js +1 -0
- data/assets/_vendor/tinymce/plugins/fullpage/index.js +7 -0
- data/assets/_vendor/tinymce/plugins/fullpage/plugin.js +962 -0
- data/assets/_vendor/tinymce/plugins/fullpage/plugin.min.js +1 -0
- data/assets/_vendor/tinymce/plugins/fullscreen/index.js +7 -0
- data/assets/_vendor/tinymce/plugins/fullscreen/plugin.js +455 -0
- data/assets/_vendor/tinymce/plugins/fullscreen/plugin.min.js +1 -0
- data/assets/_vendor/tinymce/plugins/help/img/logo.png +0 -0
- data/assets/_vendor/tinymce/plugins/help/index.js +7 -0
- data/assets/_vendor/tinymce/plugins/help/plugin.js +1527 -0
- data/assets/_vendor/tinymce/plugins/help/plugin.min.js +1 -0
- data/assets/_vendor/tinymce/plugins/hr/index.js +7 -0
- data/assets/_vendor/tinymce/plugins/hr/plugin.js +195 -0
- data/assets/_vendor/tinymce/plugins/hr/plugin.min.js +1 -0
- data/assets/_vendor/tinymce/plugins/image/index.js +7 -0
- data/assets/_vendor/tinymce/plugins/image/plugin.js +1572 -0
- data/assets/_vendor/tinymce/plugins/image/plugin.min.js +1 -0
- data/assets/_vendor/tinymce/plugins/imagetools/index.js +7 -0
- data/assets/_vendor/tinymce/plugins/imagetools/plugin.js +4444 -0
- data/assets/_vendor/tinymce/plugins/imagetools/plugin.min.js +2 -0
- data/assets/_vendor/tinymce/plugins/importcss/index.js +7 -0
- data/assets/_vendor/tinymce/plugins/importcss/plugin.js +577 -0
- data/assets/_vendor/tinymce/plugins/importcss/plugin.min.js +1 -0
- data/assets/_vendor/tinymce/plugins/insertdatetime/index.js +7 -0
- data/assets/_vendor/tinymce/plugins/insertdatetime/plugin.js +482 -0
- data/assets/_vendor/tinymce/plugins/insertdatetime/plugin.min.js +1 -0
- data/assets/_vendor/tinymce/plugins/legacyoutput/index.js +7 -0
- data/assets/_vendor/tinymce/plugins/legacyoutput/plugin.js +395 -0
- data/assets/_vendor/tinymce/plugins/legacyoutput/plugin.min.js +1 -0
- data/assets/_vendor/tinymce/plugins/link/index.js +7 -0
- data/assets/_vendor/tinymce/plugins/link/plugin.js +1231 -0
- data/assets/_vendor/tinymce/plugins/link/plugin.min.js +1 -0
- data/assets/_vendor/tinymce/plugins/lists/index.js +7 -0
- data/assets/_vendor/tinymce/plugins/lists/plugin.js +1985 -0
- data/assets/_vendor/tinymce/plugins/lists/plugin.min.js +1 -0
- data/assets/_vendor/tinymce/plugins/media/index.js +7 -0
- data/assets/_vendor/tinymce/plugins/media/plugin.js +2026 -0
- data/assets/_vendor/tinymce/plugins/media/plugin.min.js +1 -0
- data/assets/_vendor/tinymce/plugins/nonbreaking/index.js +7 -0
- data/assets/_vendor/tinymce/plugins/nonbreaking/plugin.js +313 -0
- data/assets/_vendor/tinymce/plugins/nonbreaking/plugin.min.js +1 -0
- data/assets/_vendor/tinymce/plugins/noneditable/index.js +7 -0
- data/assets/_vendor/tinymce/plugins/noneditable/plugin.js +316 -0
- data/assets/_vendor/tinymce/plugins/noneditable/plugin.min.js +1 -0
- data/assets/_vendor/tinymce/plugins/pagebreak/index.js +7 -0
- data/assets/_vendor/tinymce/plugins/pagebreak/plugin.js +354 -0
- data/assets/_vendor/tinymce/plugins/pagebreak/plugin.min.js +1 -0
- data/assets/_vendor/tinymce/plugins/paste/index.js +7 -0
- data/assets/_vendor/tinymce/plugins/paste/plugin.js +2935 -0
- data/assets/_vendor/tinymce/plugins/paste/plugin.min.js +1 -0
- data/assets/_vendor/tinymce/plugins/preview/index.js +7 -0
- data/assets/_vendor/tinymce/plugins/preview/plugin.js +410 -0
- data/assets/_vendor/tinymce/plugins/preview/plugin.min.js +1 -0
- data/assets/_vendor/tinymce/plugins/print/index.js +7 -0
- data/assets/_vendor/tinymce/plugins/print/plugin.js +194 -0
- data/assets/_vendor/tinymce/plugins/print/plugin.min.js +1 -0
- data/assets/_vendor/tinymce/plugins/save/index.js +7 -0
- data/assets/_vendor/tinymce/plugins/save/plugin.js +370 -0
- data/assets/_vendor/tinymce/plugins/save/plugin.min.js +1 -0
- data/assets/_vendor/tinymce/plugins/searchreplace/index.js +7 -0
- data/assets/_vendor/tinymce/plugins/searchreplace/plugin.js +977 -0
- data/assets/_vendor/tinymce/plugins/searchreplace/plugin.min.js +1 -0
- data/assets/_vendor/tinymce/plugins/spellchecker/index.js +7 -0
- data/assets/_vendor/tinymce/plugins/spellchecker/plugin.js +1419 -0
- data/assets/_vendor/tinymce/plugins/spellchecker/plugin.min.js +1 -0
- data/assets/_vendor/tinymce/plugins/tabfocus/index.js +7 -0
- data/assets/_vendor/tinymce/plugins/tabfocus/plugin.js +419 -0
- data/assets/_vendor/tinymce/plugins/tabfocus/plugin.min.js +1 -0
- data/assets/_vendor/tinymce/plugins/table/index.js +7 -0
- data/assets/_vendor/tinymce/plugins/table/plugin.js +15527 -0
- data/assets/_vendor/tinymce/plugins/table/plugin.min.js +5 -0
- data/assets/_vendor/tinymce/plugins/template/index.js +7 -0
- data/assets/_vendor/tinymce/plugins/template/plugin.js +807 -0
- data/assets/_vendor/tinymce/plugins/template/plugin.min.js +1 -0
- data/assets/_vendor/tinymce/plugins/textcolor/index.js +7 -0
- data/assets/_vendor/tinymce/plugins/textcolor/plugin.js +619 -0
- data/assets/_vendor/tinymce/plugins/textcolor/plugin.min.js +1 -0
- data/assets/_vendor/tinymce/plugins/textpattern/index.js +7 -0
- data/assets/_vendor/tinymce/plugins/textpattern/plugin.js +718 -0
- data/assets/_vendor/tinymce/plugins/textpattern/plugin.min.js +1 -0
- data/assets/_vendor/tinymce/plugins/toc/index.js +7 -0
- data/assets/_vendor/tinymce/plugins/toc/plugin.js +559 -0
- data/assets/_vendor/tinymce/plugins/toc/plugin.min.js +1 -0
- data/assets/_vendor/tinymce/plugins/visualblocks/css/visualblocks.css +154 -0
- data/assets/_vendor/tinymce/plugins/visualblocks/index.js +7 -0
- data/assets/_vendor/tinymce/plugins/visualblocks/plugin.js +459 -0
- data/assets/_vendor/tinymce/plugins/visualblocks/plugin.min.js +1 -0
- data/assets/_vendor/tinymce/plugins/visualchars/index.js +7 -0
- data/assets/_vendor/tinymce/plugins/visualchars/plugin.js +1325 -0
- data/assets/_vendor/tinymce/plugins/visualchars/plugin.min.js +1 -0
- data/assets/_vendor/tinymce/plugins/wordcount/index.js +7 -0
- data/assets/_vendor/tinymce/plugins/wordcount/plugin.js +735 -0
- data/assets/_vendor/tinymce/plugins/wordcount/plugin.min.js +1 -0
- data/assets/_vendor/tinymce/skins/lightgray/content.inline.min.css +1 -0
- data/assets/_vendor/tinymce/skins/lightgray/content.min.css +1 -0
- data/assets/_vendor/tinymce/skins/lightgray/content.mobile.min.css +1 -0
- data/assets/_vendor/tinymce/skins/lightgray/fonts/tinymce-mobile.woff +0 -0
- data/assets/_vendor/tinymce/skins/lightgray/fonts/tinymce-small.eot +0 -0
- data/assets/_vendor/tinymce/skins/lightgray/fonts/tinymce-small.svg +63 -0
- data/assets/_vendor/tinymce/skins/lightgray/fonts/tinymce-small.ttf +0 -0
- data/assets/_vendor/tinymce/skins/lightgray/fonts/tinymce-small.woff +0 -0
- data/assets/_vendor/tinymce/skins/lightgray/fonts/tinymce.eot +0 -0
- data/assets/_vendor/tinymce/skins/lightgray/fonts/tinymce.svg +131 -0
- data/assets/_vendor/tinymce/skins/lightgray/fonts/tinymce.ttf +0 -0
- data/assets/_vendor/tinymce/skins/lightgray/fonts/tinymce.woff +0 -0
- data/assets/_vendor/tinymce/skins/lightgray/img/anchor.gif +0 -0
- data/assets/_vendor/tinymce/skins/lightgray/img/loader.gif +0 -0
- data/assets/_vendor/tinymce/skins/lightgray/img/object.gif +0 -0
- data/assets/_vendor/tinymce/skins/lightgray/img/trans.gif +0 -0
- data/assets/_vendor/tinymce/skins/lightgray/skin.min.css +1 -0
- data/assets/_vendor/tinymce/skins/lightgray/skin.mobile.min.css +2 -0
- data/assets/_vendor/tinymce/themes/inlite/index.js +7 -0
- data/assets/_vendor/tinymce/themes/inlite/theme.js +18787 -0
- data/assets/_vendor/tinymce/themes/inlite/theme.min.js +5 -0
- data/assets/_vendor/tinymce/themes/mobile/index.js +7 -0
- data/assets/_vendor/tinymce/themes/mobile/theme.js +23384 -0
- data/assets/_vendor/tinymce/themes/mobile/theme.min.js +8 -0
- data/assets/_vendor/tinymce/themes/modern/index.js +7 -0
- data/assets/_vendor/tinymce/themes/modern/theme.js +18311 -0
- data/assets/_vendor/tinymce/themes/modern/theme.min.js +5 -0
- data/assets/_vendor/tinymce/tinymce.js +44399 -0
- data/assets/bedrock/js/bedrock.js +16587 -6193
- data/assets/bedrock/scss/_bedrock-components.scss +16 -0
- data/assets/bedrock/scss/_bedrock-settings.scss +15 -0
- data/assets/bedrock/scss/components/attachments-grid.scss +138 -0
- data/assets/bedrock/scss/components/dropzone-upload.scss +158 -0
- data/assets/bedrock/scss/components/global.scss +16 -8
- data/assets/bedrock/scss/components/helper-classes.scss +59 -0
- data/assets/bedrock/scss/components/inline-edit-box.scss +80 -0
- data/assets/bedrock/scss/components/login-box.scss +48 -0
- data/assets/bedrock/scss/components/no-content.scss +31 -0
- data/assets/bedrock/scss/components/off-canvas-menu.scss +1 -1
- data/assets/bedrock/scss/components/page-content.scss +51 -0
- data/assets/bedrock/scss/components/reveal-panel.scss +89 -0
- data/assets/bedrock/scss/components/select-box.scss +332 -0
- data/assets/bedrock/scss/components/tiny-mce-editor.scss +14 -7
- data/lib/bedrock_sass.rb +6 -0
- data/lib/bedrock_sass/engine.rb +8 -0
- data/lib/bedrock_sass/version.rb +1 -1
- data/lib/tasks/before_assets_precompile.rake +11 -0
- metadata +188 -2
@@ -4,7 +4,15 @@
|
|
4
4
|
@import 'components/panel';
|
5
5
|
@import 'components/logo-bar';
|
6
6
|
@import 'components/off-canvas-menu';
|
7
|
+
@import 'components/reveal-panel';
|
8
|
+
@import 'components/attachments-grid';
|
9
|
+
@import 'components/no-content';
|
10
|
+
@import 'components/login-box';
|
11
|
+
@import 'components/dropzone-upload';
|
12
|
+
@import 'components/inline-edit-box';
|
13
|
+
@import 'components/page-content';
|
7
14
|
@import 'components/tiny-mce-editor';
|
15
|
+
@import 'components/select-box';
|
8
16
|
|
9
17
|
@include bedrock-global-styles;
|
10
18
|
@include bedrock-prototype-classes;
|
@@ -12,4 +20,12 @@
|
|
12
20
|
@include bedrock-panel;
|
13
21
|
@include bedrock-logo-bar;
|
14
22
|
@include bedrock-off-canvas-menu;
|
23
|
+
@include bedrock-reveal-panel;
|
24
|
+
@include bedrock-attachments-grid;
|
25
|
+
@include bedrock-no-content;
|
26
|
+
@include bedrock-login-box;
|
27
|
+
@include bedrock-dropzone-upload;
|
28
|
+
@include bedrock-inline-edit-box;
|
29
|
+
@include bedrock-page-content;
|
15
30
|
@include bedrock-tiny-mce-editor;
|
31
|
+
@include bedrock-select-box;
|
@@ -7,6 +7,8 @@
|
|
7
7
|
// 2. Logo Bar
|
8
8
|
// 3. Offcanvas Menu
|
9
9
|
// 4. Panel
|
10
|
+
// 5. No Content
|
11
|
+
// 6. Login Box
|
10
12
|
|
11
13
|
|
12
14
|
// 1. Header
|
@@ -43,3 +45,16 @@ $panel-padding: $global-padding;
|
|
43
45
|
$panel-font-color: $body-font-color;
|
44
46
|
$panel-font-color-alt: $body-background;
|
45
47
|
$panel-radius: $global-radius;
|
48
|
+
|
49
|
+
|
50
|
+
// 5. No Content
|
51
|
+
// ---------
|
52
|
+
|
53
|
+
$no-content-color: $medium-gray;
|
54
|
+
|
55
|
+
|
56
|
+
// 6. Login Box
|
57
|
+
// ---------
|
58
|
+
|
59
|
+
$login-box-width: 26rem;
|
60
|
+
$login-box-logo-width: 16rem;
|
@@ -0,0 +1,138 @@
|
|
1
|
+
// Attachments Grid Mixins
|
2
|
+
|
3
|
+
@mixin attachments-grid-button($color: $primary-color) {
|
4
|
+
position: absolute;
|
5
|
+
top: -.6rem;
|
6
|
+
right: -.6rem;
|
7
|
+
width: 1.6rem;
|
8
|
+
height: 1.6rem;
|
9
|
+
background: $color;
|
10
|
+
color: white;
|
11
|
+
font-size: 1.2rem;
|
12
|
+
line-height: 1;
|
13
|
+
padding: .2rem;
|
14
|
+
text-align: center;
|
15
|
+
opacity: 0;
|
16
|
+
visibility: hidden;
|
17
|
+
display: block;
|
18
|
+
cursor: pointer;
|
19
|
+
}
|
20
|
+
|
21
|
+
@mixin attachments-grid-item {
|
22
|
+
&.is-active .thumbnail {
|
23
|
+
box-shadow: 0 0 0 2px $anchor-color;
|
24
|
+
|
25
|
+
.check-button {
|
26
|
+
opacity: 1;
|
27
|
+
visibility: visible;
|
28
|
+
}
|
29
|
+
}
|
30
|
+
|
31
|
+
@at-root .removable#{&} {
|
32
|
+
|
33
|
+
&:hover, &:focus {
|
34
|
+
|
35
|
+
.thumbnail {
|
36
|
+
box-shadow: 0 0 0 2px $alert-color;
|
37
|
+
}
|
38
|
+
|
39
|
+
.remove-button {
|
40
|
+
opacity: 1;
|
41
|
+
visibility: visible;
|
42
|
+
}
|
43
|
+
|
44
|
+
.check-button {
|
45
|
+
opacity: 0;
|
46
|
+
visibility: hidden;
|
47
|
+
}
|
48
|
+
}
|
49
|
+
}
|
50
|
+
|
51
|
+
.thumbnail {
|
52
|
+
position: relative;
|
53
|
+
user-select: none;
|
54
|
+
width: 100%;
|
55
|
+
font-size: $small-font-size;
|
56
|
+
}
|
57
|
+
|
58
|
+
.remove-button {
|
59
|
+
@include attachments-grid-button($alert-color);
|
60
|
+
}
|
61
|
+
|
62
|
+
.check-button {
|
63
|
+
@include attachments-grid-button;
|
64
|
+
}
|
65
|
+
|
66
|
+
img {
|
67
|
+
display: block;
|
68
|
+
margin: 0;
|
69
|
+
width: 100%;
|
70
|
+
}
|
71
|
+
|
72
|
+
.filename {
|
73
|
+
display: block;
|
74
|
+
line-height: 1.2;
|
75
|
+
position: absolute;
|
76
|
+
background: $white;
|
77
|
+
border-top: $thumbnail-border;
|
78
|
+
line-height: 1.2;
|
79
|
+
bottom: 0;
|
80
|
+
left: 0;
|
81
|
+
width: 100%;
|
82
|
+
overflow: hidden;
|
83
|
+
white-space: nowrap;
|
84
|
+
text-overflow: ellipsis;
|
85
|
+
}
|
86
|
+
}
|
87
|
+
|
88
|
+
@mixin attachments-grid {
|
89
|
+
@include xy-grid;
|
90
|
+
@include xy-grid-layout(1, '.attachment');
|
91
|
+
margin-left: -.625rem;
|
92
|
+
margin-right: -.625rem;
|
93
|
+
|
94
|
+
@include breakpoint(320px) {
|
95
|
+
@include xy-grid-layout(2, '.attachment');
|
96
|
+
}
|
97
|
+
|
98
|
+
@include breakpoint(480px) {
|
99
|
+
@include xy-grid-layout(3, '.attachment');
|
100
|
+
}
|
101
|
+
|
102
|
+
@include breakpoint(680px) {
|
103
|
+
@include xy-grid-layout(4, '.attachment');
|
104
|
+
}
|
105
|
+
|
106
|
+
@include breakpoint(800px) {
|
107
|
+
@include xy-grid-layout(5, '.attachment');
|
108
|
+
}
|
109
|
+
|
110
|
+
@include breakpoint(1280px) {
|
111
|
+
@include xy-grid-layout(6, '.attachment');
|
112
|
+
}
|
113
|
+
|
114
|
+
@include breakpoint(1366px) {
|
115
|
+
@include xy-grid-layout(7, '.attachment');
|
116
|
+
}
|
117
|
+
|
118
|
+
@include breakpoint(1440px) {
|
119
|
+
@include xy-grid-layout(8, '.attachment');
|
120
|
+
}
|
121
|
+
|
122
|
+
@include breakpoint(1600px) {
|
123
|
+
@include xy-grid-layout(9, '.attachment');
|
124
|
+
}
|
125
|
+
|
126
|
+
.attachment {
|
127
|
+
@include attachments-grid-item;
|
128
|
+
}
|
129
|
+
}
|
130
|
+
|
131
|
+
|
132
|
+
// Attachments Grid Component
|
133
|
+
|
134
|
+
@mixin bedrock-attachments-grid {
|
135
|
+
.attachments-grid {
|
136
|
+
@include attachments-grid;
|
137
|
+
}
|
138
|
+
}
|
@@ -0,0 +1,158 @@
|
|
1
|
+
$dropzone-upload-border: 2px dashed $light-gray !default;
|
2
|
+
$dropzone-upload-active-background: $primary-color !default;
|
3
|
+
$dropzone-upload-active-border-color: $primary-color !default;
|
4
|
+
|
5
|
+
// No Content Mixins
|
6
|
+
|
7
|
+
@mixin dropzone-upload {
|
8
|
+
|
9
|
+
&.dz-drag-hover {
|
10
|
+
|
11
|
+
.dz-message {
|
12
|
+
|
13
|
+
&.bordered {
|
14
|
+
border-color: $dropzone-upload-active-border-color;
|
15
|
+
}
|
16
|
+
|
17
|
+
&:after {
|
18
|
+
opacity: .5;
|
19
|
+
visibility: visible;
|
20
|
+
}
|
21
|
+
}
|
22
|
+
}
|
23
|
+
|
24
|
+
.dz-message {
|
25
|
+
position: relative;
|
26
|
+
overflow: hidden;
|
27
|
+
transition-property: border;
|
28
|
+
transition-duration: .2s;
|
29
|
+
|
30
|
+
&.bordered {
|
31
|
+
border: $dropzone-upload-border;
|
32
|
+
}
|
33
|
+
|
34
|
+
&:after {
|
35
|
+
content: "";
|
36
|
+
position: absolute;
|
37
|
+
top: 0;
|
38
|
+
left: 0;
|
39
|
+
width: 100%;
|
40
|
+
height: 100%;
|
41
|
+
background: $dropzone-upload-active-background;
|
42
|
+
opacity: 0;
|
43
|
+
visibility: hidden;
|
44
|
+
transition-property: visibility opacity;
|
45
|
+
transition-duration: .2s;
|
46
|
+
}
|
47
|
+
}
|
48
|
+
|
49
|
+
.dz-complete {
|
50
|
+
|
51
|
+
.progress {
|
52
|
+
display: none;
|
53
|
+
}
|
54
|
+
}
|
55
|
+
|
56
|
+
.dz-success {
|
57
|
+
|
58
|
+
.thumbnail {
|
59
|
+
|
60
|
+
.success {
|
61
|
+
opacity: 0;
|
62
|
+
visibility: visible;
|
63
|
+
@include mui-animation(fade(0, 1), slide(out, up), fade(1, 0));
|
64
|
+
animation-duration: 1.5s;
|
65
|
+
}
|
66
|
+
}
|
67
|
+
}
|
68
|
+
|
69
|
+
.dz-error {
|
70
|
+
|
71
|
+
.thumbnail {
|
72
|
+
|
73
|
+
&:hover .message {
|
74
|
+
opacity: 1;
|
75
|
+
visibility: visible;
|
76
|
+
}
|
77
|
+
|
78
|
+
.error {
|
79
|
+
opacity: 1;
|
80
|
+
visibility: visible;
|
81
|
+
@include mui-animation(fade(0, 1), wiggle(15deg));
|
82
|
+
animation-duration: 1.5s;
|
83
|
+
}
|
84
|
+
}
|
85
|
+
}
|
86
|
+
|
87
|
+
.thumbnail {
|
88
|
+
|
89
|
+
.size, .message {
|
90
|
+
display: block;
|
91
|
+
line-height: 1.2;
|
92
|
+
position: absolute;
|
93
|
+
}
|
94
|
+
|
95
|
+
.progress {
|
96
|
+
position: absolute;
|
97
|
+
top: 50%;
|
98
|
+
left: 1rem;
|
99
|
+
right: 1rem;
|
100
|
+
height: 10px;
|
101
|
+
margin-top: -5px;
|
102
|
+
}
|
103
|
+
|
104
|
+
.size {
|
105
|
+
border-left: $thumbnail-border;
|
106
|
+
border-bottom: $thumbnail-border;
|
107
|
+
background: $white;
|
108
|
+
top: 0;
|
109
|
+
right: 0;
|
110
|
+
}
|
111
|
+
|
112
|
+
.message {
|
113
|
+
bottom: 0;
|
114
|
+
left: 0;
|
115
|
+
width: 100%;
|
116
|
+
max-height: 100%;
|
117
|
+
background: $alert-color;
|
118
|
+
color: $white;
|
119
|
+
padding: 4px;
|
120
|
+
opacity: 0;
|
121
|
+
visibility: hidden;
|
122
|
+
}
|
123
|
+
|
124
|
+
.success, .error {
|
125
|
+
position: absolute;
|
126
|
+
top: 50%;
|
127
|
+
left: 50%;
|
128
|
+
padding: .5rem;
|
129
|
+
border-radius: 50%;
|
130
|
+
margin-top: -1.1rem;
|
131
|
+
margin-left: -1.1rem;
|
132
|
+
color: white;
|
133
|
+
font-size: 1.2rem;
|
134
|
+
width: 2.2rem;
|
135
|
+
height: 2.2rem;
|
136
|
+
line-height: 1.2rem;
|
137
|
+
opacity: 0;
|
138
|
+
visibility: hidden;
|
139
|
+
}
|
140
|
+
|
141
|
+
.success {
|
142
|
+
background: $success-color;
|
143
|
+
}
|
144
|
+
|
145
|
+
.error {
|
146
|
+
background: $alert-color;
|
147
|
+
}
|
148
|
+
}
|
149
|
+
}
|
150
|
+
|
151
|
+
|
152
|
+
// No Content Component
|
153
|
+
|
154
|
+
@mixin bedrock-dropzone-upload {
|
155
|
+
.dropzone {
|
156
|
+
@include dropzone-upload;
|
157
|
+
}
|
158
|
+
}
|
@@ -9,6 +9,19 @@
|
|
9
9
|
}
|
10
10
|
}
|
11
11
|
|
12
|
+
input {
|
13
|
+
|
14
|
+
&[type="checkbox"],
|
15
|
+
&[type="radio"] {
|
16
|
+
position: relative;
|
17
|
+
top: 2px;
|
18
|
+
}
|
19
|
+
}
|
20
|
+
|
21
|
+
textarea {
|
22
|
+
resize: vertical;
|
23
|
+
}
|
24
|
+
|
12
25
|
.top-bar,
|
13
26
|
.logo-bar {
|
14
27
|
min-height: 4rem;
|
@@ -28,15 +41,10 @@
|
|
28
41
|
}
|
29
42
|
}
|
30
43
|
|
31
|
-
|
32
|
-
|
33
|
-
input {
|
44
|
+
.menu {
|
34
45
|
|
35
|
-
|
36
|
-
|
37
|
-
position: relative;
|
38
|
-
top: 2px;
|
39
|
-
}
|
46
|
+
a {
|
47
|
+
align-items: center;
|
40
48
|
}
|
41
49
|
}
|
42
50
|
|
@@ -48,6 +48,65 @@
|
|
48
48
|
}
|
49
49
|
}
|
50
50
|
|
51
|
+
@mixin form-helpers {
|
52
|
+
#{text-inputs()}, select {
|
53
|
+
|
54
|
+
&.large {
|
55
|
+
$fsize: 1.292rem;
|
56
|
+
$height: ($fsize * unitless-calc($input-line-height)) + (get-side($input-padding, 'top') + get-side($input-padding, 'bottom')) - rem-calc(1);
|
57
|
+
|
58
|
+
font-size: $fsize;
|
59
|
+
height: $height;
|
60
|
+
}
|
61
|
+
|
62
|
+
&.small {
|
63
|
+
$fsize: .8rem;
|
64
|
+
$height: ($fsize * unitless-calc($input-line-height)) + (get-side($input-padding, 'top') + get-side($input-padding, 'bottom')) - rem-calc(1);
|
65
|
+
|
66
|
+
font-size: $fsize;
|
67
|
+
height: $height;
|
68
|
+
}
|
69
|
+
}
|
70
|
+
|
71
|
+
.input-group-list {
|
72
|
+
|
73
|
+
#{text-inputs()}, select, textarea {
|
74
|
+
margin-bottom: -1px;
|
75
|
+
|
76
|
+
&:active, &:focus {
|
77
|
+
position: relative;
|
78
|
+
z-index: 1;
|
79
|
+
}
|
80
|
+
}
|
81
|
+
}
|
82
|
+
}
|
83
|
+
|
84
|
+
@mixin color-helpers {
|
85
|
+
@each $attr in (background, background-color, border-color, color) {
|
86
|
+
.#{$attr} {
|
87
|
+
|
88
|
+
&-none {
|
89
|
+
#{$attr}: none !important;
|
90
|
+
}
|
91
|
+
|
92
|
+
@each $name, $color in $foundation-palette {
|
93
|
+
&-#{$name} {
|
94
|
+
#{$attr}: $color !important;
|
95
|
+
}
|
96
|
+
}
|
97
|
+
}
|
98
|
+
}
|
99
|
+
}
|
100
|
+
|
101
|
+
@mixin text-helpers {
|
102
|
+
.text-small {
|
103
|
+
font-size: $small-font-size;
|
104
|
+
}
|
105
|
+
}
|
106
|
+
|
51
107
|
@mixin bedrock-prototype-classes {
|
52
108
|
@include table-helpers;
|
109
|
+
@include form-helpers;
|
110
|
+
@include color-helpers;
|
111
|
+
@include text-helpers;
|
53
112
|
}
|