activeadmin_blaze_theme 0.1.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (74) hide show
  1. checksums.yaml +7 -0
  2. data/.gitignore +3 -0
  3. data/Gemfile +3 -0
  4. data/LICENSE.txt +22 -0
  5. data/README.md +55 -0
  6. data/Rakefile +2 -0
  7. data/activeadmin_blaze_theme.gemspec +20 -0
  8. data/app/assets/stylesheets/activeadmin_blaze_theme/blaze/blaze.colors.scss +14 -0
  9. data/app/assets/stylesheets/activeadmin_blaze_theme/blaze/blaze.scss +41 -0
  10. data/app/assets/stylesheets/activeadmin_blaze_theme/blaze/components.addresses.scss +12 -0
  11. data/app/assets/stylesheets/activeadmin_blaze_theme/blaze/components.alerts.scss +59 -0
  12. data/app/assets/stylesheets/activeadmin_blaze_theme/blaze/components.avatars.scss +36 -0
  13. data/app/assets/stylesheets/activeadmin_blaze_theme/blaze/components.badges.scss +60 -0
  14. data/app/assets/stylesheets/activeadmin_blaze_theme/blaze/components.breadcrumbs.scss +20 -0
  15. data/app/assets/stylesheets/activeadmin_blaze_theme/blaze/components.bubbles.scss +49 -0
  16. data/app/assets/stylesheets/activeadmin_blaze_theme/blaze/components.buttons.scss +77 -0
  17. data/app/assets/stylesheets/activeadmin_blaze_theme/blaze/components.calendars.scss +69 -0
  18. data/app/assets/stylesheets/activeadmin_blaze_theme/blaze/components.cards.scss +200 -0
  19. data/app/assets/stylesheets/activeadmin_blaze_theme/blaze/components.headings.scss +38 -0
  20. data/app/assets/stylesheets/activeadmin_blaze_theme/blaze/components.hints.scss +27 -0
  21. data/app/assets/stylesheets/activeadmin_blaze_theme/blaze/components.input-groups.scss +163 -0
  22. data/app/assets/stylesheets/activeadmin_blaze_theme/blaze/components.inputs.scss +138 -0
  23. data/app/assets/stylesheets/activeadmin_blaze_theme/blaze/components.links.scss +31 -0
  24. data/app/assets/stylesheets/activeadmin_blaze_theme/blaze/components.lists.scss +60 -0
  25. data/app/assets/stylesheets/activeadmin_blaze_theme/blaze/components.navs.scss +126 -0
  26. data/app/assets/stylesheets/activeadmin_blaze_theme/blaze/components.overlays.scss +26 -0
  27. data/app/assets/stylesheets/activeadmin_blaze_theme/blaze/components.pagination.scss +42 -0
  28. data/app/assets/stylesheets/activeadmin_blaze_theme/blaze/components.progress.scss +51 -0
  29. data/app/assets/stylesheets/activeadmin_blaze_theme/blaze/components.ranges.scss +114 -0
  30. data/app/assets/stylesheets/activeadmin_blaze_theme/blaze/components.tables.scss +88 -0
  31. data/app/assets/stylesheets/activeadmin_blaze_theme/blaze/components.tabs.scss +57 -0
  32. data/app/assets/stylesheets/activeadmin_blaze_theme/blaze/components.tags.scss +42 -0
  33. data/app/assets/stylesheets/activeadmin_blaze_theme/blaze/components.toggles.scss +74 -0
  34. data/app/assets/stylesheets/activeadmin_blaze_theme/blaze/components.tooltips.scss +96 -0
  35. data/app/assets/stylesheets/activeadmin_blaze_theme/blaze/components.trees.scss +39 -0
  36. data/app/assets/stylesheets/activeadmin_blaze_theme/blaze/components.typography.scss +94 -0
  37. data/app/assets/stylesheets/activeadmin_blaze_theme/blaze/generics.global.scss +13 -0
  38. data/app/assets/stylesheets/activeadmin_blaze_theme/blaze/mixins/_components.alerts.scss +6 -0
  39. data/app/assets/stylesheets/activeadmin_blaze_theme/blaze/mixins/_components.badges.scss +8 -0
  40. data/app/assets/stylesheets/activeadmin_blaze_theme/blaze/mixins/_components.buttons.scss +83 -0
  41. data/app/assets/stylesheets/activeadmin_blaze_theme/blaze/mixins/_components.inputs.scss +45 -0
  42. data/app/assets/stylesheets/activeadmin_blaze_theme/blaze/mixins/_components.links.scss +22 -0
  43. data/app/assets/stylesheets/activeadmin_blaze_theme/blaze/mixins/_components.lists.scss +10 -0
  44. data/app/assets/stylesheets/activeadmin_blaze_theme/blaze/mixins/_components.navs.scss +29 -0
  45. data/app/assets/stylesheets/activeadmin_blaze_theme/blaze/mixins/_components.ranges.scss +89 -0
  46. data/app/assets/stylesheets/activeadmin_blaze_theme/blaze/mixins/_components.tabs.scss +5 -0
  47. data/app/assets/stylesheets/activeadmin_blaze_theme/blaze/mixins/_components.toggles.scss +6 -0
  48. data/app/assets/stylesheets/activeadmin_blaze_theme/blaze/mixins/_components.typography.scss +25 -0
  49. data/app/assets/stylesheets/activeadmin_blaze_theme/blaze/mixins/_objects.containers.scss +10 -0
  50. data/app/assets/stylesheets/activeadmin_blaze_theme/blaze/mixins/_objects.grid.scss +112 -0
  51. data/app/assets/stylesheets/activeadmin_blaze_theme/blaze/mixins/_settings.global.scss +864 -0
  52. data/app/assets/stylesheets/activeadmin_blaze_theme/blaze/mixins/_tools.mediaqueries.scss +73 -0
  53. data/app/assets/stylesheets/activeadmin_blaze_theme/blaze/mixins/_utilities.alignment.scss +24 -0
  54. data/app/assets/stylesheets/activeadmin_blaze_theme/blaze/mixins/_utilities.boxing.scss +125 -0
  55. data/app/assets/stylesheets/activeadmin_blaze_theme/blaze/objects.containers.scss +31 -0
  56. data/app/assets/stylesheets/activeadmin_blaze_theme/blaze/objects.drawers.scss +88 -0
  57. data/app/assets/stylesheets/activeadmin_blaze_theme/blaze/objects.forms.scss +25 -0
  58. data/app/assets/stylesheets/activeadmin_blaze_theme/blaze/objects.grid.responsive.scss +124 -0
  59. data/app/assets/stylesheets/activeadmin_blaze_theme/blaze/objects.grid.scss +62 -0
  60. data/app/assets/stylesheets/activeadmin_blaze_theme/blaze/objects.images.scss +5 -0
  61. data/app/assets/stylesheets/activeadmin_blaze_theme/blaze/objects.media.scss +36 -0
  62. data/app/assets/stylesheets/activeadmin_blaze_theme/blaze/objects.modals.scss +55 -0
  63. data/app/assets/stylesheets/activeadmin_blaze_theme/blaze/objects.panels.scss +27 -0
  64. data/app/assets/stylesheets/activeadmin_blaze_theme/blaze/themes/blaze.example.scss +7 -0
  65. data/app/assets/stylesheets/activeadmin_blaze_theme/blaze/utilities.alignment.scss +22 -0
  66. data/app/assets/stylesheets/activeadmin_blaze_theme/blaze/utilities.boxing.scss +101 -0
  67. data/app/assets/stylesheets/activeadmin_blaze_theme/blaze/utilities.elevation.scss +19 -0
  68. data/app/assets/stylesheets/activeadmin_blaze_theme/blaze/utilities.sizes.scss +25 -0
  69. data/app/assets/stylesheets/activeadmin_blaze_theme/theme.scss +365 -0
  70. data/lib/activeadmin_blaze_theme/version.rb +3 -0
  71. data/lib/activeadmin_blaze_theme.rb +8 -0
  72. data/screenshot1.jpg +0 -0
  73. data/screenshot2.jpg +0 -0
  74. metadata +116 -0
@@ -0,0 +1,73 @@
1
+ @import "settings.global";
2
+
3
+ @mixin screen--xsmall-and-up {
4
+ @media (min-width: #{map-get($screen-limits, xsmall)}) {
5
+ @content;
6
+ }
7
+ }
8
+
9
+ @mixin screen--small-and-up {
10
+ @media (min-width: #{map-get($screen-limits, small)}) {
11
+ @content;
12
+ }
13
+ }
14
+
15
+ @mixin screen--medium-and-up {
16
+ @media (min-width: #{map-get($screen-limits, medium)}) {
17
+ @content;
18
+ }
19
+ }
20
+
21
+ @mixin screen--large-and-up {
22
+ @media (min-width: #{map-get($screen-limits, large)}) {
23
+ @content;
24
+ }
25
+ }
26
+
27
+ @mixin screen--xlarge-and-up {
28
+ @media (min-width: #{map-get($screen-limits, xlarge)}) {
29
+ @content;
30
+ }
31
+ }
32
+
33
+ @mixin screen--super-and-up {
34
+ @media (min-width: #{map-get($screen-limits, super)}) {
35
+ @content;
36
+ }
37
+ }
38
+
39
+ @mixin screen--xsmall-only {
40
+ @media (max-width: #{map-get($screen-limits, xsmall) - $screen-adjustment}) {
41
+ @content;
42
+ }
43
+ }
44
+
45
+ @mixin screen--small-only {
46
+ @media (min-width: #{map-get($screen-limits, xsmall)}) and (max-width: #{map-get($screen-limits, small) - $screen-adjustment}) {
47
+ @content;
48
+ }
49
+ }
50
+
51
+ @mixin screen--medium-only {
52
+ @media (min-width: #{map-get($screen-limits, small)}) and (max-width: #{map-get($screen-limits, medium) - $screen-adjustment}) {
53
+ @content;
54
+ }
55
+ }
56
+
57
+ @mixin screen--large-only {
58
+ @media (min-width: #{map-get($screen-limits, medium)}) and (max-width: #{map-get($screen-limits, large) - $screen-adjustment}) {
59
+ @content;
60
+ }
61
+ }
62
+
63
+ @mixin screen--xlarge-only {
64
+ @media (min-width: #{map-get($screen-limits, large)}) and (max-width: #{map-get($screen-limits, xlarge) - $screen-adjustment}) {
65
+ @content;
66
+ }
67
+ }
68
+
69
+ @mixin screen--super-only {
70
+ @media (min-width: #{map-get($screen-limits, large)}) {
71
+ @content;
72
+ }
73
+ }
@@ -0,0 +1,24 @@
1
+ @mixin centered {
2
+ text-align: center;
3
+ }
4
+
5
+ @mixin center-block {
6
+ position: relative;
7
+ }
8
+
9
+ @mixin center-block__content {
10
+ position: absolute;
11
+ top: 50%;
12
+ left: 50%;
13
+ transform: translate(-50%, -50%);
14
+ }
15
+
16
+ @mixin center-block__content--vertical {
17
+ left: auto;
18
+ transform: translateY(-50%);
19
+ }
20
+
21
+ @mixin center-block__content--horizontal {
22
+ top: auto;
23
+ transform: translateX(-50%);
24
+ }
@@ -0,0 +1,125 @@
1
+ @import "settings.global";
2
+
3
+ @mixin no-overflow {
4
+ overflow: hidden;
5
+ }
6
+
7
+ @mixin letter-box--super {
8
+ padding-top: $spacing-super;
9
+ padding-bottom: $spacing-super;
10
+ }
11
+
12
+ @mixin letter-box--xlarge {
13
+ padding-top: $spacing-xlarge;
14
+ padding-bottom: $spacing-xlarge;
15
+ }
16
+
17
+ @mixin letter-box--large {
18
+ padding-top: $spacing-large;
19
+ padding-bottom: $spacing-large;
20
+ }
21
+
22
+ @mixin letter-box--medium {
23
+ padding-top: $spacing-medium;
24
+ padding-bottom: $spacing-medium;
25
+ }
26
+
27
+ @mixin letter-box--small {
28
+ padding-top: $spacing-small;
29
+ padding-bottom: $spacing-small;
30
+ }
31
+
32
+ @mixin letter-box--xsmall {
33
+ padding-top: $spacing-xsmall;
34
+ padding-bottom: $spacing-xsmall;
35
+ }
36
+
37
+ @mixin letter-box--tiny {
38
+ padding-top: $spacing-tiny;
39
+ padding-bottom: $spacing-tiny;
40
+ }
41
+
42
+ @mixin letter-box--none {
43
+ padding-top: 0;
44
+ padding-bottom: 0;
45
+ }
46
+
47
+ @mixin pillar-box--super {
48
+ padding-right: $spacing-super;
49
+ padding-left: $spacing-super;
50
+ }
51
+
52
+ @mixin pillar-box--xlarge {
53
+ padding-right: $spacing-xlarge;
54
+ padding-left: $spacing-xlarge;
55
+ }
56
+
57
+ @mixin pillar-box--large {
58
+ padding-right: $spacing-large;
59
+ padding-left: $spacing-large;
60
+ }
61
+
62
+ @mixin pillar-box--medium {
63
+ padding-right: $spacing-medium;
64
+ padding-left: $spacing-medium;
65
+ }
66
+
67
+ @mixin pillar-box--small {
68
+ padding-right: $spacing-small;
69
+ padding-left: $spacing-small;
70
+ }
71
+
72
+ @mixin pillar-box--xsmall {
73
+ padding-right: $spacing-xsmall;
74
+ padding-left: $spacing-xsmall;
75
+ }
76
+
77
+ @mixin pillar-box--tiny {
78
+ padding-right: $spacing-tiny;
79
+ padding-left: $spacing-tiny;
80
+ }
81
+
82
+ @mixin pillar-box--none {
83
+ padding-right: 0;
84
+ padding-left: 0;
85
+ }
86
+
87
+ @mixin window-box--super {
88
+ @include letter-box--super;
89
+ @include pillar-box--super;
90
+ }
91
+
92
+ @mixin window-box--xlarge {
93
+ @include letter-box--xlarge;
94
+ @include pillar-box--xlarge;
95
+ }
96
+
97
+ @mixin window-box--large {
98
+ @include letter-box--large;
99
+ @include pillar-box--large;
100
+ }
101
+
102
+ @mixin window-box--medium {
103
+ @include letter-box--medium;
104
+ @include pillar-box--medium;
105
+ }
106
+
107
+ @mixin window-box--small {
108
+ @include letter-box--small;
109
+ @include pillar-box--small;
110
+ }
111
+
112
+ @mixin window-box--xsmall {
113
+ @include letter-box--xsmall;
114
+ @include pillar-box--xsmall;
115
+ }
116
+
117
+ @mixin window-box--tiny {
118
+ @include letter-box--tiny;
119
+ @include pillar-box--tiny;
120
+ }
121
+
122
+ @mixin window-box--none {
123
+ @include letter-box--none;
124
+ @include pillar-box--none;
125
+ }
@@ -0,0 +1,31 @@
1
+ @import "mixins/objects.containers";
2
+
3
+ .o-container {
4
+ @include screen--xsmall-and-up {
5
+ @include containers__responsive(xsmall);
6
+ }
7
+ @include screen--small-and-up {
8
+ @include containers__responsive(small);
9
+ }
10
+ @include screen--medium-and-up {
11
+ @include containers__responsive(medium);
12
+ }
13
+ @include screen--large-and-up {
14
+ @include containers__responsive(large);
15
+ }
16
+ @include screen--xlarge-and-up {
17
+ @include containers__responsive(xlarge);
18
+ }
19
+ @include screen--super-and-up {
20
+ @include containers__responsive(super);
21
+ }
22
+
23
+
24
+
25
+ margin: auto;
26
+ @each $size, $width in $screen-limits {
27
+ &--#{$size} {
28
+ max-width: $width;
29
+ }
30
+ }
31
+ }
@@ -0,0 +1,88 @@
1
+ @import "mixins/settings.global";
2
+ @import "mixins/objects.grid";
3
+ @import "mixins/utilities.boxing";
4
+
5
+ .o-drawer {
6
+ position: absolute;
7
+ background-color: $drawer-background-color;
8
+ color: $drawer-color;
9
+ z-index: $drawer-z-index;
10
+ overflow-x: hidden;
11
+ overflow-y: auto;
12
+ -webkit-overflow-scrolling: touch;
13
+
14
+ > .c-card {
15
+ background-color: transparent;
16
+ box-shadow: none;
17
+ }
18
+
19
+ .c-card--menu {
20
+ display: block;
21
+ margin: 0;
22
+ border-right: 0;
23
+ border-left: 0;
24
+ border-radius: 0;
25
+ }
26
+ }
27
+
28
+ .o-drawer--bottom,
29
+ .o-drawer--top {
30
+ left: 0;
31
+ width: $drawer-width-horizontal;
32
+ height: auto;
33
+ margin-left: (100% - $drawer-width-horizontal) / 2;
34
+ transform: translate(0, 0);
35
+ }
36
+
37
+ .o-drawer--bottom {
38
+ top: 100%;
39
+ border-radius: $drawer-border-radius $drawer-border-radius 0 0;
40
+ }
41
+
42
+ .o-drawer--bottom.o-drawer--visible {
43
+ transform: translateY(-99%);
44
+ }
45
+
46
+ .o-drawer--top {
47
+ bottom: 100%;
48
+ border-radius: 0 0 $drawer-border-radius $drawer-border-radius;
49
+ }
50
+
51
+ .o-drawer--top.o-drawer--visible {
52
+ transform: translateY(99%);
53
+ }
54
+
55
+ .o-drawer--left,
56
+ .o-drawer--right {
57
+ top: 0;
58
+ width: $drawer-width-vertical;
59
+ height: 100%;
60
+
61
+ .c-card__footer--block {
62
+ position: absolute;
63
+ bottom: 0;
64
+ width: 100%;
65
+
66
+ .c-button {
67
+ border-radius: 0;
68
+ }
69
+ }
70
+ }
71
+
72
+ .o-drawer--left {
73
+ left: 0;
74
+ transform: translateX(-100%);
75
+ }
76
+
77
+ .o-drawer--left.o-drawer--visible {
78
+ transform: translateX(-1%);
79
+ }
80
+
81
+ .o-drawer--right {
82
+ left: 100%;
83
+ transform: translate(0, 0);
84
+ }
85
+
86
+ .o-drawer--right.o-drawer--visible {
87
+ transform: translateX(-99%);
88
+ }
@@ -0,0 +1,25 @@
1
+ @import "mixins/objects.grid";
2
+ @import "mixins/components.inputs";
3
+
4
+ .o-fieldset,
5
+ .o-fieldset.c-list {
6
+ display: block;
7
+ width: $fieldset-width;
8
+ margin: $fieldset-margin;
9
+ padding: $fieldset-padding;
10
+ border: $fieldset-border;
11
+ }
12
+
13
+ .o-fieldset__legend {
14
+ @include label;
15
+ padding: $legend-padding;
16
+ }
17
+
18
+ .o-form-element {
19
+ position: relative;
20
+ padding: $form-element-padding;
21
+
22
+ .c-label:first-child {
23
+ padding: $form-element-label-padding;
24
+ }
25
+ }
@@ -0,0 +1,124 @@
1
+ @import "mixins/tools.mediaqueries";
2
+ @import "mixins/objects.grid";
3
+
4
+ .o-grid {
5
+ @include screen--xsmall-only {
6
+ &.o-grid--xsmall-fit > .o-grid__cell:not([class*="o-grid__cell--width"]) {
7
+ @include grid__cell--fit;
8
+ }
9
+
10
+ &.o-grid--xsmall-full {
11
+ @include grid--full;
12
+ }
13
+
14
+ &.o-grid--xsmall-full > .o-grid__cell {
15
+ @include grid__cell--full;
16
+ }
17
+ }
18
+
19
+ @include screen--small-only {
20
+ &.o-grid--small-fit > .o-grid__cell:not([class*="o-grid__cell--width"]) {
21
+ @include grid__cell--fit;
22
+ }
23
+
24
+ &.o-grid--small-full {
25
+ @include grid--full;
26
+ }
27
+
28
+ &.o-grid--small-full > .o-grid__cell {
29
+ @include grid__cell--full;
30
+ }
31
+ }
32
+
33
+ @include screen--medium-only {
34
+ &.o-grid--medium-fit > .o-grid__cell:not([class*="o-grid__cell--width"]) {
35
+ @include grid__cell--fit;
36
+ }
37
+
38
+ &.o-grid--medium-full {
39
+ @include grid--full;
40
+ }
41
+
42
+ &.o-grid--medium-full > .o-grid__cell {
43
+ @include grid__cell--full;
44
+ }
45
+ }
46
+
47
+ @include screen--large-only {
48
+ &.o-grid--large-fit > .o-grid__cell:not([class*="o-grid__cell--width"]) {
49
+ @include grid__cell--fit;
50
+ }
51
+
52
+ &.o-grid--large-full {
53
+ @include grid--full;
54
+ }
55
+
56
+ &.o-grid--large-full > .o-grid__cell {
57
+ @include grid__cell--full;
58
+ }
59
+ }
60
+
61
+ @include screen--xlarge-only {
62
+ &.o-grid--xlarge-fit > .o-grid__cell:not([class*="o-grid__cell--width"]) {
63
+ @include grid__cell--fit;
64
+ }
65
+
66
+ &.o-grid--xlarge-full {
67
+ @include grid--full;
68
+ }
69
+
70
+ &.o-grid--xlarge-full > .o-grid__cell {
71
+ @include grid__cell--full;
72
+ }
73
+ }
74
+
75
+ @include screen--super-only {
76
+ &.o-grid--super-fit > .o-grid__cell:not([class*="o-grid__cell--width"]) {
77
+ @include grid__cell--fit;
78
+ }
79
+
80
+ &.o-grid--super-full {
81
+ @include grid--full;
82
+ }
83
+
84
+ &.o-grid--super-full > .o-grid__cell {
85
+ @include grid__cell--full;
86
+ }
87
+ }
88
+
89
+ @include screen--xsmall-and-up {
90
+ &__cell {
91
+ @include grid__responsive-cells(xsmall);
92
+ }
93
+ }
94
+
95
+ @include screen--small-and-up {
96
+ &__cell {
97
+ @include grid__responsive-cells(small);
98
+ }
99
+ }
100
+
101
+ @include screen--medium-and-up {
102
+ &__cell {
103
+ @include grid__responsive-cells(medium);
104
+ }
105
+ }
106
+
107
+ @include screen--large-and-up {
108
+ &__cell {
109
+ @include grid__responsive-cells(large);
110
+ }
111
+ }
112
+
113
+ @include screen--xlarge-and-up {
114
+ &__cell {
115
+ @include grid__responsive-cells(xlarge);
116
+ }
117
+ }
118
+
119
+ @include screen--super-and-up {
120
+ &__cell {
121
+ @include grid__responsive-cells(super);
122
+ }
123
+ }
124
+ }
@@ -0,0 +1,62 @@
1
+ @import "mixins/tools.mediaqueries";
2
+ @import "mixins/objects.grid";
3
+
4
+ .o-grid {
5
+ @include grid;
6
+
7
+ &--wrap {
8
+ @include grid--wrap;
9
+ }
10
+
11
+ &--top {
12
+ @include grid--top;
13
+ }
14
+
15
+ &--center {
16
+ @include grid--center;
17
+ }
18
+
19
+ &--bottom {
20
+ @include grid--bottom;
21
+ }
22
+
23
+ &--no-gutter {
24
+ > .o-grid__cell {
25
+ @include grid__cell--no-gutter;
26
+ }
27
+ }
28
+
29
+ &__cell {
30
+ @include grid__cell;
31
+
32
+ @include grid__cells;
33
+
34
+ &--top {
35
+ @include grid__cell--top;
36
+ }
37
+
38
+ &--center {
39
+ @include grid__cell--center;
40
+ }
41
+
42
+ &--bottom {
43
+ @include grid__cell--bottom;
44
+ }
45
+
46
+ &--no-gutter {
47
+ @include grid__cell--no-gutter;
48
+ }
49
+
50
+ &--width-fixed {
51
+ @include grid__cell--width-fixed;
52
+ }
53
+
54
+ &--hidden {
55
+ @include grid__cell--hidden;
56
+ }
57
+
58
+ &--visible {
59
+ @include grid__cell--visible;
60
+ }
61
+ }
62
+ }
@@ -0,0 +1,5 @@
1
+ .o-image {
2
+ display: block;
3
+ max-width: 100%;
4
+ height: auto;
5
+ }
@@ -0,0 +1,36 @@
1
+ @import "mixins/objects.grid";
2
+
3
+ .o-media {
4
+ @include grid;
5
+ }
6
+
7
+ .o-media .c-heading {
8
+ padding: 0;
9
+ }
10
+
11
+ .o-media__image,
12
+ .o-media__body {
13
+ @include grid__cell;
14
+ @include grid__cell--no-gutter;
15
+
16
+ &--top {
17
+ @include grid__cell--top;
18
+ }
19
+
20
+ &--center {
21
+ @include grid__cell--center;
22
+ }
23
+
24
+ &--bottom {
25
+ @include grid__cell--bottom;
26
+ }
27
+ }
28
+
29
+ .o-media__image {
30
+ @include grid__cell--width-fixed;
31
+ width: $media-image-width;
32
+ }
33
+
34
+ .o-media__body {
35
+ margin-left: $media-body-margin-left;
36
+ }
@@ -0,0 +1,55 @@
1
+ @import "mixins/settings.global";
2
+ @import "mixins/objects.grid";
3
+ @import "mixins/utilities.alignment";
4
+
5
+ .o-modal {
6
+ @include center-block__content;
7
+ display: block;
8
+ width: $modal-width;
9
+ border: $modal-border;
10
+ border-radius: $modal-border-radius;
11
+ background-color: $modal-background-color;
12
+ overflow: hidden;
13
+ z-index: $modal-z-index;
14
+
15
+ .c-card {
16
+ background-color: transparent;
17
+ box-shadow: none;
18
+ }
19
+
20
+ .c-card__body {
21
+ position: relative;
22
+ }
23
+ }
24
+
25
+ .o-modal--ghost {
26
+ background-color: $modal-ghost-background-color;
27
+ color: $modal-ghost-color;
28
+
29
+ .c-heading {
30
+ color: $modal-ghost-heading-color;
31
+ }
32
+ }
33
+
34
+ .o-modal--full {
35
+ top: 1em;
36
+ left: 1em;
37
+ width: calc(100% - 2em);
38
+ height: calc(100% - 2em);
39
+ transform: none;
40
+
41
+ .c-card__body {
42
+ position: absolute;
43
+ top: 2.5em;
44
+ bottom: 3.5em;
45
+ width: 100%;
46
+ overflow-x: hidden;
47
+ overflow-y: auto;
48
+ }
49
+
50
+ .c-card__footer {
51
+ position: absolute;
52
+ bottom: 0;
53
+ width: 100%;
54
+ }
55
+ }
@@ -0,0 +1,27 @@
1
+ @import "mixins/settings.global";
2
+
3
+ .o-panel-container {
4
+ position: relative;
5
+ }
6
+
7
+ .o-panel {
8
+ position: absolute;
9
+ top: 0;
10
+ right: 0;
11
+ bottom: 0;
12
+ left: 0;
13
+ overflow: auto;
14
+ -webkit-overflow-scrolling: touch;
15
+ }
16
+
17
+ .o-panel--nav-top {
18
+ top: $panel-nav-top;
19
+ }
20
+
21
+ .o-panel--nav-bottom {
22
+ bottom: $panel-nav-bottom;
23
+ }
24
+
25
+ .c-card__body .o-panel {
26
+ padding: $card-item-padding;
27
+ }
@@ -0,0 +1,7 @@
1
+ $border-radius: 0;
2
+ // ... add more variables here ...
3
+
4
+ @import "../mixins/settings.global";
5
+ @import "../blaze";
6
+
7
+ // ... add class overrides here ...
@@ -0,0 +1,22 @@
1
+ @import "mixins/utilities.alignment";
2
+
3
+ .u-centered {
4
+ @include centered;
5
+ }
6
+
7
+ .u-center-block {
8
+ @include center-block;
9
+ }
10
+
11
+ .u-center-block__content,
12
+ .u-absolute-center {
13
+ @include center-block__content;
14
+ }
15
+
16
+ .u-center-block__content--vertical {
17
+ @include center-block__content--vertical;
18
+ }
19
+
20
+ .u-center-block__content--horizontal {
21
+ @include center-block__content--horizontal;
22
+ }