activeadmin_blaze_theme 0.7.0 → 0.7.4

Sign up to get free protection for your applications and to get access to all the features.
Files changed (114) hide show
  1. checksums.yaml +4 -4
  2. data/Gemfile +13 -0
  3. data/README.md +30 -8
  4. data/activeadmin_blaze_theme.gemspec +1 -13
  5. data/app/assets/stylesheets/activeadmin_blaze_theme/_contents.scss +1 -0
  6. data/app/assets/stylesheets/activeadmin_blaze_theme/_tables.scss +1 -1
  7. data/app/assets/stylesheets/activeadmin_blaze_theme/blaze/blaze.colors.scss +30 -0
  8. data/app/assets/stylesheets/activeadmin_blaze_theme/blaze/blaze.scss +43 -49
  9. data/app/assets/stylesheets/activeadmin_blaze_theme/blaze/components.addresses.scss +12 -0
  10. data/app/assets/stylesheets/activeadmin_blaze_theme/blaze/components.alerts.scss +59 -0
  11. data/app/assets/stylesheets/activeadmin_blaze_theme/blaze/components.avatars.scss +36 -0
  12. data/app/assets/stylesheets/activeadmin_blaze_theme/blaze/components.badges.scss +60 -0
  13. data/app/assets/stylesheets/activeadmin_blaze_theme/blaze/components.breadcrumbs.scss +20 -0
  14. data/app/assets/stylesheets/activeadmin_blaze_theme/blaze/components.bubbles.scss +49 -0
  15. data/app/assets/stylesheets/activeadmin_blaze_theme/blaze/components.buttons.scss +77 -0
  16. data/app/assets/stylesheets/activeadmin_blaze_theme/blaze/components.calendars.scss +69 -0
  17. data/app/assets/stylesheets/activeadmin_blaze_theme/blaze/components.cards.scss +213 -0
  18. data/app/assets/stylesheets/activeadmin_blaze_theme/blaze/components.headings.scss +14 -0
  19. data/app/assets/stylesheets/activeadmin_blaze_theme/blaze/components.hints.scss +27 -0
  20. data/app/assets/stylesheets/activeadmin_blaze_theme/blaze/components.input-groups.scss +163 -0
  21. data/app/assets/stylesheets/activeadmin_blaze_theme/blaze/components.inputs.scss +135 -0
  22. data/app/assets/stylesheets/activeadmin_blaze_theme/blaze/components.links.scss +31 -0
  23. data/app/assets/stylesheets/activeadmin_blaze_theme/blaze/components.lists.scss +60 -0
  24. data/app/assets/stylesheets/activeadmin_blaze_theme/blaze/components.navs.scss +126 -0
  25. data/app/assets/stylesheets/activeadmin_blaze_theme/blaze/components.overlays.scss +33 -0
  26. data/app/assets/stylesheets/activeadmin_blaze_theme/blaze/components.pagination.scss +42 -0
  27. data/app/assets/stylesheets/activeadmin_blaze_theme/blaze/components.progress.scss +51 -0
  28. data/app/assets/stylesheets/activeadmin_blaze_theme/blaze/components.ranges.scss +114 -0
  29. data/app/assets/stylesheets/activeadmin_blaze_theme/blaze/components.tables.scss +88 -0
  30. data/app/assets/stylesheets/activeadmin_blaze_theme/blaze/components.tabs.scss +72 -0
  31. data/app/assets/stylesheets/activeadmin_blaze_theme/blaze/components.tags.scss +42 -0
  32. data/app/assets/stylesheets/activeadmin_blaze_theme/blaze/components.toggles.scss +74 -0
  33. data/app/assets/stylesheets/activeadmin_blaze_theme/blaze/{_components.tooltips.scss → components.tooltips.scss} +30 -28
  34. data/app/assets/stylesheets/activeadmin_blaze_theme/blaze/components.trees.scss +47 -0
  35. data/app/assets/stylesheets/activeadmin_blaze_theme/blaze/components.typography.scss +95 -0
  36. data/app/assets/stylesheets/activeadmin_blaze_theme/blaze/generics.global.scss +13 -0
  37. data/app/assets/stylesheets/activeadmin_blaze_theme/blaze/mixins/_components.alerts.scss +6 -0
  38. data/app/assets/stylesheets/activeadmin_blaze_theme/blaze/mixins/_components.badges.scss +8 -0
  39. data/app/assets/stylesheets/activeadmin_blaze_theme/blaze/mixins/_components.buttons.scss +43 -82
  40. data/app/assets/stylesheets/activeadmin_blaze_theme/blaze/mixins/_components.inputs.scss +40 -2
  41. data/app/assets/stylesheets/activeadmin_blaze_theme/blaze/mixins/_components.links.scss +22 -0
  42. data/app/assets/stylesheets/activeadmin_blaze_theme/blaze/mixins/_components.lists.scss +10 -0
  43. data/app/assets/stylesheets/activeadmin_blaze_theme/blaze/mixins/_components.navs.scss +29 -0
  44. data/app/assets/stylesheets/activeadmin_blaze_theme/blaze/mixins/_components.ranges.scss +89 -0
  45. data/app/assets/stylesheets/activeadmin_blaze_theme/blaze/mixins/_components.tabs.scss +5 -0
  46. data/app/assets/stylesheets/activeadmin_blaze_theme/blaze/mixins/_components.toggles.scss +6 -0
  47. data/app/assets/stylesheets/activeadmin_blaze_theme/blaze/mixins/_components.typography.scss +25 -0
  48. data/app/assets/stylesheets/activeadmin_blaze_theme/blaze/mixins/_objects.containers.scss +10 -0
  49. data/app/assets/stylesheets/activeadmin_blaze_theme/blaze/mixins/_objects.grid.scss +10 -38
  50. data/app/assets/stylesheets/activeadmin_blaze_theme/blaze/mixins/_settings.global.scss +864 -0
  51. data/app/assets/stylesheets/activeadmin_blaze_theme/blaze/mixins/_tools.mediaqueries.scss +34 -13
  52. data/app/assets/stylesheets/activeadmin_blaze_theme/blaze/mixins/_utilities.boxing.scss +125 -0
  53. data/app/assets/stylesheets/activeadmin_blaze_theme/blaze/mixins/_utilities.visibility.scss +46 -6
  54. data/app/assets/stylesheets/activeadmin_blaze_theme/blaze/objects.containers.scss +29 -0
  55. data/app/assets/stylesheets/activeadmin_blaze_theme/blaze/objects.drawers.scss +88 -0
  56. data/app/assets/stylesheets/activeadmin_blaze_theme/blaze/objects.forms.scss +25 -0
  57. data/app/assets/stylesheets/activeadmin_blaze_theme/blaze/{_objects.grid.responsive.scss → objects.grid.responsive.scss} +14 -14
  58. data/app/assets/stylesheets/activeadmin_blaze_theme/blaze/{_objects.grid.scss → objects.grid.scss} +2 -2
  59. data/app/assets/stylesheets/activeadmin_blaze_theme/blaze/{_objects.images.scss → objects.images.scss} +1 -1
  60. data/app/assets/stylesheets/activeadmin_blaze_theme/blaze/{_objects.media.scss → objects.media.scss} +3 -3
  61. data/app/assets/stylesheets/activeadmin_blaze_theme/blaze/objects.modals.scss +58 -0
  62. data/app/assets/stylesheets/activeadmin_blaze_theme/blaze/{_objects.panels.scss → objects.panels.scss} +11 -1
  63. data/app/assets/stylesheets/activeadmin_blaze_theme/blaze/themes/blaze.example.scss +7 -0
  64. data/app/assets/stylesheets/activeadmin_blaze_theme/blaze/{_utilities.alignment.scss → utilities.alignment.scss} +1 -1
  65. data/app/assets/stylesheets/activeadmin_blaze_theme/blaze/utilities.boxing.scss +101 -0
  66. data/app/assets/stylesheets/activeadmin_blaze_theme/blaze/utilities.elevation.scss +19 -0
  67. data/app/assets/stylesheets/activeadmin_blaze_theme/blaze/utilities.sizes.scss +25 -0
  68. data/app/assets/stylesheets/activeadmin_blaze_theme/blaze/utilities.visibility.scss +45 -0
  69. data/lib/activeadmin_blaze_theme.rb +3 -3
  70. data/lib/activeadmin_blaze_theme/version.rb +1 -1
  71. data/package.json +1 -1
  72. metadata +59 -206
  73. data/app/assets/stylesheets/activeadmin_blaze_theme/blaze/_components.addresses.scss +0 -11
  74. data/app/assets/stylesheets/activeadmin_blaze_theme/blaze/_components.alerts.scss +0 -78
  75. data/app/assets/stylesheets/activeadmin_blaze_theme/blaze/_components.avatars.scss +0 -38
  76. data/app/assets/stylesheets/activeadmin_blaze_theme/blaze/_components.back-to-top.scss +0 -17
  77. data/app/assets/stylesheets/activeadmin_blaze_theme/blaze/_components.badges.scss +0 -71
  78. data/app/assets/stylesheets/activeadmin_blaze_theme/blaze/_components.breadcrumbs.scss +0 -24
  79. data/app/assets/stylesheets/activeadmin_blaze_theme/blaze/_components.buttons.scss +0 -91
  80. data/app/assets/stylesheets/activeadmin_blaze_theme/blaze/_components.calendars.scss +0 -80
  81. data/app/assets/stylesheets/activeadmin_blaze_theme/blaze/_components.cards.scss +0 -195
  82. data/app/assets/stylesheets/activeadmin_blaze_theme/blaze/_components.divider.scss +0 -39
  83. data/app/assets/stylesheets/activeadmin_blaze_theme/blaze/_components.file-upload.scss +0 -24
  84. data/app/assets/stylesheets/activeadmin_blaze_theme/blaze/_components.github-buttons.scss +0 -131
  85. data/app/assets/stylesheets/activeadmin_blaze_theme/blaze/_components.headings.scss +0 -12
  86. data/app/assets/stylesheets/activeadmin_blaze_theme/blaze/_components.hints.scss +0 -21
  87. data/app/assets/stylesheets/activeadmin_blaze_theme/blaze/_components.input-groups.scss +0 -164
  88. data/app/assets/stylesheets/activeadmin_blaze_theme/blaze/_components.inputs.scss +0 -128
  89. data/app/assets/stylesheets/activeadmin_blaze_theme/blaze/_components.links.scss +0 -72
  90. data/app/assets/stylesheets/activeadmin_blaze_theme/blaze/_components.lists.scss +0 -64
  91. data/app/assets/stylesheets/activeadmin_blaze_theme/blaze/_components.navs.scss +0 -83
  92. data/app/assets/stylesheets/activeadmin_blaze_theme/blaze/_components.overlays.scss +0 -23
  93. data/app/assets/stylesheets/activeadmin_blaze_theme/blaze/_components.pagination.scss +0 -31
  94. data/app/assets/stylesheets/activeadmin_blaze_theme/blaze/_components.progress.scss +0 -83
  95. data/app/assets/stylesheets/activeadmin_blaze_theme/blaze/_components.ranges.scss +0 -176
  96. data/app/assets/stylesheets/activeadmin_blaze_theme/blaze/_components.tables.scss +0 -86
  97. data/app/assets/stylesheets/activeadmin_blaze_theme/blaze/_components.tabs.scss +0 -68
  98. data/app/assets/stylesheets/activeadmin_blaze_theme/blaze/_components.tags.scss +0 -39
  99. data/app/assets/stylesheets/activeadmin_blaze_theme/blaze/_components.timelines.scss +0 -113
  100. data/app/assets/stylesheets/activeadmin_blaze_theme/blaze/_components.toggles.scss +0 -89
  101. data/app/assets/stylesheets/activeadmin_blaze_theme/blaze/_components.trees.scss +0 -48
  102. data/app/assets/stylesheets/activeadmin_blaze_theme/blaze/_generics.global.scss +0 -17
  103. data/app/assets/stylesheets/activeadmin_blaze_theme/blaze/_objects.containers.scss +0 -37
  104. data/app/assets/stylesheets/activeadmin_blaze_theme/blaze/_objects.drawers.scss +0 -91
  105. data/app/assets/stylesheets/activeadmin_blaze_theme/blaze/_objects.forms.scss +0 -25
  106. data/app/assets/stylesheets/activeadmin_blaze_theme/blaze/_objects.modals.scss +0 -70
  107. data/app/assets/stylesheets/activeadmin_blaze_theme/blaze/_utilities.boxing.scss +0 -111
  108. data/app/assets/stylesheets/activeadmin_blaze_theme/blaze/_utilities.elevation.scss +0 -17
  109. data/app/assets/stylesheets/activeadmin_blaze_theme/blaze/_utilities.radius.scss +0 -11
  110. data/app/assets/stylesheets/activeadmin_blaze_theme/blaze/_utilities.sizes.scss +0 -23
  111. data/app/assets/stylesheets/activeadmin_blaze_theme/blaze/_utilities.typography.scss +0 -160
  112. data/app/assets/stylesheets/activeadmin_blaze_theme/blaze/_utilities.visibility.scss +0 -54
  113. data/app/assets/stylesheets/activeadmin_blaze_theme/blaze/_variables.scss +0 -93
  114. data/app/assets/stylesheets/activeadmin_blaze_theme/blaze/mixins/_utilities.states.scss +0 -7
@@ -0,0 +1,27 @@
1
+ @import "mixins/settings.global";
2
+
3
+ .c-hint {
4
+ position: absolute;
5
+ padding: $hint-padding;
6
+ transform: scale(.8);
7
+ transform-origin: top left;
8
+ color: $hint-color;
9
+ font-size: $hint-font-size;
10
+ opacity: 0;
11
+ pointer-events: none;
12
+ }
13
+
14
+ .c-hint--static,
15
+ .c-field:focus ~ .c-hint,
16
+ .c-label__field:focus ~ .c-hint {
17
+ transform: scale(.9);
18
+ opacity: 1;
19
+ }
20
+
21
+ .c-hint--success {
22
+ color: $hint-success-color;
23
+ }
24
+
25
+ .c-hint--error {
26
+ color: $hint-error-color;
27
+ }
@@ -0,0 +1,163 @@
1
+ @import "mixins/objects.grid";
2
+ @import "mixins/components.inputs";
3
+
4
+ // INPUT GROUP
5
+ .c-input-group {
6
+ @include grid;
7
+
8
+ .c-button {
9
+ border-radius: 0;
10
+
11
+ &:not(:first-child) {
12
+ border-left-width: 0;
13
+ }
14
+
15
+ &:first-child {
16
+ border-top-left-radius: $border-radius;
17
+ border-bottom-left-radius: $border-radius;
18
+ }
19
+
20
+ &:last-child {
21
+ border-top-right-radius: $border-radius;
22
+ border-bottom-right-radius: $border-radius;
23
+ }
24
+ }
25
+
26
+ .o-field {
27
+ @include grid__cell--fit;
28
+
29
+ .c-field {
30
+ border-radius: 0;
31
+ }
32
+
33
+ &:not(:first-child) .c-field {
34
+ border-left-width: 0;
35
+ }
36
+
37
+ &:first-child .c-field {
38
+ border-top-left-radius: $border-radius;
39
+ border-bottom-left-radius: $border-radius;
40
+ }
41
+
42
+ &:last-child .c-field {
43
+ border-top-right-radius: $border-radius;
44
+ border-bottom-right-radius: $border-radius;
45
+ }
46
+
47
+ &--fixed {
48
+ @include grid__cell--width-fixed;
49
+ }
50
+ }
51
+ }
52
+
53
+ .c-input-group--rounded {
54
+ .c-button {
55
+ &:first-child {
56
+ border-top-left-radius: $border-radius-rounded;
57
+ border-bottom-left-radius: $border-radius-rounded;
58
+ }
59
+
60
+ &:last-child {
61
+ border-top-right-radius: $border-radius-rounded;
62
+ border-bottom-right-radius: $border-radius-rounded;
63
+ }
64
+ }
65
+
66
+ .o-field {
67
+ &:first-child .c-field {
68
+ border-top-left-radius: $border-radius-rounded;
69
+ border-bottom-left-radius: $border-radius-rounded;
70
+ }
71
+
72
+ &:last-child .c-field {
73
+ border-top-right-radius: $border-radius-rounded;
74
+ border-bottom-right-radius: $border-radius-rounded;
75
+ }
76
+ }
77
+ }
78
+
79
+ .c-input-group--rounded-left {
80
+ .c-button {
81
+ &:first-child {
82
+ border-top-left-radius: $border-radius-rounded;
83
+ border-bottom-left-radius: $border-radius-rounded;
84
+ }
85
+ }
86
+
87
+ .o-field {
88
+ &:first-child .c-field {
89
+ border-top-left-radius: $border-radius-rounded;
90
+ border-bottom-left-radius: $border-radius-rounded;
91
+ }
92
+ }
93
+ }
94
+
95
+ .c-input-group--rounded-right {
96
+ .c-button {
97
+ &:last-child {
98
+ border-top-right-radius: $border-radius-rounded;
99
+ border-bottom-right-radius: $border-radius-rounded;
100
+ }
101
+ }
102
+
103
+ .o-field {
104
+ &:last-child .c-field {
105
+ border-top-right-radius: $border-radius-rounded;
106
+ border-bottom-right-radius: $border-radius-rounded;
107
+ }
108
+ }
109
+ }
110
+
111
+ .c-input-group--stacked {
112
+ @include grid;
113
+ @include grid--wrap;
114
+
115
+ .o-field:not(:first-child) .c-field {
116
+ border-left-width: $field-border-width;
117
+ }
118
+
119
+ .c-button:not(:first-child) {
120
+ border-left-width: $button-border-width;
121
+ }
122
+
123
+ .o-field,
124
+ .c-button {
125
+ @include grid__cell--full;
126
+ }
127
+
128
+ .c-button {
129
+ &:not(:first-child) {
130
+ border-top: 0;
131
+ }
132
+
133
+ &:not(:first-child):not(:last-child) {
134
+ border-radius: 0;
135
+ }
136
+
137
+ &:first-child {
138
+ border-radius: $field-border-radius $field-border-radius 0 0;
139
+ }
140
+
141
+ &:last-child {
142
+ border-radius: 0 0 $field-border-radius $field-border-radius;
143
+ }
144
+ }
145
+
146
+ .o-field {
147
+ &:not(:first-child) .c-field {
148
+ border-top: 0;
149
+ }
150
+
151
+ &:not(:first-child):not(:last-child) .c-field {
152
+ border-radius: 0;
153
+ }
154
+
155
+ &:first-child .c-field {
156
+ border-radius: $field-border-radius $field-border-radius 0 0;
157
+ }
158
+
159
+ &:last-child .c-field {
160
+ border-radius: 0 0 $field-border-radius $field-border-radius;
161
+ }
162
+ }
163
+ }
@@ -0,0 +1,135 @@
1
+ @import "mixins/components.inputs";
2
+
3
+ .o-field {
4
+ position: relative;
5
+
6
+ .c-field:disabled ~ .c-icon {
7
+ color: $field-disabled-border-color;
8
+ }
9
+
10
+ .c-icon {
11
+ position: absolute;
12
+ top: 50%;
13
+ transform: translateY(-50%);
14
+ }
15
+ }
16
+
17
+ .o-field--icon-right {
18
+ .c-field + .c-icon {
19
+ right: $field-padding;
20
+ }
21
+
22
+ .c-field {
23
+ padding-right: $field-padding * 4;
24
+ }
25
+ }
26
+
27
+ .o-field--icon-left {
28
+ .c-icon:first-child {
29
+ left: $field-padding;
30
+ }
31
+
32
+ .c-field {
33
+ padding-left: $field-padding * 4;
34
+ }
35
+ }
36
+
37
+ .c-fieldset,
38
+ .c-fieldset.c-list {
39
+ display: block;
40
+ width: $fieldset-width;
41
+ margin: $fieldset-margin;
42
+ padding: $fieldset-padding;
43
+ border: $fieldset-border;
44
+ }
45
+
46
+ .c-fieldset__legend {
47
+ @include label;
48
+ padding: $legend-padding;
49
+ }
50
+
51
+ // LABELS
52
+ .c-label {
53
+ @include label;
54
+ }
55
+
56
+ // TEXT FIELDS
57
+ .c-field {
58
+ display: block;
59
+ width: 100%;
60
+ margin: $field-margin;
61
+ padding: $field-padding;
62
+ border: $field-border;
63
+ border-radius: $field-border-radius;
64
+ outline: 0;
65
+ background-color: $field-background-color;
66
+ font-family: inherit;
67
+ font-size: $field-font-size;
68
+ font-weight: $field-font-weight;
69
+ resize: vertical;
70
+ appearance: none;
71
+
72
+ &:focus {
73
+ border-color: $field-focus-border-color;
74
+ box-shadow: $field-focus-box-shadow;
75
+ }
76
+ }
77
+
78
+ // SELECTS, CHECKBOXES AND RADIOS
79
+ select.c-field {
80
+ cursor: pointer;
81
+
82
+ &::-ms-expand {
83
+ display: none;
84
+ }
85
+ }
86
+
87
+ // SELECTS
88
+ select.c-field:not([multiple]) {
89
+ padding-right: 1em;
90
+ background-image: url("data:image/png;base64,R0lGODlhDwAUAIABAAAAAP///yH5BAEAAAEALAAAAAAPABQAAAIXjI+py+0Po5wH2HsXzmw//lHiSJZmUAAAOw==");
91
+ background-repeat: no-repeat;
92
+ background-position: 99% 50%;
93
+ }
94
+
95
+ // CHECKBOXES and RADIOs
96
+ .c-field input {
97
+ margin-right: $checkbox-margin;
98
+ outline: 0;
99
+ font-size: $checkbox-font-size;
100
+ }
101
+
102
+ .c-field--label {
103
+ margin: $label-field-margin;
104
+ }
105
+
106
+ .c-field--error {
107
+ border-color: $field-error-border-color;
108
+ color: $field-error-color;
109
+ }
110
+
111
+ .c-field--success {
112
+ border-color: $field-success-border-color;
113
+ color: $field-success-color;
114
+ }
115
+
116
+ .c-field--choice {
117
+ border: $checkbox-border;
118
+ border-radius: 0;
119
+ background-color: $checkbox-background-color;
120
+ }
121
+
122
+ .c-fieldset--disabled .c-field,
123
+ .c-fieldset:disabled .c-field,
124
+ .c-field--disabled,
125
+ .c-field:disabled {
126
+ @include field--disabled;
127
+
128
+ &.c-field--choice {
129
+ background-color: $checkbox-background-color;
130
+ }
131
+ }
132
+
133
+ .c-field input:disabled {
134
+ @include disabled;
135
+ }
@@ -0,0 +1,31 @@
1
+ @import "mixins/components.links";
2
+
3
+ .c-link {
4
+ @include link--color;
5
+ text-decoration: $link-text-decoration;
6
+ cursor: pointer;
7
+
8
+ &:hover {
9
+ text-decoration: $link-hover-text-decoration;
10
+ }
11
+ }
12
+
13
+ .c-link--brand {
14
+ @include link--color($link-brand-color);
15
+ }
16
+
17
+ .c-link--info {
18
+ @include link--color($link-info-color);
19
+ }
20
+
21
+ .c-link--warning {
22
+ @include link--color($link-warning-color);
23
+ }
24
+
25
+ .c-link--success {
26
+ @include link--color($link-success-color);
27
+ }
28
+
29
+ .c-link--error {
30
+ @include link--color($link-error-color);
31
+ }
@@ -0,0 +1,60 @@
1
+ @import "mixins/components.lists";
2
+
3
+ .c-list {
4
+ display: block;
5
+ margin: $list-margin;
6
+ padding: $list-padding;
7
+ list-style-position: outside;
8
+ }
9
+
10
+ .c-list .c-list {
11
+ padding: $list-nested-padding;
12
+ }
13
+
14
+ .c-list__item {
15
+ padding: $list-item-padding;
16
+ }
17
+
18
+ .c-list__item--unstyled {
19
+ list-style: $list-item-unstyled-list-style;
20
+ }
21
+
22
+ .c-list--unstyled {
23
+ @include list--unstyled;
24
+ }
25
+
26
+ .c-list--ordered {
27
+ @include list--unstyled;
28
+ counter-reset: ordered;
29
+
30
+ .c-list__item {
31
+ &:before {
32
+ padding: $list-ordered-item-padding;
33
+ content: counters(ordered, ".") " ";
34
+ counter-increment: ordered;
35
+ }
36
+ }
37
+ }
38
+
39
+ .c-list--inline {
40
+ @include list--inline;
41
+
42
+ .c-list--inline {
43
+ @include list--inline;
44
+ }
45
+
46
+ .c-list__item {
47
+ display: inline-block;
48
+ width: auto;
49
+ padding-right: $list-inline-item-padding-right;
50
+ }
51
+
52
+ &:not(.c-list--unstyled) {
53
+ .c-list__item {
54
+ &:before {
55
+ padding: $list-inline-item-bullet-padding;
56
+ content: $list-inline-item-bullet-content;
57
+ }
58
+ }
59
+ }
60
+ }
@@ -0,0 +1,126 @@
1
+ @import "mixins/components.navs";
2
+
3
+ .c-nav {
4
+ @include nav--color;
5
+ width: $nav-width;
6
+ margin: $nav-margin;
7
+ padding: $nav-padding;
8
+ z-index: $nav-z-index;
9
+ }
10
+
11
+ .c-nav__item,
12
+ .c-nav__content {
13
+ display: block;
14
+ height: $nav-height;
15
+ padding: 0 $nav-item-padding;
16
+ color: inherit;
17
+ line-height: $nav-height;
18
+ vertical-align: middle;
19
+
20
+ .o-image {
21
+ height: 100%;
22
+ }
23
+ }
24
+
25
+ .c-nav__item {
26
+ @include nav__item--color;
27
+ text-decoration: none;
28
+ cursor: pointer;
29
+ }
30
+
31
+ .c-nav--inline {
32
+ .c-nav__item,
33
+ .c-nav__content {
34
+ display: inline-block;
35
+ }
36
+
37
+ .c-nav__item--right,
38
+ .c-nav__content--right {
39
+ float: right;
40
+ }
41
+ }
42
+
43
+ .c-nav--light {
44
+ @include nav--color($nav-light-background-color, $nav-light-color);
45
+ }
46
+
47
+ .c-nav--top {
48
+ position: absolute;
49
+ top: 0;
50
+ right: 0;
51
+ bottom: auto;
52
+ left: 0;
53
+
54
+ }
55
+
56
+ .c-nav--bottom {
57
+ position: absolute;
58
+ top: auto;
59
+ right: 0;
60
+ bottom: 0;
61
+ left: 0;
62
+ }
63
+
64
+ .c-nav--left {
65
+ position: absolute;
66
+ top: 0;
67
+ right: auto;
68
+ bottom: 0;
69
+ left: 0;
70
+ }
71
+
72
+ .c-nav--right {
73
+ position: absolute;
74
+ top: 0;
75
+ right: 0;
76
+ bottom: 0;
77
+ left: auto;
78
+ }
79
+
80
+ .c-nav--fixed {
81
+ position: fixed;
82
+ }
83
+
84
+ .c-nav__item--active {
85
+ @include nav__item--active;
86
+ }
87
+
88
+ .c-nav__item--brand {
89
+ @include nav__item--color($nav-item-brand-hover-background-color, $nav-item-brand-hover-color);
90
+
91
+ &.c-nav__item--active {
92
+ @include nav__item--active($nav-item-brand-active-background-color, $nav-item-brand-active-color);
93
+ }
94
+ }
95
+
96
+ .c-nav__item--info {
97
+ @include nav__item--color($nav-item-info-hover-background-color, $nav-item-info-hover-color);
98
+
99
+ &.c-nav__item--active {
100
+ @include nav__item--active($nav-item-info-active-background-color, $nav-item-info-active-color);
101
+ }
102
+ }
103
+
104
+ .c-nav__item--warning {
105
+ @include nav__item--color($color-warning);
106
+
107
+ &.c-nav__item--active {
108
+ @include nav__item--active($nav-item-warning-active-background-color, $nav-item-warning-active-color);
109
+ }
110
+ }
111
+
112
+ .c-nav__item--success {
113
+ @include nav__item--color($color-success);
114
+
115
+ &.c-nav__item--active {
116
+ @include nav__item--active($nav-item-success-active-background-color, $nav-item-success-active-color);
117
+ }
118
+ }
119
+
120
+ .c-nav__item--error {
121
+ @include nav__item--color($color-error);
122
+
123
+ &.c-nav__item--active {
124
+ @include nav__item--active($nav-item-error-active-background-color, $nav-item-error-active-color);
125
+ }
126
+ }