@finqu/cool 1.2.28 → 1.2.29

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 (72) hide show
  1. package/dist/css/cool-grid.css +703 -17
  2. package/dist/css/cool-grid.css.map +3 -3
  3. package/dist/css/cool-grid.min.css +1 -1
  4. package/dist/css/cool-grid.min.css.map +1 -1
  5. package/dist/css/cool-reboot.css +16 -15
  6. package/dist/css/cool-reboot.css.map +7 -7
  7. package/dist/css/cool-reboot.min.css +1 -1
  8. package/dist/css/cool-reboot.min.css.map +1 -1
  9. package/dist/css/cool.css +2663 -2160
  10. package/dist/css/cool.css.map +30 -30
  11. package/dist/css/cool.min.css +1 -1
  12. package/dist/css/cool.min.css.map +1 -1
  13. package/dist/js/cool.bundle.js +127 -107
  14. package/dist/js/cool.bundle.js.map +1 -1
  15. package/dist/js/cool.bundle.min.js +3 -3
  16. package/dist/js/cool.bundle.min.js.map +1 -1
  17. package/dist/js/cool.esm.js +127 -107
  18. package/dist/js/cool.esm.js.map +1 -1
  19. package/dist/js/cool.esm.min.js +3 -3
  20. package/dist/js/cool.esm.min.js.map +1 -1
  21. package/dist/js/cool.js +127 -107
  22. package/dist/js/cool.js.map +1 -1
  23. package/dist/js/cool.min.js +3 -3
  24. package/dist/js/cool.min.js.map +1 -1
  25. package/html/index.html +41 -42
  26. package/js/dist/collapse.js +912 -667
  27. package/js/dist/collapse.js.map +1 -1
  28. package/js/dist/common.js +1211 -1367
  29. package/js/dist/common.js.map +1 -1
  30. package/js/dist/dropdown.js +2 -2
  31. package/js/dist/popover.js +1784 -1610
  32. package/js/dist/popover.js.map +1 -1
  33. package/js/dist/sectiontabs.js +2 -2
  34. package/js/dist/select.js +3330 -3302
  35. package/js/dist/select.js.map +1 -1
  36. package/js/dist/tooltip.js +2 -2
  37. package/js/src/collapse.js +44 -30
  38. package/js/src/common.js +60 -77
  39. package/js/src/dialog.js +3 -2
  40. package/js/src/popover.js +15 -4
  41. package/js/src/select.js +7 -6
  42. package/package.json +1 -1
  43. package/scss/_alert.scss +26 -30
  44. package/scss/_badge.scss +44 -13
  45. package/scss/_buttons.scss +60 -19
  46. package/scss/_custom-forms.scss +51 -36
  47. package/scss/_dialog.scss +15 -16
  48. package/scss/_dropdown.scss +2 -0
  49. package/scss/_forms.scss +2 -1
  50. package/scss/_frame.scss +310 -231
  51. package/scss/_functions.scss +1 -1
  52. package/scss/_images.scss +51 -52
  53. package/scss/_input-group.scss +35 -21
  54. package/scss/_navbar.scss +30 -4
  55. package/scss/_pagination.scss +25 -16
  56. package/scss/_popover.scss +3 -1
  57. package/scss/_reboot.scss +5 -4
  58. package/scss/_root.scss +3 -3
  59. package/scss/_section.scss +162 -97
  60. package/scss/_select.scss +12 -0
  61. package/scss/_tables.scss +55 -36
  62. package/scss/_tabs.scss +29 -26
  63. package/scss/_type.scss +9 -1
  64. package/scss/_variables.scss +376 -252
  65. package/scss/mixins/_alert-variant.scss +6 -11
  66. package/scss/mixins/_badge-variant.scss +2 -2
  67. package/scss/mixins/_gradients.scss +5 -5
  68. package/scss/utilities/_background.scss +3 -3
  69. package/scss/utilities/_borders.scss +5 -5
  70. package/scss/utilities/_placeholder.scss +6 -5
  71. package/scss/utilities/_text.scss +3 -3
  72. package/html/dropdown-test.html +0 -200
package/scss/_frame.scss CHANGED
@@ -6,7 +6,7 @@
6
6
  // Html
7
7
  html.dom-ready {
8
8
 
9
- @include media-breakpoint-down(sm) {
9
+ @include media-breakpoint-down(lg) {
10
10
  .sidebar-left,
11
11
  .sidebar-right {
12
12
  transition: all 0.33s cubic-bezier(0.685, 0.0473, 0.346, 1);
@@ -27,7 +27,7 @@
27
27
 
28
28
  // Body
29
29
  body {
30
- @include media-breakpoint-down(sm) {
30
+ @include media-breakpoint-down(lg) {
31
31
  &.sidebar-left-open {
32
32
  .site-main > .sidebar-left {
33
33
  transform: translate3d(0px, 0, 0);
@@ -55,17 +55,31 @@
55
55
 
56
56
  // Site header
57
57
  .site-header {
58
- @include media-breakpoint-down(sm) {
58
+ position: relative;
59
+ z-index: 0;
60
+
61
+ @include media-breakpoint-down(lg) {
59
62
  transition: all 0.33s cubic-bezier(0.685, 0.0473, 0.346, 1);
60
63
  }
61
64
 
62
65
  & + .site-main {
63
66
  height: calc(100% - #{$navbar-height + $navbar-border-width});
64
67
 
65
- @include media-breakpoint-down(sm) {
68
+ @include media-breakpoint-down(lg) {
66
69
  height: calc(100% - #{$navbar-height-sm + $navbar-border-width});
67
70
  }
68
71
  }
72
+
73
+ @each $breakpoint, $container-max-width in $container-max-widths {
74
+
75
+ @include media-breakpoint-up($breakpoint) {
76
+ $infix: breakpoint-infix($breakpoint, $grid-breakpoints);
77
+
78
+ &.d#{$infix}-none + .site-main {
79
+ height: 100%;
80
+ }
81
+ }
82
+ }
69
83
  }
70
84
 
71
85
 
@@ -74,6 +88,7 @@
74
88
  position: relative;
75
89
  overflow: visible;
76
90
  z-index: 1;
91
+ height: 100%;
77
92
 
78
93
  // Site content
79
94
  .content {
@@ -85,11 +100,21 @@
85
100
  float: none;
86
101
  transition: all 0.33s cubic-bezier(0.685, 0.0473, 0.346, 1);
87
102
  -webkit-overflow-scrolling: touch;
103
+ box-shadow: $frame-content-box-shadow;
104
+ background-color: $frame-content-bg;
105
+ padding: $frame-content-padding-sm;
106
+ border-radius: $frame-content-border-radius-sm;
88
107
 
89
- @include media-breakpoint-up(md) {
108
+ &.no-bg {
109
+ background-color: transparent;
110
+ }
111
+
112
+ @include media-breakpoint-up(lg) {
90
113
  transition-property: top, bottom, width;
91
114
  transition-duration: 0.2s, 0.2s, 0.35s;
92
115
  transition-timing-function: linear, linear, ease;
116
+ padding: $frame-content-padding;
117
+ border-radius: $frame-content-border-radius;
93
118
  }
94
119
 
95
120
  .content-inner {
@@ -97,50 +122,74 @@
97
122
  margin: 20px 0;
98
123
  overflow: visible;
99
124
 
100
- @include media-breakpoint-up(md) {
125
+ @include media-breakpoint-up(lg) {
101
126
  margin: 20px 0;
102
127
  }
128
+
129
+ @include media-breakpoint-down(sm) {
130
+ > .alert,
131
+ .section-container > .alert,
132
+ .section {
133
+ width: auto;
134
+ margin-left: -$frame-content-padding-sm * 2;
135
+ margin-right: -$frame-content-padding-sm * 2;
136
+ }
137
+ }
103
138
  }
104
139
 
105
140
  .content-header {
106
141
  position: relative;
107
142
  width: 100%;
108
- margin: 20px 0;
143
+ margin: 0 0 spacer(4);
109
144
 
110
145
  & + .content-inner {
111
146
  margin-top: 0;
112
147
  }
113
148
 
114
- @include media-breakpoint-up(md) {
115
- margin: 20px 0;
149
+ @include media-breakpoint-up(lg) {
150
+ margin: 0 0 spacer(4);
151
+ }
152
+
153
+ .breadcrumbs {
154
+ font-family: $font-family-title;
155
+ font-weight: 500;
116
156
  }
117
157
 
118
158
  .content-header-title {
119
- font-size: $h3-font-size;
159
+ font-size: $h4-font-size;
120
160
  margin-bottom: 0;
161
+ font-family: $font-family-title;
162
+ font-weight: 600;
163
+ word-break: break-all;
121
164
 
122
165
  @include media-breakpoint-up(sm) {
123
- font-size: $h1-font-size;
166
+ font-size: $h3-font-size;
124
167
  }
125
168
  }
126
169
 
127
- .content-header-primary-action .btn {
128
- @include media-breakpoint-up(sm) {
129
- @include button-size($btn-padding-y, $btn-padding-x, $btn-font-size , $btn-line-height, $btn-border-radius);
170
+ .content-header-primary-action {
171
+ .btn {
172
+ @include button-size($btn-padding-y-sm, $btn-padding-x-sm, $btn-font-size-sm, $btn-line-height-sm, $btn-border-radius-sm);
173
+
174
+ @include media-breakpoint-up(sm) {
175
+ @include button-size($btn-padding-y, $btn-padding-x, $btn-font-size, $btn-line-height, $btn-border-radius);
176
+ }
130
177
  }
131
178
  }
132
179
 
180
+ .content-header-helper-actions {
181
+ margin-top: 10px;
182
+ }
183
+
133
184
  .content-header-secondary-actions {
134
185
  font-size: 0;
135
186
 
136
187
  &.has-content {
137
- margin-top: 20px;
138
- margin-bottom: 20px;
188
+ margin: 20px (-$btn-padding-x-sm - 2px);
189
+ }
139
190
 
140
- @include media-breakpoint-up(md) {
141
- margin-top: 10px;
142
- margin-bottom: 0;
143
- }
191
+ .btn {
192
+ @include button-size($btn-padding-y, $btn-padding-x, $btn-font-size, $btn-line-height, $btn-border-radius);
144
193
  }
145
194
  }
146
195
  }
@@ -166,15 +215,17 @@
166
215
  transition-property: top, bottom, width;
167
216
  transition-duration: 0.2s, 0.2s, 0.35s;
168
217
  transition-timing-function: linear, linear, ease;
169
- z-index: 1000;
218
+ z-index: auto;
219
+ padding: $frame-sidebar-left-padding-y $frame-sidebar-left-padding-x;
170
220
 
171
- @include media-breakpoint-down(sm) {
221
+ @include media-breakpoint-down(lg) {
172
222
  position: fixed;
173
223
  right: auto;
174
224
  visibility: visible;
225
+ z-index: 1000;
175
226
  }
176
227
 
177
- @include media-breakpoint-up(md) {
228
+ @include media-breakpoint-up(lg) {
178
229
  background-color: $frame-sidebar-left-bg;
179
230
 
180
231
  &.visible {
@@ -192,29 +243,23 @@
192
243
  }
193
244
 
194
245
  .sidebar-header {
195
- padding: 20px;
196
-
197
- & + .sidebar-content {
198
- &:before {
199
- content: '';
200
- display: block;
201
- border-top: $frame-sidebar-left-border-width solid $frame-sidebar-left-border-color;
202
- }
203
- }
204
-
205
- @include media-breakpoint-up(md) {
206
- & + .sidebar-content {
207
- &:before {
208
- display: none;
209
- }
210
- }
211
- }
246
+ padding: $frame-sidebar-left-header-padding-y $frame-sidebar-left-header-padding-x 0 $frame-sidebar-left-header-padding-x;
247
+ z-index: 11;
248
+ position: relative;
212
249
  }
213
250
 
214
251
  .sidebar-content {
215
252
  position: relative;
216
253
  height: 100%;
217
254
  z-index: 10;
255
+ padding: $frame-sidebar-left-content-padding-y $frame-sidebar-left-content-padding-x;
256
+ display: flex;
257
+ flex-direction: column;
258
+ margin-top: $frame-sidebar-spacing;
259
+
260
+ > * {
261
+ flex-shrink: 0;
262
+ }
218
263
 
219
264
  .ps__thumb-y {
220
265
  background-color: rgba(0,0,0,0.5);
@@ -232,43 +277,90 @@
232
277
  .nav {
233
278
  position: relative;
234
279
  margin: 0;
235
- padding: 0;
280
+ padding: $frame-sidebar-nav-padding-y $frame-sidebar-nav-padding-x;
236
281
  list-style: none;
282
+ font-family: $frame-sidebar-nav-font-family;
237
283
 
238
284
  li {
239
- display: flex;
240
- align-items: center;
241
- flex-wrap: wrap;
242
- position: relative;
243
-
244
- [data-collapse-indicator] {
245
- width: 21px;
246
- }
285
+ display: block;
247
286
 
248
- .nav-additional-action {
249
- padding: 8px 10px;
250
- flex: 0 auto;
251
- border: 0;
287
+ .nav-item {
288
+ cursor: pointer;
289
+ display: flex;
290
+ justify-content: space-between;
291
+ align-items: center;
292
+ overflow: hidden;
293
+ padding: $frame-sidebar-nav-item-child-padding-y $frame-sidebar-nav-item-child-padding-x;
294
+ position: relative;
252
295
  background: none;
253
- margin: 0 10px 0 0;
254
- width: 16px;
255
- text-align: center;
256
- box-sizing: content-box;
296
+ border: 0;
297
+ flex: 0 0 auto;
298
+ margin: 0;
257
299
  outline: 0;
300
+ word-break: break-all;
301
+
302
+ [data-collapse-indicator] {
303
+ color: theme-color('medium');
304
+
305
+ @include media-breakpoint-up(lg) {
306
+ display: none;
307
+ }
308
+ }
309
+
310
+ .nav-item-title {
311
+ display: inline;
312
+ position: relative;
313
+ color: $frame-sidebar-nav-item-child-color;
314
+ font-size: $frame-sidebar-nav-item-child-font-size;
315
+ font-weight: $frame-sidebar-nav-item-child-font-weight;
258
316
 
259
- &:hover {
260
- .icon {
261
- color: $frame-sidebar-nav-icon-hover-color;
317
+ &:after {
318
+ display: block;
319
+ content: " ";
320
+ position: absolute;
321
+ left: 0;
322
+ bottom: -2px;
323
+ width: 100%;
324
+ height: 2px;
325
+ border-radius: 2px;
326
+ background-color: black;
327
+ transform: scaleX(0);
328
+ transform-origin: left;
329
+ transition-property: transform;
330
+ transition-duration: .5s;
331
+ transition-timing-function: cubic-bezier(0.24, -0.06, 0.17, 1.71);
332
+ }
333
+ }
334
+
335
+ &:hover,
336
+ &:focus {
337
+ outline: 0;
338
+
339
+ .nav-item-title {
340
+ color: $frame-sidebar-nav-item-child-hover-color;
341
+
342
+ &:after {
343
+ transform: scaleX(1);
344
+ }
262
345
  }
263
346
  }
264
347
 
265
- .icon {
266
- color: $frame-sidebar-nav-icon-color;
348
+ &.active {
349
+ outline: 0;
350
+
351
+ .nav-item-title {
352
+ color: $frame-sidebar-nav-item-child-active-color;
353
+
354
+ &:after {
355
+ transform: scaleX(1);
356
+ }
357
+ }
267
358
  }
268
359
  }
269
360
 
270
361
  &.nav-parent {
271
362
  > .nav-item {
363
+ padding: $frame-sidebar-nav-item-padding-y $frame-sidebar-nav-item-padding-x;
272
364
 
273
365
  &[disabled] {
274
366
  cursor: default;
@@ -295,97 +387,132 @@
295
387
  }
296
388
  }
297
389
 
390
+ &.active[aria-expanded="true"] {
391
+ cursor: default;
392
+
393
+ .nav-item-title:after {
394
+ display: none;
395
+ }
396
+ }
397
+
298
398
  .nav-item-title {
299
- display: block;
300
- position: relative;
301
- font-size: $frame-sidebar-nav-item-parent-font-size;
302
- font-weight: $font-weight-normal;
303
399
  color: $frame-sidebar-nav-item-parent-color;
304
- line-height: 25px;
400
+ flex: 0 0 auto;
401
+ font-size: $frame-sidebar-nav-item-parent-font-size;
402
+ font-weight: $frame-sidebar-nav-item-parent-font-weight;
403
+ position: relative;
305
404
  align-self: center;
405
+ display: inline;
406
+ line-height: 25px;
306
407
  text-align: left;
307
- width: 100%;
308
408
 
309
- @include media-breakpoint-up(sm) {
310
- font-weight: $font-weight-bold;
311
- }
409
+ &:after {
410
+ bottom: -3px;
411
+ height: 3px;
412
+ border-radius: 3px;
413
+ }
312
414
  }
313
415
 
314
- .nav-icon {
315
- align-self: center;
316
- float: left;
317
- text-align: center;
318
- line-height: 25px;
319
- font-size: $frame-sidebar-nav-icon-size;
320
- margin: 0 auto;
321
- color: $frame-sidebar-nav-icon-color;
322
- min-width: 23px;
323
-
324
- & + span {
325
- margin-left: 20px;
416
+ &[data-toggle="collapse"] {
417
+ .nav-item-title {
418
+ &:after {
419
+ display: none;
420
+ }
421
+
422
+ @include media-breakpoint-up(lg) {
423
+ &:after {
424
+ display: block;
425
+ }
426
+ }
326
427
  }
327
428
  }
429
+ }
430
+ }
431
+
432
+ .nav {
433
+ padding: $frame-sidebar-sub-nav-padding-y $frame-sidebar-sub-nav-padding-x;
328
434
 
329
- .icon {
330
- color: $frame-sidebar-nav-icon-color;
435
+ li {
436
+ > .nav-item {
437
+ padding-left: 0;
331
438
  }
332
439
  }
333
440
  }
441
+ }
442
+ }
334
443
 
335
- .nav-item {
336
- position: relative;
337
- display: inline-flex;
338
- flex: 1 0;
339
- cursor: pointer;
340
- padding: 8px 20px;
341
- margin: 0;
342
- opacity: .85;
343
- border: 0;
344
- background: none;
345
- outline: 0;
346
- word-break: break-all;
444
+ > .spacer {
445
+ flex-grow: 1;
446
+ flex-shrink: 1;
447
+ }
448
+ }
347
449
 
348
- .nav-item-title {
349
- color: $frame-sidebar-nav-item-child-color;
350
- }
450
+ .user-account {
451
+ display: none;
452
+ flex-direction: row;
453
+ justify-content: center;
454
+ align-items: center;
455
+ cursor: pointer;
456
+ padding: $frame-sidebar-left-content-padding-y $frame-sidebar-left-content-padding-x;
457
+ margin-top: $frame-sidebar-spacing;
351
458
 
352
- &:hover,
353
- &:focus {
354
- outline: 0;
459
+ @include media-breakpoint-up(lg) {
460
+ display: flex;
461
+ }
355
462
 
356
- .nav-item-title {
357
- color: $frame-sidebar-nav-item-child-hover-color;
358
- }
359
- }
463
+ &:hover {
464
+ background-color: lighten($body-bg, 3%);
465
+ }
360
466
 
361
- &.active {
362
- outline: 0;
467
+ .avatar {
468
+ margin-right: spacer(2);
469
+ position: relative;
470
+ border: $border-width solid $grey-50;
471
+ border-radius: 50%;
363
472
 
364
- .nav-item-title {
365
- color: $frame-sidebar-nav-item-child-active-color;
366
- font-weight: $font-weight-bold;
367
- }
368
- }
369
- }
473
+ .image {
474
+ overflow: hidden;
475
+ }
370
476
 
371
- // Sub links
372
- li {
477
+ .notification-counter {
478
+ background-color: theme-color('brand');
479
+ color: white;
480
+ font-weight: bolder;
481
+ font-size: 10px;
482
+ border-radius: 10px;
483
+ padding: 2px 4px;
484
+ height: 18px;
485
+ display: flex;
486
+ justify-content: center;
487
+ align-items: center;
488
+ position: absolute;
489
+ left: -5px;
490
+ top: -5px;
491
+ z-index: 10;
492
+ border: $border-width solid $grey-50;
493
+ }
494
+ }
373
495
 
374
- &.divider {
375
- margin-left: 65px;
376
- margin-right: 20px;
377
- border-bottom: 1px solid $frame-sidebar-nav-item-border-color;
378
- }
496
+ .information {
497
+ font-family: $font-family-title;
498
+ font-weight: 600;
499
+ flex: 1;
379
500
 
380
- > .nav-item {
381
- padding-left: 65px;
382
- }
383
- }
501
+ .user-name {
502
+ font-size: $font-size-sm;
503
+ margin-bottom: 0;
504
+ color: theme-color('dark');
505
+ }
506
+
507
+ .merchant-name {
508
+ font-size: $font-size-xs;
509
+ margin-bottom: 0;
510
+ color: theme-color('medium');
384
511
  }
385
512
  }
386
513
 
387
- > .nav {
388
- padding: 20px 0;
514
+ .icon {
515
+ color: theme-color('medium');
389
516
  }
390
517
  }
391
518
  }
@@ -408,139 +535,91 @@
408
535
  border-left: $frame-sidebar-right-border-width solid $frame-sidebar-right-border-color;
409
536
  box-sizing: border-box;
410
537
 
411
- @include media-breakpoint-up(md) {
538
+ @include media-breakpoint-up(lg) {
412
539
  background-color: $frame-sidebar-right-bg;
413
540
  }
414
541
 
415
- @include media-breakpoint-down(sm) {
542
+ @include media-breakpoint-down(lg) {
416
543
  position: fixed;
417
544
  left: auto;
418
545
  visibility: visible;
419
546
  overflow-y: visible;
420
547
  }
421
548
 
422
- .sidebar-tabs {
423
- display: flex;
424
- flex-wrap: wrap;
425
- padding: 0;
426
- margin: 0;
427
- list-style: none;
428
- border-bottom: 1px solid $frame-sidebar-tabs-border-color;
429
- min-height: 49px;
430
-
431
- .tab-item {
432
- display: flex;
433
- align-items: center;
434
- justify-content: center;
435
- flex: 1;
436
- margin-bottom: -1px;
549
+ @include media-breakpoint-up(lg) {
550
+ &.visible {
551
+ transform: translate3d(0, 0, 0);
437
552
 
438
- .tab-item-action {
439
- display: block;
440
- border-left: 0;
441
- border-top: 0;
442
- border-right: 0;
443
- border-bottom: 2px solid transparent;
444
- cursor: pointer;
445
- padding: 0;
446
- margin: 0;
447
- background: $frame-sidebar-tabs-bg;
448
- outline: 0;
449
- width: 100%;
450
- height: 100%;
451
- color: $frame-sidebar-tabs-color;
452
-
453
- &.active {
454
- color: $frame-sidebar-tabs-active-color;
455
- border-color: $frame-sidebar-tabs-active-border-color;
456
- background-color: $frame-sidebar-tabs-active-bg;
457
- }
553
+ & + .content {
554
+ width: calc(100% - #{$frame-sidebar-right-width});
555
+ float: right;
458
556
 
459
- &:hover:not(.active) {
460
- color: $frame-sidebar-tabs-hover-color;
461
- border-color: $frame-sidebar-tabs-hover-border-color;
557
+ .container-content {
558
+ max-width: 100%;
462
559
  }
463
560
  }
464
561
  }
465
562
  }
466
-
467
- .sidebar-tab-content {
468
- position: relative;
469
- overflow: hidden;
470
- display: flex;
471
- height: 100%;
472
- transition: height .5s cubic-bezier(.35,0,.25,1);
473
-
474
- .sidebar-tab {
475
- top: 0;
476
- left: 0;
477
- right: 0;
478
- bottom: 0;
479
- position: absolute;
480
- display: block;
481
- overflow: hidden;
482
-
483
- &.active {
484
- position: relative;
485
- overflow-x: hidden;
486
- overflow-y: auto;
487
- z-index: 1;
488
- flex-grow: 1;
489
- }
490
-
491
- .tab-content {
492
- position: relative;
493
- backface-visibility: hidden;
494
- height: 100%;
495
- overflow: auto;
496
- transition: all .3s ease-in-out;
497
- padding: 15px;
498
- }
499
- }
500
- }
501
563
  }
502
564
  }
503
565
 
504
566
  } @else {
567
+ .container-content {
568
+ margin-top: 30px;
505
569
 
506
- .content-header {
507
- position: relative;
508
- width: 100%;
509
- margin: 20px 0;
570
+ .content-header {
571
+ position: relative;
572
+ width: 100%;
573
+ margin: 0 0 spacer(4);
510
574
 
511
- @include media-breakpoint-up(md) {
512
- margin: 20px 0;
513
- }
575
+ & + .content-inner {
576
+ margin-top: 0;
577
+ }
514
578
 
515
- & + .content-inner {
516
- margin-top: 0;
517
- }
579
+ @include media-breakpoint-up(lg) {
580
+ margin: 0 0 spacer(4);
581
+ }
518
582
 
519
- .content-header-title {
520
- font-size: $h3-font-size;
521
- margin-bottom: 0;
583
+ .breadcrumbs {
584
+ font-family: $font-family-title;
585
+ font-weight: 500;
586
+ }
587
+
588
+ .content-header-title {
589
+ font-size: $h4-font-size;
590
+ margin-bottom: 0;
591
+ font-family: $font-family-title;
592
+ font-weight: 600;
593
+ word-break: break-all;
522
594
 
523
- @include media-breakpoint-up(sm) {
524
- font-size: $h1-font-size;
595
+ @include media-breakpoint-up(sm) {
596
+ font-size: $h3-font-size;
597
+ }
525
598
  }
526
- }
527
599
 
528
- .content-header-primary-action .btn {
529
- @include media-breakpoint-up(sm) {
530
- @include button-size($btn-padding-y, $btn-padding-x, $btn-font-size , $btn-line-height, $btn-border-radius);
600
+ .content-header-primary-action {
601
+ .btn {
602
+ @include button-size($btn-padding-y-sm, $btn-padding-x-sm, $btn-font-size-sm, $btn-line-height-sm, $btn-border-radius-sm);
603
+
604
+ @include media-breakpoint-up(sm) {
605
+ @include button-size($btn-padding-y, $btn-padding-x, $btn-font-size, $btn-line-height, $btn-border-radius);
606
+ }
607
+ }
531
608
  }
532
- }
533
609
 
534
- .content-header-secondary-actions {
535
- font-size: 0;
610
+ .content-header-helper-actions {
611
+ margin-top: 10px;
612
+ }
536
613
 
537
- &.has-content {
538
- margin-top: 20px;
539
- margin-bottom: 20px;
614
+ .content-header-secondary-actions {
615
+ font-size: 0;
540
616
 
541
- @include media-breakpoint-up(md) {
542
- margin-top: 10px;
543
- margin-bottom: 0;
617
+ &.has-content {
618
+ margin: 20px (-$btn-padding-x-sm - 2px);
619
+ }
620
+
621
+ .btn {
622
+ @include button-size($btn-padding-y, $btn-padding-x, $btn-font-size, $btn-line-height, $btn-border-radius);
544
623
  }
545
624
  }
546
625
  }