@drumee/ui-styles 1.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +2 -0
- package/dist/css/lib/align.css +1 -0
- package/dist/css/lib/align.css.map +1 -0
- package/dist/css/lib/box-shadow.css +1 -0
- package/dist/css/lib/box-shadow.css.map +1 -0
- package/dist/css/lib/button.css +1 -0
- package/dist/css/lib/button.css.map +1 -0
- package/dist/css/lib/container.css +1 -0
- package/dist/css/lib/container.css.map +1 -0
- package/dist/css/lib/input.css +1 -0
- package/dist/css/lib/input.css.map +1 -0
- package/dist/css/lib/menu.css +1 -0
- package/dist/css/lib/menu.css.map +1 -0
- package/dist/css/lib/reset.css +1 -0
- package/dist/css/lib/reset.css.map +1 -0
- package/dist/css/lib/svg.css +1 -0
- package/dist/css/lib/svg.css.map +1 -0
- package/dist/css/lib/typo.css +1 -0
- package/dist/css/lib/typo.css.map +1 -0
- package/dist/css/lib/utils.css +1 -0
- package/dist/css/lib/utils.css.map +1 -0
- package/dist/css/lib/vendor.css +1 -0
- package/dist/css/lib/vendor.css.map +1 -0
- package/dist/css/main.css +1 -0
- package/dist/css/main.css.map +1 -0
- package/dist/css/mixins.css +1 -0
- package/dist/css/mixins.css.map +1 -0
- package/dist/css/vars/bigchat.css +1 -0
- package/dist/css/vars/bigchat.css.map +1 -0
- package/dist/css/vars/borders.css +1 -0
- package/dist/css/vars/borders.css.map +1 -0
- package/dist/css/vars/box-shadow.css +1 -0
- package/dist/css/vars/box-shadow.css.map +1 -0
- package/dist/css/vars/color.css +1 -0
- package/dist/css/vars/color.css.map +1 -0
- package/dist/css/vars/default.css +1 -0
- package/dist/css/vars/default.css.map +1 -0
- package/dist/css/vars/font.css +1 -0
- package/dist/css/vars/font.css.map +1 -0
- package/dist/css/vars/index.css +1 -0
- package/dist/css/vars/index.css.map +1 -0
- package/dist/css/vars/revamp.css +1 -0
- package/dist/css/vars/revamp.css.map +1 -0
- package/dist/css/vars/z-index.css +1 -0
- package/dist/css/vars/z-index.css.map +1 -0
- package/package.json +41 -0
- package/src/lib/align.scss +317 -0
- package/src/lib/box-shadow.scss +24 -0
- package/src/lib/button.scss +268 -0
- package/src/lib/container.scss +175 -0
- package/src/lib/input.scss +247 -0
- package/src/lib/menu.scss +17 -0
- package/src/lib/reset.scss +111 -0
- package/src/lib/svg.scss +6 -0
- package/src/lib/typo.scss +63 -0
- package/src/lib/utils.scss +307 -0
- package/src/lib/vendor.scss +179 -0
- package/src/main.scss +29 -0
- package/src/mixins.scss +4 -0
- package/src/vars/bigchat.scss +77 -0
- package/src/vars/borders.scss +14 -0
- package/src/vars/box-shadow.scss +27 -0
- package/src/vars/color.scss +133 -0
- package/src/vars/default.scss +230 -0
- package/src/vars/font.scss +19 -0
- package/src/vars/index.scss +7 -0
- package/src/vars/revamp.scss +140 -0
- package/src/vars/z-index.scss +14 -0
|
@@ -0,0 +1 @@
|
|
|
1
|
+
:root{--corner-radius-0: 0rem;--corner-radius-1: 0.25rem;--corner-radius-2: 0.375rem;--corner-radius-3: 0.5rem;--corner-radius-4: 0.75rem;--corner-radius-5: 1rem;--corner-radius-6: 1.5rem;--corner-radius-7: 2rem;--corner-radius-max: 62.5rem;--spacer-0: 0rem;--spacer-1: 0.125rem;--spacer-2: 0.25rem;--spacer-3: 0.5rem;--spacer-4: 0.75rem;--spacer-5: 1rem;--spacer-6: 1.5rem;--spacer-7: 2rem;--spacer-8: 2.5rem;--spacer-9: 3rem;--spacer-10: 4rem;--spacer-11: 5rem;--spacer-12: 6rem;--spacer-13: 7rem;--spacer-14: 9rem;--spacer-15: 10rem}:root{--blue-100: #b9e8ff;--blue-200: #89dcff;--blue-300: #52c8ff;--blue-400: #2aaaff;--blue-500: #168efd;--blue-600: #0c74e9;--blue-700: #115cbc;--blue-800: #144f94;--blue-900: #11315a;--gray-100: #f6f6f6;--gray-200: #e7e7e7;--gray-300: #d1d1d1;--gray-400: #b0b0b0;--gray-500: #888888;--gray-600: #5d5d5d;--gray-700: #4f4f4f;--gray-800: #3d3d3d;--gray-900: #303030;--gray-black: #050505;--gray-white: #ffffff;--green-100: #a7f3c5;--green-200: #6ee7a6;--green-300: #34d382;--green-400: #10b667;--green-500: #059654;--green-600: #047846;--green-700: #065f39;--green-800: #064e31;--green-900: #022c1c;--indigo-100: #c2cdff;--indigo-200: #9cabff;--indigo-300: #757eff;--indigo-400: #5756ff;--indigo-500: #4636f5;--indigo-600: #3c2ad8;--indigo-700: #3125ae;--indigo-800: #2c2689;--indigo-900: #1c1650;--mint-100: #8bfff6;--mint-200: #49fff2;--mint-300: #10d7ce;--mint-400: #00d1cb;--mint-500: #00a9a7;--mint-600: #008686;--mint-700: #05696a;--mint-800: #0a5657;--mint-900: #003436;--neutral-100: #f4f4f6;--neutral-200: #ebecf0;--neutral-300: #dddfe4;--neutral-400: #c3c6cc;--neutral-50: #f9f9fa;--neutral-500: #afb3bb;--neutral-600: #8c929c;--neutral-700: #5b616d;--neutral-800: #414651;--neutral-900: #222732;--neutral-950: #0a0c11;--orange-100: #ffdfa5;--orange-200: #ffc76d;--orange-300: #ffa332;--orange-400: #ff870a;--orange-500: #f36900;--orange-600: #cc4f02;--orange-700: #a13d0b;--orange-800: #82350c;--orange-900: #461804;--pink-100: #ffcbf3;--pink-200: #ffa0e7;--pink-300: #e864cb;--pink-400: #ff65d5;--pink-500: #fc23b8;--pink-600: #ed159f;--pink-700: #ce0880;--pink-800: #aa0a69;--pink-900: #570034;--primary-100: #f4e7ff;--primary-200: #ebd4ff;--primary-300: #dcb2ff;--primary-400: #c781ff;--primary-50: #fbf5ff;--primary-500: #b251fb;--primary-600: #9821ee;--primary-700: #881dd3;--primary-800: #731dac;--primary-900: #5e198a;--primary-950: #410467;--red-100: #ffdde4;--red-200: #ff94aa;--red-300: #ff6785;--red-400: #ff5779;--red-500: #ff2350;--red-600: #f50032;--red-700: #d7002c;--red-800: #a90225;--red-900: #500010;--yellow-100: #fffd86;--yellow-200: #fff441;--yellow-300: #ffe50d;--yellow-400: #e6c100;--yellow-500: #d19d00;--yellow-600: #a67102;--yellow-700: #89570a;--yellow-800: #74470f;--yellow-900: #442504}/*# sourceMappingURL=revamp.css.map */
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sourceRoot":"","sources":["../../../src/vars/revamp.scss"],"names":[],"mappings":"AAAA,MAGE,wBACA,2BACA,4BACA,0BACA,2BACA,wBACA,0BACA,wBACA,6BACA,iBACA,qBACA,oBACA,mBACA,oBACA,iBACA,mBACA,iBACA,mBACA,iBACA,kBACA,kBACA,kBACA,kBACA,kBACA,mBAIF,MAGE,oBACA,oBACA,oBACA,oBACA,oBACA,oBACA,oBACA,oBACA,oBACA,oBACA,oBACA,oBACA,oBACA,oBACA,oBACA,oBACA,oBACA,oBACA,sBACA,sBACA,qBACA,qBACA,qBACA,qBACA,qBACA,qBACA,qBACA,qBACA,qBACA,sBACA,sBACA,sBACA,sBACA,sBACA,sBACA,sBACA,sBACA,sBACA,oBACA,oBACA,oBACA,oBACA,oBACA,oBACA,oBACA,oBACA,oBACA,uBACA,uBACA,uBACA,uBACA,sBACA,uBACA,uBACA,uBACA,uBACA,uBACA,uBACA,sBACA,sBACA,sBACA,sBACA,sBACA,sBACA,sBACA,sBACA,sBACA,oBACA,oBACA,oBACA,oBACA,oBACA,oBACA,oBACA,oBACA,oBACA,uBACA,uBACA,uBACA,uBACA,sBACA,uBACA,uBACA,uBACA,uBACA,uBACA,uBACA,mBACA,mBACA,mBACA,mBACA,mBACA,mBACA,mBACA,mBACA,mBACA,sBACA,sBACA,sBACA,sBACA,sBACA,sBACA,sBACA,sBACA","file":"revamp.css"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
:root{--z-index-lowest: -3;--z-index-lower: -1;--z-index-normal: 1;--z-index-high: 200;--z-index-higher: 1000;--z-index-draft: --z-index-higher;--z-index-context: 50000;--always-visible: 50010;--z-index-context-upper: 50010;--z-index-preview: 80000;--z-index-modal: 100000;--z-index-highest: 200000}/*# sourceMappingURL=z-index.css.map */
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sourceRoot":"","sources":["../../../src/vars/z-index.scss"],"names":[],"mappings":"AAAA,MACE,qBACA,oBACA,oBACA,oBACA,uBACA,kCACA,yBACA,wBACA,+BACA,yBACA,wBACA","file":"z-index.css"}
|
package/package.json
ADDED
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@drumee/ui-styles",
|
|
3
|
+
"version": "1.0.0",
|
|
4
|
+
"description": "Drumee reusable SASS component library",
|
|
5
|
+
"main": "dist/css/main.css",
|
|
6
|
+
"style": "dist/css/main.css",
|
|
7
|
+
"sass": "./src/main.scss",
|
|
8
|
+
"homepage": "https://drumee.com",
|
|
9
|
+
"author": "Somanos Sar <somanos@drumee.com> (http://drumee.com)",
|
|
10
|
+
"repository": {
|
|
11
|
+
"type": "git",
|
|
12
|
+
"url": "git@github.com:drumee/ui-team.git"
|
|
13
|
+
},
|
|
14
|
+
"bugs": {
|
|
15
|
+
"url": "https://github.com/drumee/ui-team/issues/"
|
|
16
|
+
},
|
|
17
|
+
"files": [
|
|
18
|
+
"dist/",
|
|
19
|
+
"src/",
|
|
20
|
+
"README.md"
|
|
21
|
+
],
|
|
22
|
+
"scripts": {
|
|
23
|
+
"build": "sass src:dist/css --style=compressed",
|
|
24
|
+
"build:dev": "sass src:dist/css --watch",
|
|
25
|
+
"prepublishOnly": "npm run build",
|
|
26
|
+
"release": "git push && npm publish --access public && npm version patch"
|
|
27
|
+
},
|
|
28
|
+
"keywords": [
|
|
29
|
+
"sass",
|
|
30
|
+
"scss",
|
|
31
|
+
"css",
|
|
32
|
+
"styles"
|
|
33
|
+
],
|
|
34
|
+
"license": "MIT",
|
|
35
|
+
"devDependencies": {
|
|
36
|
+
"sass": "^1.66.0"
|
|
37
|
+
},
|
|
38
|
+
"peerDependencies": {
|
|
39
|
+
"sass": "^1.66.0"
|
|
40
|
+
}
|
|
41
|
+
}
|
|
@@ -0,0 +1,317 @@
|
|
|
1
|
+
@use 'vendor';
|
|
2
|
+
|
|
3
|
+
.u-jc-center {
|
|
4
|
+
@include vendor.justify(center);
|
|
5
|
+
}
|
|
6
|
+
|
|
7
|
+
.u-jc-start {
|
|
8
|
+
@include vendor.justify(flex-start);
|
|
9
|
+
}
|
|
10
|
+
|
|
11
|
+
.u-jc-end {
|
|
12
|
+
@include vendor.justify(flex-end);
|
|
13
|
+
}
|
|
14
|
+
|
|
15
|
+
.u-jc-sb {
|
|
16
|
+
@include vendor.justify(space-between);
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
.u-jc-sa {
|
|
20
|
+
@include vendor.justify(space-around);
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
.u-jc-st {
|
|
24
|
+
@include vendor.justify(stretch);
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
.u-ac-center {
|
|
28
|
+
@include vendor.align-content(center);
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
.u-ac-start {
|
|
32
|
+
@include vendor.align-content(flex-start);
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
.u-ac-end {
|
|
36
|
+
@include vendor.align-content(flex-end);
|
|
37
|
+
}
|
|
38
|
+
|
|
39
|
+
.u-ai-center {
|
|
40
|
+
@include vendor.align-items(center);
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
.u-ai-start {
|
|
44
|
+
@include vendor.align-items(flex-start);
|
|
45
|
+
}
|
|
46
|
+
|
|
47
|
+
.u-ai-end {
|
|
48
|
+
@include vendor.align-items(flex-end);
|
|
49
|
+
}
|
|
50
|
+
|
|
51
|
+
.u-as-center {
|
|
52
|
+
align-self: center;
|
|
53
|
+
}
|
|
54
|
+
|
|
55
|
+
.u-as-end {
|
|
56
|
+
align-self: flex-end;
|
|
57
|
+
}
|
|
58
|
+
|
|
59
|
+
.u-as-start {
|
|
60
|
+
align-self: flex-start;
|
|
61
|
+
}
|
|
62
|
+
|
|
63
|
+
.u-fd-column {
|
|
64
|
+
flex-direction: column !important
|
|
65
|
+
}
|
|
66
|
+
|
|
67
|
+
;
|
|
68
|
+
|
|
69
|
+
.u-fd-row {
|
|
70
|
+
flex-direction: row !important
|
|
71
|
+
}
|
|
72
|
+
|
|
73
|
+
;
|
|
74
|
+
|
|
75
|
+
.u-fd-columnr {
|
|
76
|
+
flex-direction: column-reverse !important
|
|
77
|
+
}
|
|
78
|
+
|
|
79
|
+
;
|
|
80
|
+
|
|
81
|
+
.u-fd-rowr {
|
|
82
|
+
flex-direction: row-reverse !important
|
|
83
|
+
}
|
|
84
|
+
|
|
85
|
+
;
|
|
86
|
+
|
|
87
|
+
.u-fw-wrap {
|
|
88
|
+
flex-wrap: wrap;
|
|
89
|
+
}
|
|
90
|
+
|
|
91
|
+
.u-fw-nowrap {
|
|
92
|
+
flex-wrap: nowrap;
|
|
93
|
+
}
|
|
94
|
+
|
|
95
|
+
.u-flex-grow {
|
|
96
|
+
flex-grow: 1
|
|
97
|
+
}
|
|
98
|
+
|
|
99
|
+
;
|
|
100
|
+
|
|
101
|
+
.text-center {
|
|
102
|
+
text-align: center
|
|
103
|
+
}
|
|
104
|
+
|
|
105
|
+
.w-100 {
|
|
106
|
+
width: 100% !important;
|
|
107
|
+
}
|
|
108
|
+
|
|
109
|
+
.h-100 {
|
|
110
|
+
height: 100% !important;
|
|
111
|
+
}
|
|
112
|
+
|
|
113
|
+
.clickable {
|
|
114
|
+
cursor: pointer;
|
|
115
|
+
}
|
|
116
|
+
|
|
117
|
+
@include vendor.margin-list(margin-top, 120);
|
|
118
|
+
@include vendor.margin-list(margin-bottom, 120);
|
|
119
|
+
@include vendor.margin-list(margin-left, 120);
|
|
120
|
+
@include vendor.margin-list(margin-right, 120);
|
|
121
|
+
@include vendor.margin-list(padding-top, 120);
|
|
122
|
+
@include vendor.margin-list(padding-bottom, 120);
|
|
123
|
+
@include vendor.margin-list(padding-left, 120);
|
|
124
|
+
@include vendor.margin-list(padding-right, 120);
|
|
125
|
+
@include vendor.margin-list(padding, 120);
|
|
126
|
+
@include vendor.margin-list(margin, 120);
|
|
127
|
+
@include vendor.margin-list(padding-hor, 120);
|
|
128
|
+
@include vendor.margin-list(margin-hor, 120);
|
|
129
|
+
@include vendor.margin-list(padding-vert, 120);
|
|
130
|
+
@include vendor.margin-list(margin-vert, 120);
|
|
131
|
+
@include vendor.margin-list-md(margin-top, 120);
|
|
132
|
+
@include vendor.margin-list-md(margin-bottom, 120);
|
|
133
|
+
@include vendor.margin-list-md(margin-left, 120);
|
|
134
|
+
@include vendor.margin-list-md(margin-right, 120);
|
|
135
|
+
@include vendor.margin-list-md(padding-top, 120);
|
|
136
|
+
@include vendor.margin-list-md(padding-bottom, 120);
|
|
137
|
+
@include vendor.margin-list-md(padding-left, 120);
|
|
138
|
+
@include vendor.margin-list-md(padding-right, 120);
|
|
139
|
+
@include vendor.margin-list-md(padding, 120);
|
|
140
|
+
@include vendor.margin-list-md(margin, 120);
|
|
141
|
+
@include vendor.margin-list-md(padding-hor, 120);
|
|
142
|
+
@include vendor.margin-list-md(margin-hor, 120);
|
|
143
|
+
@include vendor.margin-list-md(padding-vert, 120);
|
|
144
|
+
@include vendor.margin-list-md(margin-vert, 120);
|
|
145
|
+
@include vendor.z-index(10);
|
|
146
|
+
|
|
147
|
+
|
|
148
|
+
.auto {
|
|
149
|
+
width: auto;
|
|
150
|
+
height: auto;
|
|
151
|
+
}
|
|
152
|
+
|
|
153
|
+
|
|
154
|
+
.margin-auto-v {
|
|
155
|
+
margin-top: auto !important;
|
|
156
|
+
margin-bottom: auto !important;
|
|
157
|
+
}
|
|
158
|
+
|
|
159
|
+
.margin-auto-h {
|
|
160
|
+
margin-left: auto !important;
|
|
161
|
+
margin-right: auto !important;
|
|
162
|
+
}
|
|
163
|
+
|
|
164
|
+
.absolute {
|
|
165
|
+
position: absolute !important;
|
|
166
|
+
top: 0;
|
|
167
|
+
left: 0;
|
|
168
|
+
}
|
|
169
|
+
|
|
170
|
+
.out-of-screen,
|
|
171
|
+
.file-selector__ui {
|
|
172
|
+
position: absolute !important;
|
|
173
|
+
left: -100000px;
|
|
174
|
+
top: -100000px;
|
|
175
|
+
visibility: hidden;
|
|
176
|
+
}
|
|
177
|
+
|
|
178
|
+
.fill-up {
|
|
179
|
+
position: absolute !important;
|
|
180
|
+
left: 0;
|
|
181
|
+
top: 0;
|
|
182
|
+
bottom: 0;
|
|
183
|
+
right: 0;
|
|
184
|
+
|
|
185
|
+
&[data-visible="no"] {
|
|
186
|
+
visibility: visible;
|
|
187
|
+
z-index: -1000;
|
|
188
|
+
left: -5000px;
|
|
189
|
+
top: -5000px;
|
|
190
|
+
width: 0;
|
|
191
|
+
height: 0;
|
|
192
|
+
}
|
|
193
|
+
}
|
|
194
|
+
|
|
195
|
+
.cursor-pointer,
|
|
196
|
+
.pointer,
|
|
197
|
+
.clickable {
|
|
198
|
+
cursor: pointer !important;
|
|
199
|
+
}
|
|
200
|
+
|
|
201
|
+
.cursor-help {
|
|
202
|
+
cursor: help !important;
|
|
203
|
+
}
|
|
204
|
+
|
|
205
|
+
.margin-auto {
|
|
206
|
+
margin: auto !important;
|
|
207
|
+
}
|
|
208
|
+
|
|
209
|
+
.selectable-text {
|
|
210
|
+
-webkit-user-select: text;
|
|
211
|
+
/* Chrome 49+ */
|
|
212
|
+
-moz-user-select: text;
|
|
213
|
+
/* Firefox 43+ */
|
|
214
|
+
-ms-user-select: text;
|
|
215
|
+
/* No support yet */
|
|
216
|
+
user-select: text;
|
|
217
|
+
}
|
|
218
|
+
|
|
219
|
+
.fatal-error {
|
|
220
|
+
width: 100%;
|
|
221
|
+
}
|
|
222
|
+
|
|
223
|
+
[data-state="closed"] {
|
|
224
|
+
z-index: -1 !important;
|
|
225
|
+
visibility: hidden !important;
|
|
226
|
+
height: 0 !important;
|
|
227
|
+
width: 0 !important;
|
|
228
|
+
margin: 0 !important;
|
|
229
|
+
padding: 0 !important;
|
|
230
|
+
}
|
|
231
|
+
|
|
232
|
+
[data-state="open"] {
|
|
233
|
+
z-index: var(--z-index-context) !important;
|
|
234
|
+
visibility: visible;
|
|
235
|
+
}
|
|
236
|
+
|
|
237
|
+
[data-hide="yes"] {
|
|
238
|
+
visibility: hidden;
|
|
239
|
+
z-index: -2;
|
|
240
|
+
display: none !important;
|
|
241
|
+
}
|
|
242
|
+
|
|
243
|
+
[data-hide="no"] {
|
|
244
|
+
z-index: 20000;
|
|
245
|
+
visibility: visible;
|
|
246
|
+
}
|
|
247
|
+
|
|
248
|
+
[data-position="absolute"] {
|
|
249
|
+
position: absolute !important;
|
|
250
|
+
}
|
|
251
|
+
|
|
252
|
+
|
|
253
|
+
[contenteditable=true]:empty:before {
|
|
254
|
+
content: attr(placeholder);
|
|
255
|
+
display: block;
|
|
256
|
+
/* For Firefox */
|
|
257
|
+
}
|
|
258
|
+
|
|
259
|
+
strong {
|
|
260
|
+
font-weight: bold !important;
|
|
261
|
+
}
|
|
262
|
+
|
|
263
|
+
.no-padding {
|
|
264
|
+
padding: 0 !important;
|
|
265
|
+
}
|
|
266
|
+
|
|
267
|
+
.no-border {
|
|
268
|
+
border: none !important;
|
|
269
|
+
}
|
|
270
|
+
|
|
271
|
+
|
|
272
|
+
.first {
|
|
273
|
+
float: left;
|
|
274
|
+
margin-left: 0;
|
|
275
|
+
}
|
|
276
|
+
|
|
277
|
+
.last {
|
|
278
|
+
float: right;
|
|
279
|
+
margin-right: 0;
|
|
280
|
+
}
|
|
281
|
+
|
|
282
|
+
.full {
|
|
283
|
+
width: 100%;
|
|
284
|
+
height: 100%;
|
|
285
|
+
}
|
|
286
|
+
|
|
287
|
+
.full-height {
|
|
288
|
+
height: 100%;
|
|
289
|
+
}
|
|
290
|
+
|
|
291
|
+
.full-x {
|
|
292
|
+
height: 100%;
|
|
293
|
+
height: auto;
|
|
294
|
+
}
|
|
295
|
+
|
|
296
|
+
.full-width {
|
|
297
|
+
width: 100%;
|
|
298
|
+
}
|
|
299
|
+
|
|
300
|
+
.half {
|
|
301
|
+
clear: both;
|
|
302
|
+
width: 90%;
|
|
303
|
+
float: left;
|
|
304
|
+
}
|
|
305
|
+
|
|
306
|
+
.quarter {
|
|
307
|
+
clear: both;
|
|
308
|
+
width: 25%;
|
|
309
|
+
float: left;
|
|
310
|
+
}
|
|
311
|
+
|
|
312
|
+
.colon {
|
|
313
|
+
&:after {
|
|
314
|
+
content: ":";
|
|
315
|
+
}
|
|
316
|
+
}
|
|
317
|
+
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
/* ==================================================================== *
|
|
2
|
+
* FILE : src/drumee/skin/mixins/box-shadow
|
|
3
|
+
* TYPE : vendor prefixes for sass filess
|
|
4
|
+
* ==================================================================== */
|
|
5
|
+
|
|
6
|
+
@mixin box-shadow($size: 13) {
|
|
7
|
+
@if $size ==400 {
|
|
8
|
+
box-shadow: 0 -2px 8px 1px rgba(63, 79, 117, 0.13), 0 5px 12px 0 rgba(86, 65, 113, 0.08), 0 -2px 4px 0 rgba(194, 185, 203, 0);
|
|
9
|
+
}
|
|
10
|
+
|
|
11
|
+
@else {
|
|
12
|
+
box-shadow: 0 0 7px 0 rgba(0, 0, 0, 0.14), 0 0 6px 0 #F8FAFC, 0 3px 5px 0 rgba(0, 0, 0, 0.2);
|
|
13
|
+
}
|
|
14
|
+
}
|
|
15
|
+
|
|
16
|
+
@mixin shadow-breadscrum() {
|
|
17
|
+
box-shadow: 0 6px 10px 1px rgba(63, 79, 117, .13), 0 7px 20px 0 rgba(86, 65, 113, .08), 0 3px 17px 0 rgba(194, 185, 203, 0);
|
|
18
|
+
border-radius: 0px 0px 6px 6px;
|
|
19
|
+
background-color: var(--ewhite);
|
|
20
|
+
}
|
|
21
|
+
|
|
22
|
+
@mixin drumee-breadscrum() {
|
|
23
|
+
box-shadow: 0 5px 8px 1px rgba(63, 79, 117, .13), 0 6px 16px 0 rgba(86, 65, 113, .08), 0 2px 14px 0 rgba(194, 185, 203, 0);
|
|
24
|
+
}
|
|
@@ -0,0 +1,268 @@
|
|
|
1
|
+
/* =================================================================== *
|
|
2
|
+
# Copyright Xialia.com 2011-2016 *
|
|
3
|
+
# FILE : src/drumee/skin/global/button
|
|
4
|
+
# TYPE : Global styles, for the whole platform
|
|
5
|
+
# ==================================================================== */
|
|
6
|
+
|
|
7
|
+
@use './typo';
|
|
8
|
+
|
|
9
|
+
.button-nested {
|
|
10
|
+
&[data-selected="on"] {
|
|
11
|
+
z-index: 100;
|
|
12
|
+
}
|
|
13
|
+
}
|
|
14
|
+
|
|
15
|
+
.button-icon {
|
|
16
|
+
align-items: center;
|
|
17
|
+
overflow: visible;
|
|
18
|
+
white-space: nowrap;
|
|
19
|
+
display: flex;
|
|
20
|
+
|
|
21
|
+
svg {
|
|
22
|
+
flex-shrink: 0;
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
&[data-icon--position="left"],
|
|
26
|
+
&[data-icon--position="none"] {
|
|
27
|
+
align-items: center;
|
|
28
|
+
flex-direction: row;
|
|
29
|
+
justify-content: flex-start;
|
|
30
|
+
|
|
31
|
+
svg {
|
|
32
|
+
margin-bottom: 0;
|
|
33
|
+
margin-left: 0;
|
|
34
|
+
margin-top: 0;
|
|
35
|
+
}
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
&[data-icon--position="top"] {
|
|
39
|
+
flex-direction: column;
|
|
40
|
+
align-items: center;
|
|
41
|
+
|
|
42
|
+
svg {
|
|
43
|
+
margin-right: 0;
|
|
44
|
+
margin-left: 0;
|
|
45
|
+
margin-top: 0;
|
|
46
|
+
}
|
|
47
|
+
}
|
|
48
|
+
|
|
49
|
+
&[data-icon--position="right"] {
|
|
50
|
+
flex-direction: row-reverse;
|
|
51
|
+
align-items: center;
|
|
52
|
+
height: auto !important;
|
|
53
|
+
|
|
54
|
+
svg {
|
|
55
|
+
margin-right: 0;
|
|
56
|
+
margin-left: 0;
|
|
57
|
+
margin-top: 0;
|
|
58
|
+
}
|
|
59
|
+
|
|
60
|
+
/*margin: 0 auto;*/
|
|
61
|
+
}
|
|
62
|
+
|
|
63
|
+
&[data-icon--position="no-text"] {
|
|
64
|
+
.note-content {
|
|
65
|
+
display: none;
|
|
66
|
+
}
|
|
67
|
+
|
|
68
|
+
svg.icon_button {
|
|
69
|
+
margin: 0 !important;
|
|
70
|
+
}
|
|
71
|
+
}
|
|
72
|
+
|
|
73
|
+
&[data-icon--position="no-icon"] {
|
|
74
|
+
svg.icon_button {
|
|
75
|
+
display: none;
|
|
76
|
+
}
|
|
77
|
+
}
|
|
78
|
+
}
|
|
79
|
+
|
|
80
|
+
.button-reader {
|
|
81
|
+
align-items: center;
|
|
82
|
+
justify-content: center;
|
|
83
|
+
}
|
|
84
|
+
|
|
85
|
+
.button-switch {
|
|
86
|
+
&__toggle {
|
|
87
|
+
cursor: pointer;
|
|
88
|
+
user-select: none;
|
|
89
|
+
align-items: center;
|
|
90
|
+
|
|
91
|
+
&.change {
|
|
92
|
+
height: 100%;
|
|
93
|
+
|
|
94
|
+
&::before {
|
|
95
|
+
content: " ";
|
|
96
|
+
width: 12px;
|
|
97
|
+
height: 12px;
|
|
98
|
+
top: 6px;
|
|
99
|
+
border-radius: 50%;
|
|
100
|
+
visibility: hidden;
|
|
101
|
+
}
|
|
102
|
+
|
|
103
|
+
&::after {
|
|
104
|
+
content: " ";
|
|
105
|
+
width: 12px;
|
|
106
|
+
height: 12px;
|
|
107
|
+
top: 6px;
|
|
108
|
+
border-radius: 50%;
|
|
109
|
+
visibility: hidden;
|
|
110
|
+
}
|
|
111
|
+
|
|
112
|
+
&[data-radio="on"] {
|
|
113
|
+
&::before {
|
|
114
|
+
visibility: hidden;
|
|
115
|
+
}
|
|
116
|
+
|
|
117
|
+
&::after {
|
|
118
|
+
visibility: visible;
|
|
119
|
+
}
|
|
120
|
+
}
|
|
121
|
+
|
|
122
|
+
&[data-radio="off"] {
|
|
123
|
+
&::before {
|
|
124
|
+
visibility: visible;
|
|
125
|
+
}
|
|
126
|
+
|
|
127
|
+
&::after {
|
|
128
|
+
visibility: hidden;
|
|
129
|
+
}
|
|
130
|
+
}
|
|
131
|
+
}
|
|
132
|
+
}
|
|
133
|
+
}
|
|
134
|
+
|
|
135
|
+
|
|
136
|
+
.drumee-widget.btn {
|
|
137
|
+
cursor: pointer;
|
|
138
|
+
height: 35px;
|
|
139
|
+
width: 115px;
|
|
140
|
+
border-radius: var(--border-radius); //6px;
|
|
141
|
+
justify-content: center;
|
|
142
|
+
align-items: center;
|
|
143
|
+
display: flex;
|
|
144
|
+
|
|
145
|
+
&--regular {
|
|
146
|
+
background-color: #FFFFFF;
|
|
147
|
+
border: 1px solid #F1F1F6;
|
|
148
|
+
@include typo.typo($size: 16px, $line: 25px, $weight: 400, $color: var(--egrey-2f));
|
|
149
|
+
|
|
150
|
+
&:hover {
|
|
151
|
+
color: #5a5a5a;
|
|
152
|
+
}
|
|
153
|
+
}
|
|
154
|
+
|
|
155
|
+
&--inactive {
|
|
156
|
+
background-color: #a6a8a4;
|
|
157
|
+
border: 1px solid #a6a8a4;
|
|
158
|
+
@include typo.typo($size: 16px, $line: 34px, $weight: 400, $color: var(--ewhite));
|
|
159
|
+
pointer-events: none;
|
|
160
|
+
}
|
|
161
|
+
|
|
162
|
+
&--warning {
|
|
163
|
+
background-color: #FF7479;
|
|
164
|
+
border: 1px solid #FF7479;
|
|
165
|
+
@include typo.typo($size: 16px, $line: 34px, $weight: 400, $color: var(--ewhite));
|
|
166
|
+
|
|
167
|
+
&:hover {
|
|
168
|
+
background-color: #ff8e91;
|
|
169
|
+
border-color: #ff8e91;
|
|
170
|
+
}
|
|
171
|
+
}
|
|
172
|
+
|
|
173
|
+
&--cancel {
|
|
174
|
+
background-color: #FF7479;
|
|
175
|
+
border: 1px solid #FF7479;
|
|
176
|
+
@include typo.typo($size: 16px, $line: 34px, $weight: 400, $color: var(--ewhite));
|
|
177
|
+
|
|
178
|
+
&:hover {
|
|
179
|
+
background-color: #ff8e91;
|
|
180
|
+
border-color: #ff8e91;
|
|
181
|
+
}
|
|
182
|
+
}
|
|
183
|
+
|
|
184
|
+
&--confirm,
|
|
185
|
+
&--go {
|
|
186
|
+
background-color: var(--btn-commit-background); //#18a3ac;// #18AC72;
|
|
187
|
+
border: 1px solid var(--btn-commit-border); //#18a3ac;//#18AC72;
|
|
188
|
+
@include typo.typo($size: 16px, $line: 25px, $color: var(--btn-commit-text)); //$weight:400
|
|
189
|
+
cursor: pointer;
|
|
190
|
+
pointer-events: all;
|
|
191
|
+
|
|
192
|
+
&:hover {
|
|
193
|
+
background-color: var(--btn-commit-background-hover); // #3fbd8d;
|
|
194
|
+
border-color: var(--btn-commit-border-hover); //#3fbd8d;
|
|
195
|
+
}
|
|
196
|
+
}
|
|
197
|
+
|
|
198
|
+
&--other {
|
|
199
|
+
background-color: var(--eblue);
|
|
200
|
+
border: 1px solid var(--eblue);
|
|
201
|
+
@include typo.typo($size: 16px, $line: 34px, $weight: 400, $color: var(--ewhite));
|
|
202
|
+
|
|
203
|
+
&:hover {
|
|
204
|
+
background-color: #6da6e9;
|
|
205
|
+
border-color: #6da6e9;
|
|
206
|
+
}
|
|
207
|
+
}
|
|
208
|
+
|
|
209
|
+
&--neutral {
|
|
210
|
+
background-color: #f7f7fa;
|
|
211
|
+
border: 1px solid #f7f7fa;
|
|
212
|
+
@include typo.typo($size: 16px, $line: 34px, $weight: 400, $color: #2F2F2F);
|
|
213
|
+
|
|
214
|
+
&:hover {
|
|
215
|
+
opacity: 0.6;
|
|
216
|
+
}
|
|
217
|
+
}
|
|
218
|
+
|
|
219
|
+
&--cancel-text {
|
|
220
|
+
color: #E9223B;
|
|
221
|
+
}
|
|
222
|
+
|
|
223
|
+
&--small {
|
|
224
|
+
font-size: 12px;
|
|
225
|
+
line-height: 24px;
|
|
226
|
+
height: 26px;
|
|
227
|
+
width: 80px;
|
|
228
|
+
}
|
|
229
|
+
|
|
230
|
+
&--big {
|
|
231
|
+
width: 200px;
|
|
232
|
+
font-size: 14px;
|
|
233
|
+
}
|
|
234
|
+
}
|
|
235
|
+
|
|
236
|
+
.save-style__btn.login {
|
|
237
|
+
cursor: pointer;
|
|
238
|
+
height: 36px;
|
|
239
|
+
width: 170px;
|
|
240
|
+
border-radius: 2px;
|
|
241
|
+
justify-content: center;
|
|
242
|
+
background-color: #18AC72;
|
|
243
|
+
border: 1px solid #18AC72;
|
|
244
|
+
text-align: center;
|
|
245
|
+
@include typo.typo($size: 16px, $line: 34px, $weight: 400, $color: var(--ewhite));
|
|
246
|
+
|
|
247
|
+
&:hover {
|
|
248
|
+
background-color: #3fbd8d;
|
|
249
|
+
border-color: #3fbd8d;
|
|
250
|
+
}
|
|
251
|
+
}
|
|
252
|
+
|
|
253
|
+
//******* others common
|
|
254
|
+
.popup__btn-group--save-icon {
|
|
255
|
+
padding-bottom: 50px;
|
|
256
|
+
|
|
257
|
+
&.public {
|
|
258
|
+
padding-bottom: 47px;
|
|
259
|
+
}
|
|
260
|
+
}
|
|
261
|
+
|
|
262
|
+
.popup__btn-group--save-icon {
|
|
263
|
+
padding-bottom: 50px;
|
|
264
|
+
|
|
265
|
+
&.public {
|
|
266
|
+
padding-bottom: 47px;
|
|
267
|
+
}
|
|
268
|
+
}
|