1 | // This is a flavor file. Duplicate it and edit it to create your own flavor. Read instructions carefully.
|
---|
2 | // Single-line comments, starting with '//' will not be included in your final CSS file. Multiline comments,
|
---|
3 | // structured like the flavor description below, will be included in your final CSS file.
|
---|
4 | /*
|
---|
5 | Flavor name: Default (mini-default)
|
---|
6 | Author: Angelos Chalaris (chalarangelo@gmail.com)
|
---|
7 | Maintainers: Angelos Chalaris
|
---|
8 | mini.css version: v3.0.1
|
---|
9 | */
|
---|
10 | $base-line-height: 1.4; // Line height for most elements
|
---|
11 |
|
---|
12 | @import 'mini/core';
|
---|
13 | @import 'mini/layout';
|
---|
14 |
|
---|
15 | /*
|
---|
16 | Custom elements for card elements.
|
---|
17 | */
|
---|
18 | $card-small-name: 'small'; // Class name for small cards.
|
---|
19 | $card-small-width: 240px; // Width for small cards.
|
---|
20 | @include make-card-alt-size ($card-small-name, $card-small-width);
|
---|
21 |
|
---|
22 | $card-large-name: 'large'; // Class name for large cards.
|
---|
23 | $card-large-width: 480px; // Width for large cards.
|
---|
24 | @include make-card-alt-size ($card-large-name, $card-large-width);
|
---|
25 |
|
---|
26 | $card-fluid-name: 'fluid'; // Class name for fluid cards.
|
---|
27 | $card-fluid-width: 100%; // Width for fluid cards.
|
---|
28 | @include make-card-alt-size ($card-fluid-name, $card-fluid-width);
|
---|
29 |
|
---|
30 | $card-warning-name: 'warning'; // Class name for card warnging color variant.
|
---|
31 | $card-warning-back-color: #ffca28; // Background color for card warnging color variant.
|
---|
32 | $card-warning-fore-color: #111; // Text color for card warnging color variant.
|
---|
33 | $card-warning-border-color: #e8b825; // Border style for card warnging color variant.
|
---|
34 | @include make-card-alt-color ($card-warning-name, $card-warning-back-color, $card-warning-fore-color, $card-warning-border-color);
|
---|
35 |
|
---|
36 | $card-error-name: 'error'; // Class name for card error color variant.
|
---|
37 | $card-error-back-color: #b71c1c; // Background color for card error color variant.
|
---|
38 | $card-error-fore-color: #f8f8f8; // Text color for card error color variant.
|
---|
39 | $card-error-border-color: #a71a1a; // Border style for card error color variant.
|
---|
40 | @include make-card-alt-color ($card-error-name, $card-error-back-color, $card-error-fore-color, $card-error-border-color);
|
---|
41 |
|
---|
42 | $card-section-dark-name: 'dark'; // Class name for card dark section variant.
|
---|
43 | $card-section-dark-back-color: #e0e0e0; // Background color for card dark section variant.
|
---|
44 | $card-section-dark-fore-color: #111; // Text color for card dark section variant.
|
---|
45 | @include make-card-section-alt-color ($card-section-dark-name, $card-section-dark-back-color, $card-section-dark-fore-color);
|
---|
46 |
|
---|
47 | $card-section-double-padded-name: 'double-padded'; // Class name for card double-padded section variant.
|
---|
48 | $card-section-double-padded-padding: calc(1.5 * var(#{$universal-padding-var})); // Padding for card sectiondouble-padded section variant.
|
---|
49 | @include make-card-section-alt-style ($card-section-double-padded-name, $card-section-double-padded-padding);
|
---|
50 |
|
---|
51 | @import 'mini/input_control';
|
---|
52 |
|
---|
53 | /*
|
---|
54 | Custom elements for forms and input elements.
|
---|
55 | */
|
---|
56 | $button-primary-name: 'primary'; // Class name for primary button color variant.
|
---|
57 | $button-primary-back-color: #1976d2; // Background color for primary button color variant.
|
---|
58 | $button-primary-hover-back-color:#1565c0; // Background color for primary button color variant (hover).
|
---|
59 | $button-primary-fore-color: #f8f8f8; // Text color for primary button color variant.
|
---|
60 | @include make-button-alt-color ($button-primary-name, $button-primary-back-color, $button-primary-hover-back-color, $button-primary-fore-color);
|
---|
61 |
|
---|
62 | $button-secondary-name: 'secondary'; // Class name for secondary button color variant.
|
---|
63 | $button-secondary-back-color: #d32f2f; // Background color for secondary button color variant.
|
---|
64 | $button-secondary-hover-back-color:#c62828; // Background color for secondary button color variant (hover).
|
---|
65 | $button-secondary-fore-color: #f8f8f8; // Text color for secondary button color variant.
|
---|
66 | @include make-button-alt-color ($button-secondary-name, $button-secondary-back-color, $button-secondary-hover-back-color, $button-secondary-fore-color);
|
---|
67 |
|
---|
68 | $button-tertiary-name: 'tertiary'; // Class name for tertiary button color variant.
|
---|
69 | $button-tertiary-back-color: #308732; // Background color for tertiary button color variant.
|
---|
70 | $button-tertiary-hover-back-color:#277529; // Background color for tertiary button color variant (hover).
|
---|
71 | $button-tertiary-fore-color: #f8f8f8; // Text color for tertiary button color variant.
|
---|
72 | @include make-button-alt-color ($button-tertiary-name, $button-tertiary-back-color, $button-tertiary-hover-back-color, $button-tertiary-fore-color);
|
---|
73 |
|
---|
74 | $button-inverse-name: 'inverse'; // Class name for inverse button color variant.
|
---|
75 | $button-inverse-back-color: #212121; // Background color for inverse button color variant.
|
---|
76 | $button-inverse-hover-back-color:#111; // Background color for inverse button color variant (hover).
|
---|
77 | $button-inverse-fore-color: #f8f8f8; // Text color for inverse button color variant.
|
---|
78 | @include make-button-alt-color ($button-inverse-name, $button-inverse-back-color, $button-inverse-hover-back-color, $button-inverse-fore-color);
|
---|
79 |
|
---|
80 | $button-small-name: 'small'; // Class name, padding and margin for small button size variant.
|
---|
81 | $button-small-padding: calc(0.5 * var(#{$universal-padding-var})) calc(0.75 * var(#{$universal-padding-var}));
|
---|
82 | $button-small-margin: var(#{$universal-margin-var});
|
---|
83 | @include make-button-alt-size ($button-small-name, $button-small-padding, $button-small-margin);
|
---|
84 |
|
---|
85 | $button-large-name: 'large'; // Class name, padding and margin for large button size variant.
|
---|
86 | $button-large-padding: calc(1.5 * var(#{$universal-padding-var})) calc(2 * var(#{$universal-padding-var}));
|
---|
87 | $button-large-margin: var(#{$universal-margin-var});
|
---|
88 | @include make-button-alt-size ($button-large-name, $button-large-padding, $button-large-margin);
|
---|
89 |
|
---|
90 |
|
---|
91 | $_header-links-uppercase: false; // [Hidden] Should header links and buttons be uppercase? (boolean)
|
---|
92 | @import 'mini/navigation';
|
---|
93 |
|
---|
94 |
|
---|
95 | @import 'mini/table';
|
---|
96 | @import 'mini/contextual';
|
---|
97 |
|
---|
98 | /*
|
---|
99 | Custom elements for contextual background elements, toasts and tooltips.
|
---|
100 | */
|
---|
101 | $mark-secondary-name: 'secondary'; // Class name for secondary <mark> color variant.
|
---|
102 | $mark-secondary-back-color: #d32f2f; // Background color for secondary <mark> color variant.
|
---|
103 | @include make-mark-alt-color ($mark-secondary-name, $mark-secondary-back-color);
|
---|
104 |
|
---|
105 | $mark-tertiary-name: 'tertiary'; // Class name for tertiary <mark> color variant.
|
---|
106 | $mark-tertiary-back-color: #308732; // Background color for tertiary <mark> color variant.
|
---|
107 | @include make-mark-alt-color ($mark-tertiary-name, $mark-tertiary-back-color);
|
---|
108 |
|
---|
109 | $mark-tag-name: 'tag'; // Class name, padding and border radius for tag <mark> size variant.
|
---|
110 | $mark-tag-padding: calc(var(#{$universal-padding-var})/2) var(#{$universal-padding-var});
|
---|
111 | $mark-tag-border-radius: 1em;
|
---|
112 | @include make-mark-alt-size ($mark-tag-name, $mark-tag-padding, $mark-tag-border-radius);
|
---|
113 |
|
---|
114 | @import 'mini/progress';
|
---|
115 |
|
---|
116 | /*
|
---|
117 | Custom elements for progress bars and spinners.
|
---|
118 | */
|
---|
119 | $progress-primary-name: 'primary'; // Class name for primary <progress> color variant.
|
---|
120 | $progress-primary-fore-color: #1976d2; // Foreground color for primary <progress> color variant.
|
---|
121 | @include make-progress-alt-color ($progress-primary-name, $progress-primary-fore-color);
|
---|
122 |
|
---|
123 | $progress-secondary-name: 'secondary'; // Class name for secondary <progress> color variant.
|
---|
124 | $progress-secondary-fore-color: #d32f2f; // Foreground color for secondary <progress> color variant.
|
---|
125 | @include make-progress-alt-color ($progress-secondary-name, $progress-secondary-fore-color);
|
---|
126 |
|
---|
127 | $progress-tertiary-name: 'tertiary'; // Class name for tertiary <progress> color variant.
|
---|
128 | $progress-tertiary-fore-color: #308732; // Foreground color for tertiary <progress> color variant.
|
---|
129 | @include make-progress-alt-color ($progress-tertiary-name, $progress-tertiary-fore-color);
|
---|
130 |
|
---|
131 | $spinner-donut-primary-name: 'primary'; // Class name for primary spinner donutcolor variant.
|
---|
132 | $spinner-donut-primary-fore-color: #1976d2; // Foreground color for primary spinner donut color variant.
|
---|
133 | @include make-spinner-donut-alt-color ($spinner-donut-primary-name, $spinner-donut-primary-fore-color);
|
---|
134 |
|
---|
135 | $spinner-donut-secondary-name: 'secondary'; // Class name for secondary spinner donut color variant.
|
---|
136 | $spinner-donut-secondary-fore-color: #d32f2f; // Foreground color for secondary spinner donut color variant.
|
---|
137 | @include make-spinner-donut-alt-color ($spinner-donut-secondary-name, $spinner-donut-secondary-fore-color);
|
---|
138 |
|
---|
139 | $spinner-donut-tertiary-name: 'tertiary'; // Class name for tertiary spinner donut color variant.
|
---|
140 | $spinner-donut-tertiary-fore-color: #308732; // Foreground color for tertiary spinner donut color variant.
|
---|
141 | @include make-spinner-donut-alt-color ($spinner-donut-tertiary-name, $spinner-donut-tertiary-fore-color);
|
---|
142 |
|
---|
143 | @import 'mini/icon';
|
---|
144 | @import 'mini/utility';
|
---|