website-utilities 1.0.287 → 1.0.288

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.
Files changed (2) hide show
  1. package/index.scss +358 -0
  2. package/package.json +4 -4
package/index.scss ADDED
@@ -0,0 +1,358 @@
1
+ /* !/usr/bin/env css
2
+ -*- coding: utf-8 -*- */
3
+ /* region header
4
+ Copyright Torben Sickert (info["~at~"]torben.website) 16.12.2012
5
+
6
+ License
7
+ -------
8
+
9
+ This library written by Torben Sickert stand under a creative commons naming
10
+ 3.0 unported license. See https://creativecommons.org/licenses/by/3.0/deed.de
11
+ endregion */
12
+ @use "fonts";
13
+ @use "variables" as v;
14
+
15
+ :root {
16
+ /* region custom-properties */
17
+ --w-default-space: v.$default-space;
18
+ /** region dimensions */
19
+ --w-extra-extra-small-width: v.$extra-extra-small-width;
20
+ --w-extra-small-width: v.$extra-small-width;
21
+ --w-small-width: v.$small-width;
22
+ --w-medium-width: v.$medium-width;
23
+ --w-large-width: v.$large-width;
24
+ /*** region extra small dimension */
25
+ @custom-media --w-extra-extra-small (min-width: v.$extra-extra-small-width);
26
+ @custom-media --w-extra-small (min-width: v.$extra-small-width));
27
+ /*** endregion */
28
+ /*** region default media query dimensions */
29
+ @custom-media --w-small (min-width: v.$small-width);
30
+ @custom-media --medium (min-width: v.$medium-width);
31
+ @custom-media --large (min-width: v.$large-width);
32
+ /*** endregion */
33
+ /** endregion */
34
+ /** region color */
35
+ --w-background-color: v.$theme-background;
36
+ --w-theme-primary: $theme-primary;
37
+ --w-theme-on-primary: $theme-on-primary;
38
+ --w-theme-secondary: $theme-secondary;
39
+ --w-theme-on-secondary: $theme-on-secondary;
40
+ --w-theme-error: $theme-error;
41
+ --w-theme-on-error: $theme-on-error;
42
+ --w-theme-surface: $theme-surface;
43
+ --w-theme-on-surface: $theme-on-surface;
44
+ /** endregion */
45
+ /** region font */
46
+ --w-font-family: $typography-font-family;
47
+ --w-font-family-headline: $typography-font-family-headline;
48
+ /** endregion */
49
+ /* endregion */
50
+ }
51
+
52
+ .wu {
53
+ margin: 0;
54
+
55
+ font-family: var(--w-font-family, v.$typography-font-family);
56
+ font-size: 14px;
57
+ }
58
+
59
+ .wu-lang-replacement,
60
+ .wu lang-replacement {
61
+ display: none;
62
+ }
63
+ /* region generic dom nodes */
64
+ /** region headline */
65
+ .wu-h1,
66
+ .wu h1,
67
+ .wu-h2,
68
+ .wu h2,
69
+ .wu-h3,
70
+ .wu h3,
71
+ .wu-h4,
72
+ .wu h4,
73
+ .wu-h5,
74
+ .wu h5,
75
+ .wu-h6,
76
+ .wu h6 {
77
+ font-family: var(--w-font-family, v.$typography-font-family);
78
+ line-height: 1.1;
79
+ }
80
+
81
+ .wu-h1,
82
+ .wu h1,
83
+ .wu-h2,
84
+ .wu h2 {
85
+ font-family: var(--w-font-family-headline, v.$typography-font-family-headline);
86
+ font-weight: normal;
87
+ font-size: 3em;
88
+ }
89
+
90
+ .wu-h2,
91
+ .wu h2 {
92
+ font-size: 2em;
93
+ }
94
+ /** endregion */
95
+ /** region link */
96
+ a.wu-a,
97
+ .wu a,
98
+ a.wu-a:hover,
99
+ .wu a:hover,
100
+ a.wu-a:focus,
101
+ .wu a:focus,
102
+ a.wu-a:visited,
103
+ .wu a:visited {
104
+ outline: none;
105
+ text-decoration: none;
106
+ }
107
+ /** endregion */
108
+ /* endregion */
109
+ /* region generic classes */
110
+ /* Disables and hides a scrolling and scrollbar. */
111
+ .tools-disable-scrolling {
112
+ height: 100% !important;
113
+ overflow: hidden !important;
114
+ }
115
+
116
+ .wu-action,
117
+ .wu .action {
118
+ cursor: pointer;
119
+ }
120
+ /* Overlay the whole page till everything is loaded completely. */
121
+ .wu-window-loading-cover,
122
+ .wu .window-loading-cover {
123
+ background-color: var(--w-background-color, v.$theme-background);
124
+ /* always cover full viewport */
125
+ position: fixed;
126
+ height: 100%;
127
+ width: 100%;
128
+ z-index: 1002 !important;
129
+
130
+ & > div {
131
+ /* Positioning the loading spinner in center in the loading overlay. */
132
+ position: absolute;
133
+ top: 50%;
134
+ left: 50%;
135
+ }
136
+ }
137
+ /** region icons */
138
+ .wu-icon,
139
+ .wu .icon,
140
+ .wu-icon-social,
141
+ .wu .icon-social {
142
+ font-family: var(--w-font-family-social, v.$typography-font-family-social);
143
+ font-style: normal;
144
+ font-weight: 400;
145
+
146
+ line-height: 1;
147
+
148
+ display: inline-block;
149
+ position: relative;
150
+
151
+ text-decoration: none;
152
+
153
+ top: 1px;
154
+ vertical-align: middle;
155
+
156
+ zoom: 1;
157
+
158
+ -webkit-font-smoothing: antialiased;
159
+ -moz-osx-font-smoothing: grayscale;
160
+
161
+ &::before {
162
+ font-family: var(--w-font-family-social, v.$typography-font-family-social);
163
+
164
+ display: inline-block;
165
+
166
+ left: 0;
167
+ margin: 0 5px 0 0;
168
+ position: absolute;
169
+ top: 0;
170
+ }
171
+ }
172
+
173
+ .wu-icon,
174
+ .wu .icon {
175
+ &-arrow-left::before { content: "\E091"; }
176
+ }
177
+
178
+ .wu-icon-social,
179
+ .wu .icon-social {
180
+ &::before {
181
+ font: 24px/1em "Glyphicons Social Regular", sans-serif;
182
+ }
183
+
184
+ &-white::before { color: #fff; }
185
+ &-pinterest::before { content: "\E001"; }
186
+ &-dropbox::before { content: "\E002"; }
187
+ &-google_plus::before { content: "\E003"; }
188
+ &-jolicloud::before { content: "\E004"; }
189
+ &-yahoo::before { content: "\E005"; }
190
+ &-blogger::before { content: "\E006"; }
191
+ &-picasa::before { content: "\E007"; }
192
+ &-amazon::before { content: "\E008"; }
193
+ &-tumblr::before { content: "\E009"; }
194
+ &-wordpress::before { content: "\E010"; }
195
+ &-instapaper::before { content: "\E011"; }
196
+ &-evernote::before { content: "\E012"; }
197
+ &-xing::before { content: "\E013"; }
198
+ &-zootool::before { content: "\E014"; }
199
+ &-dribbble::before { content: "\E015"; }
200
+ &-deviantart::before { content: "\E016"; }
201
+ &-read_it_later::before { content: "\E017"; }
202
+ &-linked_in::before { content: "\E018"; }
203
+ &-forrst::before { content: "\E019"; }
204
+ &-pinboard::before { content: "\E020"; }
205
+ &-behance::before { content: "\E021"; }
206
+ &-github::before { content: "\E022"; }
207
+ &-youtube::before { content: "\E023"; }
208
+ &-skitch::before { content: "\E024"; }
209
+ &-foursquare::before { content: "\E025"; }
210
+ &-quora::before { content: "\E026"; }
211
+ &-badoo::before { content: "\E027"; }
212
+ &-spotify::before { content: "\E028"; }
213
+ &-stumbleupon::before { content: "\E029"; }
214
+ &-readability::before { content: "\E030"; }
215
+ &-facebook::before { content: "\E031"; }
216
+ &-twitter::before { content: "\E032"; }
217
+ &-instagram::before { content: "\E033"; }
218
+ &-posterous_spaces::before { content: "\E034"; }
219
+ &-vimeo::before { content: "\E035"; }
220
+ &-flickr::before { content: "\E036"; }
221
+ &-last_fm::before { content: "\E037"; }
222
+ &-rss::before { content: "\E038"; }
223
+ &-skype::before { content: "\E039"; }
224
+ &-e-mail::before { content: "\E040"; }
225
+ &-vine::before { content: "\E041"; }
226
+ &-myspace::before { content: "\E042"; }
227
+ &-goodreads::before { content: "\E043"; }
228
+ &-apple::before { content: "\F8FF"; }
229
+ &-windows::before { content: "\E045"; }
230
+ &-yelp::before { content: "\E046"; }
231
+ &-playstation::before { content: "\E047"; }
232
+ &-xbox::before { content: "\E048"; }
233
+ &-android::before { content: "\E049"; }
234
+ &-ios::before { content: "\E050"; }
235
+ }
236
+ /** endregion */
237
+ /** region form */
238
+ /*** region styled select */
239
+ .wu-select,
240
+ .wu .select {
241
+ position: relative;
242
+
243
+ &__arrow {
244
+ position: absolute;
245
+ top: 3px;
246
+ right: 15px;
247
+ pointer-events: none;
248
+
249
+ & span {
250
+ vertical-align: bottom;
251
+ font-size: 10px;
252
+ }
253
+ }
254
+
255
+ & select {
256
+ position: initial !important;
257
+ padding-left: 7px !important;
258
+ padding-right: 25px !important;
259
+ /* hide default down arrow in IE10 */
260
+ &::-ms-expand { display: none; }
261
+ }
262
+ }
263
+ /*** endregion */
264
+ /*** region styled checkbox */
265
+ .wu-checkbox,
266
+ .wu .checkbox {
267
+ margin-top: 2px;
268
+ padding-top: 3px;
269
+
270
+ & label {
271
+ padding-left: 40px;
272
+
273
+ & .checkbox__wrapper {
274
+ margin-top: -2px;
275
+ margin-left: -40px;
276
+ position: absolute;
277
+
278
+ & .checkbox__wrapper__styled {
279
+ border-radius: 4px;
280
+ border: 2px solid var(--w-theme-primary, v.$theme-primary);
281
+ cursor: pointer;
282
+ float: right;
283
+ height: 25px;
284
+ padding: 0;
285
+ width: 25px;
286
+
287
+ & .checkbox__wrapper__styled__checked {
288
+ background: transparent;
289
+ border: 3px solid var(--w-theme-on-primary, v.$theme-on-primary);
290
+ border-top: none;
291
+ border-right: none;
292
+ height: 8px;
293
+ left: 4px;
294
+ opacity: 0;
295
+ position: absolute;
296
+ top: 5px;
297
+ transform: rotate(-45deg);
298
+ width: 13px;
299
+ }
300
+ }
301
+
302
+ & input[type="checkbox"] {
303
+ display: none;
304
+
305
+ &:checked ~ .checkbox-styled > .checkbox-styled-checked {
306
+ opacity: 1;
307
+ }
308
+
309
+ &:disabled ~ .checkbox-styled {
310
+ background-color: var(--w-theme-surface, v.$theme-surface);
311
+ }
312
+ }
313
+ }
314
+ }
315
+ }
316
+ /*** endregion */
317
+ /** endregion */
318
+ /* endregion */
319
+ /* Initially hide/show javaScript dependent dom nodes. */
320
+ .tools-hidden-on-javascript-enabled { display: none; }
321
+ .tools-visible-on-javascript-enabled { display: initial; }
322
+ /* region spinner animation */
323
+ @keyframes spinner-line-fade-more {
324
+ 0%,
325
+ 100% {
326
+ opacity: 0;
327
+ }
328
+
329
+ 1% {
330
+ opacity: 1;
331
+ }
332
+ }
333
+ @keyframes spinner-line-fade-quick {
334
+ 0%,
335
+ 39%,
336
+ 100% {
337
+ opacity: 0.25;
338
+ }
339
+
340
+ 40% {
341
+ opacity: 1;
342
+ }
343
+ }
344
+ @keyframes spinner-line-fade-default {
345
+ 0%,
346
+ 100% {
347
+ opacity: 0.22;
348
+ }
349
+
350
+ 1% {
351
+ opacity: 1;
352
+ }
353
+ }
354
+ /* endregion */
355
+ /* region vim modline
356
+ vim: set tabstop=4 shiftwidth=4 expandtab:
357
+ vim: foldmethod=marker foldmarker=region,endregion:
358
+ endregion */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "website-utilities",
3
- "version": "1.0.287",
3
+ "version": "1.0.288",
4
4
  "description": "extend your web app",
5
5
  "keywords": [
6
6
  "jquery",
@@ -21,15 +21,15 @@
21
21
  "files": [
22
22
  "deploy.d.ts",
23
23
  "deploy.js",
24
+ "index.compiled.css",
24
25
  "index.d.ts",
25
26
  "index.js",
26
- "index.compiled.css",
27
+ "index.scss",
27
28
  "fonts",
28
29
  "fonts.compiled",
29
30
  "type.d.ts",
30
31
  "_fonts.scss",
31
- "_variables.scss",
32
- "_index.scss"
32
+ "_variables.scss"
33
33
  ],
34
34
  "bin": {
35
35
  "website-utilities": "deploy.js"