bobjoll 0.0.4
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/LICENSE +21 -0
- package/README.md +35 -0
- package/package.json +25 -0
- package/scss/layout/_footer.scss +10 -0
- package/scss/layout/_header.scss +10 -0
- package/scss/modules/_fonts.scss +26 -0
- package/scss/modules/_reset.scss +219 -0
- package/scss/modules/bourbon/addons/_clearfix.scss +25 -0
- package/scss/modules/bourbon/addons/_ellipsis.scss +30 -0
- package/scss/modules/bourbon/addons/_position.scss +48 -0
- package/scss/modules/bourbon/addons/_prefixer.scss +66 -0
- package/scss/modules/bourbon/addons/_size.scss +51 -0
- package/scss/modules/bourbon/addons/_timing-functions.scss +34 -0
- package/scss/modules/bourbon/addons/_triangle.scss +63 -0
- package/scss/modules/bourbon/css3/_calc.scss +4 -0
- package/scss/modules/bourbon/css3/_flex-box.scss +287 -0
- package/scss/modules/bourbon/css3/_keyframes.scss +36 -0
- package/scss/modules/bourbon/css3/_linear-gradient.scss +38 -0
- package/scss/modules/bourbon/css3/_placeholder.scss +8 -0
- package/scss/modules/bourbon/css3/_selection.scss +42 -0
- package/scss/modules/bourbon/css3/_transition.scss +71 -0
- package/scss/modules/mixins/_component.scss +9 -0
- package/scss/modules/mixins/_grid.scss +75 -0
- package/scss/modules/mixins/_helpers.scss +224 -0
- package/scss/modules/variables/_colors.scss +447 -0
- package/scss/modules/variables/_general.scss +235 -0
- package/scss/partials/_accordion-v1-0.scss +165 -0
- package/scss/partials/_autocomplete-v1-0.scss +55 -0
- package/scss/partials/_general-v1-0.scss +51 -0
- package/scss/partials/_grid-v1-0.scss +109 -0
- package/scss/partials/_helper-v1-0.scss +299 -0
- package/scss/partials/_icon-v2-0.scss +323 -0
- package/scss/partials/_list-v1-0.scss +100 -0
- package/scss/partials/_modal-v1-0.scss +159 -0
- package/scss/partials/_notification-v1-1.scss +297 -0
- package/scss/partials/_progress-bar-v1.0.scss +25 -0
- package/scss/partials/_range-v1.0.scss +75 -0
- package/scss/partials/_tooltipFixed-v1.0.scss +128 -0
- package/scss/partials/_typography-v1-0.scss +201 -0
- package/scss/partials/animations/_fade.scss +23 -0
- package/scss/partials/animations/_rotate.scss +11 -0
- package/scss/partials/animations/_scale.scss +23 -0
- package/scss/partials/animations/_slide.scss +31 -0
- package/scss/partials/button-v4-0/_component.scss +304 -0
- package/scss/partials/form/_checkbox-and-radio-v1-0.scss +187 -0
- package/scss/partials/form/_dropdowns-v1-0.scss +323 -0
- package/scss/partials/form/_general-v1-0.scss +166 -0
- package/scss/partials/form/_group-v1-0.scss +157 -0
- package/scss/partials/form/_password-v1-0.scss +28 -0
- package/scss/partials/form/_switch-v1-0.scss +128 -0
- package/scss/partials/form/_upload-v1-0.scss +91 -0
- package/ts/library/common.ts +30 -0
- package/ts/library/cookie.ts +47 -0
- package/ts/library/delegate.ts +122 -0
- package/ts/library/dom.ts +124 -0
- package/ts/library/event.ts +138 -0
- package/ts/library/extend.js +32 -0
- package/ts/library/gr/dom.q.ts +12 -0
- package/ts/library/gr/social/dependency/twitter_pu.js +66 -0
- package/ts/library/gr/social/facebook.ts +154 -0
- package/ts/library/gr/social/google.ts +127 -0
- package/ts/library/gr/social/index.ts +35 -0
- package/ts/library/gr/social/twitter.ts +65 -0
- package/ts/library/helpers.ts +9 -0
- package/ts/library/number-abbreviate.js +57 -0
- package/ts/library/settings.ts +7 -0
- package/ts/library/storage.ts +131 -0
- package/ts/library/svg4everybody.legacy.js +122 -0
- package/ts/partials/accordion-v1.0.ts +104 -0
- package/ts/partials/accordionTabs-v1.0.ts +27 -0
- package/ts/partials/alert-v1.0.ts +51 -0
- package/ts/partials/copy-v1.0.ts +17 -0
- package/ts/partials/countdown-v1.0.ts +119 -0
- package/ts/partials/dropdown-v1.0.ts +247 -0
- package/ts/partials/hbs-v1.0.ts +9 -0
- package/ts/partials/modal-v1.0.ts +213 -0
- package/ts/partials/notifications-v1.1.ts +376 -0
- package/ts/partials/notify-v1.0.ts +746 -0
- package/ts/partials/password-v1.0.ts +19 -0
- package/ts/partials/popover-v1.0.ts +125 -0
- package/ts/partials/progress-bar-v1.0.ts +29 -0
- package/ts/partials/scroll-v1.0.ts +169 -0
- package/ts/partials/scrollable-v1.0.ts +90 -0
- package/ts/partials/tabs-v1.0.ts +79 -0
- package/ts/partials/tags-v1.0.ts +21 -0
- package/ts/partials/trigger-v2.0.ts +155 -0
- package/ts/partials/upload-v1.0.ts +17 -0
- package/ts/views/hbs/alert-v1.0/element.html.hbs +35 -0
- package/ts/views/hbs/countdown-v1.0/countdown-inner.hbs +39 -0
- package/ts/views/hbs/countdown-v1.0/countdown.hbs +4 -0
- package/ts/views/hbs/dropdown-v1.0/element.html.hbs +70 -0
- package/ts/views/hbs/helpers.js +58 -0
- package/ts/views/hbs/modal-v1.0/element.html.hbs +17 -0
- package/ts/views/hbs/notification-v1.1/element-disable.html.hbs +26 -0
- package/ts/views/hbs/notification-v1.1/element.html.hbs +43 -0
- package/ts/views/hbs/notification-v1.1/wrapper.html.hbs +4 -0
|
@@ -0,0 +1,128 @@
|
|
|
1
|
+
$minmax: 'min', 'max';
|
|
2
|
+
|
|
3
|
+
@mixin triangle-tooltip($position) {
|
|
4
|
+
.tooltip__content::before {
|
|
5
|
+
@include triangle($base-spacing, color('campu', 'blue'), $position);
|
|
6
|
+
}
|
|
7
|
+
}
|
|
8
|
+
|
|
9
|
+
@mixin style-tooltip {
|
|
10
|
+
&:not(.tooltip--permanent).tooltip__container:hover {
|
|
11
|
+
display: block !important;
|
|
12
|
+
opacity: 1;
|
|
13
|
+
visibility: initial;
|
|
14
|
+
}
|
|
15
|
+
|
|
16
|
+
.notification__close {
|
|
17
|
+
box-shadow: none !important;
|
|
18
|
+
color: $gray-oxford;
|
|
19
|
+
background: $gray-aqua;
|
|
20
|
+
|
|
21
|
+
.icon {
|
|
22
|
+
color: color('icon-inverted', 'general');
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
&:hover {
|
|
26
|
+
background: $gray-aqua;
|
|
27
|
+
}
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
.button--tooltip {
|
|
31
|
+
background-color: #ffffff;
|
|
32
|
+
|
|
33
|
+
&:hover {
|
|
34
|
+
color: color('oxford', 'gray');
|
|
35
|
+
}
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
&.tooltip__container--blue {
|
|
39
|
+
&.tooltip__container--right {
|
|
40
|
+
@include triangle-tooltip(left);
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
&.tooltip__container--left {
|
|
44
|
+
@include triangle-tooltip(right);
|
|
45
|
+
}
|
|
46
|
+
|
|
47
|
+
&.tooltip__container--top {
|
|
48
|
+
@include triangle-tooltip(down);
|
|
49
|
+
}
|
|
50
|
+
|
|
51
|
+
&.tooltip__container--bottom {
|
|
52
|
+
@include triangle-tooltip(up);
|
|
53
|
+
}
|
|
54
|
+
|
|
55
|
+
.tooltip__content {
|
|
56
|
+
max-width: 300px;
|
|
57
|
+
padding: $large-spacing $large-spacing $base-spacing;
|
|
58
|
+
border-radius: $base-border-radius;
|
|
59
|
+
font-size: $small-font-size;
|
|
60
|
+
text-align: left;
|
|
61
|
+
background-color: color('campu', 'blue');
|
|
62
|
+
color: color('text-inverted', 'general');
|
|
63
|
+
|
|
64
|
+
.notification__close {
|
|
65
|
+
color: #ffffff;
|
|
66
|
+
background: color('campu', 'blue');
|
|
67
|
+
|
|
68
|
+
&:hover {
|
|
69
|
+
background: color('freepik', 'blue');
|
|
70
|
+
}
|
|
71
|
+
}
|
|
72
|
+
|
|
73
|
+
.button--link {
|
|
74
|
+
color: #ffffff;
|
|
75
|
+
|
|
76
|
+
&:hover {
|
|
77
|
+
background: rgba(255, 255, 255, 0.2);
|
|
78
|
+
}
|
|
79
|
+
}
|
|
80
|
+
}
|
|
81
|
+
}
|
|
82
|
+
}
|
|
83
|
+
|
|
84
|
+
@mixin show-tooltip {
|
|
85
|
+
display: block;
|
|
86
|
+
opacity: 0;
|
|
87
|
+
animation: tooltipFixed__active 250ms 1100ms cubic-bezier(.25, .1, .25, 1) forwards;
|
|
88
|
+
}
|
|
89
|
+
|
|
90
|
+
@keyframes tooltipFixed__active {
|
|
91
|
+
from {
|
|
92
|
+
opacity: 0;
|
|
93
|
+
}
|
|
94
|
+
|
|
95
|
+
to {
|
|
96
|
+
opacity: 1;
|
|
97
|
+
}
|
|
98
|
+
}
|
|
99
|
+
|
|
100
|
+
@if $tooltipFixed-v1-0 {
|
|
101
|
+
.tooltipFixed > .tooltip__container:not(.tooltipFixed__active) {
|
|
102
|
+
display: none;
|
|
103
|
+
}
|
|
104
|
+
|
|
105
|
+
.tooltipFixed__active {
|
|
106
|
+
@include style-tooltip;
|
|
107
|
+
|
|
108
|
+
&.tooltipFixed__breakpoint {
|
|
109
|
+
@each $media in $sizes {
|
|
110
|
+
&-#{$media} {
|
|
111
|
+
@each $from in $minmax {
|
|
112
|
+
&--#{$from} {
|
|
113
|
+
@include breakpoint($media, $from) {
|
|
114
|
+
@include show-tooltip;
|
|
115
|
+
}
|
|
116
|
+
}
|
|
117
|
+
}
|
|
118
|
+
}
|
|
119
|
+
}
|
|
120
|
+
}
|
|
121
|
+
|
|
122
|
+
&:not(.tooltipFixed__breakpoint) {
|
|
123
|
+
@include breakpoint('sm', 'min') {
|
|
124
|
+
@include show-tooltip;
|
|
125
|
+
}
|
|
126
|
+
}
|
|
127
|
+
}
|
|
128
|
+
}
|
|
@@ -0,0 +1,201 @@
|
|
|
1
|
+
@if $typography-v1-0 {
|
|
2
|
+
.copyright {
|
|
3
|
+
margin: 0;
|
|
4
|
+
|
|
5
|
+
font-size: $small-font-size;
|
|
6
|
+
}
|
|
7
|
+
|
|
8
|
+
.type {
|
|
9
|
+
display: inline-block;
|
|
10
|
+
|
|
11
|
+
margin: 0 0 $small-spacing;
|
|
12
|
+
padding: ($small-spacing / 10) 0;
|
|
13
|
+
|
|
14
|
+
border-bottom: $base-border;
|
|
15
|
+
|
|
16
|
+
font-size: $small-font-size;
|
|
17
|
+
font-weight: bold;
|
|
18
|
+
text-transform: uppercase;
|
|
19
|
+
}
|
|
20
|
+
|
|
21
|
+
.date {
|
|
22
|
+
margin: 0;
|
|
23
|
+
|
|
24
|
+
color: rgba(color('text', 'general'), .5);
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
.author {
|
|
28
|
+
font-size: $small-font-size;
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
.read-more {
|
|
32
|
+
position: relative;
|
|
33
|
+
|
|
34
|
+
padding: 0 ($small-spacing / 2) 0 0;
|
|
35
|
+
|
|
36
|
+
color: color('link', 'general');
|
|
37
|
+
font-size: $small-font-size;
|
|
38
|
+
font-weight: bold;
|
|
39
|
+
text-transform: uppercase;
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
hr {
|
|
43
|
+
width: 3em;
|
|
44
|
+
height: $base-border-width;
|
|
45
|
+
|
|
46
|
+
margin: 0 0 $base-spacing;
|
|
47
|
+
|
|
48
|
+
border: none;
|
|
49
|
+
|
|
50
|
+
background-color: color('border', 'general');
|
|
51
|
+
}
|
|
52
|
+
|
|
53
|
+
#{$all-headings} {
|
|
54
|
+
margin: $base-spacing 0;
|
|
55
|
+
padding: 0;
|
|
56
|
+
|
|
57
|
+
color: color('heading', 'general');
|
|
58
|
+
font-family: $title-font-family;
|
|
59
|
+
line-height: $title-line-height;
|
|
60
|
+
|
|
61
|
+
&.first {
|
|
62
|
+
margin-top: 0;
|
|
63
|
+
}
|
|
64
|
+
}
|
|
65
|
+
|
|
66
|
+
#{$big-headings} {
|
|
67
|
+
line-height: $extra-small-line-height;
|
|
68
|
+
}
|
|
69
|
+
|
|
70
|
+
#{$all-headings} {
|
|
71
|
+
&.category {
|
|
72
|
+
padding-bottom: $extra-small-spacing;
|
|
73
|
+
|
|
74
|
+
border-bottom: $base-border;
|
|
75
|
+
border-color: color('text', 'general', .15);
|
|
76
|
+
|
|
77
|
+
text-align: center;
|
|
78
|
+
}
|
|
79
|
+
}
|
|
80
|
+
|
|
81
|
+
.heading-inverted {
|
|
82
|
+
color: color('heading-inverted', 'general');
|
|
83
|
+
}
|
|
84
|
+
|
|
85
|
+
h1 { @include font-size($h1-font-size); }
|
|
86
|
+
h2 { @include font-size($h2-font-size); }
|
|
87
|
+
h3 { @include font-size($h3-font-size); }
|
|
88
|
+
h4 { @include font-size($h4-font-size); }
|
|
89
|
+
h5 { @include font-size($h5-font-size); }
|
|
90
|
+
h6 { @include font-size($h6-font-size); }
|
|
91
|
+
|
|
92
|
+
%link-inverted {
|
|
93
|
+
color: color('link-inverted', 'general', 1);
|
|
94
|
+
|
|
95
|
+
&:hover {
|
|
96
|
+
color: color('link-inverted', 'general', 1);
|
|
97
|
+
|
|
98
|
+
svg {
|
|
99
|
+
opacity: .8;
|
|
100
|
+
}
|
|
101
|
+
}
|
|
102
|
+
|
|
103
|
+
&.active {
|
|
104
|
+
color: color('link-inverted', 'general', 1);
|
|
105
|
+
font-weight: bold;
|
|
106
|
+
|
|
107
|
+
svg {
|
|
108
|
+
opacity: 1;
|
|
109
|
+
}
|
|
110
|
+
}
|
|
111
|
+
|
|
112
|
+
svg {
|
|
113
|
+
opacity: .4;
|
|
114
|
+
}
|
|
115
|
+
|
|
116
|
+
&--hover-underline {
|
|
117
|
+
&:hover,
|
|
118
|
+
&.active {
|
|
119
|
+
text-decoration: underline;
|
|
120
|
+
}
|
|
121
|
+
}
|
|
122
|
+
}
|
|
123
|
+
|
|
124
|
+
%link-hover {
|
|
125
|
+
&:hover {
|
|
126
|
+
color: color('link', 'general', 1, 4);
|
|
127
|
+
|
|
128
|
+
.icon {
|
|
129
|
+
color: color('link', 'general', 1, 4);
|
|
130
|
+
}
|
|
131
|
+
}
|
|
132
|
+
|
|
133
|
+
&.active {
|
|
134
|
+
color: color('link', 'general', 1, 4);
|
|
135
|
+
font-weight: $semi-font-weight;
|
|
136
|
+
|
|
137
|
+
.icon {
|
|
138
|
+
color: color('link', 'general', 1, 4);
|
|
139
|
+
}
|
|
140
|
+
}
|
|
141
|
+
}
|
|
142
|
+
|
|
143
|
+
.link {
|
|
144
|
+
@extend %link-hover;
|
|
145
|
+
|
|
146
|
+
color: color('link', 'general');
|
|
147
|
+
|
|
148
|
+
cursor: pointer;
|
|
149
|
+
font-weight: $semi-font-weight;
|
|
150
|
+
text-decoration: none;
|
|
151
|
+
|
|
152
|
+
.icon {
|
|
153
|
+
color: color('link', 'general');
|
|
154
|
+
}
|
|
155
|
+
|
|
156
|
+
&--text {
|
|
157
|
+
@extend %link-hover;
|
|
158
|
+
|
|
159
|
+
color: color('text', 'general', 1, 4);
|
|
160
|
+
|
|
161
|
+
.icon {
|
|
162
|
+
color: color('text', 'general', 1, 4);
|
|
163
|
+
}
|
|
164
|
+
}
|
|
165
|
+
|
|
166
|
+
&--inverted {
|
|
167
|
+
@extend %link-inverted;
|
|
168
|
+
}
|
|
169
|
+
}
|
|
170
|
+
|
|
171
|
+
.link-inverted {
|
|
172
|
+
@extend %link-inverted;
|
|
173
|
+
}
|
|
174
|
+
|
|
175
|
+
.text, p {
|
|
176
|
+
margin: 0 0 $base-spacing;
|
|
177
|
+
}
|
|
178
|
+
|
|
179
|
+
.text--inverted {
|
|
180
|
+
color: color('text-inverted', 'general');
|
|
181
|
+
}
|
|
182
|
+
|
|
183
|
+
blockquote {
|
|
184
|
+
margin: 0;
|
|
185
|
+
padding-left: $base-spacing;
|
|
186
|
+
border-left: 4px solid color('border', 'general');
|
|
187
|
+
}
|
|
188
|
+
|
|
189
|
+
figcaption {
|
|
190
|
+
color: color('text', 'general', 1, -20);
|
|
191
|
+
font-size: $small-font-size;
|
|
192
|
+
}
|
|
193
|
+
|
|
194
|
+
svg {
|
|
195
|
+
pointer-events: none;
|
|
196
|
+
}
|
|
197
|
+
|
|
198
|
+
a {
|
|
199
|
+
@extend .link;
|
|
200
|
+
}
|
|
201
|
+
} // End if
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
.animation--fade-in {
|
|
2
|
+
animation: fade-in $base-duration $base-timing forwards;
|
|
3
|
+
}
|
|
4
|
+
|
|
5
|
+
.animation--fade-out {
|
|
6
|
+
animation: fade-out $base-duration $base-timing forwards;
|
|
7
|
+
}
|
|
8
|
+
|
|
9
|
+
@keyframes fade-in {
|
|
10
|
+
0% {
|
|
11
|
+
opacity: 0;
|
|
12
|
+
} 100% {
|
|
13
|
+
opacity: 1;
|
|
14
|
+
}
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
@keyframes fade-out {
|
|
18
|
+
0% {
|
|
19
|
+
opacity: 1;
|
|
20
|
+
} 100% {
|
|
21
|
+
opacity: 0;
|
|
22
|
+
}
|
|
23
|
+
}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
.animation--scale-in {
|
|
2
|
+
animation: scale-in $base-duration $base-timing forwards;
|
|
3
|
+
}
|
|
4
|
+
|
|
5
|
+
.animation--scale-out {
|
|
6
|
+
animation: scale-out $base-duration $base-timing forwards;
|
|
7
|
+
}
|
|
8
|
+
|
|
9
|
+
@keyframes scale-in {
|
|
10
|
+
0% {
|
|
11
|
+
transform: scale(0);
|
|
12
|
+
} 100% {
|
|
13
|
+
transform: scale(1);
|
|
14
|
+
}
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
@keyframes scale-out {
|
|
18
|
+
0% {
|
|
19
|
+
transform: scale(1);
|
|
20
|
+
} 100% {
|
|
21
|
+
transfrom: scale(0);
|
|
22
|
+
}
|
|
23
|
+
}
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
@keyframes slide-top-in {
|
|
2
|
+
0% {
|
|
3
|
+
top: -100%;
|
|
4
|
+
} 100% {
|
|
5
|
+
top: 0%;
|
|
6
|
+
}
|
|
7
|
+
}
|
|
8
|
+
|
|
9
|
+
@keyframes slide-top-out {
|
|
10
|
+
0% {
|
|
11
|
+
top: 0%;
|
|
12
|
+
} 100% {
|
|
13
|
+
top: -100%;
|
|
14
|
+
}
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
@keyframes slide-bottom-in {
|
|
18
|
+
0% {
|
|
19
|
+
bottom: -100%;
|
|
20
|
+
} 100% {
|
|
21
|
+
bottom: 0%;
|
|
22
|
+
}
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
@keyframes slide-bottom-out {
|
|
26
|
+
0% {
|
|
27
|
+
bottom: 0%;
|
|
28
|
+
} 100% {
|
|
29
|
+
bottom: -100%;
|
|
30
|
+
}
|
|
31
|
+
}
|