decidim-theme 0.1.4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/LICENSE-AGPLv3.txt +661 -0
- data/README.md +104 -0
- data/Rakefile +9 -0
- data/app/cells/decidim/meetings/meeting_cell.rb +65 -0
- data/app/cells/decidim/meetings/meeting_s_overrides/show.erb +25 -0
- data/app/cells/decidim/meetings/meeting_s_overrides_cell.rb +53 -0
- data/app/controllers/decidim/theme/admin/application_controller.rb +15 -0
- data/app/controllers/decidim/theme/application_controller.rb +13 -0
- data/app/helpers/decidim/theme/application_helper.rb +10 -0
- data/app/models/decidim/theme/application_record.rb +10 -0
- data/app/overrides/insert_javascript_tag.rb +6 -0
- data/app/overrides/language_chooser_icon.rb +4 -0
- data/app/overrides/layouts/decidim/_main_footer/replace_content.html.erb.deface +96 -0
- data/app/overrides/layouts/decidim/_mini_footer/replace_content.html.erb.deface +25 -0
- data/app/overrides/mailer_styles.rb +36 -0
- data/app/overrides/prefix_body.rb +10 -0
- data/app/overrides/prefix_classes.rb +63 -0
- data/app/overrides/prefix_processes_wrapper.rb +10 -0
- data/app/packs/entrypoints/decidim_theme_email.js +1 -0
- data/app/packs/entrypoints/decidim_theme_email.scss +2 -0
- data/app/packs/entrypoints/decidim_theme_polyfill.js +5 -0
- data/app/packs/fonts/decidim/Inter-Black.woff +0 -0
- data/app/packs/fonts/decidim/Inter-Black.woff2 +0 -0
- data/app/packs/fonts/decidim/Inter-BlackItalic.woff +0 -0
- data/app/packs/fonts/decidim/Inter-BlackItalic.woff2 +0 -0
- data/app/packs/fonts/decidim/Inter-Bold.woff +0 -0
- data/app/packs/fonts/decidim/Inter-Bold.woff2 +0 -0
- data/app/packs/fonts/decidim/Inter-BoldItalic.woff +0 -0
- data/app/packs/fonts/decidim/Inter-BoldItalic.woff2 +0 -0
- data/app/packs/fonts/decidim/Inter-ExtraBold.woff +0 -0
- data/app/packs/fonts/decidim/Inter-ExtraBold.woff2 +0 -0
- data/app/packs/fonts/decidim/Inter-ExtraBoldItalic.woff +0 -0
- data/app/packs/fonts/decidim/Inter-ExtraBoldItalic.woff2 +0 -0
- data/app/packs/fonts/decidim/Inter-ExtraLight.woff +0 -0
- data/app/packs/fonts/decidim/Inter-ExtraLight.woff2 +0 -0
- data/app/packs/fonts/decidim/Inter-ExtraLightItalic.woff +0 -0
- data/app/packs/fonts/decidim/Inter-ExtraLightItalic.woff2 +0 -0
- data/app/packs/fonts/decidim/Inter-Italic.woff +0 -0
- data/app/packs/fonts/decidim/Inter-Italic.woff2 +0 -0
- data/app/packs/fonts/decidim/Inter-Light.woff +0 -0
- data/app/packs/fonts/decidim/Inter-Light.woff2 +0 -0
- data/app/packs/fonts/decidim/Inter-LightItalic.woff +0 -0
- data/app/packs/fonts/decidim/Inter-LightItalic.woff2 +0 -0
- data/app/packs/fonts/decidim/Inter-Medium.woff +0 -0
- data/app/packs/fonts/decidim/Inter-Medium.woff2 +0 -0
- data/app/packs/fonts/decidim/Inter-MediumItalic.woff +0 -0
- data/app/packs/fonts/decidim/Inter-MediumItalic.woff2 +0 -0
- data/app/packs/fonts/decidim/Inter-Regular.woff +0 -0
- data/app/packs/fonts/decidim/Inter-Regular.woff2 +0 -0
- data/app/packs/fonts/decidim/Inter-SemiBold.woff +0 -0
- data/app/packs/fonts/decidim/Inter-SemiBold.woff2 +0 -0
- data/app/packs/fonts/decidim/Inter-SemiBoldItalic.woff +0 -0
- data/app/packs/fonts/decidim/Inter-SemiBoldItalic.woff2 +0 -0
- data/app/packs/fonts/decidim/Inter-Thin.woff +0 -0
- data/app/packs/fonts/decidim/Inter-Thin.woff2 +0 -0
- data/app/packs/fonts/decidim/Inter-ThinItalic.woff +0 -0
- data/app/packs/fonts/decidim/Inter-ThinItalic.woff2 +0 -0
- data/app/packs/fonts/decidim/Inter-italic.var.woff2 +0 -0
- data/app/packs/fonts/decidim/Inter-roman.var.woff2 +0 -0
- data/app/packs/fonts/decidim/Inter.var.woff2 +0 -0
- data/app/packs/images/decidim/cc-by-sa-4.svg +8 -0
- data/app/packs/images/decidim/decidim-initial.svg +9 -0
- data/app/packs/images/decidim/theme/icon.svg +1 -0
- data/app/packs/javascripts/empty.polyfill.js +7 -0
- data/app/packs/javascripts/has.polyfill.js +30 -0
- data/app/packs/stylesheets/decidim/theme/_font_face.scss +180 -0
- data/app/packs/stylesheets/decidim/theme/_theme.scss +121 -0
- data/app/packs/stylesheets/decidim/theme/_theme_settings.scss +923 -0
- data/app/packs/stylesheets/decidim/theme/_theme_variables.scss +80 -0
- data/app/packs/stylesheets/decidim/theme/atoms/Buttons/_Generic.scss +98 -0
- data/app/packs/stylesheets/decidim/theme/atoms/Buttons/_Misc.scss +115 -0
- data/app/packs/stylesheets/decidim/theme/atoms/Buttons/_Navigation.scss +83 -0
- data/app/packs/stylesheets/decidim/theme/atoms/Typography/_Body.scss +88 -0
- data/app/packs/stylesheets/decidim/theme/atoms/Typography/_Headline.scss +98 -0
- data/app/packs/stylesheets/decidim/theme/atoms/Typography/_mixins.scss +109 -0
- data/app/packs/stylesheets/decidim/theme/email.scss +41 -0
- data/app/packs/stylesheets/decidim/theme/molecules/Callouts/_default.scss +41 -0
- data/app/packs/stylesheets/decidim/theme/molecules/Cards/_card_process.scss +24 -0
- data/app/packs/stylesheets/decidim/theme/molecules/Cards/_data-item.scss +31 -0
- data/app/packs/stylesheets/decidim/theme/molecules/Cards/_documents.scss +46 -0
- data/app/packs/stylesheets/decidim/theme/molecules/Cards/_extra.scss +32 -0
- data/app/packs/stylesheets/decidim/theme/molecules/Cards/_upcoming_meetings.scss +47 -0
- data/app/packs/stylesheets/decidim/theme/organisms/_account.scss +129 -0
- data/app/packs/stylesheets/decidim/theme/organisms/_accountability.scss +119 -0
- data/app/packs/stylesheets/decidim/theme/organisms/_assembly.scss +5 -0
- data/app/packs/stylesheets/decidim/theme/organisms/_authorizations.scss +25 -0
- data/app/packs/stylesheets/decidim/theme/organisms/_blog.scss +77 -0
- data/app/packs/stylesheets/decidim/theme/organisms/_budgets.scss +221 -0
- data/app/packs/stylesheets/decidim/theme/organisms/_cookie_warning.scss +6 -0
- data/app/packs/stylesheets/decidim/theme/organisms/_debate.scss +65 -0
- data/app/packs/stylesheets/decidim/theme/organisms/_footer.scss +145 -0
- data/app/packs/stylesheets/decidim/theme/organisms/_groups.scss +49 -0
- data/app/packs/stylesheets/decidim/theme/organisms/_logins.scss +45 -0
- data/app/packs/stylesheets/decidim/theme/organisms/_meetings.scss +214 -0
- data/app/packs/stylesheets/decidim/theme/organisms/_members.scss +6 -0
- data/app/packs/stylesheets/decidim/theme/organisms/_messaging.scss +118 -0
- data/app/packs/stylesheets/decidim/theme/organisms/_metrics.scss +31 -0
- data/app/packs/stylesheets/decidim/theme/organisms/_notifications.scss +20 -0
- data/app/packs/stylesheets/decidim/theme/organisms/_processes.scss +12 -0
- data/app/packs/stylesheets/decidim/theme/organisms/_proposals.scss +150 -0
- data/app/packs/stylesheets/decidim/theme/organisms/_search.scss +12 -0
- data/app/packs/stylesheets/decidim/theme/organisms/_sortitions.scss +65 -0
- data/app/packs/stylesheets/decidim/theme/organisms/_surveys.scss +65 -0
- data/app/packs/stylesheets/decidim/theme/organisms/_text_page.scss +115 -0
- data/app/packs/stylesheets/decidim/theme/organisms/_user_conversations.scss +7 -0
- data/app/packs/stylesheets/decidim/theme/reset/_author.scss +36 -0
- data/app/packs/stylesheets/decidim/theme/reset/_author_avatar.scss +182 -0
- data/app/packs/stylesheets/decidim/theme/reset/_badges.scss +159 -0
- data/app/packs/stylesheets/decidim/theme/reset/_base.scss +543 -0
- data/app/packs/stylesheets/decidim/theme/reset/_budget-list.scss +202 -0
- data/app/packs/stylesheets/decidim/theme/reset/_budget-meter.scss +85 -0
- data/app/packs/stylesheets/decidim/theme/reset/_buttons.scss +538 -0
- data/app/packs/stylesheets/decidim/theme/reset/_callout.scss +37 -0
- data/app/packs/stylesheets/decidim/theme/reset/_card.scss +1480 -0
- data/app/packs/stylesheets/decidim/theme/reset/_categories.scss +130 -0
- data/app/packs/stylesheets/decidim/theme/reset/_collapsible.scss +59 -0
- data/app/packs/stylesheets/decidim/theme/reset/_columns.scss +8 -0
- data/app/packs/stylesheets/decidim/theme/reset/_comments.scss +320 -0
- data/app/packs/stylesheets/decidim/theme/reset/_conversation.scss +158 -0
- data/app/packs/stylesheets/decidim/theme/reset/_data-consent.scss +133 -0
- data/app/packs/stylesheets/decidim/theme/reset/_data-picker.scss +243 -0
- data/app/packs/stylesheets/decidim/theme/reset/_definition_data.scss +93 -0
- data/app/packs/stylesheets/decidim/theme/reset/_docs-manager.scss +16 -0
- data/app/packs/stylesheets/decidim/theme/reset/_dropdown_menu.scss +312 -0
- data/app/packs/stylesheets/decidim/theme/reset/_errors.scss +87 -0
- data/app/packs/stylesheets/decidim/theme/reset/_extra.scss +56 -0
- data/app/packs/stylesheets/decidim/theme/reset/_filters.scss +224 -0
- data/app/packs/stylesheets/decidim/theme/reset/_floating_helper.scss +133 -0
- data/app/packs/stylesheets/decidim/theme/reset/_form.scss +176 -0
- data/app/packs/stylesheets/decidim/theme/reset/_home.scss +416 -0
- data/app/packs/stylesheets/decidim/theme/reset/_home_section.scss +23 -0
- data/app/packs/stylesheets/decidim/theme/reset/_horizontal-tabs.scss +130 -0
- data/app/packs/stylesheets/decidim/theme/reset/_icons.scss +3 -0
- data/app/packs/stylesheets/decidim/theme/reset/_inline-filters.scss +77 -0
- data/app/packs/stylesheets/decidim/theme/reset/_label.scss +79 -0
- data/app/packs/stylesheets/decidim/theme/reset/_labels.scss +53 -0
- data/app/packs/stylesheets/decidim/theme/reset/_layout.scss +82 -0
- data/app/packs/stylesheets/decidim/theme/reset/_lines_breadcrumb.scss +38 -0
- data/app/packs/stylesheets/decidim/theme/reset/_login.scss +3 -0
- data/app/packs/stylesheets/decidim/theme/reset/_logo_wrapper.scss +28 -0
- data/app/packs/stylesheets/decidim/theme/reset/_main_container.scss +96 -0
- data/app/packs/stylesheets/decidim/theme/reset/_metric-chart.scss +25 -0
- data/app/packs/stylesheets/decidim/theme/reset/_navbar.scss +763 -0
- data/app/packs/stylesheets/decidim/theme/reset/_opinion_toggle.scss +55 -0
- data/app/packs/stylesheets/decidim/theme/reset/_order-by.scss +34 -0
- data/app/packs/stylesheets/decidim/theme/reset/_org-chart.scss +6 -0
- data/app/packs/stylesheets/decidim/theme/reset/_pagination.scss +195 -0
- data/app/packs/stylesheets/decidim/theme/reset/_process.scss +20 -0
- data/app/packs/stylesheets/decidim/theme/reset/_process_header.scss +97 -0
- data/app/packs/stylesheets/decidim/theme/reset/_process_header_phase.scss +13 -0
- data/app/packs/stylesheets/decidim/theme/reset/_process_nav.scss +317 -0
- data/app/packs/stylesheets/decidim/theme/reset/_progress_bar.scss +89 -0
- data/app/packs/stylesheets/decidim/theme/reset/_quill.scss +47 -0
- data/app/packs/stylesheets/decidim/theme/reset/_result_per_page.scss +82 -0
- data/app/packs/stylesheets/decidim/theme/reset/_results.scss +158 -0
- data/app/packs/stylesheets/decidim/theme/reset/_reveal.scss +210 -0
- data/app/packs/stylesheets/decidim/theme/reset/_scope-picker.scss +10 -0
- data/app/packs/stylesheets/decidim/theme/reset/_select.scss +92 -0
- data/app/packs/stylesheets/decidim/theme/reset/_signup.scss +179 -0
- data/app/packs/stylesheets/decidim/theme/reset/_statistics.scss +42 -0
- data/app/packs/stylesheets/decidim/theme/reset/_switch.scss +272 -0
- data/app/packs/stylesheets/decidim/theme/reset/_tabs.scss +4 -0
- data/app/packs/stylesheets/decidim/theme/reset/_tags.scss +47 -0
- data/app/packs/stylesheets/decidim/theme/reset/_thumbnail.scss +66 -0
- data/app/packs/stylesheets/decidim/theme/reset/_timeline.scss +183 -0
- data/app/packs/stylesheets/decidim/theme/reset/_title_bar.scss +89 -0
- data/app/packs/stylesheets/decidim/theme/reset/_toggle.scss +14 -0
- data/app/packs/stylesheets/decidim/theme/reset/_tooltip.scss +173 -0
- data/app/packs/stylesheets/decidim/theme/reset/_typography.scss +283 -0
- data/app/packs/stylesheets/decidim/theme/reset/_upload_modal.scss +140 -0
- data/app/packs/stylesheets/decidim/theme/reset/_user-form.scss +15 -0
- data/app/packs/stylesheets/decidim/theme/reset/_user.scss +184 -0
- data/app/packs/stylesheets/decidim/theme/reset/_versions.scss +82 -0
- data/app/packs/stylesheets/decidim/theme/reset/_wrapper.scss +3 -0
- data/config/assets.rb +17 -0
- data/config/i18n-tasks.yml +10 -0
- data/config/locales/en.yml +62 -0
- data/config/locales/fr.yml +11 -0
- data/lib/decidim/theme/admin.rb +10 -0
- data/lib/decidim/theme/admin_engine.rb +27 -0
- data/lib/decidim/theme/engine.rb +29 -0
- data/lib/decidim/theme/test/factories.rb +13 -0
- data/lib/decidim/theme/version.rb +13 -0
- data/lib/decidim/theme.rb +12 -0
- metadata +271 -0
@@ -0,0 +1,923 @@
|
|
1
|
+
// Foundation for Sites Settings
|
2
|
+
// -----------------------------
|
3
|
+
//
|
4
|
+
// Table of Contents:
|
5
|
+
//
|
6
|
+
// 1. Global
|
7
|
+
// 2. Breakpoints
|
8
|
+
// 3. The Grid
|
9
|
+
// 4. Base Typography
|
10
|
+
// 5. Typography Helpers
|
11
|
+
// 6. Abide
|
12
|
+
// 7. Accordion
|
13
|
+
// 8. Accordion Menu
|
14
|
+
// 9. Badge
|
15
|
+
// 10. Breadcrumbs
|
16
|
+
// 11. Button
|
17
|
+
// 12. Button Group
|
18
|
+
// 13. Callout
|
19
|
+
// 14. Card
|
20
|
+
// 15. Close Button
|
21
|
+
// 16. Drilldown
|
22
|
+
// 17. Dropdown
|
23
|
+
// 18. Dropdown Menu
|
24
|
+
// 19. Flexbox Utilities
|
25
|
+
// 20. Forms
|
26
|
+
// 21. Label
|
27
|
+
// 22. Media Object
|
28
|
+
// 23. Menu
|
29
|
+
// 24. Meter
|
30
|
+
// 25. Off-canvas
|
31
|
+
// 26. Orbit
|
32
|
+
// 27. Pagination
|
33
|
+
// 28. Progress Bar
|
34
|
+
// 29. Prototype Arrow
|
35
|
+
// 30. Prototype Border-Box
|
36
|
+
// 31. Prototype Border-None
|
37
|
+
// 32. Prototype Bordered
|
38
|
+
// 33. Prototype Display
|
39
|
+
// 34. Prototype Font-Styling
|
40
|
+
// 35. Prototype List-Style-Type
|
41
|
+
// 36. Prototype Overflow
|
42
|
+
// 37. Prototype Position
|
43
|
+
// 38. Prototype Rounded
|
44
|
+
// 39. Prototype Separator
|
45
|
+
// 40. Prototype Shadow
|
46
|
+
// 41. Prototype Sizing
|
47
|
+
// 42. Prototype Spacing
|
48
|
+
// 43. Prototype Text-Decoration
|
49
|
+
// 44. Prototype Text-Transformation
|
50
|
+
// 45. Prototype Text-Utilities
|
51
|
+
// 46. Responsive Embed
|
52
|
+
// 47. Reveal
|
53
|
+
// 48. Slider
|
54
|
+
// 49. Switch
|
55
|
+
// 50. Table
|
56
|
+
// 51. Tabs
|
57
|
+
// 52. Thumbnail
|
58
|
+
// 53. Title Bar
|
59
|
+
// 54. Tooltip
|
60
|
+
// 55. Top Bar
|
61
|
+
// 56. Xy Grid
|
62
|
+
|
63
|
+
// 1. Global
|
64
|
+
// ---------
|
65
|
+
|
66
|
+
$black: black;
|
67
|
+
$white: white;
|
68
|
+
$primary-color: #0476d9;
|
69
|
+
$alert-color: #ec5840;
|
70
|
+
$warning-color: #ffae00;
|
71
|
+
$success-color: #57d685;
|
72
|
+
$txt-emph-high-color: #000000f0;
|
73
|
+
$txt-emph-med-color: #000000db;
|
74
|
+
$txt-emph-low-color: #000000ad;
|
75
|
+
$txt-emph-lowest-color: #0000008f;
|
76
|
+
$grey1-color: #f5f5f5;
|
77
|
+
$grey2-color: #e0e0e0;
|
78
|
+
|
79
|
+
$secondary-color: $primary-color;
|
80
|
+
$foundation-palette: (
|
81
|
+
"primary": $primary-color,
|
82
|
+
"secondary": $primary-color,
|
83
|
+
"success": $success-color,
|
84
|
+
"warning": $warning-color,
|
85
|
+
"alert": $alert-color,
|
86
|
+
);
|
87
|
+
$secondary-10-color: rgba($secondary-color, 0.18);
|
88
|
+
$primary-10-color: rgba($primary-color, 0.18);
|
89
|
+
$primary: $primary-color;
|
90
|
+
$secondary: $secondary-color;
|
91
|
+
|
92
|
+
$white-50: rgba($white, 0.5);
|
93
|
+
$black-10: rgba($white, 0.1);
|
94
|
+
|
95
|
+
$global-font-size: 100%;
|
96
|
+
$global-width: rem-calc(1200);
|
97
|
+
$global-lineheight: 1.2;
|
98
|
+
$body-background: $grey1-color;
|
99
|
+
$body-font-color: $txt-emph-med-color;
|
100
|
+
$body-font-family: "Inter", var(--font-fallback);
|
101
|
+
$body-safe-padding: false;
|
102
|
+
$body-antialiased: true;
|
103
|
+
$global-margin: 1rem;
|
104
|
+
$global-padding: 0.5rem;
|
105
|
+
$global-position: 0;
|
106
|
+
$global-weight-normal: normal;
|
107
|
+
$global-weight-bold: 500;
|
108
|
+
$global-radius: 0.5rem;
|
109
|
+
$global-menu-padding: 0;
|
110
|
+
$global-menu-nested-margin: 0;
|
111
|
+
$global-text-direction: ltr;
|
112
|
+
$global-flexbox: true;
|
113
|
+
$global-prototype-breakpoints: false;
|
114
|
+
$global-button-cursor: auto;
|
115
|
+
$global-color-pick-contrast-tolerance: 0;
|
116
|
+
$print-transparent-backgrounds: true;
|
117
|
+
$print-hrefs: true;
|
118
|
+
$border: 1px solid transparent;
|
119
|
+
|
120
|
+
// 2. Breakpoints
|
121
|
+
// --------------
|
122
|
+
|
123
|
+
$breakpoints: (
|
124
|
+
small: 0,
|
125
|
+
smallmedium: 825px,
|
126
|
+
medium: 825px,
|
127
|
+
mediumlarge: 825px,
|
128
|
+
large: 1024px,
|
129
|
+
xlarge: 1200px,
|
130
|
+
xxlarge: 1440px,
|
131
|
+
);
|
132
|
+
$breakpoints-hidpi: (
|
133
|
+
hidpi-1: 1,
|
134
|
+
hidpi-1-5: 1.5,
|
135
|
+
hidpi-2: 2,
|
136
|
+
retina: 2,
|
137
|
+
hidpi-3: 3,
|
138
|
+
);
|
139
|
+
|
140
|
+
$print-breakpoint: large;
|
141
|
+
$breakpoint-classes: (small smallmedium medium mediumlarge large);
|
142
|
+
|
143
|
+
$size: (
|
144
|
+
none: 0,
|
145
|
+
xs: rem-calc(8),
|
146
|
+
s: rem-calc(16),
|
147
|
+
sm: rem-calc(16),
|
148
|
+
m: rem-calc(16),
|
149
|
+
l: rem-calc(24),
|
150
|
+
);
|
151
|
+
|
152
|
+
// 3. The Grid
|
153
|
+
// -----------
|
154
|
+
$grid-row-width: $global-width;
|
155
|
+
$grid-column-count: 12;
|
156
|
+
$grid-column-gutter: (
|
157
|
+
small: 1rem,
|
158
|
+
medium: 1.5rem,
|
159
|
+
large: 2rem,
|
160
|
+
);
|
161
|
+
$grid-column-align-edge: true;
|
162
|
+
$grid-column-alias: "columns";
|
163
|
+
$block-grid-max: 8;
|
164
|
+
|
165
|
+
// 4. Base Typography
|
166
|
+
// ------------------
|
167
|
+
|
168
|
+
$header-font-family: $body-font-family;
|
169
|
+
$header-font-weight: $global-weight-normal;
|
170
|
+
$header-font-style: normal;
|
171
|
+
$font-family-monospace: Consolas, "Liberation Mono", Courier, monospace;
|
172
|
+
$header-color: inherit;
|
173
|
+
$header-lineheight: 1.4;
|
174
|
+
$header-margin-bottom: 0.5rem;
|
175
|
+
$header-styles: (
|
176
|
+
small: (
|
177
|
+
"h1": (
|
178
|
+
"font-size": 38,
|
179
|
+
),
|
180
|
+
"h2": (
|
181
|
+
"font-size": 28,
|
182
|
+
),
|
183
|
+
"h3": (
|
184
|
+
"font-size": 18,
|
185
|
+
),
|
186
|
+
"h4": (
|
187
|
+
"font-size": 16,
|
188
|
+
),
|
189
|
+
"h5": (
|
190
|
+
"font-size": 14,
|
191
|
+
),
|
192
|
+
"h6": (
|
193
|
+
"font-size": 14,
|
194
|
+
),
|
195
|
+
),
|
196
|
+
medium: (
|
197
|
+
"h1": (
|
198
|
+
"font-size": 64,
|
199
|
+
),
|
200
|
+
"h2": (
|
201
|
+
"font-size": 48,
|
202
|
+
),
|
203
|
+
"h3": (
|
204
|
+
"font-size": 31,
|
205
|
+
),
|
206
|
+
"h4": (
|
207
|
+
"font-size": 28,
|
208
|
+
),
|
209
|
+
"h5": (
|
210
|
+
"font-size": 23,
|
211
|
+
),
|
212
|
+
"h6": (
|
213
|
+
"font-size": 20,
|
214
|
+
),
|
215
|
+
),
|
216
|
+
);
|
217
|
+
$body-styles: (
|
218
|
+
small: (
|
219
|
+
"body1": (
|
220
|
+
"font-size": 38,
|
221
|
+
),
|
222
|
+
"body2": (
|
223
|
+
"font-size": 28,
|
224
|
+
),
|
225
|
+
"body3": (
|
226
|
+
"font-size": 18,
|
227
|
+
),
|
228
|
+
"body4": (
|
229
|
+
"font-size": 16,
|
230
|
+
),
|
231
|
+
"body5": (
|
232
|
+
"font-size": 14,
|
233
|
+
),
|
234
|
+
"body6": (
|
235
|
+
"font-size": 14,
|
236
|
+
),
|
237
|
+
),
|
238
|
+
medium: (
|
239
|
+
"body1": (
|
240
|
+
"font-size": 23,
|
241
|
+
),
|
242
|
+
"body2": (
|
243
|
+
"font-size": 20,
|
244
|
+
),
|
245
|
+
"body3": (
|
246
|
+
"font-size": 18,
|
247
|
+
),
|
248
|
+
"body4": (
|
249
|
+
"font-size": 16,
|
250
|
+
),
|
251
|
+
"body5": (
|
252
|
+
"font-size": 14,
|
253
|
+
),
|
254
|
+
"body6": (
|
255
|
+
"font-size": 11,
|
256
|
+
),
|
257
|
+
),
|
258
|
+
);
|
259
|
+
$header-text-rendering: optimizeLegibility;
|
260
|
+
$small-font-size: 100%;
|
261
|
+
$header-small-font-color: $txt-emph-low-color;
|
262
|
+
$paragraph-lineheight: $global-lineheight;
|
263
|
+
$paragraph-margin-bottom: 0.5rem;
|
264
|
+
$paragraph-text-rendering: optimizeLegibility;
|
265
|
+
$enable-code-inline: true;
|
266
|
+
$anchor-color: $primary-color;
|
267
|
+
$anchor-color-hover: $primary-color;
|
268
|
+
$anchor-text-decoration: none;
|
269
|
+
$anchor-text-decoration-hover: none;
|
270
|
+
$anchor-outline-focus: transparent;
|
271
|
+
$hr-width: $global-width;
|
272
|
+
$hr-border: 1px solid $grey2-color;
|
273
|
+
$hr-margin: 1rem auto;
|
274
|
+
$list-lineheight: $paragraph-lineheight;
|
275
|
+
$list-margin-bottom: $paragraph-margin-bottom;
|
276
|
+
$list-style-type: disc;
|
277
|
+
$list-style-position: outside;
|
278
|
+
$list-side-margin: 1rem;
|
279
|
+
$list-nested-side-margin: 1rem;
|
280
|
+
$defnlist-margin-bottom: 1rem;
|
281
|
+
$defnlist-term-weight: $global-weight-bold;
|
282
|
+
$defnlist-term-margin-bottom: 0.3rem;
|
283
|
+
$blockquote-color: $txt-emph-med-color;
|
284
|
+
$blockquote-padding: 1.5rem 1rem 1rem 1rem;
|
285
|
+
$blockquote-border: 1px solid $grey2-color;
|
286
|
+
$enable-cite-block: true;
|
287
|
+
$keystroke-font: $font-family-monospace;
|
288
|
+
$keystroke-color: $txt-emph-med-color;
|
289
|
+
$keystroke-background: $grey1-color;
|
290
|
+
$keystroke-padding: rem-calc(2 4 0);
|
291
|
+
$keystroke-radius: $global-radius;
|
292
|
+
$abbr-underline: 1px dotted $txt-emph-low-color;
|
293
|
+
|
294
|
+
// 5. Typography Helpers
|
295
|
+
// ---------------------
|
296
|
+
|
297
|
+
$lead-font-size: 64;
|
298
|
+
$lead-lineheight: 1.2;
|
299
|
+
$subheader-lineheight: 1.2;
|
300
|
+
$subheader-color: $txt-emph-high-color;
|
301
|
+
$subheader-font-weight: normal;
|
302
|
+
$subheader-margin-top: 0.2rem;
|
303
|
+
$subheader-margin-bottom: 0.5rem;
|
304
|
+
$stat-font-size: rem-calc(64);
|
305
|
+
$cite-color: $txt-emph-high-color;
|
306
|
+
$cite-font-size: rem-calc(11);
|
307
|
+
$cite-pseudo-content: "\2014 \0020";
|
308
|
+
$code-color: $txt-emph-high-color;
|
309
|
+
$code-font-family: $font-family-monospace;
|
310
|
+
$code-font-weight: normal;
|
311
|
+
$code-background: $grey1-color;
|
312
|
+
$code-border: 1px solid transparent;
|
313
|
+
$code-padding: rem-calc(2 5 1);
|
314
|
+
$code-block-padding: 1rem;
|
315
|
+
$code-block-margin-bottom: 1.5rem;
|
316
|
+
|
317
|
+
// 6. Abide
|
318
|
+
// --------
|
319
|
+
$abide-inputs: true;
|
320
|
+
$abide-labels: true;
|
321
|
+
$input-background-invalid: $alert-color;
|
322
|
+
$form-label-color-invalid: $alert-color;
|
323
|
+
$input-error-color: $alert-color;
|
324
|
+
$input-error-font-size: rem-calc(12);
|
325
|
+
$input-error-font-weight: $global-weight-bold;
|
326
|
+
|
327
|
+
// 7. Accordion
|
328
|
+
// ------------
|
329
|
+
|
330
|
+
$accordion-background: $white;
|
331
|
+
$accordion-plusminus: true;
|
332
|
+
$accordion-plus-content: "\002B";
|
333
|
+
$accordion-minus-content: "\2013";
|
334
|
+
$accordion-title-font-size: rem-calc(12);
|
335
|
+
$accordion-item-color: $primary-color;
|
336
|
+
$accordion-item-background-hover: $grey1-color;
|
337
|
+
$accordion-item-padding: 1.25rem 1rem;
|
338
|
+
$accordion-content-background: $white;
|
339
|
+
$accordion-content-border: 1px solid $grey1-color;
|
340
|
+
$accordion-content-color: $body-font-color;
|
341
|
+
$accordion-content-padding: 1rem;
|
342
|
+
|
343
|
+
// 8. Accordion Menu
|
344
|
+
// -----------------
|
345
|
+
$accordionmenu-padding: $global-menu-padding;
|
346
|
+
$accordionmenu-nested-margin: $global-menu-nested-margin;
|
347
|
+
$accordionmenu-submenu-padding: $accordionmenu-padding;
|
348
|
+
$accordionmenu-arrows: true;
|
349
|
+
$accordionmenu-arrow-color: $primary-color;
|
350
|
+
$accordionmenu-item-background: null;
|
351
|
+
$accordionmenu-border: null;
|
352
|
+
$accordionmenu-submenu-toggle-background: null;
|
353
|
+
$accordion-submenu-toggle-border: $accordionmenu-border;
|
354
|
+
$accordionmenu-submenu-toggle-width: rem-calc(40px);
|
355
|
+
$accordionmenu-submenu-toggle-height: $accordionmenu-submenu-toggle-width;
|
356
|
+
$accordionmenu-arrow-size: rem-calc(6px);
|
357
|
+
|
358
|
+
// 9. Badge
|
359
|
+
// --------
|
360
|
+
$badge-background: $secondary-10-color;
|
361
|
+
$badge-color: $white;
|
362
|
+
$badge-color-alt: $black;
|
363
|
+
$badge-palette: $foundation-palette;
|
364
|
+
$badge-padding: 0;
|
365
|
+
$badge-minwidth: rem-calc(28);
|
366
|
+
$badge-font-size: rem-calc(14);
|
367
|
+
|
368
|
+
// 10. Breadcrumbs
|
369
|
+
// ---------------
|
370
|
+
$breadcrumbs-margin: 0 0 $global-margin 0;
|
371
|
+
$breadcrumbs-item-font-size: rem-calc(11);
|
372
|
+
$breadcrumbs-item-color: $primary-color;
|
373
|
+
$breadcrumbs-item-color-current: $black;
|
374
|
+
$breadcrumbs-item-color-disabled: $grey2-color;
|
375
|
+
$breadcrumbs-item-margin: 0.75rem;
|
376
|
+
$breadcrumbs-item-uppercase: true;
|
377
|
+
$breadcrumbs-item-separator: true;
|
378
|
+
$breadcrumbs-item-separator-item: "/";
|
379
|
+
$breadcrumbs-item-separator-item-rtl: "\\";
|
380
|
+
$breadcrumbs-item-separator-color: $grey2-color;
|
381
|
+
|
382
|
+
// 11. Button
|
383
|
+
// ----------
|
384
|
+
$button-font-family: inherit;
|
385
|
+
$button-font-weight: var(--font-weight-medium);
|
386
|
+
$button-padding: rem-calc(16) rem-calc(24);
|
387
|
+
$button-margin: 0;
|
388
|
+
$button-fill: solid;
|
389
|
+
$button-background: $primary-color;
|
390
|
+
$button-background-hover: $secondary-10-color;
|
391
|
+
$button-color: white;
|
392
|
+
$button-color-alt: $txt-emph-med-color;
|
393
|
+
$button-shadow: none;
|
394
|
+
$button-radius: rem-calc(48);
|
395
|
+
$button-border: 1px solid transparent;
|
396
|
+
$button-hollow-border-width: 1px;
|
397
|
+
$button-sizes: (
|
398
|
+
tiny: rem-calc(14),
|
399
|
+
small: rem-calc(14),
|
400
|
+
default: rem-calc(16),
|
401
|
+
large: rem-calc(18),
|
402
|
+
);
|
403
|
+
$button-palette: $foundation-palette;
|
404
|
+
$button-opacity-disabled: 1;
|
405
|
+
$button-background-hover-lightness: 0.1%;
|
406
|
+
$button-hollow-hover-lightness: 0.1%;
|
407
|
+
$button-transition: none;
|
408
|
+
$button-responsive-expanded: false;
|
409
|
+
$button-outline-focus: transparent;
|
410
|
+
$button-outline-offset: 0px;
|
411
|
+
$button-shadow-active: none;
|
412
|
+
$button-shadow-focus: none;
|
413
|
+
$button-brightness-hover: 110%;
|
414
|
+
$button-brightness-active: 110%;
|
415
|
+
$button-brightness-focus: 110%;
|
416
|
+
$button-vertical-push-active: 0px;
|
417
|
+
$button-hollow-underline: none;
|
418
|
+
|
419
|
+
// 12. Button Group
|
420
|
+
// ----------------
|
421
|
+
|
422
|
+
$buttongroup-margin: 1rem;
|
423
|
+
$buttongroup-spacing: 1px;
|
424
|
+
$buttongroup-child-selector: ".button";
|
425
|
+
$buttongroup-expand-max: 6;
|
426
|
+
$buttongroup-radius-on-each: true;
|
427
|
+
|
428
|
+
// 13. Callout
|
429
|
+
// -----------
|
430
|
+
$callout-background: $white;
|
431
|
+
$callout-background-fade: 100%;
|
432
|
+
$callout-border: 1;
|
433
|
+
$callout-margin: 32px;
|
434
|
+
$callout-sizes: (
|
435
|
+
small: 0.5rem,
|
436
|
+
default: 1rem,
|
437
|
+
large: 3rem,
|
438
|
+
);
|
439
|
+
$callout-font-color: $txt-emph-high-color;
|
440
|
+
$callout-font-color-alt: $white;
|
441
|
+
$callout-radius: rem-calc(16);
|
442
|
+
$callout-link-tint: 0%;
|
443
|
+
|
444
|
+
// 14. Card
|
445
|
+
// --------
|
446
|
+
$card-bg: var(--white);
|
447
|
+
$card-secondary-bg: var(--white);
|
448
|
+
$grey1-color-dark: var(--grey1);
|
449
|
+
$card-border-top-width: rem-calc(8);
|
450
|
+
$card-font-color: $body-font-color;
|
451
|
+
$card-divider-background: rgba(0, 0, 0, 0.06);
|
452
|
+
$card-border: 1px solid transparent;
|
453
|
+
$card-shadow: var(--card-shadow);
|
454
|
+
$card-border-radius: rem-calc(8);
|
455
|
+
$card-padding: rem-calc(24) rem-calc(22);
|
456
|
+
$card-margin-bottom: 0;
|
457
|
+
|
458
|
+
// 15. Close Button
|
459
|
+
// ----------------
|
460
|
+
$closebutton-position: right top;
|
461
|
+
$closebutton-z-index: 10;
|
462
|
+
$closebutton-default-size: medium;
|
463
|
+
$closebutton-offset-horizontal: (
|
464
|
+
small: 0.66rem,
|
465
|
+
medium: 1rem,
|
466
|
+
);
|
467
|
+
$closebutton-offset-vertical: (
|
468
|
+
small: 0.33em,
|
469
|
+
medium: 0.5rem,
|
470
|
+
);
|
471
|
+
$closebutton-size: (
|
472
|
+
small: 1.5em,
|
473
|
+
medium: 2em,
|
474
|
+
);
|
475
|
+
$closebutton-lineheight: 1;
|
476
|
+
$closebutton-color: $grey2-color;
|
477
|
+
$closebutton-color-hover: $black-10;
|
478
|
+
|
479
|
+
// 16. Drilldown
|
480
|
+
// -------------
|
481
|
+
$drilldown-transition: transform 0.15s linear;
|
482
|
+
$drilldown-arrows: true;
|
483
|
+
$drilldown-padding: $global-menu-padding;
|
484
|
+
$drilldown-nested-margin: 0;
|
485
|
+
$drilldown-background: $white;
|
486
|
+
$drilldown-submenu-padding: $drilldown-padding;
|
487
|
+
$drilldown-submenu-background: $white;
|
488
|
+
$drilldown-arrow-color: $primary-color;
|
489
|
+
$drilldown-arrow-size: 6px;
|
490
|
+
|
491
|
+
// 17. Dropdown
|
492
|
+
// ------------
|
493
|
+
$dropdown-padding: 1rem;
|
494
|
+
$dropdown-background: $body-background;
|
495
|
+
$dropdown-border: 1px solid $grey2-color;
|
496
|
+
$dropdown-font-size: 1rem;
|
497
|
+
$dropdown-width: 300px;
|
498
|
+
$dropdown-radius: $global-radius;
|
499
|
+
$dropdown-sizes: (
|
500
|
+
tiny: 130px,
|
501
|
+
small: 280px,
|
502
|
+
large: 410px,
|
503
|
+
);
|
504
|
+
|
505
|
+
// 18. Dropdown Menu
|
506
|
+
// -----------------
|
507
|
+
$dropdownmenu-arrows: true;
|
508
|
+
$dropdownmenu-arrow-color: $anchor-color;
|
509
|
+
$dropdownmenu-arrow-size: 6px;
|
510
|
+
$dropdownmenu-arrow-padding: 1.5rem;
|
511
|
+
$dropdownmenu-min-width: 230px;
|
512
|
+
$dropdownmenu-background: transparent;
|
513
|
+
$dropdownmenu-submenu-background: $white;
|
514
|
+
$dropdownmenu-padding: $global-menu-padding;
|
515
|
+
$dropdownmenu-nested-margin: 0;
|
516
|
+
$dropdownmenu-submenu-padding: $dropdownmenu-padding;
|
517
|
+
$dropdownmenu-border: 1px solid $grey2-color;
|
518
|
+
$dropdown-menu-item-color-active: get-color(primary);
|
519
|
+
$dropdown-menu-item-background-active: transparent;
|
520
|
+
|
521
|
+
// 19. Flexbox Utilities
|
522
|
+
// ---------------------
|
523
|
+
$flex-source-ordering-count: 6;
|
524
|
+
$flexbox-responsive-breakpoints: true;
|
525
|
+
|
526
|
+
// 20. Forms
|
527
|
+
// --------
|
528
|
+
$fieldset-border: 1px solid $grey2-color;
|
529
|
+
$fieldset-padding: 1rem;
|
530
|
+
$fieldset-margin: 1.5rem 0.5rem;
|
531
|
+
$legend-padding: 0.5rem 0;
|
532
|
+
$form-spacing: 1rem;
|
533
|
+
$helptext-color: $txt-emph-low-color;
|
534
|
+
$helptext-font-size: 11px;
|
535
|
+
$helptext-font-style: normal;
|
536
|
+
$input-prefix-color: $txt-emph-high-color;
|
537
|
+
$input-prefix-background: white;
|
538
|
+
$input-prefix-border: 1px solid transparent;
|
539
|
+
$input-prefix-padding: 0.62rem;
|
540
|
+
$form-label-color: $txt-emph-high-color;
|
541
|
+
$form-label-font-size: rem-calc(14);
|
542
|
+
$form-label-font-weight: normal;
|
543
|
+
$form-label-line-height: 1.3;
|
544
|
+
$select-background: $white;
|
545
|
+
$select-triangle-color: $black;
|
546
|
+
$select-radius: $global-radius;
|
547
|
+
$input-color: $black;
|
548
|
+
$input-placeholder-color: $grey2-color;
|
549
|
+
$input-font-family: inherit;
|
550
|
+
$input-font-size: rem-calc(16);
|
551
|
+
$input-font-weight: $global-weight-normal;
|
552
|
+
$input-line-height: $global-lineheight;
|
553
|
+
$input-background: $white;
|
554
|
+
$input-background-focus: $white;
|
555
|
+
$input-background-disabled: $grey1-color;
|
556
|
+
$input-border: 1px solid $grey2-color;
|
557
|
+
$input-border-focus: 1px solid $grey2-color;
|
558
|
+
$input-padding: 0.5rem;
|
559
|
+
$input-shadow: inset 0 1px 2px rgba($black, 0.1);
|
560
|
+
$input-shadow-focus: 0 0 5px $grey2-color;
|
561
|
+
$input-cursor-disabled: not-allowed;
|
562
|
+
$input-transition: border-color 0.25s ease-in-out;
|
563
|
+
$input-number-spinners: true;
|
564
|
+
$input-radius: 0.125rem;
|
565
|
+
$form-button-radius: $global-radius;
|
566
|
+
|
567
|
+
// 21. Label
|
568
|
+
// ---------
|
569
|
+
$label-background: $primary-color;
|
570
|
+
$label-color: $white;
|
571
|
+
$label-color-alt: $black;
|
572
|
+
$label-palette: $foundation-palette;
|
573
|
+
$label-font-size: 0.8rem;
|
574
|
+
$label-padding: 0.33333rem 0.5rem;
|
575
|
+
$label-radius: $global-radius;
|
576
|
+
|
577
|
+
// 22. Media Object
|
578
|
+
// ----------------
|
579
|
+
$mediaobject-margin-bottom: $global-margin;
|
580
|
+
$mediaobject-section-padding: $global-padding;
|
581
|
+
$mediaobject-image-width-stacked: 100%;
|
582
|
+
|
583
|
+
// 23. Menu
|
584
|
+
// --------
|
585
|
+
$menu-margin: 0;
|
586
|
+
$menu-nested-margin: $global-menu-nested-margin;
|
587
|
+
$menu-items-padding: $global-menu-padding;
|
588
|
+
$menu-simple-margin: 1rem;
|
589
|
+
$menu-item-color-active: $white;
|
590
|
+
$menu-item-color-alt-active: $black;
|
591
|
+
$menu-item-background-active: $primary-color;
|
592
|
+
$menu-icon-spacing: 0.25rem;
|
593
|
+
$menu-state-back-compat: true;
|
594
|
+
$menu-centered-back-compat: true;
|
595
|
+
$menu-icons-back-compat: true;
|
596
|
+
|
597
|
+
// 24. Meter
|
598
|
+
// ---------
|
599
|
+
|
600
|
+
$meter-height: 1rem;
|
601
|
+
$meter-radius: $global-radius;
|
602
|
+
$meter-background: $grey2-color;
|
603
|
+
$meter-fill-good: $success-color;
|
604
|
+
$meter-fill-medium: $warning-color;
|
605
|
+
$meter-fill-bad: $alert-color;
|
606
|
+
|
607
|
+
// 25. Off-canvas
|
608
|
+
// --------------
|
609
|
+
$offcanvas-sizes: (
|
610
|
+
small: 250px,
|
611
|
+
);
|
612
|
+
$offcanvas-vertical-sizes: (
|
613
|
+
small: 250px,
|
614
|
+
);
|
615
|
+
$offcanvas-background: $grey1-color;
|
616
|
+
$offcanvas-shadow: 0 0 10px rgba($black, 0.7);
|
617
|
+
$offcanvas-inner-shadow-size: 0;
|
618
|
+
$offcanvas-inner-shadow-color: rgba($black, 0.25);
|
619
|
+
$offcanvas-overlay-zindex: 11;
|
620
|
+
$offcanvas-push-zindex: 12;
|
621
|
+
$offcanvas-overlap-zindex: 13;
|
622
|
+
$offcanvas-reveal-zindex: 12;
|
623
|
+
$offcanvas-transition-length: 0.5s;
|
624
|
+
$offcanvas-transition-timing: ease;
|
625
|
+
$offcanvas-fixed-reveal: true;
|
626
|
+
$offcanvas-exit-background: rgba($white, 0.33);
|
627
|
+
$maincontent-class: "off-canvas-content";
|
628
|
+
|
629
|
+
// 26. Orbit
|
630
|
+
// ---------
|
631
|
+
$orbit-bullet-background: $grey2-color;
|
632
|
+
$orbit-bullet-background-active: $grey2-color;
|
633
|
+
$orbit-bullet-diameter: 1.2rem;
|
634
|
+
$orbit-bullet-margin: 0.1rem;
|
635
|
+
$orbit-bullet-margin-top: 0.8rem;
|
636
|
+
$orbit-bullet-margin-bottom: 0.8rem;
|
637
|
+
$orbit-caption-background: rgba($black, 0.5);
|
638
|
+
$orbit-caption-padding: 1rem;
|
639
|
+
$orbit-control-background-hover: rgba($black, 0.5);
|
640
|
+
$orbit-control-padding: 1rem;
|
641
|
+
$orbit-control-zindex: 10;
|
642
|
+
|
643
|
+
// 27. Pagination
|
644
|
+
// --------------
|
645
|
+
$pagination-font-size: rem-calc(14);
|
646
|
+
$pagination-margin-bottom: $global-margin;
|
647
|
+
$pagination-item-color: $black;
|
648
|
+
$pagination-item-padding: rem-calc(3 10);
|
649
|
+
$pagination-item-spacing: rem-calc(1);
|
650
|
+
$pagination-radius: rem-calc(25px);
|
651
|
+
$pagination-item-background-hover: $grey1-color;
|
652
|
+
$pagination-item-background-current: $primary-color;
|
653
|
+
$pagination-item-color-current: $white;
|
654
|
+
$pagination-item-color-disabled: $grey2-color;
|
655
|
+
$pagination-ellipsis-color: $black;
|
656
|
+
$pagination-mobile-items: false;
|
657
|
+
$pagination-mobile-current-item: false;
|
658
|
+
$pagination-arrows: true;
|
659
|
+
$pagination-arrow-previous: "\00AB";
|
660
|
+
$pagination-arrow-next: "\00BB";
|
661
|
+
|
662
|
+
// 28. Progress Bar
|
663
|
+
// ----------------
|
664
|
+
$progress-height: 1rem;
|
665
|
+
$progress-background: var(--grey2);
|
666
|
+
$progress-margin-bottom: $global-margin;
|
667
|
+
$progress-meter-background: $success-color;
|
668
|
+
$progress-radius: 40px;
|
669
|
+
|
670
|
+
// 29. Prototype Arrow
|
671
|
+
// -------------------
|
672
|
+
$prototype-arrow-directions: (down, up, right, left);
|
673
|
+
$prototype-arrow-size: 0.4375rem;
|
674
|
+
$prototype-arrow-color: $black;
|
675
|
+
|
676
|
+
// 30. Prototype Border-Box
|
677
|
+
// ------------------------
|
678
|
+
$prototype-border-box-breakpoints: $global-prototype-breakpoints;
|
679
|
+
|
680
|
+
// 31. Prototype Border-None
|
681
|
+
// -------------------------
|
682
|
+
|
683
|
+
$prototype-border-none-breakpoints: $global-prototype-breakpoints;
|
684
|
+
|
685
|
+
// 32. Prototype Bordered
|
686
|
+
// ----------------------
|
687
|
+
$prototype-bordered-breakpoints: $global-prototype-breakpoints;
|
688
|
+
$prototype-border-width: rem-calc(1);
|
689
|
+
$prototype-border-type: solid;
|
690
|
+
$prototype-border-color: $grey2-color;
|
691
|
+
|
692
|
+
// 33. Prototype Display
|
693
|
+
// ---------------------
|
694
|
+
$prototype-display-breakpoints: $global-prototype-breakpoints;
|
695
|
+
$prototype-display: (inline, inline-block, block, table, table-cell);
|
696
|
+
|
697
|
+
// 34. Prototype Font-Styling
|
698
|
+
// --------------------------
|
699
|
+
$prototype-font-breakpoints: $global-prototype-breakpoints;
|
700
|
+
$prototype-wide-letter-spacing: rem-calc(4);
|
701
|
+
$prototype-font-normal: $global-weight-normal;
|
702
|
+
$prototype-font-bold: $global-weight-bold;
|
703
|
+
|
704
|
+
// 35. Prototype List-Style-Type
|
705
|
+
// -----------------------------
|
706
|
+
$prototype-list-breakpoints: $global-prototype-breakpoints;
|
707
|
+
$prototype-style-type-unordered: (disc, circle, square);
|
708
|
+
$prototype-style-type-ordered: (
|
709
|
+
decimal,
|
710
|
+
lower-alpha,
|
711
|
+
lower-latin,
|
712
|
+
lower-roman,
|
713
|
+
upper-alpha,
|
714
|
+
upper-latin,
|
715
|
+
upper-roman
|
716
|
+
);
|
717
|
+
|
718
|
+
// 36. Prototype Overflow
|
719
|
+
// ----------------------
|
720
|
+
$prototype-overflow-breakpoints: $global-prototype-breakpoints;
|
721
|
+
$prototype-overflow: (visible, hidden, scroll);
|
722
|
+
|
723
|
+
// 37. Prototype Position
|
724
|
+
// ----------------------
|
725
|
+
$prototype-position-breakpoints: $global-prototype-breakpoints;
|
726
|
+
$prototype-position: (static, relative, absolute, fixed);
|
727
|
+
$prototype-position-z-index: 975;
|
728
|
+
|
729
|
+
// 38. Prototype Rounded
|
730
|
+
// ---------------------
|
731
|
+
$prototype-rounded-breakpoints: $global-prototype-breakpoints;
|
732
|
+
$prototype-border-radius: rem-calc(3);
|
733
|
+
|
734
|
+
// 39. Prototype Separator
|
735
|
+
// -----------------------
|
736
|
+
$prototype-separator-breakpoints: $global-prototype-breakpoints;
|
737
|
+
$prototype-separator-align: center;
|
738
|
+
$prototype-separator-height: rem-calc(2);
|
739
|
+
$prototype-separator-width: 3rem;
|
740
|
+
$prototype-separator-background: $primary-color;
|
741
|
+
$prototype-separator-margin-top: $global-margin;
|
742
|
+
|
743
|
+
// 40. Prototype Shadow
|
744
|
+
// --------------------
|
745
|
+
$prototype-shadow-breakpoints: $global-prototype-breakpoints;
|
746
|
+
$prototype-box-shadow: 0 2px 5px 0 rgba(0, 0, 0, 0.16),
|
747
|
+
0 2px 10px 0 rgba(0, 0, 0, 0.12);
|
748
|
+
|
749
|
+
// 41. Prototype Sizing
|
750
|
+
// --------------------
|
751
|
+
$prototype-sizing-breakpoints: $global-prototype-breakpoints;
|
752
|
+
$prototype-sizing: (width, height);
|
753
|
+
$prototype-sizes: (
|
754
|
+
25: 25%,
|
755
|
+
50: 50%,
|
756
|
+
75: 75%,
|
757
|
+
100: 100%,
|
758
|
+
);
|
759
|
+
|
760
|
+
// 42. Prototype Spacing
|
761
|
+
// ---------------------
|
762
|
+
$prototype-spacing-breakpoints: $global-prototype-breakpoints;
|
763
|
+
$prototype-spacers-count: 3;
|
764
|
+
|
765
|
+
// 43. Prototype Text-Decoration
|
766
|
+
// -----------------------------
|
767
|
+
$prototype-decoration-breakpoints: $global-prototype-breakpoints;
|
768
|
+
$prototype-text-decoration: (overline, underline, line-through);
|
769
|
+
|
770
|
+
// 44. Prototype Text-Transformation
|
771
|
+
// ---------------------------------
|
772
|
+
$prototype-transformation-breakpoints: $global-prototype-breakpoints;
|
773
|
+
$prototype-text-transformation: (lowercase, uppercase, capitalize);
|
774
|
+
|
775
|
+
// 45. Prototype Text-Utilities
|
776
|
+
// ----------------------------
|
777
|
+
$prototype-utilities-breakpoints: $global-prototype-breakpoints;
|
778
|
+
$prototype-text-overflow: ellipsis;
|
779
|
+
|
780
|
+
// 46. Responsive Embed
|
781
|
+
// --------------------
|
782
|
+
$responsive-embed-margin-bottom: rem-calc(16);
|
783
|
+
$responsive-embed-ratios: (
|
784
|
+
default: 4 by 3,
|
785
|
+
widescreen: 16 by 9,
|
786
|
+
);
|
787
|
+
|
788
|
+
// 47. Reveal
|
789
|
+
// ----------
|
790
|
+
$reveal-background: $grey1-color;
|
791
|
+
$reveal-width: 720px;
|
792
|
+
$reveal-max-width: $global-width;
|
793
|
+
$reveal-padding: 1rem;
|
794
|
+
$reveal-border: 1px var(--grey2);
|
795
|
+
$reveal-radius: 4px;
|
796
|
+
$reveal-zindex: 1005;
|
797
|
+
$reveal-overlay-background: var(--black-60);
|
798
|
+
|
799
|
+
// 48. Slider
|
800
|
+
// ----------
|
801
|
+
$slider-width-vertical: 0.5rem;
|
802
|
+
$slider-transition: all 0.2s ease-in-out;
|
803
|
+
$slider-height: 0.5rem;
|
804
|
+
$slider-background: $grey1-color;
|
805
|
+
$slider-fill-background: $grey2-color;
|
806
|
+
$slider-handle-height: 1.4rem;
|
807
|
+
$slider-handle-width: 1.4rem;
|
808
|
+
$slider-handle-background: $primary-color;
|
809
|
+
$slider-opacity-disabled: 0.25;
|
810
|
+
$slider-radius: 0.5rem;
|
811
|
+
|
812
|
+
// 49. Switch
|
813
|
+
// ----------
|
814
|
+
$switch-background: $grey2-color;
|
815
|
+
$switch-background-active: $primary-color;
|
816
|
+
$switch-height: 2rem;
|
817
|
+
$switch-height-tiny: 1.5rem;
|
818
|
+
$switch-height-small: 1.75rem;
|
819
|
+
$switch-height-large: 2.5rem;
|
820
|
+
$switch-radius: $global-radius;
|
821
|
+
$switch-margin: $global-margin;
|
822
|
+
$switch-paddle-background: $white;
|
823
|
+
$switch-paddle-offset: 0.25rem;
|
824
|
+
$switch-paddle-radius: 32px;
|
825
|
+
$switch-paddle-transition: all 0.25s ease-out;
|
826
|
+
$switch-opacity-disabled: 0.5;
|
827
|
+
$switch-cursor-disabled: not-allowed;
|
828
|
+
|
829
|
+
// 50. Table
|
830
|
+
// ---------
|
831
|
+
$table-background: $white;
|
832
|
+
$table-color-scale: 5%;
|
833
|
+
$table-border: 1px solid smart-scale($table-background, $table-color-scale);
|
834
|
+
$table-padding: rem-calc(8 10 10);
|
835
|
+
$table-hover-scale: 2%;
|
836
|
+
$table-row-hover: darken($table-background, $table-hover-scale);
|
837
|
+
$table-row-stripe-hover: darken(
|
838
|
+
$table-background,
|
839
|
+
$table-color-scale + $table-hover-scale
|
840
|
+
);
|
841
|
+
$table-is-striped: false;
|
842
|
+
$table-striped-background: $table-background;
|
843
|
+
$table-stripe: even;
|
844
|
+
$table-head-background: $table-background;
|
845
|
+
$table-head-row-hover: $table-background;
|
846
|
+
$table-foot-background: $table-background;
|
847
|
+
$table-foot-row-hover: $table-background;
|
848
|
+
$table-head-font-color: $body-font-color;
|
849
|
+
$table-foot-font-color: $body-font-color;
|
850
|
+
$show-header-for-stacked: false;
|
851
|
+
$table-stack-breakpoint: medium;
|
852
|
+
|
853
|
+
// 51. Tabs
|
854
|
+
// --------
|
855
|
+
$tab-margin: 0;
|
856
|
+
$tab-background: $white;
|
857
|
+
$tab-color: $primary-color;
|
858
|
+
$tab-background-active: $grey1-color;
|
859
|
+
$tab-active-color: $primary-color;
|
860
|
+
$tab-item-font-size: rem-calc(12);
|
861
|
+
$tab-item-background-hover: $white;
|
862
|
+
$tab-item-padding: 1.25rem 1.5rem;
|
863
|
+
$tab-content-background: $white;
|
864
|
+
$tab-content-border: $grey1-color;
|
865
|
+
$tab-content-color: $body-font-color;
|
866
|
+
$tab-content-padding: 1rem;
|
867
|
+
|
868
|
+
// 52. Thumbnail
|
869
|
+
// -------------
|
870
|
+
|
871
|
+
$thumbnail-border: 4px solid $white;
|
872
|
+
$thumbnail-margin-bottom: $global-margin;
|
873
|
+
$thumbnail-shadow: 0 0 0 1px rgba($black, 0.2);
|
874
|
+
$thumbnail-shadow-hover: 0 0 6px 1px rgba($primary-color, 0.5);
|
875
|
+
$thumbnail-transition: box-shadow 200ms ease-out;
|
876
|
+
$thumbnail-radius: $global-radius;
|
877
|
+
|
878
|
+
// 53. Title Bar
|
879
|
+
// -------------
|
880
|
+
$titlebar-background: $grey1-color;
|
881
|
+
$titlebar-color: $txt-emph-high-color;
|
882
|
+
$titlebar-padding: rem-calc(34.5) rem-calc(48);
|
883
|
+
$titlebar-text-font-weight: var(--font-weight-bold);
|
884
|
+
$titlebar-icon-color: $txt-emph-med-color;
|
885
|
+
$titlebar-icon-color-hover: $black-10;
|
886
|
+
$titlebar-icon-spacing: rem-calc(20);
|
887
|
+
|
888
|
+
// 54. Tooltip
|
889
|
+
// -----------
|
890
|
+
$has-tip-cursor: help;
|
891
|
+
$has-tip-font-weight: $global-weight-bold;
|
892
|
+
$has-tip-border-bottom: dotted 1px $grey2-color;
|
893
|
+
$tooltip-background-color: $grey1-color;
|
894
|
+
$tooltip-color: $txt-emph-med-color;
|
895
|
+
$tooltip-padding: 0.75rem;
|
896
|
+
$tooltip-max-width: 10rem;
|
897
|
+
$tooltip-font-size: $small-font-size;
|
898
|
+
$tooltip-pip-width: 0.75rem;
|
899
|
+
$tooltip-pip-height: 0.62rem;
|
900
|
+
$tooltip-radius: $global-radius;
|
901
|
+
|
902
|
+
// 55. Top Bar
|
903
|
+
// -----------
|
904
|
+
$topbar-padding: 0.5rem;
|
905
|
+
$topbar-background: $grey1-color;
|
906
|
+
$topbar-submenu-background: $grey1-color;
|
907
|
+
$topbar-title-spacing: rem-calc(34.5) rem-calc(48);
|
908
|
+
$topbar-input-width: rem-calc(143);
|
909
|
+
$topbar-unstack-breakpoint: medium;
|
910
|
+
|
911
|
+
// 56. Xy Grid
|
912
|
+
// -----------
|
913
|
+
$xy-grid: true;
|
914
|
+
$grid-container: $global-width;
|
915
|
+
$grid-columns: 12;
|
916
|
+
$grid-margin-gutters: (
|
917
|
+
small: 0px,
|
918
|
+
medium: 0px,
|
919
|
+
);
|
920
|
+
$grid-padding-gutters: $grid-margin-gutters;
|
921
|
+
$grid-container-padding: $grid-padding-gutters;
|
922
|
+
$grid-container-max: $global-width;
|
923
|
+
$xy-block-grid-max: 8;
|