@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,307 @@
|
|
|
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
|
+
|
|
118
|
+
|
|
119
|
+
.auto {
|
|
120
|
+
width: auto;
|
|
121
|
+
height: auto;
|
|
122
|
+
}
|
|
123
|
+
|
|
124
|
+
|
|
125
|
+
.margin-auto-v {
|
|
126
|
+
margin-top: auto !important;
|
|
127
|
+
margin-bottom: auto !important;
|
|
128
|
+
}
|
|
129
|
+
|
|
130
|
+
.margin-auto-h {
|
|
131
|
+
margin-left: auto !important;
|
|
132
|
+
margin-right: auto !important;
|
|
133
|
+
}
|
|
134
|
+
|
|
135
|
+
.absolute {
|
|
136
|
+
position: absolute !important;
|
|
137
|
+
top: 0;
|
|
138
|
+
left: 0;
|
|
139
|
+
}
|
|
140
|
+
|
|
141
|
+
.out-of-screen,
|
|
142
|
+
.file-selector__ui {
|
|
143
|
+
position: absolute !important;
|
|
144
|
+
left: -100000px;
|
|
145
|
+
top: -100000px;
|
|
146
|
+
visibility: hidden;
|
|
147
|
+
}
|
|
148
|
+
|
|
149
|
+
.fill-up {
|
|
150
|
+
position: absolute !important;
|
|
151
|
+
left: 0;
|
|
152
|
+
top: 0;
|
|
153
|
+
bottom: 0;
|
|
154
|
+
right: 0;
|
|
155
|
+
|
|
156
|
+
&[data-visible="no"] {
|
|
157
|
+
visibility: visible;
|
|
158
|
+
z-index: -1000;
|
|
159
|
+
left: -5000px;
|
|
160
|
+
top: -5000px;
|
|
161
|
+
width: 0;
|
|
162
|
+
height: 0;
|
|
163
|
+
}
|
|
164
|
+
}
|
|
165
|
+
|
|
166
|
+
.cursor-pointer,
|
|
167
|
+
.pointer,
|
|
168
|
+
.clickable {
|
|
169
|
+
cursor: pointer !important;
|
|
170
|
+
}
|
|
171
|
+
|
|
172
|
+
.cursor-help {
|
|
173
|
+
cursor: help !important;
|
|
174
|
+
}
|
|
175
|
+
|
|
176
|
+
.margin-auto {
|
|
177
|
+
margin: auto !important;
|
|
178
|
+
}
|
|
179
|
+
|
|
180
|
+
.selectable-text {
|
|
181
|
+
-webkit-user-select: text;
|
|
182
|
+
/* Chrome 49+ */
|
|
183
|
+
-moz-user-select: text;
|
|
184
|
+
/* Firefox 43+ */
|
|
185
|
+
-ms-user-select: text;
|
|
186
|
+
/* No support yet */
|
|
187
|
+
user-select: text;
|
|
188
|
+
}
|
|
189
|
+
|
|
190
|
+
.selectable-text-all {
|
|
191
|
+
-webkit-user-select: all;
|
|
192
|
+
/* Chrome 49+ */
|
|
193
|
+
-moz-user-select: all;
|
|
194
|
+
/* Firefox 43+ */
|
|
195
|
+
-ms-user-select: all;
|
|
196
|
+
/* No support yet */
|
|
197
|
+
user-select: all;
|
|
198
|
+
}
|
|
199
|
+
|
|
200
|
+
.fatal-error {
|
|
201
|
+
width: 100%;
|
|
202
|
+
}
|
|
203
|
+
|
|
204
|
+
[data-state="closed"] {
|
|
205
|
+
z-index: -1 !important;
|
|
206
|
+
visibility: hidden !important;
|
|
207
|
+
//opacity:0 !important;
|
|
208
|
+
height: 0 !important;
|
|
209
|
+
width: 0 !important;
|
|
210
|
+
margin: 0 !important;
|
|
211
|
+
padding: 0 !important;
|
|
212
|
+
}
|
|
213
|
+
|
|
214
|
+
[data-state="open"] {
|
|
215
|
+
z-index: var(--z-index-context) !important;
|
|
216
|
+
visibility: visible;
|
|
217
|
+
//opacity:1;
|
|
218
|
+
}
|
|
219
|
+
|
|
220
|
+
[data-hide="yes"] {
|
|
221
|
+
visibility: hidden;
|
|
222
|
+
z-index: -2;
|
|
223
|
+
display: none !important;
|
|
224
|
+
}
|
|
225
|
+
|
|
226
|
+
[data-hide="no"] {
|
|
227
|
+
z-index: 20000;
|
|
228
|
+
visibility: visible;
|
|
229
|
+
}
|
|
230
|
+
|
|
231
|
+
[data-position="absolute"] {
|
|
232
|
+
position: absolute !important;
|
|
233
|
+
}
|
|
234
|
+
|
|
235
|
+
// [data-status="error"]{
|
|
236
|
+
// color:red;
|
|
237
|
+
// border:red 1px solid;
|
|
238
|
+
// }
|
|
239
|
+
|
|
240
|
+
[contenteditable=true]:empty:before {
|
|
241
|
+
content: attr(placeholder);
|
|
242
|
+
display: block;
|
|
243
|
+
/* For Firefox */
|
|
244
|
+
}
|
|
245
|
+
|
|
246
|
+
strong {
|
|
247
|
+
font-weight: bold !important;
|
|
248
|
+
}
|
|
249
|
+
|
|
250
|
+
.no-padding {
|
|
251
|
+
padding: 0 !important;
|
|
252
|
+
}
|
|
253
|
+
|
|
254
|
+
.no-border {
|
|
255
|
+
border: none !important;
|
|
256
|
+
}
|
|
257
|
+
|
|
258
|
+
|
|
259
|
+
.first {
|
|
260
|
+
float: left;
|
|
261
|
+
margin-left: 0;
|
|
262
|
+
}
|
|
263
|
+
|
|
264
|
+
.last {
|
|
265
|
+
float: right;
|
|
266
|
+
margin-right: 0;
|
|
267
|
+
}
|
|
268
|
+
|
|
269
|
+
.full {
|
|
270
|
+
//clear: both;
|
|
271
|
+
width: 100%;
|
|
272
|
+
height: 100%;
|
|
273
|
+
//float: left;
|
|
274
|
+
}
|
|
275
|
+
|
|
276
|
+
.full-height {
|
|
277
|
+
height: 100%;
|
|
278
|
+
}
|
|
279
|
+
|
|
280
|
+
.full-x {
|
|
281
|
+
height: 100%;
|
|
282
|
+
height: auto;
|
|
283
|
+
}
|
|
284
|
+
|
|
285
|
+
.full-width {
|
|
286
|
+
width: 100%;
|
|
287
|
+
}
|
|
288
|
+
|
|
289
|
+
.half {
|
|
290
|
+
clear: both;
|
|
291
|
+
width: 90%;
|
|
292
|
+
float: left;
|
|
293
|
+
}
|
|
294
|
+
|
|
295
|
+
.quarter {
|
|
296
|
+
clear: both;
|
|
297
|
+
width: 25%;
|
|
298
|
+
float: left;
|
|
299
|
+
}
|
|
300
|
+
|
|
301
|
+
//.dots,
|
|
302
|
+
.colon {
|
|
303
|
+
&:after {
|
|
304
|
+
content: ":";
|
|
305
|
+
}
|
|
306
|
+
}
|
|
307
|
+
|
|
@@ -0,0 +1,179 @@
|
|
|
1
|
+
@mixin placeholder($color) {
|
|
2
|
+
&::-webkit-input-placeholder {
|
|
3
|
+
color: $color;
|
|
4
|
+
}
|
|
5
|
+
&::-moz-placeholder {
|
|
6
|
+
color: $color;
|
|
7
|
+
}
|
|
8
|
+
&:-ms-input-placeholder {
|
|
9
|
+
color: $color;
|
|
10
|
+
}
|
|
11
|
+
&:-moz-placeholder {
|
|
12
|
+
color: $color;
|
|
13
|
+
}
|
|
14
|
+
}
|
|
15
|
+
|
|
16
|
+
@mixin vendor($property, $val){
|
|
17
|
+
-webkit-#{$property}: $val;
|
|
18
|
+
-moz-#{$property}: $val;
|
|
19
|
+
-ms-#{$property}: $val;
|
|
20
|
+
#{$property}: $val;
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
@mixin vendor-ad($property-out, $property, $val){
|
|
24
|
+
#{$property-out}: -webkit-#{$property} ($val);
|
|
25
|
+
#{$property-out}: -moz-#{$property} ($val);
|
|
26
|
+
#{$property-out}: -ms-#{$property} ($val);
|
|
27
|
+
#{$property-out}: #{$property} ($val);
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
@mixin rotate($val){
|
|
31
|
+
-webkit-transform: rotate($val);
|
|
32
|
+
-moz-transform: rotate($val);
|
|
33
|
+
-ms-transform: rotate($val);
|
|
34
|
+
transform: rotate($val);
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
@mixin gradient($gradient...) {
|
|
38
|
+
background: -moz-linear-gradient($gradient);
|
|
39
|
+
background: -webkit-linear-gradient($gradient);
|
|
40
|
+
background: linear-gradient($gradient);
|
|
41
|
+
}
|
|
42
|
+
@mixin gradient_r($gradient...) {
|
|
43
|
+
background: -moz-radial-gradient($gradient);
|
|
44
|
+
background: -webkit-radial-gradient($gradient);
|
|
45
|
+
background: radial-gradient($gradient);
|
|
46
|
+
}
|
|
47
|
+
|
|
48
|
+
@mixin drumee-gradient {
|
|
49
|
+
background: #004f64;
|
|
50
|
+
}
|
|
51
|
+
|
|
52
|
+
@mixin drumee-box-shadow-1 {
|
|
53
|
+
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);
|
|
54
|
+
}
|
|
55
|
+
|
|
56
|
+
@mixin justify($prop, $state:"!important") {
|
|
57
|
+
@if $state=="!important" {
|
|
58
|
+
display: flex!important;
|
|
59
|
+
-webkit-justify-content: $prop!important;
|
|
60
|
+
justify-content: $prop!important;
|
|
61
|
+
}
|
|
62
|
+
@else {
|
|
63
|
+
display: flex;
|
|
64
|
+
-webkit-justify-content: $prop;
|
|
65
|
+
justify-content: $prop;
|
|
66
|
+
}
|
|
67
|
+
}
|
|
68
|
+
|
|
69
|
+
@mixin align-content($prop, $state:"!important") {
|
|
70
|
+
@if $state=="!important" {
|
|
71
|
+
display: flex!important;
|
|
72
|
+
-webkit-align-content: $prop!important;
|
|
73
|
+
align-content: $prop!important;
|
|
74
|
+
}
|
|
75
|
+
@else {
|
|
76
|
+
display: flex;
|
|
77
|
+
-webkit-align-content: $prop;
|
|
78
|
+
align-content: $prop;
|
|
79
|
+
}
|
|
80
|
+
}
|
|
81
|
+
|
|
82
|
+
@mixin align-items($prop, $state:"!important") {
|
|
83
|
+
@if $state=="!important" {
|
|
84
|
+
display: flex!important;
|
|
85
|
+
-webkit-align-items: $prop!important;
|
|
86
|
+
align-items: $prop!important;
|
|
87
|
+
}
|
|
88
|
+
@else {
|
|
89
|
+
display: flex;
|
|
90
|
+
-webkit-align-items: $prop;
|
|
91
|
+
align-items: $prop;
|
|
92
|
+
}
|
|
93
|
+
}
|
|
94
|
+
|
|
95
|
+
@mixin margin-list($direction, $num, $pref:'') {
|
|
96
|
+
@for $i from 0 through $num {
|
|
97
|
+
@if $direction == margin-top { .mt-#{$i} { #{$direction}: #{$i}px !important; } }
|
|
98
|
+
@else if $direction == margin-bottom { .mb-#{$i} { #{$direction}: #{$i}px !important; } }
|
|
99
|
+
@else if $direction == margin-left { .ml-#{$i} { #{$direction}: #{$i}px !important; } }
|
|
100
|
+
@else if $direction == margin-right { .mr-#{$i} { #{$direction}: #{$i}px !important; } }
|
|
101
|
+
@else if $direction == margin-hor { .mx-#{$i} { margin-left: #{$i}px !important; margin-right: #{$i}px !important; } }
|
|
102
|
+
@else if $direction == margin-vert { .my-#{$i} { margin-top: #{$i}px !important; margin-bottom: #{$i}px !important; } }
|
|
103
|
+
@else if $direction == padding-top { .pt-#{$i} { #{$direction}: #{$i}px !important; } }
|
|
104
|
+
@else if $direction == padding-hor { .px-#{$i} { padding-left: #{$i}px !important; padding-right: #{$i}px !important; } }
|
|
105
|
+
@else if $direction == padding-vert { .py-#{$i} { padding-top: #{$i}px !important; padding-bottom: #{$i}px !important; } }
|
|
106
|
+
@else if $direction == padding-bottom { .pb-#{$i} { #{$direction}: #{$i}px !important; } }
|
|
107
|
+
@else if $direction == padding-left { .pl-#{$i} { #{$direction}: #{$i}px !important; } }
|
|
108
|
+
@else if $direction == padding-right { .pr-#{$i} { #{$direction}: #{$i}px !important; } }
|
|
109
|
+
@else if $direction == margin { .m-#{$i} { #{$direction}: #{$i}px !important; } }
|
|
110
|
+
@else if $direction == padding { .p-#{$i} { #{$direction}: #{$i}px !important; } }
|
|
111
|
+
}
|
|
112
|
+
}
|
|
113
|
+
|
|
114
|
+
@mixin margin-list-md($direction, $num, $pref:'') {
|
|
115
|
+
@media (max-width: 991px) {
|
|
116
|
+
@for $i from 0 through $num {
|
|
117
|
+
@if $direction == margin-top { .mt-md-#{$i} { #{$direction}: #{$i}px !important; } }
|
|
118
|
+
@else if $direction == margin-bottom { .mb-md-#{$i} { #{$direction}: #{$i}px !important; } }
|
|
119
|
+
@else if $direction == margin-left { .ml-md-#{$i} { #{$direction}: #{$i}px !important; } }
|
|
120
|
+
@else if $direction == margin-right { .mr-md-#{$i} { #{$direction}: #{$i}px !important; } }
|
|
121
|
+
@else if $direction == margin-hor { .mx-md-#{$i} { margin-left: #{$i}px !important; margin-right: #{$i}px !important; } }
|
|
122
|
+
@else if $direction == margin-vert { .my-md-#{$i} { margin-top: #{$i}px !important; margin-bottom: #{$i}px !important; } }
|
|
123
|
+
@else if $direction == padding-top { .pt-md-#{$i} { #{$direction}: #{$i}px !important; } }
|
|
124
|
+
@else if $direction == padding-hor { .px-md-#{$i} { padding-left: #{$i}px !important; padding-right: #{$i}px !important; } }
|
|
125
|
+
@else if $direction == padding-vert { .py-md-#{$i} { padding-top: #{$i}px !important; padding-bottom: #{$i}px !important; } }
|
|
126
|
+
@else if $direction == padding-bottom { .pb-md-#{$i} { #{$direction}: #{$i}px !important; } }
|
|
127
|
+
@else if $direction == padding-left { .pl-md-#{$i} { #{$direction}: #{$i}px !important; } }
|
|
128
|
+
@else if $direction == padding-right { .pr-md-#{$i} { #{$direction}: #{$i}px !important; } }
|
|
129
|
+
@else if $direction == margin { .m-md-#{$i} { #{$direction}: #{$i}px !important; } }
|
|
130
|
+
@else if $direction == padding { .p-md-#{$i} { #{$direction}: #{$i}px !important; } }
|
|
131
|
+
}
|
|
132
|
+
}
|
|
133
|
+
}
|
|
134
|
+
|
|
135
|
+
@mixin z-index($num) {
|
|
136
|
+
@for $i from 0 through $num {
|
|
137
|
+
.z#{$i} { z-index: #{$i}; }
|
|
138
|
+
}
|
|
139
|
+
}
|
|
140
|
+
|
|
141
|
+
|
|
142
|
+
@mixin arrow-position($apos, $btnnum, $spacing: between, $blockwidth: 218px, $asize: 9.9px, $adir: "left", $btnsize: 30px, $buttonblockwidth: 212px) {
|
|
143
|
+
$const: 1.5px + (($blockwidth - $buttonblockwidth)/2);
|
|
144
|
+
@if $spacing == between {
|
|
145
|
+
&:before {
|
|
146
|
+
$btnBetweenSpace: ($buttonblockwidth - ($btnsize * $btnnum))/($btnnum - 1);
|
|
147
|
+
$btnIsnideSpace: ($btnsize - $asize) / 2;
|
|
148
|
+
$marginLeft: ($btnsize * ($apos - 1)) + ($btnBetweenSpace * ($apos - 1)) + $btnIsnideSpace;
|
|
149
|
+
#{$adir}: $const + $marginLeft;
|
|
150
|
+
}
|
|
151
|
+
}
|
|
152
|
+
@else if $spacing == evenly {
|
|
153
|
+
&:before {
|
|
154
|
+
$btnBetweenSpace: ($blockwidth - ($btnsize * $btnnum))/($btnnum + 1);
|
|
155
|
+
$btnIsnideSpace: ($btnsize - $asize) / 2;
|
|
156
|
+
$marginLeft: ($btnsize * ($apos - 1)) + ($btnBetweenSpace * ($apos - 1)) + $btnIsnideSpace;
|
|
157
|
+
#{$adir}: $const + $marginLeft;
|
|
158
|
+
}
|
|
159
|
+
}
|
|
160
|
+
}
|
|
161
|
+
|
|
162
|
+
@mixin placeholder-input {
|
|
163
|
+
&::-webkit-input-placeholder {@content};
|
|
164
|
+
&:-moz-placeholder {@content};
|
|
165
|
+
&::-moz-placeholder {@content};
|
|
166
|
+
&:-ms-input-placeholder {@content};
|
|
167
|
+
}
|
|
168
|
+
|
|
169
|
+
@mixin overflow-text {
|
|
170
|
+
white-space: nowrap;
|
|
171
|
+
overflow: hidden;
|
|
172
|
+
.note-content {
|
|
173
|
+
overflow: hidden;
|
|
174
|
+
}
|
|
175
|
+
.root-node {
|
|
176
|
+
overflow: hidden;
|
|
177
|
+
text-overflow: ellipsis;
|
|
178
|
+
}
|
|
179
|
+
}
|
package/src/main.scss
ADDED
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
@use "./vars/index";
|
|
2
|
+
@use "./lib/reset";
|
|
3
|
+
@use "./lib/input";
|
|
4
|
+
@use "./lib/align";
|
|
5
|
+
@use "./lib/container";
|
|
6
|
+
@use "./lib/svg.scss";
|
|
7
|
+
@use "./lib/menu";
|
|
8
|
+
@use "./lib/utils";
|
|
9
|
+
|
|
10
|
+
body {
|
|
11
|
+
min-height: 100vh;
|
|
12
|
+
background-color: rgb(248, 250, 252);
|
|
13
|
+
visibility: visible;
|
|
14
|
+
}
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
#--router {
|
|
18
|
+
.widget.photo {
|
|
19
|
+
img {
|
|
20
|
+
display: none;
|
|
21
|
+
}
|
|
22
|
+
}
|
|
23
|
+
.wrapper.gateway {
|
|
24
|
+
width: 100%;
|
|
25
|
+
height: auto;
|
|
26
|
+
}
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
|
package/src/mixins.scss
ADDED
|
@@ -0,0 +1,77 @@
|
|
|
1
|
+
.window {
|
|
2
|
+
--bigchat-header-bg: #4B5DA8;
|
|
3
|
+
--bigchat-default-background: var(--default-background);
|
|
4
|
+
--bigchat-default-background-hover: var(--default-background-hover);
|
|
5
|
+
--bigchat-default-block-background: var(--default-block-background);
|
|
6
|
+
--bigchat-transparency-container-overlay: var(--transparency-container-overlay);
|
|
7
|
+
--bigchat-button-background-active: var(--button-background-active);
|
|
8
|
+
--bigchat-default-background-alert: var(--default-background-alert);
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
--bigchat-special-tag-color: #4B5DA8;
|
|
12
|
+
--bigchat-special-share-room-color: #BD44D9;
|
|
13
|
+
--bigchat-default-text-color: var(--default-text-color);
|
|
14
|
+
--bigchat-secondary-text-color: var(--secondary-text-color);
|
|
15
|
+
--bigchat-default-text-reverse: var(--default-text-reverse);
|
|
16
|
+
--bigchat-default-text-title: var(--default-text-title);
|
|
17
|
+
--bigchat-default-text-placeholder: var(--default-text-placeholder);
|
|
18
|
+
--bigchat-default-text-hover: var(--default-text-hover);
|
|
19
|
+
--bigchat-tertiary-text-color: var(--tertiary-text-color);
|
|
20
|
+
--bigchat-default-text-inactive: var(--default-text-inactive);
|
|
21
|
+
--bigchat-backgroundless-text-hover: var(--backgroundless-text-hover);
|
|
22
|
+
--bigchat-text-title: var(--default-text-title);
|
|
23
|
+
|
|
24
|
+
|
|
25
|
+
--bigchat-icon-header: #4B5DA8;
|
|
26
|
+
--bigchat-contact-online-color: var(--contact-online-color);
|
|
27
|
+
--bigchat-default-icon-neutral: var(--default-icon-neutral);
|
|
28
|
+
--bigchat-default-icon-reverse: var(--default-icon-reverse);
|
|
29
|
+
--bigchat-default-icon-active: var(--default-icon-active);
|
|
30
|
+
--bigchat-default-icon-hover: var(--default-icon-hover);
|
|
31
|
+
--bigchat-default-thinline-icon: var(--default-thinline-icon);
|
|
32
|
+
--bigchat-default-thinline-icon-hover: var(--default-thinline-icon-hover);
|
|
33
|
+
--bigchat-default-icon-success: var(--default-icon-success);
|
|
34
|
+
--bigchat-default-user-icon: var(--default-user-icon);
|
|
35
|
+
--bigchat-special-tag-note-chat: var(--special-tag-note-chat);
|
|
36
|
+
--bigchat-default-icon-menu-dropdown: var(--default-icon-menu-dropdown);
|
|
37
|
+
|
|
38
|
+
--bigchat-default-checkbox-border: var(--default-checkbox-border);
|
|
39
|
+
--bigchat-default-checkbox-checked: var(--default-checkbox-checked);
|
|
40
|
+
--bigchat-default-checkbox-background: var(--default-checkbox-background);
|
|
41
|
+
--bigchat-checkbox-checked-reverse: var(--checkbox-checked-reverse);
|
|
42
|
+
--bigchat-checkbox-checked-border-reverse: var(--checkbox-checked-border-reverse);
|
|
43
|
+
--bigchat-default-radio-active: var(--default-radio-active);
|
|
44
|
+
|
|
45
|
+
|
|
46
|
+
--bigchat-default-entry-border-bottom: var(--default-entry-border-bottom);
|
|
47
|
+
|
|
48
|
+
--bigchat-default-separator: var(--default-separator);
|
|
49
|
+
--bigchat-border-no-discussion: var(--border-no-discussion);
|
|
50
|
+
--bigchat-default-window-header-search: var(--default-window-header-search);
|
|
51
|
+
|
|
52
|
+
|
|
53
|
+
--bigchat-status-pill-new: #34a578;
|
|
54
|
+
--bigchat-status-pill-doing: #F0AD4E;
|
|
55
|
+
--bigchat-status-pill-closed: #7F8C8D;
|
|
56
|
+
|
|
57
|
+
|
|
58
|
+
--dgc-chat-item-me-bg: #F4F4F4;
|
|
59
|
+
--dgc-messenger-bg: var(--background-chatmessenger);
|
|
60
|
+
--dgc-messenger-border: var(--background-chatmessenger);
|
|
61
|
+
--dgc-attachment-close-border: #89929E;
|
|
62
|
+
--dgc-chat-other-bg: #E4E9FF;
|
|
63
|
+
--dgc-chat-border: var(--default-separator);
|
|
64
|
+
--dgc-chat-hover: #78B3F8;
|
|
65
|
+
--dgc-delete-bg: #EA4D44;
|
|
66
|
+
--dgc-chat-reply-bg: rgba(74, 144, 226, 0.1);
|
|
67
|
+
--dgc-chat-ack-bg: #FFFFFF;
|
|
68
|
+
--dgc-chat-error-ack-bg: #FFF0F2;
|
|
69
|
+
--dgc-chat-error-ack-text-color: #D76E30;
|
|
70
|
+
--dgc-chat-error-ack-icon-color: #CC4D09;
|
|
71
|
+
--dgc-overlay-background: var(--transparency-container-overlay);
|
|
72
|
+
--dgc-text-reverse: var(--default-text-reverse);
|
|
73
|
+
--dgc-chat-forward-bg: var(--default-background-hover);
|
|
74
|
+
--dgc-secondary-text-color: var(--secondary-text-color);
|
|
75
|
+
--dgc-icon-color: #4a90e2;
|
|
76
|
+
--dgc-tertiary-text-color: var(--tertiary-text-color);
|
|
77
|
+
}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
:root {
|
|
2
|
+
--border-radius-tiny: 3px;
|
|
3
|
+
--border-radius-small: 4px;
|
|
4
|
+
--border-radius: 6px;
|
|
5
|
+
--border-radius-right: 0 0 6px 0;
|
|
6
|
+
--border-radius-left: 0 0 0 6px;
|
|
7
|
+
--border-radius-bottom: 0 0 6px 6px;
|
|
8
|
+
--border-radius-top: 6px 6px 0px 0px;
|
|
9
|
+
--border-radius-bottom-small: 0 0 4px 4px;
|
|
10
|
+
--border-radius-top-small: 4px 4px 0px 0px;
|
|
11
|
+
--border-radius-checkbox: --border-radius-small;
|
|
12
|
+
--checkbox-border-radius: 4px;
|
|
13
|
+
--border-radius-bottom-tiny: 0 0 3px 3px;
|
|
14
|
+
}
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
:root {
|
|
2
|
+
/*****************************Window opening*****************/
|
|
3
|
+
--drumee-shadow-main: 0 0px 8px 0 rgba(63, 79, 117, 0.24)0 -1px 16px 0 rgba(86, 65, 113, 0.10)0 2px 14px 0 rgba(194, 185, 203, 0.16);
|
|
4
|
+
|
|
5
|
+
/*****************************Menu opening*****************/
|
|
6
|
+
--drumee-shadow-container: 0 5px 8px 1px rgba(63, 79, 117, 0.13)0 6px 16px 0 rgba(86, 65, 113, 0.08)0 2px 14px 0 rgba(194, 185, 203, 0.4);
|
|
7
|
+
|
|
8
|
+
/*****************************menu wrapper Before*****************/
|
|
9
|
+
--drumee-container-before: 0 -2px 8px 1px rgba(63, 79, 117, 0.13), 0 5px 12px 0 rgba(86 65 113 /08%), 0 -2px 4px 0 rgba(194, 185, 203, 0.0);
|
|
10
|
+
|
|
11
|
+
/*****************************dropdown****************************/
|
|
12
|
+
--drumee-container-dropdown: 0 0px 8px 0 rgba(63, 79, 117, 0.24)0 -1px 16px 0 rgba(86, 65, 113, 0.10)0 2px 14px 0 rgba(194, 185, 203, 0.16);
|
|
13
|
+
|
|
14
|
+
/*****************************Topbar*****************/
|
|
15
|
+
--drumee-shadow-topbar: 0 2px 2px 1px rgba(63, 79, 117, 0.13), 0 6px 16px 0 rgba(86, 65, 113, 0.08), 0 2px 14px 0 rgba(194, 185, 203, 0.0);
|
|
16
|
+
--shadow-topbar: --drumee-shadow-topbar:
|
|
17
|
+
/*****************************Account - préférence- language*****************/
|
|
18
|
+
--drumee-shadow-accountlist: 0 0px 5px 0px rgba(63, 79, 117, 0.13), 7px -6px 10px 0 rgba(86, 65, 113, 0.08), 0 2px 13px 0 rgba(194, 185, 203, 0.0);
|
|
19
|
+
|
|
20
|
+
/*****************************Account - préférence- language*****************/
|
|
21
|
+
--drumee-shadow-popup: 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);
|
|
22
|
+
|
|
23
|
+
/*****************************popup*****************/
|
|
24
|
+
--drumee-shadow-block: 0 2px 6px 1px rgba(75, 72, 72, 0.10);
|
|
25
|
+
|
|
26
|
+
--drumee-shadow-box: 0 2px 6px 1px rgba(75, 72, 72, 0.10);
|
|
27
|
+
}
|