ellipsis-compass 1.0.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (85) hide show
  1. checksums.yaml +15 -0
  2. data/lib/ellipsis-compass.rb +4 -0
  3. data/stylesheets/animation/_animate.scss +1206 -0
  4. data/stylesheets/animation/_animation.scss +121 -0
  5. data/stylesheets/animation/_animations.scss +771 -0
  6. data/stylesheets/animation/_transit.scss +425 -0
  7. data/stylesheets/animation/_transitions.scss +320 -0
  8. data/stylesheets/base/_breakpoints.scss +64 -0
  9. data/stylesheets/base/_document.scss +219 -0
  10. data/stylesheets/base/_global.scss +88 -0
  11. data/stylesheets/base/_normalize.scss +406 -0
  12. data/stylesheets/component/_component.scss +939 -0
  13. data/stylesheets/component/_ui.scss +955 -0
  14. data/stylesheets/flexbox/_flexbox.scss +305 -0
  15. data/stylesheets/font/_icons.scss +1492 -0
  16. data/stylesheets/font/_ubuntu.scss +38 -0
  17. data/stylesheets/form/_form.scss +836 -0
  18. data/stylesheets/grid/_grid.scss +312 -0
  19. data/stylesheets/helpers/_all.scss +8 -0
  20. data/stylesheets/helpers/_component.scss +177 -0
  21. data/stylesheets/helpers/_convenience.scss +277 -0
  22. data/stylesheets/helpers/_functions.scss +427 -0
  23. data/stylesheets/helpers/_grid.scss +39 -0
  24. data/stylesheets/helpers/_hardware-acceleration.scss +22 -0
  25. data/stylesheets/helpers/_mixins.scss +207 -0
  26. data/stylesheets/helpers/_touch.scss +107 -0
  27. data/stylesheets/helpers/_visibility.scss +138 -0
  28. data/stylesheets/image/_images.scss +19 -0
  29. data/stylesheets/imports/elements/_autosearch.scss +11 -0
  30. data/stylesheets/imports/elements/_badge.scss +23 -0
  31. data/stylesheets/imports/elements/_barchart.scss +254 -0
  32. data/stylesheets/imports/elements/_form.scss +8 -0
  33. data/stylesheets/imports/elements/_loginform.scss +6 -0
  34. data/stylesheets/imports/elements/_modellist.scss +14 -0
  35. data/stylesheets/imports/elements/_pluralize.scss +8 -0
  36. data/stylesheets/imports/elements/_signupform.scss +6 -0
  37. data/stylesheets/imports/elements/_slidenotification.scss +65 -0
  38. data/stylesheets/imports/elements/_stickyreveal.scss +44 -0
  39. data/stylesheets/imports/elements/_template.scss +7 -0
  40. data/stylesheets/imports/elements/_veneer.scss +36 -0
  41. data/stylesheets/shared/_shared.scss +282 -0
  42. data/stylesheets/touch/ui/_drawer.scss +41 -0
  43. data/stylesheets/touch/ui/_dropdown.scss +58 -0
  44. data/stylesheets/touch/ui/_menu.scss +131 -0
  45. data/stylesheets/touch/ui/_navbar.scss +44 -0
  46. data/stylesheets/touch/ui/_toggle.scss +127 -0
  47. data/stylesheets/touch/ui/_topbar.scss +48 -0
  48. data/stylesheets/typography/_typography.scss +746 -0
  49. data/stylesheets/ui/_autocomplete.scss +117 -0
  50. data/stylesheets/ui/_badge.scss +73 -0
  51. data/stylesheets/ui/_box.scss +78 -0
  52. data/stylesheets/ui/_breadcrumb.scss +64 -0
  53. data/stylesheets/ui/_button.scss +395 -0
  54. data/stylesheets/ui/_carousel.scss +284 -0
  55. data/stylesheets/ui/_collapsible.scss +61 -0
  56. data/stylesheets/ui/_container.scss +297 -0
  57. data/stylesheets/ui/_datepicker.scss +218 -0
  58. data/stylesheets/ui/_drawer.scss +96 -0
  59. data/stylesheets/ui/_dropdown.scss +394 -0
  60. data/stylesheets/ui/_file.scss +147 -0
  61. data/stylesheets/ui/_gallery.scss +219 -0
  62. data/stylesheets/ui/_label.scss +167 -0
  63. data/stylesheets/ui/_loading.scss +70 -0
  64. data/stylesheets/ui/_mediaobject.scss +108 -0
  65. data/stylesheets/ui/_menu.scss +287 -0
  66. data/stylesheets/ui/_menutab.scss +175 -0
  67. data/stylesheets/ui/_modal.scss +47 -0
  68. data/stylesheets/ui/_navbar.scss +315 -0
  69. data/stylesheets/ui/_notification.scss +154 -0
  70. data/stylesheets/ui/_pagination.scss +137 -0
  71. data/stylesheets/ui/_parallax.scss +233 -0
  72. data/stylesheets/ui/_popover.scss +3 -0
  73. data/stylesheets/ui/_rating.scss +106 -0
  74. data/stylesheets/ui/_sidebar.scss +110 -0
  75. data/stylesheets/ui/_slidingpanel.scss +57 -0
  76. data/stylesheets/ui/_social.scss +213 -0
  77. data/stylesheets/ui/_sticky.scss +9 -0
  78. data/stylesheets/ui/_table.scss +423 -0
  79. data/stylesheets/ui/_tabs.scss +242 -0
  80. data/stylesheets/ui/_toggle.scss +49 -0
  81. data/stylesheets/ui/_tooltip.scss +57 -0
  82. data/stylesheets/ui/_topbar.scss +210 -0
  83. data/stylesheets/ui/_tree.scss +3 -0
  84. data/stylesheets/ui/_window.scss +205 -0
  85. metadata +140 -0
@@ -0,0 +1,44 @@
1
+ /*
2
+ touch-ui-navbar
3
+
4
+ */
5
+
6
+ /* private -----------------------------------------------------------------------------------------------------------*/
7
+
8
+ @mixin _touch-ui-navbar($component:null,
9
+ $position:null,
10
+ $height:null,
11
+ $z-index:null,
12
+ $brand-font:null,
13
+ $brand-margin:null
14
+
15
+ ){
16
+
17
+ position:$position;
18
+ @if $position != relative {
19
+ z-index:$z-index;
20
+ top:0;
21
+ left:0;
22
+ }
23
+
24
+ &>nav,&>nav.stacked{
25
+ height:$height;
26
+ @extend %#{$component}-background !optional;
27
+ @extend %#{$component}-border !optional;
28
+ @extend %#{$component}-box-shadow !optional;
29
+ text-align: center;
30
+ .touch-brand{
31
+ display:inline-block;
32
+ margin-top:$brand-margin;
33
+ h1,h2,h3,h4,h5,h6{
34
+ margin:0;
35
+ @extend %#{$component}-font !optional;
36
+ }
37
+ h4{
38
+ font:$brand-font;
39
+ }
40
+ }
41
+ }
42
+
43
+
44
+ }
@@ -0,0 +1,127 @@
1
+ /* touch-ui-toggle */
2
+
3
+
4
+ /* private -----------------------------------------------------------------------------------------------------------*/
5
+
6
+
7
+ @mixin _touch-ui-toggle($component:null,
8
+ $height: null,
9
+ $width: null,
10
+ $border-right: null,
11
+ $icon-size: null,
12
+ $icon-left: null,
13
+ $icon-top: null
14
+
15
+ ){
16
+
17
+ display: block;
18
+ position: absolute;
19
+ left: 0;
20
+ top: 0;
21
+ height: $height;
22
+ width: $width;
23
+ border-width: 0;
24
+ border-right: $border-right;
25
+ @extend %#{$component}-border !optional;
26
+ @extend %#{$component}-box-shadow !optional;
27
+ @extend %#{$component}-font !optional;
28
+ //color:#666;
29
+ &:before {
30
+ font-family: $global-icon-font-family;
31
+ content: '#{$global-icon-toggle}';
32
+ font-size: $icon-size;
33
+ @extend %#{$component}-font !optional;
34
+ left: $icon-left;
35
+ top: $icon-top;
36
+ position: absolute;
37
+ }
38
+ &.active{
39
+ box-shadow:none;
40
+ }
41
+ }
42
+
43
+
44
+ /* public ------------------------------------------------------------------------------------------------------------*/
45
+ @mixin touch-ui-toggle($class,$component:css-toggle-black,
46
+ $height: 59px,
47
+ $width: 60px,
48
+ $border-right:1px solid,
49
+ $icon-size:16px,
50
+ $icon-left:10px,
51
+ $icon-top:16px
52
+
53
+ ){
54
+
55
+ .touch-ui-toggle,ui-toggle{
56
+ @if $class != null{
57
+ &.#{$class} {
58
+ @include _touch-ui-toggle($component,
59
+ $height,
60
+ $width,
61
+ $border-right,
62
+ $icon-size,
63
+ $icon-left,
64
+ $icon-top
65
+ );
66
+ }
67
+ }@else{
68
+ @include _touch-ui-toggle($component,
69
+ $height,
70
+ $width,
71
+ $border-right,
72
+ $icon-size,
73
+ $icon-left,
74
+ $icon-top
75
+ );
76
+ }
77
+
78
+ }
79
+ }
80
+
81
+
82
+
83
+
84
+
85
+
86
+
87
+ @mixin touch-ui-menu-toggle($toggle-component: toggle,
88
+ $height: 59px,
89
+ $width: 60px,
90
+ $border-right:1px solid,
91
+ $icon-size:16px,
92
+ $icon-left:10px,
93
+ $icon-top:16px
94
+
95
+ ) {
96
+
97
+
98
+ .touch-ui-toggle,touch-ui-toggle {
99
+ display: block;
100
+ position: absolute;
101
+ left: 0;
102
+ top: 0;
103
+ height: $height;
104
+ width: $width;
105
+ border-width: 0;
106
+ border-right: $border-right;
107
+ @extend %#{$toggle-component}-border !optional;
108
+ @extend %#{$toggle-component}-box-shadow !optional;
109
+
110
+ &:before {
111
+ font-family: $global-icon-font-family;
112
+ content: '#{$global-icon-toggle}';
113
+ font-size: $icon-size;
114
+ @extend %#{$toggle-component}-font !optional;
115
+ left: $icon-left;
116
+ top: $icon-top;
117
+ position: absolute;
118
+ }
119
+ }
120
+
121
+ }
122
+
123
+
124
+
125
+
126
+
127
+
@@ -0,0 +1,48 @@
1
+ /*
2
+ touch-ui-topbar
3
+
4
+ */
5
+
6
+ /* private -----------------------------------------------------------------------------------------------------------*/
7
+
8
+ @mixin _touch-ui-topbar($component:null,
9
+ $position:null,
10
+ $height:null,
11
+ $z-index:null,
12
+ $brand-font-size:null
13
+
14
+ ){
15
+
16
+ position:$position;
17
+ @if $position != relative {
18
+ z-index:$z-index;
19
+ top:0;
20
+ left:0;
21
+ }
22
+ @include flexbox($justification: center, $alignment:center);
23
+ opacity:1;
24
+ height:$height;
25
+ width:100%;
26
+ @extend %#{$component}-background !optional;
27
+ @extend %#{$component}-border !optional;
28
+ @extend %#{$component}-box-shadow !optional;
29
+ text-align: center;
30
+ .brand,ui-brand{
31
+ @extend %#{$component}-font !optional;
32
+ font-size:$brand-font-size;
33
+ margin-left:auto;
34
+ margin-right:auto;
35
+ @include flexbox($justification: center, $alignment:center);
36
+ a{
37
+ font-size:1em;
38
+ @extend %#{$component}-font !optional;
39
+ @include flexbox($justification: center, $alignment:center);
40
+ }
41
+ }
42
+ &>section{
43
+ display:none !important;
44
+ }
45
+ &>ul,ui-social{
46
+ display:none !important;
47
+ }
48
+ }
@@ -0,0 +1,746 @@
1
+ /* Typography *
2
+
3
+ /* Public ----------------------------------------------------------------------------------------------------------*/
4
+
5
+ @mixin typography-reset($paragraph-line-height: null,
6
+ $paragraph-margin: null,
7
+ $paragraph-lead-font-size: null,
8
+ $paragraph-header-sibling-margin: null,
9
+ $paragraph-hr-sibling-margin: null,
10
+ $grid-header-first-child-margin-top: null,
11
+ $aside-paragraph-font-size: null,
12
+ $aside-paragraph-font-style: null,
13
+ $aside-paragraph-line-height: null,
14
+ $inset: null,
15
+ $list-style-position: null,
16
+ $list-line-height: null,
17
+ $hr-border-top: null,
18
+ $hr-border-bottom: null,
19
+ $hr-height: null,
20
+ $hr-margin: null,
21
+ $highlight-background: null,
22
+ $highlight-font-weight: null,
23
+ $highlight-font-color: null,
24
+ $blockquote-border: null,
25
+ $blockquote-font-color: null,
26
+ $blockquote-font-size: null,
27
+ $blockquote-font-weight: null,
28
+ $blockquote-font-style: null,
29
+ $blockquote-line-height: null,
30
+ $blockquote-margin: null,
31
+ $blockquote-padding: null,
32
+ $cite-font-size: null,
33
+ $cite-font-color: null,
34
+ $cite-font-style: null) {
35
+
36
+ $typography-paragraph-line-height: 1.6 !default;
37
+ $typography-paragraph-margin: 0 0 1em 0 !default;
38
+ $typography-paragraph-lead-font-size: $global-font-size * 1.5 !default;
39
+ $typography-paragraph-header-sibling-margin: 2em 0 1em 0 !default;
40
+ $typography-paragraph-hr-sibling-margin: 2.5em 0 2.5em 0 !default;
41
+ $typography-grid-header-first-child-margin-top: 1em !default;
42
+ $typography-aside-paragraph-font-size: $global-font-size !default;
43
+ $typography-aside-paragraph-font-style: italic !default;
44
+ $typography-aside-paragraph-line-height: 150% !default;
45
+ $typography-inset: 0 1px 0 $white !default;
46
+ $typography-list-style-position: inside !default;
47
+ $typography-list-line-height: 1.25 !default;
48
+ $typography-hr-border-top: 1px solid $gray !default;
49
+ $typography-hr-border-bottom: 1px solid lighten($gray, 10%) !default;
50
+ $typography-hr-height: 1px !default;
51
+ $typography-highlight-background: #eee !default;
52
+ $typography-hightlight-font-weight: bold !default;
53
+ $typography-highlight-font-color: #333 !default;
54
+ $typography-hr-margin: 1em 0 1em !default;
55
+ $typography-blockquote-border: 0 !default;
56
+ $typography-blockquote-font-color: lighten($global-font-color, 10%) !default;
57
+ $typography-blockquote-font-size: $global-font-size !default;
58
+ $typography-blockquote-font-weight: normal !default;
59
+ $typography-blockquote-font-style: normal !default;
60
+ $typography-blockquote-line-height: 1.6 !default;
61
+ $typography-blockquote-margin: 1em 0 !default;
62
+ $typography-blockquote-padding: 1em !default;
63
+ $typography-cite-font-size: .8em !default;
64
+ $typography-cite-font-color: lighten($global-font-color, 20%) !default;
65
+ $typography-cite-font-style: normal !default;
66
+
67
+ @if($paragraph-line-height != null){
68
+ $typography-paragraph-line-height: $paragraph-line-height;
69
+ }
70
+ @if($paragraph-margin != null){
71
+ $typography-paragraph-margin: $paragraph-margin;
72
+ }
73
+ @if($paragraph-lead-font-size != null){
74
+ $typography-lead-font-size: $paragraph-lead-font-size;
75
+ }
76
+ @if($paragraph-header-sibling-margin != null){
77
+ $typography-paragraph-header-sibling-margin: $paragraph-header-sibling-margin;
78
+ }
79
+ @if($paragraph-hr-sibling-margin != null){
80
+ $typography-paragraph-hr-sibling-margin: $paragraph-hr-sibling-margin;
81
+ }
82
+ @if($grid-header-first-child-margin-top != null){
83
+ $typography-grid-header-first-child-margin-top: $grid-header-first-child-margin-top;
84
+ }
85
+ @if($aside-paragraph-font-size!= null){
86
+ $typography-aside-paragraph-font-size: $aside-paragraph-font-size;
87
+ }
88
+ @if($aside-paragraph-font-style!= null){
89
+ $typography-aside-paragraph-font-style: $aside-paragraph-font-style;
90
+ }
91
+ @if($aside-paragraph-line-height!= null){
92
+ $typography-aside-paragraph-line-height: $aside-paragraph-line-height;
93
+ }
94
+ @if($inset != null){
95
+ $typography-inset: $inset;
96
+ }
97
+ @if($list-style-position!= null){
98
+ $typography-list-style-position: $list-style-position;
99
+ }
100
+ @if($list-line-height!= null){
101
+ $typography-list-line-height: $list-line-height;
102
+ }
103
+ @if($hr-border-top!= null){
104
+ $typography-hr-border-top: $hr-border-top;
105
+ }
106
+ @if($hr-border-bottom!= null){
107
+ $typography-hr-border-bottom: $hr-border-bottom;
108
+ }
109
+ @if($hr-height!= null){
110
+ $typography-hr-height: $hr-height;
111
+ }
112
+ @if($hr-margin!= null){
113
+ $typography-hr-margin: $hr-margin;
114
+ }
115
+ @if($highlight-background!= null){
116
+ $typography-highlight-background: $highlight-background;
117
+ }
118
+ @if($highlight-font-weight!= null){
119
+ $typography-highlight-font-weight: $highlight-font-weight;
120
+ }
121
+ @if($highlight-font-color!= null){
122
+ $typography-highlight-font-color: $highlight-font-color;
123
+ }
124
+ @if($blockquote-border!= null){
125
+ $typography-blockquote-border: $blockquote-border;
126
+ }
127
+ @if($blockquote-font-color!= null){
128
+ $typography-blockquote-font-color: $blockquote-font-color;
129
+ }
130
+ @if($blockquote-font-size!= null){
131
+ $typography-blockquote-font-size: $blockquote-font-size;
132
+ }
133
+ @if($blockquote-font-weight!= null){
134
+ $typography-blockquote-font-weight: $blockquote-font-weight;
135
+ }
136
+ @if($blockquote-font-style!= null){
137
+ $typography-blockquote-font-style: $blockquote-font-style;
138
+ }
139
+ @if($blockquote-line-height!= null){
140
+ $typography-blockquote-line-height: $blockquote-line-height;
141
+ }
142
+ @if($blockquote-margin!= null){
143
+ $typography-blockquote-margin: $blockquote-margin;
144
+ }
145
+ @if($blockquote-padding!= null){
146
+ $typography-blockquote-padding: $blockquote-padding;
147
+ }
148
+ @if($cite-font-size!= null){
149
+ $typography-cite-font-size: $cite-font-size;
150
+ }
151
+ @if($cite-font-color!= null){
152
+ $typography-cite-font-color: $cite-font-color;
153
+ }
154
+ @if($cite-font-style!= null){
155
+ $typography-cite-font-style: $cite-font-style;
156
+ }
157
+
158
+ div, dl, dt, dd, ul, ol, li, pre, form, p, blockquote, th, td {
159
+ margin: 0;
160
+ padding: 0;
161
+ direction:ltr;
162
+ }
163
+
164
+ .font-normal {
165
+ font-weight: normal;
166
+ }
167
+
168
+ p {
169
+ line-height: $typography-paragraph-line-height;
170
+ margin: $typography-paragraph-margin;
171
+ &.lead {
172
+ font-size: $typography-paragraph-lead-font-size;
173
+ }
174
+ &.margin-top{
175
+ margin-top:1em;
176
+ }
177
+
178
+ }
179
+
180
+ aside p {
181
+ font-size: $typography-aside-paragraph-font-size;
182
+ line-height: $typography-aside-paragraph-line-height;
183
+ font-style: $typography-aside-paragraph-font-style;
184
+ }
185
+
186
+
187
+
188
+
189
+ p + hr {
190
+ margin: $typography-paragraph-hr-sibling-margin;
191
+
192
+ }
193
+ div{
194
+ &.columns + h1,
195
+ &.columns + h2,
196
+ &.columns + h3,
197
+ &.columns + h4,
198
+ &.columns + h5,
199
+ &.columns + h6{
200
+ &:first-child {
201
+ margin-top: $typography-grid-header-first-child-margin-top;
202
+ }
203
+ }
204
+ }
205
+
206
+ hr {
207
+ border: 0;
208
+ border-top: $typography-hr-border-top;
209
+ clear: both;
210
+ margin: $typography-hr-margin;
211
+ height: $typography-hr-height;
212
+ &.flush{
213
+ margin-top:0;
214
+ }
215
+ }
216
+
217
+ hr > div.row > div.column {
218
+ margin: 0;
219
+ }
220
+
221
+ em, i {
222
+ font-style: italic;
223
+ line-height: inherit;
224
+ }
225
+
226
+ strong, b {
227
+ font-weight: bold;
228
+ line-height: inherit;
229
+ }
230
+
231
+ small {
232
+ font-size: 85%;
233
+ line-height: inherit;
234
+ font-weight: normal;
235
+ }
236
+
237
+ code, .highlight {
238
+
239
+ }
240
+
241
+ .inset {
242
+ text-shadow: #{$global-inset};
243
+ }
244
+
245
+ blockquote, blockquote p {
246
+ line-height: $typography-blockquote-line-height;
247
+ color: $typography-blockquote-font-color;
248
+ margin: $typography-blockquote-margin;
249
+ padding: $typography-blockquote-padding;
250
+ font-size: $typography-blockquote-font-size;
251
+ font-style: $typography-blockquote-font-style;
252
+ border: $typography-blockquote-border;
253
+ cite {
254
+ display: block;
255
+ font-size: $typography-cite-font-size;
256
+ color: $typography-cite-font-color;
257
+ font-style: $typography-cite-font-style;
258
+ &:before {
259
+ content: "\2014 \0020";
260
+ }
261
+
262
+ }
263
+ &.info{
264
+ border-left:4px solid $component-info-font-color;
265
+ background:$component-info-background;
266
+ color:$component-info-font-color;
267
+ }
268
+ &.warning{
269
+ border-left:4px solid $component-warning-font-color;
270
+ background:$component-warning-background;
271
+ color:$component-warning-font-color;
272
+ }
273
+ &.success{
274
+ border-left:4px solid $component-success-font-color;
275
+ background:$component-success-background;
276
+ color:$component-success-font-color;
277
+ }
278
+ &.error{
279
+ border-left:4px solid $component-error-font-color;
280
+ background:$component-error-background;
281
+ color:$component-error-font-color;
282
+ }
283
+ }
284
+ a{
285
+ &.disabled,[disabled]{
286
+ color:#e1e1e1;
287
+ &:hover{
288
+ color:#e1e1e1;
289
+ opacity:1 !important;
290
+ }
291
+ }
292
+ }
293
+ button{
294
+ &[disabled]{
295
+ background:#eee !important;
296
+ color:#e1e1e1 !important;
297
+ border:0 !important;
298
+ box-shadow:none !important;
299
+ text-shadow:none !important;
300
+ }
301
+ }
302
+ abbr, acronym {
303
+ text-transform: uppercase;
304
+ font-size: 90%;
305
+ cursor: help;
306
+ }
307
+
308
+ abbr {
309
+ text-transform: none;
310
+ }
311
+ @content;
312
+ }
313
+
314
+ /* Header Typography --------------------------------------------------------------------------------------------------*/
315
+ @mixin typography-header($header-font-family: null,
316
+ $header-font-weight: null,
317
+ $header-line-height: null,
318
+ $header-margin: null,
319
+ $header-text-rendering: null,
320
+ $header-small-font-size: null,
321
+ $header-small-font-color: null,
322
+ $header-small-line-height: null,
323
+ $header-1: null,
324
+ $header-2: null,
325
+ $header-3: null,
326
+ $header-4: null,
327
+ $header-5: null,
328
+ $header-6: null,
329
+ $tablet-factor:.8,
330
+ $phone-factor:.6
331
+ ) {
332
+
333
+ $typography-header-font-family: inherit !default;
334
+ $typography-header-font-weight: 300 !default;
335
+ $typography-header-line-height: 1.1 !default;
336
+ $typography-header-margin: .2em 0 .3em 0 !default;
337
+ $typography-header-text-rendering: optimizeLegibility !default;
338
+ $typography-header-small-font-size: 60% !default;
339
+ $typography-header-small-font-color: lighten($global-header-font-color, 30%) !default;
340
+ $typography-header-small-line-height: 0 !default;
341
+
342
+ $typography-header-1: 4.9em !default;
343
+ $typography-header-2: 3.375em !default;
344
+ $typography-header-3: 2.375em !default;
345
+ $typography-header-4: 1.68em !default;
346
+ $typography-header-5: 1.2em !default;
347
+ $typography-header-6: 1em !default;
348
+
349
+
350
+ @if($header-font-family != null){
351
+ $typography-header-font-family: $header-font-family;
352
+ }
353
+ @if($header-font-weight != null){
354
+ $typography-header-font-weight: $header-font-weight;
355
+ }
356
+ @if($header-line-height != null){
357
+ $typography-header-line-height: $header-line-height;
358
+ }
359
+ @if($header-margin != null){
360
+ $typography-header-margin: $header-margin;
361
+ }
362
+ @if($header-text-rendering != null){
363
+ $typography-header-text-rendering: $header-text-rendering;
364
+ }
365
+ @if($header-small-font-size != null){
366
+ $typography-header-small-font-size: $header-small-font-size;
367
+ }
368
+ @if($header-small-font-color != null){
369
+ $typography-header-small-font-color: $header-small-font-color;
370
+ }
371
+ @if($header-small-line-height != null){
372
+ $typography-header-small-line-height: $header-small-line-height;
373
+ }
374
+ @if($header-1 != null){
375
+ $typography-header-1: $header-1;
376
+ }
377
+ @if($header-2 != null){
378
+ $typography-header-2: $header-2;
379
+ }
380
+ @if($header-3 != null){
381
+ $typography-header-3: $header-3;
382
+ }
383
+ @if($header-4 != null){
384
+ $typography-header-4: $header-4;
385
+ }
386
+ @if($header-5 != null){
387
+ $typography-header-5: $header-5;
388
+ }
389
+ @if($header-6 != null){
390
+ $typography-header-6: $header-6;
391
+ }
392
+
393
+
394
+
395
+ h1, h2, h3, h4, h5, h6 {
396
+ font-family: $typography-header-font-family;
397
+ font-weight: $typography-header-font-weight;
398
+ color: $global-header-font-color;
399
+ text-rendering: $typography-header-text-rendering;
400
+ line-height: $typography-header-line-height;
401
+ margin: $typography-header-margin;
402
+ small {
403
+ font-size: $typography-header-small-font-size;
404
+ color: $typography-header-small-font-color;
405
+ line-height: $typography-header-small-line-height;
406
+ }
407
+ &.primary {
408
+ color: $primary-color;
409
+ }
410
+ &.white {
411
+ color: $white;
412
+ }
413
+ &.inverse {
414
+ color: $inverse-color;
415
+ }
416
+ &.secondary {
417
+ color: $secondary-color;
418
+ }
419
+ &.error {
420
+ color: $error-color;
421
+ }
422
+ &.info {
423
+ color: $info-color;
424
+ }
425
+ &.success {
426
+ color: $success-color;
427
+ }
428
+ &.warning {
429
+ color: $warning-color;
430
+ }
431
+ }
432
+
433
+ h1 {
434
+ font-size: $typography-header-1;
435
+ }
436
+
437
+ h2 {
438
+ font-size: $typography-header-2;
439
+ }
440
+
441
+ h3 {
442
+ font-size: $typography-header-3;
443
+ }
444
+
445
+ h4 {
446
+ font-size: $typography-header-4;
447
+ }
448
+
449
+ h5 {
450
+ font-size: $typography-header-5;
451
+ }
452
+
453
+ h6 {
454
+ font-size: $typography-header-6;
455
+ }
456
+
457
+ @media #{$breakpoint-tablet} {
458
+
459
+ h1 {
460
+ font-size: $tablet-factor*$typography-header-1;
461
+ }
462
+ h2 {
463
+ font-size: $tablet-factor*$typography-header-2;
464
+ }
465
+ h3 {
466
+ font-size: $tablet-factor*$typography-header-3;
467
+ }
468
+ h4 {
469
+ font-size: $tablet-factor*$typography-header-4;
470
+ }
471
+ }
472
+
473
+ //Media queries
474
+ @media #{$breakpoint-phone} {
475
+ h1 {
476
+ font-size: $phone-factor*$typography-header-1;
477
+ }
478
+ h2 {
479
+ font-size: $phone-factor*$typography-header-2;
480
+ }
481
+ h3 {
482
+ font-size: $phone-factor*$typography-header-3;
483
+ }
484
+ h4 {
485
+ font-size: $tablet-factor*$typography-header-4;
486
+ }
487
+
488
+ }
489
+
490
+
491
+ @content;
492
+ }
493
+
494
+ @mixin typography-header-margins(){
495
+ h2 + hr{
496
+ margin-top:3em;
497
+ }
498
+
499
+ section + section{
500
+ margin-top:2em;
501
+ }
502
+
503
+ p + h1, p + h2, p + h3, p + h4, p + h5, p + h6 {
504
+ margin: 1em 0 .4em 0;
505
+ }
506
+ section{
507
+ h4{
508
+ margin-bottom:.3em;
509
+ }
510
+ }
511
+ @content;
512
+ }
513
+
514
+
515
+ @mixin typography-theme-break($border-top:1px solid $gray,$margin:1em 0 1em,$height:1px){
516
+ hr {
517
+ border: 0;
518
+ border-top: $border-top;
519
+ clear: both;
520
+ margin: $margin;
521
+ height: $height;
522
+ &.flush{
523
+ margin-top:0;
524
+ }
525
+ width:100%;
526
+
527
+ @content;
528
+ }
529
+ }
530
+
531
+ /* Footer Typography --------------------------------------------------------------------------------------------------*/
532
+ @mixin typography-footer($margin: null,
533
+ $padding: null,
534
+ $link-font-size: null,
535
+ $link-color: null,
536
+ $link-color-hover: null,
537
+ $copyright-font-size: null,
538
+ $copyright-font-color: null,
539
+ $copyright-text-transform: null,
540
+ $link-font-weight: null,
541
+ $label-font-weight: null,
542
+ $hr-margin: null,
543
+ $ul-margin: null,
544
+ $label-color: null) {
545
+
546
+
547
+ $typography-footer-margin:4em 0 0 0;
548
+ $typography-footer-padding:0;
549
+ $typography-footer-link-font-size: inherit !default;
550
+ $typography-footer-link-color: $global-font-color !default;
551
+ $typography-footer-link-color-hover: darken($global-font-color, 15%) !default;
552
+ $typography-footer-copyright-font-size: 1em !default;
553
+ $typography-footer-copyright-font-color: $global-font-color !default;
554
+ $typography-footer-copyright-text-transform: uppercase !default;
555
+ $typography-footer-link-font-weight: normal !default;
556
+ $typography-footer-label-font-weight: normal !default;
557
+ $typography-footer-hr-margin: 0 0 1em 0 !default;
558
+ $typography-footer-ul-margin: 1.5em 0 2em 0 !default;
559
+ $typography-footer-label-color: $global-font-color !default;
560
+
561
+
562
+ @if($margin != null){
563
+ $typography-footer-margin: $margin;
564
+ }
565
+ @if($padding != null){
566
+ $typography-footer-padding: $padding;
567
+ }
568
+ @if($link-font-size != null){
569
+ $typography-footer-link-font-size: $link-font-size;
570
+ }
571
+ @if($link-font-weight != null){
572
+ $typography-footer-link-font-weight: $link-font-weight;
573
+ }
574
+ @if($link-color != null){
575
+ $typography-footer-link-color: $link-color;
576
+ }
577
+ @if($link-color-hover != null){
578
+ $typography-footer-link-color-hover: $link-color-hover;
579
+ }
580
+ @if($copyright-font-size != null){
581
+ $typography-footer-copyright-font-size: $copyright-font-size;
582
+ }
583
+ @if($copyright-font-color != null){
584
+ $typography-footer-copyright-font-color: $copyright-font-color;
585
+ }
586
+ @if($copyright-text-transform != null){
587
+ $typography-footer-copyright-text-transform: $copyright-text-transform;
588
+ }
589
+ @if($label-font-weight != null){
590
+ $typography-footer-label-font-weight: $label-font-weight;
591
+ }
592
+ @if($label-color != null){
593
+ $typography-footer-label-color: $label-color;
594
+ }
595
+ @if($ul-margin != null){
596
+ $typography-footer-ul-margin: $ul-margin;
597
+ }
598
+ @if($hr-margin != null){
599
+ $typography-footer-hr-margin: $hr-margin;
600
+ }
601
+
602
+ :root {
603
+ footer[data-role=footer] {
604
+ margin:$typography-footer-margin;
605
+ padding:$typography-footer-padding;
606
+ hr {
607
+ margin: $typography-footer-hr-margin;
608
+ }
609
+ ul {
610
+
611
+ list-style: none;
612
+ display: block;
613
+ padding: 0;
614
+ text-align: center;
615
+ margin: $typography-footer-ul-margin;
616
+
617
+ & > li {
618
+ padding: 0 1em 0 1em;
619
+ display: inline;
620
+ line-height: 3;
621
+
622
+ &:first-child {
623
+ padding-left: 0;
624
+ }
625
+ &:last-child {
626
+ padding-right: 0;
627
+ }
628
+ a {
629
+
630
+ font-size: $typography-footer-link-font-size;
631
+ color: $typography-footer-link-color;
632
+
633
+ font-weight: $typography-footer-link-font-weight;
634
+ &:hover, &:focus {
635
+ color: $typography-footer-link-color-hover;
636
+
637
+ }
638
+ }
639
+ &.label {
640
+ font-size: $typography-footer-link-font-size;
641
+ font-weight: $typography-footer-label-font-weight;
642
+ background: none;
643
+ color: $global-font-color;
644
+ }
645
+ }
646
+
647
+ }
648
+ .copyright {
649
+ font-size: $typography-footer-copyright-font-size;
650
+ color: $typography-footer-copyright-font-color;
651
+ text-align: center;
652
+ display: block;
653
+ & > span {
654
+ text-transform: $typography-footer-copyright-text-transform;
655
+ }
656
+ }
657
+ }
658
+
659
+ }
660
+
661
+ :root {
662
+ footer[data-role=footer] {
663
+ @content;
664
+ }
665
+ }
666
+
667
+ }
668
+
669
+
670
+
671
+ /* Print Typography ----------------------------------------------------------------------------------------*/
672
+
673
+ @mixin typography-print() {
674
+
675
+ .print-only {
676
+ display: none !important;
677
+ }
678
+
679
+ @media print {
680
+ * {
681
+ background: transparent !important;
682
+ color: black !important;
683
+ box-shadow: none !important;
684
+ text-shadow: none !important;
685
+ filter: none !important;
686
+ -ms-filter: none !important;
687
+ }
688
+
689
+ a, a:visited {
690
+ text-decoration: underline;
691
+ }
692
+ a[href]:after {
693
+ content: " (" attr(href) ")";
694
+ }
695
+ abbr[title]:after {
696
+ content: " (" attr(title) ")";
697
+ }
698
+ .ir a:after, a[href^="javascript:"]:after, a[href^="#"]:after {
699
+ content: "";
700
+ }
701
+
702
+ pre, blockquote {
703
+ border: 1px solid #999;
704
+ page-break-inside: avoid;
705
+ }
706
+ thead {
707
+ display: table-header-group;
708
+ }
709
+
710
+ tr, img {
711
+ page-break-inside: avoid;
712
+ }
713
+ img {
714
+ max-width: 100% !important;
715
+ }
716
+ @page {
717
+ margin: 0.5cm;
718
+ }
719
+
720
+ p, h2, h3 {
721
+ orphans: 3;
722
+ widows: 3;
723
+ }
724
+
725
+ h2, h3 {
726
+ page-break-after: avoid;
727
+ }
728
+
729
+ .hide-on-print {
730
+ display: none !important;
731
+ }
732
+
733
+ .print-only {
734
+ display: block !important;
735
+ }
736
+
737
+ .hide-for-print {
738
+ display: none !important;
739
+ }
740
+
741
+ .show-for-print {
742
+ display: inherit !important;
743
+ }
744
+ }
745
+ @content;
746
+ }