jekyll-v4-theme-primer 0.9.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/LICENSE.md +22 -0
- data/README.md +116 -0
- data/_includes/.gitkeep +1 -0
- data/_includes/head-custom-google-analytics.html +10 -0
- data/_includes/head-custom.html +9 -0
- data/_includes/theme.html +11 -0
- data/_layouts/default.html +29 -0
- data/_layouts/home.html +4 -0
- data/_layouts/page.html +4 -0
- data/_layouts/post.html +4 -0
- data/_sass/@primer/css/actionlist/action-list-item-divider.scss +48 -0
- data/_sass/@primer/css/actionlist/action-list-item.scss +593 -0
- data/_sass/@primer/css/actionlist/action-list-tree.scss +118 -0
- data/_sass/@primer/css/actionlist/action-list-variables.scss +8 -0
- data/_sass/@primer/css/actionlist/action-list.scss +67 -0
- data/_sass/@primer/css/actionlist/index.scss +6 -0
- data/_sass/@primer/css/alerts/flash.scss +1 -0
- data/_sass/@primer/css/alerts/index.scss +3 -0
- data/_sass/@primer/css/autocomplete/autocomplete.scss +1 -0
- data/_sass/@primer/css/autocomplete/index.scss +4 -0
- data/_sass/@primer/css/autocomplete/suggester.scss +92 -0
- data/_sass/@primer/css/avatars/avatar-parent-child.scss +17 -0
- data/_sass/@primer/css/avatars/avatar-stack.scss +1 -0
- data/_sass/@primer/css/avatars/avatar.scss +1 -0
- data/_sass/@primer/css/avatars/circle-badge.scss +55 -0
- data/_sass/@primer/css/avatars/index.scss +7 -0
- data/_sass/@primer/css/base/base.scss +160 -0
- data/_sass/@primer/css/base/index.scss +6 -0
- data/_sass/@primer/css/base/kbd.scss +19 -0
- data/_sass/@primer/css/base/normalize.scss +381 -0
- data/_sass/@primer/css/base/octicons.scss +6 -0
- data/_sass/@primer/css/base/typography-base.scss +89 -0
- data/_sass/@primer/css/blankslate/blankslate.scss +1 -0
- data/_sass/@primer/css/blankslate/index.scss +2 -0
- data/_sass/@primer/css/box/box-overlay.scss +42 -0
- data/_sass/@primer/css/box/box.scss +1 -0
- data/_sass/@primer/css/box/index.scss +3 -0
- data/_sass/@primer/css/branch-name/branch-name.scss +31 -0
- data/_sass/@primer/css/branch-name/index.scss +3 -0
- data/_sass/@primer/css/breadcrumb/breadcrumb.scss +1 -0
- data/_sass/@primer/css/breadcrumb/index.scss +3 -0
- data/_sass/@primer/css/buttons/button-group.scss +92 -0
- data/_sass/@primer/css/buttons/button.scss +340 -0
- data/_sass/@primer/css/buttons/index.scss +4 -0
- data/_sass/@primer/css/buttons/misc.scss +231 -0
- data/_sass/@primer/css/color-modes/index.scss +12 -0
- data/_sass/@primer/css/color-modes/native.scss +22 -0
- data/_sass/@primer/css/color-modes/themes/dark.scss +6 -0
- data/_sass/@primer/css/color-modes/themes/dark_colorblind.scss +6 -0
- data/_sass/@primer/css/color-modes/themes/dark_dimmed.scss +6 -0
- data/_sass/@primer/css/color-modes/themes/dark_high_contrast.scss +6 -0
- data/_sass/@primer/css/color-modes/themes/dark_tritanopia.scss +6 -0
- data/_sass/@primer/css/color-modes/themes/light.scss +6 -0
- data/_sass/@primer/css/color-modes/themes/light_colorblind.scss +6 -0
- data/_sass/@primer/css/color-modes/themes/light_high_contrast.scss +6 -0
- data/_sass/@primer/css/color-modes/themes/light_tritanopia.scss +6 -0
- data/_sass/@primer/css/core/index.scss +30 -0
- data/_sass/@primer/css/dropdown/dropdown.scss +1 -0
- data/_sass/@primer/css/dropdown/index.scss +2 -0
- data/_sass/@primer/css/forms/FormControl.scss +1 -0
- data/_sass/@primer/css/forms/form-control.scss +267 -0
- data/_sass/@primer/css/forms/form-group.scss +287 -0
- data/_sass/@primer/css/forms/form-select.scss +46 -0
- data/_sass/@primer/css/forms/form-validation.scss +369 -0
- data/_sass/@primer/css/forms/index.scss +9 -0
- data/_sass/@primer/css/forms/input-group.scss +71 -0
- data/_sass/@primer/css/forms/radio-group.scss +62 -0
- data/_sass/@primer/css/header/header.scss +47 -0
- data/_sass/@primer/css/header/index.scss +2 -0
- data/_sass/@primer/css/index.scss +19 -0
- data/_sass/@primer/css/labels/counters.scss +1 -0
- data/_sass/@primer/css/labels/diffstat.scss +37 -0
- data/_sass/@primer/css/labels/index.scss +7 -0
- data/_sass/@primer/css/labels/issue-labels.scss +23 -0
- data/_sass/@primer/css/labels/labels.scss +1 -0
- data/_sass/@primer/css/labels/mixins.scss +37 -0
- data/_sass/@primer/css/labels/states.scss +1 -0
- data/_sass/@primer/css/layout/app-frame.scss +156 -0
- data/_sass/@primer/css/layout/container.scss +30 -0
- data/_sass/@primer/css/layout/grid-offset.scss +20 -0
- data/_sass/@primer/css/layout/grid.scss +65 -0
- data/_sass/@primer/css/layout/index.scss +8 -0
- data/_sass/@primer/css/layout/layout.scss +1 -0
- data/_sass/@primer/css/layout/page-layout.scss +413 -0
- data/_sass/@primer/css/layout/stack.scss +220 -0
- data/_sass/@primer/css/links/index.scss +3 -0
- data/_sass/@primer/css/links/link.scss +60 -0
- data/_sass/@primer/css/loaders/index.scss +2 -0
- data/_sass/@primer/css/loaders/loaders.scss +19 -0
- data/_sass/@primer/css/markdown/blob-csv.scss +29 -0
- data/_sass/@primer/css/markdown/code.scss +77 -0
- data/_sass/@primer/css/markdown/footnotes.scss +55 -0
- data/_sass/@primer/css/markdown/headings.scss +96 -0
- data/_sass/@primer/css/markdown/images.scss +130 -0
- data/_sass/@primer/css/markdown/index.scss +9 -0
- data/_sass/@primer/css/markdown/lists.scss +98 -0
- data/_sass/@primer/css/markdown/markdown-body.scss +96 -0
- data/_sass/@primer/css/markdown/tables.scss +36 -0
- data/_sass/@primer/css/marketing/buttons/button.scss +164 -0
- data/_sass/@primer/css/marketing/buttons/index.scss +3 -0
- data/_sass/@primer/css/marketing/index.scss +15 -0
- data/_sass/@primer/css/marketing/links/index.scss +3 -0
- data/_sass/@primer/css/marketing/links/link.scss +50 -0
- data/_sass/@primer/css/marketing/support/index.scss +2 -0
- data/_sass/@primer/css/marketing/support/variables.scss +127 -0
- data/_sass/@primer/css/marketing/type/index.scss +3 -0
- data/_sass/@primer/css/marketing/type/typography.scss +118 -0
- data/_sass/@primer/css/marketing/utilities/animations.scss +51 -0
- data/_sass/@primer/css/marketing/utilities/borders.scss +4 -0
- data/_sass/@primer/css/marketing/utilities/filters.scss +3 -0
- data/_sass/@primer/css/marketing/utilities/index.scss +6 -0
- data/_sass/@primer/css/marketing/utilities/layout.scss +51 -0
- data/_sass/@primer/css/navigation/filter-list.scss +82 -0
- data/_sass/@primer/css/navigation/index.scss +8 -0
- data/_sass/@primer/css/navigation/menu.scss +1 -0
- data/_sass/@primer/css/navigation/sidenav.scss +99 -0
- data/_sass/@primer/css/navigation/subnav.scss +146 -0
- data/_sass/@primer/css/navigation/tabnav.scss +1 -0
- data/_sass/@primer/css/navigation/underline-nav.scss +1 -0
- data/_sass/@primer/css/overlay/index.scss +2 -0
- data/_sass/@primer/css/overlay/overlay.scss +1 -0
- data/_sass/@primer/css/pagination/index.scss +3 -0
- data/_sass/@primer/css/pagination/pagination.scss +156 -0
- data/_sass/@primer/css/popover/index.scss +3 -0
- data/_sass/@primer/css/popover/popover.scss +1 -0
- data/_sass/@primer/css/primitives/index.scss +10 -0
- data/_sass/@primer/css/primitives/temp-typography-tokens.scss +22 -0
- data/_sass/@primer/css/product/index.scss +28 -0
- data/_sass/@primer/css/progress/index.scss +3 -0
- data/_sass/@primer/css/progress/progress.scss +1 -0
- data/_sass/@primer/css/select-menu/index.scss +3 -0
- data/_sass/@primer/css/select-menu/select-menu.scss +463 -0
- data/_sass/@primer/css/subhead/index.scss +3 -0
- data/_sass/@primer/css/subhead/subhead.scss +1 -0
- data/_sass/@primer/css/support/index.scss +10 -0
- data/_sass/@primer/css/support/mixins/color-modes.scss +109 -0
- data/_sass/@primer/css/support/mixins/layout.scss +58 -0
- data/_sass/@primer/css/support/mixins/misc.scss +73 -0
- data/_sass/@primer/css/support/mixins/typography.scss +91 -0
- data/_sass/@primer/css/support/variables/layout.scss +230 -0
- data/_sass/@primer/css/support/variables/misc.scss +18 -0
- data/_sass/@primer/css/support/variables/typography.scss +43 -0
- data/_sass/@primer/css/table-object/index.scss +1 -0
- data/_sass/@primer/css/table-object/table-object.scss +23 -0
- data/_sass/@primer/css/timeline/index.scss +2 -0
- data/_sass/@primer/css/timeline/timeline-item.scss +1 -0
- data/_sass/@primer/css/toasts/index.scss +2 -0
- data/_sass/@primer/css/toasts/toasts.scss +127 -0
- data/_sass/@primer/css/toggle-switch/index.scss +2 -0
- data/_sass/@primer/css/toggle-switch/toggle-switch.scss +1 -0
- data/_sass/@primer/css/tooltips/index.scss +2 -0
- data/_sass/@primer/css/tooltips/tooltips.scss +281 -0
- data/_sass/@primer/css/truncate/index.scss +2 -0
- data/_sass/@primer/css/truncate/truncate.scss +2 -0
- data/_sass/@primer/css/utilities/animations.scss +196 -0
- data/_sass/@primer/css/utilities/borders.scss +74 -0
- data/_sass/@primer/css/utilities/box-shadow.scss +25 -0
- data/_sass/@primer/css/utilities/colors.scss +95 -0
- data/_sass/@primer/css/utilities/details.scss +105 -0
- data/_sass/@primer/css/utilities/flexbox.scss +52 -0
- data/_sass/@primer/css/utilities/index.scss +14 -0
- data/_sass/@primer/css/utilities/layout.scss +96 -0
- data/_sass/@primer/css/utilities/margin.scss +71 -0
- data/_sass/@primer/css/utilities/padding.scss +56 -0
- data/_sass/@primer/css/utilities/typography.scss +332 -0
- data/_sass/@primer/css/utilities/visibility-display.scss +123 -0
- data/_sass/@primer/primitives/dist/scss/colors/_dark.scss +443 -0
- data/_sass/@primer/primitives/dist/scss/colors/_dark_colorblind.scss +443 -0
- data/_sass/@primer/primitives/dist/scss/colors/_dark_dimmed.scss +443 -0
- data/_sass/@primer/primitives/dist/scss/colors/_dark_high_contrast.scss +443 -0
- data/_sass/@primer/primitives/dist/scss/colors/_dark_tritanopia.scss +443 -0
- data/_sass/@primer/primitives/dist/scss/colors/_light.scss +443 -0
- data/_sass/@primer/primitives/dist/scss/colors/_light_colorblind.scss +443 -0
- data/_sass/@primer/primitives/dist/scss/colors/_light_high_contrast.scss +443 -0
- data/_sass/@primer/primitives/dist/scss/colors/_light_tritanopia.scss +443 -0
- data/_sass/@primer/primitives/dist/scss/spacing/_normal.scss +11 -0
- data/_sass/@primer/primitives/dist/scss/typography/_normal.scss +15 -0
- data/_sass/@primer/primitives/tokens-v2-private/scss/tokens/base/size/size.scss +21 -0
- data/_sass/@primer/primitives/tokens-v2-private/scss/tokens/base/typography/typography.scss +8 -0
- data/_sass/@primer/primitives/tokens-v2-private/scss/tokens/functional/size/border.scss +14 -0
- data/_sass/@primer/primitives/tokens-v2-private/scss/tokens/functional/size/breakpoints.scss +10 -0
- data/_sass/@primer/primitives/tokens-v2-private/scss/tokens/functional/size/size-coarse.scss +7 -0
- data/_sass/@primer/primitives/tokens-v2-private/scss/tokens/functional/size/size-fine.scss +7 -0
- data/_sass/@primer/primitives/tokens-v2-private/scss/tokens/functional/size/size.scss +51 -0
- data/_sass/@primer/primitives/tokens-v2-private/scss/tokens/functional/size/viewport.scss +10 -0
- data/_sass/@primer/primitives/tokens-v2-private/scss/tokens/functional/typography/typography.scss +44 -0
- data/_sass/@primer/view-components/LICENSE.txt +21 -0
- data/_sass/@primer/view-components/README.md +17 -0
- data/_sass/@primer/view-components/app/assets/javascripts/primer_view_components.js +2 -0
- data/_sass/@primer/view-components/app/assets/javascripts/primer_view_components.js.map +1 -0
- data/_sass/@primer/view-components/app/assets/styles/primer_view_components.css +3 -0
- data/_sass/@primer/view-components/app/assets/styles/primer_view_components.css.map +1 -0
- data/_sass/@primer/view-components/app/components/primer/alpha/action_list.css +1 -0
- data/_sass/@primer/view-components/app/components/primer/alpha/action_list.css.json +1 -0
- data/_sass/@primer/view-components/app/components/primer/alpha/auto_complete.css +1 -0
- data/_sass/@primer/view-components/app/components/primer/alpha/auto_complete.css.json +1 -0
- data/_sass/@primer/view-components/app/components/primer/alpha/banner.css +1 -0
- data/_sass/@primer/view-components/app/components/primer/alpha/banner.css.json +1 -0
- data/_sass/@primer/view-components/app/components/primer/alpha/button_marketing.css +1 -0
- data/_sass/@primer/view-components/app/components/primer/alpha/button_marketing.css.json +1 -0
- data/_sass/@primer/view-components/app/components/primer/alpha/dialog.css +1 -0
- data/_sass/@primer/view-components/app/components/primer/alpha/dialog.css.json +1 -0
- data/_sass/@primer/view-components/app/components/primer/alpha/dropdown/menu.d.ts +1 -0
- data/_sass/@primer/view-components/app/components/primer/alpha/dropdown/menu.js +1 -0
- data/_sass/@primer/view-components/app/components/primer/alpha/dropdown.css +1 -0
- data/_sass/@primer/view-components/app/components/primer/alpha/dropdown.css.json +1 -0
- data/_sass/@primer/view-components/app/components/primer/alpha/dropdown.d.ts +1 -0
- data/_sass/@primer/view-components/app/components/primer/alpha/dropdown.js +1 -0
- data/_sass/@primer/view-components/app/components/primer/alpha/image_crop.d.ts +1 -0
- data/_sass/@primer/view-components/app/components/primer/alpha/image_crop.js +1 -0
- data/_sass/@primer/view-components/app/components/primer/alpha/layout.css +1 -0
- data/_sass/@primer/view-components/app/components/primer/alpha/layout.css.json +1 -0
- data/_sass/@primer/view-components/app/components/primer/alpha/menu.css +1 -0
- data/_sass/@primer/view-components/app/components/primer/alpha/menu.css.json +1 -0
- data/_sass/@primer/view-components/app/components/primer/alpha/modal_dialog.d.ts +18 -0
- data/_sass/@primer/view-components/app/components/primer/alpha/modal_dialog.js +150 -0
- data/_sass/@primer/view-components/app/components/primer/alpha/nav_list.d.ts +25 -0
- data/_sass/@primer/view-components/app/components/primer/alpha/nav_list.js +130 -0
- data/_sass/@primer/view-components/app/components/primer/alpha/segmented_control.css +1 -0
- data/_sass/@primer/view-components/app/components/primer/alpha/segmented_control.css.json +1 -0
- data/_sass/@primer/view-components/app/components/primer/alpha/segmented_control.d.ts +12 -0
- data/_sass/@primer/view-components/app/components/primer/alpha/segmented_control.js +47 -0
- data/_sass/@primer/view-components/app/components/primer/alpha/tab_nav.css +1 -0
- data/_sass/@primer/view-components/app/components/primer/alpha/tab_nav.css.json +1 -0
- data/_sass/@primer/view-components/app/components/primer/alpha/text_field.css +3 -0
- data/_sass/@primer/view-components/app/components/primer/alpha/text_field.css.json +1 -0
- data/_sass/@primer/view-components/app/components/primer/alpha/toggle_switch.css +1 -0
- data/_sass/@primer/view-components/app/components/primer/alpha/toggle_switch.css.json +1 -0
- data/_sass/@primer/view-components/app/components/primer/alpha/toggle_switch.d.ts +29 -0
- data/_sass/@primer/view-components/app/components/primer/alpha/toggle_switch.js +144 -0
- data/_sass/@primer/view-components/app/components/primer/alpha/tool_tip.d.ts +25 -0
- data/_sass/@primer/view-components/app/components/primer/alpha/tool_tip.js +389 -0
- data/_sass/@primer/view-components/app/components/primer/alpha/underline_nav.css +1 -0
- data/_sass/@primer/view-components/app/components/primer/alpha/underline_nav.css.json +1 -0
- data/_sass/@primer/view-components/app/components/primer/alpha/x_banner.d.ts +11 -0
- data/_sass/@primer/view-components/app/components/primer/alpha/x_banner.js +35 -0
- data/_sass/@primer/view-components/app/components/primer/beta/auto_complete/auto_complete.d.ts +1 -0
- data/_sass/@primer/view-components/app/components/primer/beta/auto_complete/auto_complete.js +1 -0
- data/_sass/@primer/view-components/app/components/primer/beta/avatar.css +1 -0
- data/_sass/@primer/view-components/app/components/primer/beta/avatar.css.json +1 -0
- data/_sass/@primer/view-components/app/components/primer/beta/avatar_stack.css +1 -0
- data/_sass/@primer/view-components/app/components/primer/beta/avatar_stack.css.json +1 -0
- data/_sass/@primer/view-components/app/components/primer/beta/blankslate.css +1 -0
- data/_sass/@primer/view-components/app/components/primer/beta/blankslate.css.json +1 -0
- data/_sass/@primer/view-components/app/components/primer/beta/border_box.css +1 -0
- data/_sass/@primer/view-components/app/components/primer/beta/border_box.css.json +1 -0
- data/_sass/@primer/view-components/app/components/primer/beta/breadcrumbs.css +1 -0
- data/_sass/@primer/view-components/app/components/primer/beta/breadcrumbs.css.json +1 -0
- data/_sass/@primer/view-components/app/components/primer/beta/button.css +1 -0
- data/_sass/@primer/view-components/app/components/primer/beta/button.css.json +1 -0
- data/_sass/@primer/view-components/app/components/primer/beta/clipboard_copy.d.ts +1 -0
- data/_sass/@primer/view-components/app/components/primer/beta/clipboard_copy.js +43 -0
- data/_sass/@primer/view-components/app/components/primer/beta/counter.css +1 -0
- data/_sass/@primer/view-components/app/components/primer/beta/counter.css.json +1 -0
- data/_sass/@primer/view-components/app/components/primer/beta/flash.css +1 -0
- data/_sass/@primer/view-components/app/components/primer/beta/flash.css.json +1 -0
- data/_sass/@primer/view-components/app/components/primer/beta/label.css +1 -0
- data/_sass/@primer/view-components/app/components/primer/beta/label.css.json +1 -0
- data/_sass/@primer/view-components/app/components/primer/beta/link.css +1 -0
- data/_sass/@primer/view-components/app/components/primer/beta/link.css.json +1 -0
- data/_sass/@primer/view-components/app/components/primer/beta/popover.css +1 -0
- data/_sass/@primer/view-components/app/components/primer/beta/popover.css.json +1 -0
- data/_sass/@primer/view-components/app/components/primer/beta/progress_bar.css +1 -0
- data/_sass/@primer/view-components/app/components/primer/beta/progress_bar.css.json +1 -0
- data/_sass/@primer/view-components/app/components/primer/beta/truncate.css +1 -0
- data/_sass/@primer/view-components/app/components/primer/beta/truncate.css.json +1 -0
- data/_sass/@primer/view-components/app/components/primer/local_time.d.ts +1 -0
- data/_sass/@primer/view-components/app/components/primer/local_time.js +1 -0
- data/_sass/@primer/view-components/app/components/primer/primer.d.ts +15 -0
- data/_sass/@primer/view-components/app/components/primer/primer.js +15 -0
- data/_sass/@primer/view-components/app/components/primer/state_component.css +1 -0
- data/_sass/@primer/view-components/app/components/primer/state_component.css.json +1 -0
- data/_sass/@primer/view-components/app/components/primer/subhead_component.css +1 -0
- data/_sass/@primer/view-components/app/components/primer/subhead_component.css.json +1 -0
- data/_sass/@primer/view-components/app/components/primer/tab_container_component.d.ts +1 -0
- data/_sass/@primer/view-components/app/components/primer/tab_container_component.js +1 -0
- data/_sass/@primer/view-components/app/components/primer/time_ago_component.d.ts +1 -0
- data/_sass/@primer/view-components/app/components/primer/time_ago_component.js +1 -0
- data/_sass/@primer/view-components/app/components/primer/timeline_item_component.css +1 -0
- data/_sass/@primer/view-components/app/components/primer/timeline_item_component.css.json +1 -0
- data/_sass/@primer/view-components/app/components/primer/truncate.css +1 -0
- data/_sass/@primer/view-components/app/components/primer/truncate.css.json +1 -0
- data/_sass/@primer/view-components/lib/primer/forms/primer_multi_input.d.ts +10 -0
- data/_sass/@primer/view-components/lib/primer/forms/primer_multi_input.js +45 -0
- data/_sass/@primer/view-components/lib/primer/forms/primer_text_field.d.ts +1 -0
- data/_sass/@primer/view-components/lib/primer/forms/primer_text_field.js +62 -0
- data/_sass/@primer/view-components/package.json +95 -0
- data/_sass/@primer/view-components/static/arguments.json +2586 -0
- data/_sass/@primer/view-components/static/audited_at.json +100 -0
- data/_sass/@primer/view-components/static/constants.json +1157 -0
- data/_sass/@primer/view-components/static/statuses.json +100 -0
- data/_sass/jekyll-theme-primer.scss +8 -0
- data/_sass/primer.scss +4 -0
- data/_sass/rouge.scss +213 -0
- data/assets/css/style.scss +4 -0
- metadata +444 -0
@@ -0,0 +1,30 @@
|
|
1
|
+
/*!
|
2
|
+
* @primer/css/core
|
3
|
+
* http://primer.style/css
|
4
|
+
*
|
5
|
+
* Released under MIT license. Copyright (c) 2019 GitHub Inc.
|
6
|
+
*/
|
7
|
+
|
8
|
+
// Global requirements
|
9
|
+
@import '../support/index.scss';
|
10
|
+
|
11
|
+
// Color modes
|
12
|
+
|
13
|
+
// Core modules
|
14
|
+
@import '../actionlist/index.scss';
|
15
|
+
@import '../base/index.scss';
|
16
|
+
@import '../box/index.scss';
|
17
|
+
@import '../breadcrumb/index.scss';
|
18
|
+
@import '../buttons/index.scss';
|
19
|
+
@import '../table-object/index.scss';
|
20
|
+
@import '../forms/index.scss';
|
21
|
+
@import '../layout/index.scss';
|
22
|
+
@import '../links/index.scss';
|
23
|
+
@import '../navigation/index.scss';
|
24
|
+
@import '../pagination/index.scss';
|
25
|
+
@import '../tooltips/index.scss';
|
26
|
+
@import '../truncate/index.scss';
|
27
|
+
@import '../overlay/index.scss';
|
28
|
+
|
29
|
+
// Utilities always go last so that they can override components
|
30
|
+
@import '../utilities/index.scss';
|
@@ -0,0 +1 @@
|
|
1
|
+
@import '@primer/view-components/app/components/primer/alpha/dropdown';
|
@@ -0,0 +1 @@
|
|
1
|
+
@import '@primer/view-components/app/components/primer/alpha/text_field';
|
@@ -0,0 +1,267 @@
|
|
1
|
+
// Needs refactoring
|
2
|
+
// stylelint-disable selector-no-qualifying-type, selector-max-compound-selectors
|
3
|
+
// stylelint-disable selector-max-type
|
4
|
+
// Base form controls
|
5
|
+
//
|
6
|
+
// Overrides for common inputs for easier styling.
|
7
|
+
|
8
|
+
.form-control,
|
9
|
+
.form-select {
|
10
|
+
// stylelint-disable-next-line primer/spacing
|
11
|
+
padding: 5px 12px;
|
12
|
+
font-size: $body-font-size;
|
13
|
+
// stylelint-disable-next-line primer/typography
|
14
|
+
line-height: 20px;
|
15
|
+
color: var(--color-fg-default);
|
16
|
+
vertical-align: middle;
|
17
|
+
background-color: var(--color-canvas-default);
|
18
|
+
background-repeat: no-repeat; // Repeat and position set for form states (success, error, etc)
|
19
|
+
background-position: right 8px center; // For form validation. This keeps images 8px from right and centered vertically.
|
20
|
+
border: $border-width $border-style var(--color-border-default);
|
21
|
+
border-radius: $border-radius;
|
22
|
+
box-shadow: var(--color-primer-shadow-inset);
|
23
|
+
transition: 80ms cubic-bezier(0.33, 1, 0.68, 1);
|
24
|
+
transition-property: color, background-color, box-shadow, border-color;
|
25
|
+
|
26
|
+
&:focus {
|
27
|
+
@include focusBoxShadowInset;
|
28
|
+
|
29
|
+
// remove fallback :focus if :focus-visible is supported
|
30
|
+
&:not(:focus-visible) {
|
31
|
+
border-color: transparent;
|
32
|
+
|
33
|
+
@include focusBoxShadowInset(1px, transparent);
|
34
|
+
}
|
35
|
+
}
|
36
|
+
|
37
|
+
// default focus state
|
38
|
+
&:focus-visible {
|
39
|
+
@include focusBoxShadowInset;
|
40
|
+
}
|
41
|
+
|
42
|
+
// override form controls with no border in focused state
|
43
|
+
&.border-0 {
|
44
|
+
&:focus,
|
45
|
+
&:focus-visible {
|
46
|
+
border: $border-width $border-style var(--color-accent-fg) !important;
|
47
|
+
}
|
48
|
+
}
|
49
|
+
|
50
|
+
&[disabled],
|
51
|
+
fieldset[disabled] & {
|
52
|
+
color: var(--color-primer-fg-disabled);
|
53
|
+
background-color: var(--color-input-disabled-bg);
|
54
|
+
border-color: var(--color-border-default);
|
55
|
+
-webkit-text-fill-color: var(--color-primer-fg-disabled); // Fix for Safari
|
56
|
+
opacity: 1; // Fix for Safari iOS
|
57
|
+
|
58
|
+
&::placeholder {
|
59
|
+
color: var(--color-primer-fg-disabled);
|
60
|
+
}
|
61
|
+
}
|
62
|
+
|
63
|
+
// Ensures inputs don't zoom on mobile iPhone but are body-font size on iPad
|
64
|
+
@supports (-webkit-touch-callout: none) {
|
65
|
+
font-size: $h4-size;
|
66
|
+
|
67
|
+
@include breakpoint(md) {
|
68
|
+
font-size: $body-font-size;
|
69
|
+
}
|
70
|
+
}
|
71
|
+
}
|
72
|
+
|
73
|
+
// Textarea
|
74
|
+
textarea.form-control {
|
75
|
+
padding-top: $spacer-2;
|
76
|
+
padding-bottom: $spacer-2;
|
77
|
+
line-height: $lh-default;
|
78
|
+
}
|
79
|
+
|
80
|
+
// Inputs with contrast for easy light gray backgrounds against white.
|
81
|
+
.input-contrast {
|
82
|
+
background-color: var(--color-canvas-inset);
|
83
|
+
|
84
|
+
&:focus {
|
85
|
+
background-color: var(--color-canvas-default);
|
86
|
+
}
|
87
|
+
}
|
88
|
+
|
89
|
+
// Mini inputs, to match .minibutton
|
90
|
+
.input-sm {
|
91
|
+
min-height: $size-4;
|
92
|
+
// stylelint-disable-next-line primer/spacing
|
93
|
+
padding-top: 3px;
|
94
|
+
// stylelint-disable-next-line primer/spacing
|
95
|
+
padding-bottom: 3px;
|
96
|
+
font-size: $font-size-small;
|
97
|
+
// stylelint-disable-next-line primer/typography
|
98
|
+
line-height: 20px;
|
99
|
+
}
|
100
|
+
|
101
|
+
// Large inputs
|
102
|
+
.input-lg {
|
103
|
+
font-size: $h4-size;
|
104
|
+
}
|
105
|
+
|
106
|
+
// Full-width inputs
|
107
|
+
.input-block {
|
108
|
+
display: block;
|
109
|
+
width: 100%;
|
110
|
+
}
|
111
|
+
|
112
|
+
// Inputs with monospace text
|
113
|
+
.input-monospace {
|
114
|
+
font-family: $mono-font;
|
115
|
+
}
|
116
|
+
|
117
|
+
// Hide the icon that tries to autofill contact info in webkit
|
118
|
+
.input-hide-webkit-autofill {
|
119
|
+
&::-webkit-contacts-auto-fill-button {
|
120
|
+
position: absolute;
|
121
|
+
right: 0;
|
122
|
+
display: none !important;
|
123
|
+
pointer-events: none;
|
124
|
+
visibility: hidden;
|
125
|
+
}
|
126
|
+
}
|
127
|
+
|
128
|
+
// Checkboxes and Radiobuttons
|
129
|
+
//
|
130
|
+
// For checkboxes and radio button selections.
|
131
|
+
.form-checkbox {
|
132
|
+
// stylelint-disable-next-line primer/spacing
|
133
|
+
padding-left: 20px;
|
134
|
+
// stylelint-disable-next-line primer/spacing
|
135
|
+
margin: 15px 0;
|
136
|
+
vertical-align: middle;
|
137
|
+
|
138
|
+
label {
|
139
|
+
em.highlight {
|
140
|
+
position: relative;
|
141
|
+
left: -$spacer-1;
|
142
|
+
// stylelint-disable-next-line primer/spacing
|
143
|
+
padding: 2px $spacer-1;
|
144
|
+
font-style: normal;
|
145
|
+
background: var(--color-attention-subtle);
|
146
|
+
border-radius: $border-radius;
|
147
|
+
}
|
148
|
+
}
|
149
|
+
|
150
|
+
input[type='checkbox'],
|
151
|
+
input[type='radio'] {
|
152
|
+
float: left;
|
153
|
+
// stylelint-disable-next-line primer/spacing
|
154
|
+
margin: 5px 0 0 -20px;
|
155
|
+
vertical-align: middle;
|
156
|
+
}
|
157
|
+
|
158
|
+
.note {
|
159
|
+
display: block;
|
160
|
+
margin: 0;
|
161
|
+
font-size: $font-size-small;
|
162
|
+
font-weight: $font-weight-normal;
|
163
|
+
color: var(--color-fg-muted);
|
164
|
+
}
|
165
|
+
}
|
166
|
+
|
167
|
+
.form-checkbox-details {
|
168
|
+
display: none;
|
169
|
+
}
|
170
|
+
|
171
|
+
.form-checkbox-details-trigger {
|
172
|
+
&:checked {
|
173
|
+
// child of sibling or sibling
|
174
|
+
~ * .form-checkbox-details,
|
175
|
+
~ .form-checkbox-details {
|
176
|
+
display: block;
|
177
|
+
}
|
178
|
+
}
|
179
|
+
}
|
180
|
+
|
181
|
+
// Field groups
|
182
|
+
//
|
183
|
+
// Wrap field groups in `<div.hfields>` to lay them out horizontally - great for
|
184
|
+
// the top of pages with autosave.
|
185
|
+
.hfields {
|
186
|
+
// stylelint-disable-next-line primer/spacing
|
187
|
+
margin: 15px 0;
|
188
|
+
|
189
|
+
@include clearfix;
|
190
|
+
|
191
|
+
.form-group {
|
192
|
+
float: left;
|
193
|
+
// stylelint-disable-next-line primer/spacing
|
194
|
+
margin: 0 30px 0 0;
|
195
|
+
|
196
|
+
dt, // TODO: Deprecate
|
197
|
+
.form-group-header {
|
198
|
+
label {
|
199
|
+
display: inline-block;
|
200
|
+
// stylelint-disable-next-line primer/spacing
|
201
|
+
margin: 5px 0 0;
|
202
|
+
color: var(--color-fg-muted);
|
203
|
+
}
|
204
|
+
|
205
|
+
img {
|
206
|
+
position: relative;
|
207
|
+
top: -2px;
|
208
|
+
}
|
209
|
+
}
|
210
|
+
}
|
211
|
+
|
212
|
+
.btn {
|
213
|
+
float: left;
|
214
|
+
// stylelint-disable-next-line primer/spacing
|
215
|
+
margin: 28px 25px 0 -20px;
|
216
|
+
}
|
217
|
+
|
218
|
+
.form-select {
|
219
|
+
// stylelint-disable-next-line primer/spacing
|
220
|
+
margin-top: 5px;
|
221
|
+
}
|
222
|
+
}
|
223
|
+
|
224
|
+
// Hide the up/down buttons in <input type="number"> in the login form, the
|
225
|
+
// input is used for two-factor auth codes, type="number" makes it more usable
|
226
|
+
// on phones
|
227
|
+
input::-webkit-outer-spin-button,
|
228
|
+
input::-webkit-inner-spin-button {
|
229
|
+
margin: 0;
|
230
|
+
appearance: none;
|
231
|
+
}
|
232
|
+
|
233
|
+
// Input groups
|
234
|
+
|
235
|
+
.form-actions {
|
236
|
+
@include clearfix;
|
237
|
+
|
238
|
+
.btn {
|
239
|
+
float: right;
|
240
|
+
|
241
|
+
+ .btn {
|
242
|
+
// stylelint-disable-next-line primer/spacing
|
243
|
+
margin-right: 5px;
|
244
|
+
}
|
245
|
+
}
|
246
|
+
}
|
247
|
+
|
248
|
+
.form-warning {
|
249
|
+
// stylelint-disable-next-line primer/spacing
|
250
|
+
padding: $spacer-2 10px;
|
251
|
+
// stylelint-disable-next-line primer/spacing
|
252
|
+
margin: 10px 0;
|
253
|
+
font-size: $h5-size;
|
254
|
+
color: var(--color-attention-fg);
|
255
|
+
background: var(--color-attention-subtle);
|
256
|
+
border: $border-width $border-style var(--color-attention-emphasis);
|
257
|
+
border-radius: $border-radius;
|
258
|
+
|
259
|
+
p {
|
260
|
+
margin: 0;
|
261
|
+
line-height: $lh-default;
|
262
|
+
}
|
263
|
+
|
264
|
+
a {
|
265
|
+
font-weight: $font-weight-bold;
|
266
|
+
}
|
267
|
+
}
|
@@ -0,0 +1,287 @@
|
|
1
|
+
// stylelint-disable selector-max-compound-selectors
|
2
|
+
// stylelint-disable selector-max-type
|
3
|
+
|
4
|
+
// Form groups
|
5
|
+
//
|
6
|
+
// Usage:
|
7
|
+
//
|
8
|
+
// <div class="form-group">
|
9
|
+
// <div class="form-group-header"> containing the label
|
10
|
+
// <div class="form-group-body"> containing the form elements
|
11
|
+
// </div>
|
12
|
+
|
13
|
+
.form-group {
|
14
|
+
// stylelint-disable-next-line primer/spacing
|
15
|
+
margin: 15px 0;
|
16
|
+
|
17
|
+
// Autocomplete with embedded icon
|
18
|
+
.form-control.autocomplete-embedded-icon-wrap {
|
19
|
+
&:focus-within {
|
20
|
+
background-color: var(--color-canvas-default);
|
21
|
+
}
|
22
|
+
}
|
23
|
+
|
24
|
+
// Text fields
|
25
|
+
.form-control {
|
26
|
+
// stylelint-disable-next-line primer/responsive-widths
|
27
|
+
width: 440px;
|
28
|
+
max-width: 100%;
|
29
|
+
// stylelint-disable-next-line primer/spacing
|
30
|
+
margin-right: 5px;
|
31
|
+
background-color: var(--color-canvas-inset);
|
32
|
+
|
33
|
+
&:focus {
|
34
|
+
background-color: var(--color-canvas-default);
|
35
|
+
}
|
36
|
+
|
37
|
+
&.shorter {
|
38
|
+
width: 130px;
|
39
|
+
}
|
40
|
+
|
41
|
+
&.short {
|
42
|
+
width: 250px;
|
43
|
+
}
|
44
|
+
|
45
|
+
&.input-block,
|
46
|
+
&.long {
|
47
|
+
width: 100%;
|
48
|
+
}
|
49
|
+
}
|
50
|
+
|
51
|
+
// Textarea
|
52
|
+
// stylelint-disable selector-no-qualifying-type
|
53
|
+
textarea.form-control {
|
54
|
+
width: 100%;
|
55
|
+
height: 200px;
|
56
|
+
min-height: 200px;
|
57
|
+
|
58
|
+
&.short {
|
59
|
+
height: 50px;
|
60
|
+
min-height: 50px;
|
61
|
+
}
|
62
|
+
}
|
63
|
+
// stylelint-enable selector-no-qualifying-type
|
64
|
+
|
65
|
+
// The Label
|
66
|
+
dt, // TODO: Deprecate
|
67
|
+
.form-group-header {
|
68
|
+
// stylelint-disable-next-line primer/spacing
|
69
|
+
margin: 0 0 6px;
|
70
|
+
}
|
71
|
+
|
72
|
+
label {
|
73
|
+
position: relative;
|
74
|
+
}
|
75
|
+
|
76
|
+
&.flattened dt, // TODO: Deprecate
|
77
|
+
&.flattened .form-group-header {
|
78
|
+
float: left;
|
79
|
+
margin: 0;
|
80
|
+
// stylelint-disable-next-line primer/typography
|
81
|
+
line-height: 32px;
|
82
|
+
}
|
83
|
+
|
84
|
+
&.flattened dd, // TODO: Deprecate
|
85
|
+
&.flattened .form-group-body {
|
86
|
+
// stylelint-disable-next-line primer/typography
|
87
|
+
line-height: 32px;
|
88
|
+
}
|
89
|
+
|
90
|
+
//
|
91
|
+
// Form Elements
|
92
|
+
//
|
93
|
+
// stylelint-disable selector-no-qualifying-type
|
94
|
+
dd, // TODO: Deprecate
|
95
|
+
.form-group-body {
|
96
|
+
h4 {
|
97
|
+
margin: $spacer-1 0 0;
|
98
|
+
|
99
|
+
&.is-error {
|
100
|
+
color: var(--color-danger-fg);
|
101
|
+
}
|
102
|
+
|
103
|
+
&.is-success {
|
104
|
+
color: var(--color-success-fg);
|
105
|
+
}
|
106
|
+
|
107
|
+
+ .note {
|
108
|
+
margin-top: 0;
|
109
|
+
}
|
110
|
+
}
|
111
|
+
}
|
112
|
+
// stylelint-enable selector-no-qualifying-type
|
113
|
+
|
114
|
+
//
|
115
|
+
// Variants
|
116
|
+
//
|
117
|
+
|
118
|
+
&.required {
|
119
|
+
dt label::after, // TODO: Deprecate
|
120
|
+
.form-group-header label::after {
|
121
|
+
// stylelint-disable-next-line primer/spacing
|
122
|
+
padding-left: 5px;
|
123
|
+
color: var(--color-danger-fg);
|
124
|
+
content: '*';
|
125
|
+
}
|
126
|
+
}
|
127
|
+
|
128
|
+
// Form AJAX states
|
129
|
+
//
|
130
|
+
// Form fields that need feedback for AJAX loading, success
|
131
|
+
// states and errored states.
|
132
|
+
.success,
|
133
|
+
.error,
|
134
|
+
.indicator {
|
135
|
+
display: none;
|
136
|
+
font-size: $font-size-small;
|
137
|
+
font-weight: $font-weight-bold;
|
138
|
+
}
|
139
|
+
|
140
|
+
&.loading {
|
141
|
+
opacity: 0.5;
|
142
|
+
|
143
|
+
.indicator {
|
144
|
+
display: inline;
|
145
|
+
}
|
146
|
+
|
147
|
+
.spinner {
|
148
|
+
display: inline-block;
|
149
|
+
vertical-align: middle;
|
150
|
+
}
|
151
|
+
}
|
152
|
+
|
153
|
+
&.successful {
|
154
|
+
.success {
|
155
|
+
display: inline;
|
156
|
+
color: var(--color-success-fg);
|
157
|
+
}
|
158
|
+
}
|
159
|
+
|
160
|
+
// Form validation
|
161
|
+
//
|
162
|
+
// Our inline errors
|
163
|
+
|
164
|
+
&.successed,
|
165
|
+
&.warn,
|
166
|
+
&.errored {
|
167
|
+
.success,
|
168
|
+
.warning,
|
169
|
+
.error {
|
170
|
+
position: absolute;
|
171
|
+
z-index: 10;
|
172
|
+
display: block; // Show up in errored/warn state
|
173
|
+
max-width: 450px; // Keep our long errors readable
|
174
|
+
padding: $spacer-1 $spacer-2;
|
175
|
+
margin: $spacer-2 0 0;
|
176
|
+
font-size: $font-size-small;
|
177
|
+
font-weight: $font-weight-normal;
|
178
|
+
border-style: $border-style;
|
179
|
+
border-width: $border-width;
|
180
|
+
border-radius: $border-radius;
|
181
|
+
|
182
|
+
&::after,
|
183
|
+
&::before {
|
184
|
+
position: absolute;
|
185
|
+
bottom: 100%;
|
186
|
+
left: 10px;
|
187
|
+
z-index: 15;
|
188
|
+
width: 0;
|
189
|
+
height: 0;
|
190
|
+
pointer-events: none;
|
191
|
+
content: ' ';
|
192
|
+
// stylelint-disable-next-line primer/borders
|
193
|
+
border: $border-style transparent;
|
194
|
+
}
|
195
|
+
|
196
|
+
&::after {
|
197
|
+
// stylelint-disable-next-line primer/borders
|
198
|
+
border-width: 5px;
|
199
|
+
}
|
200
|
+
|
201
|
+
&::before {
|
202
|
+
// stylelint-disable-next-line primer/spacing
|
203
|
+
margin-left: -1px;
|
204
|
+
// stylelint-disable-next-line primer/borders
|
205
|
+
border-width: 6px;
|
206
|
+
}
|
207
|
+
}
|
208
|
+
}
|
209
|
+
|
210
|
+
&.successed {
|
211
|
+
.success {
|
212
|
+
color: var(--color-fg-default);
|
213
|
+
background-color: var(--color-canvas-default); // Makes sure the background is opaque to cover any content underneath
|
214
|
+
background-image: linear-gradient(var(--color-success-subtle), var(--color-success-subtle));
|
215
|
+
border-color: var(--color-success-muted);
|
216
|
+
|
217
|
+
&::after {
|
218
|
+
border-bottom-color: var(--color-success-subtle);
|
219
|
+
}
|
220
|
+
|
221
|
+
&::before {
|
222
|
+
border-bottom-color: var(--color-success-muted);
|
223
|
+
}
|
224
|
+
}
|
225
|
+
}
|
226
|
+
|
227
|
+
&.warn {
|
228
|
+
.form-control:not(:focus, :focus-visible) {
|
229
|
+
border-color: var(--color-attention-emphasis);
|
230
|
+
}
|
231
|
+
|
232
|
+
.warning {
|
233
|
+
color: var(--color-fg-default);
|
234
|
+
background-color: var(--color-canvas-default); // Makes sure the background is opaque to cover any content underneath
|
235
|
+
background-image: linear-gradient(var(--color-attention-subtle), var(--color-attention-subtle));
|
236
|
+
border-color: var(--color-attention-muted);
|
237
|
+
|
238
|
+
&::after {
|
239
|
+
border-bottom-color: var(--color-attention-subtle);
|
240
|
+
}
|
241
|
+
|
242
|
+
&::before {
|
243
|
+
border-bottom-color: var(--color-attention-muted);
|
244
|
+
}
|
245
|
+
}
|
246
|
+
}
|
247
|
+
|
248
|
+
&.errored {
|
249
|
+
.form-control:not(:focus, :focus-visible) {
|
250
|
+
border-color: var(--color-danger-emphasis);
|
251
|
+
}
|
252
|
+
|
253
|
+
label {
|
254
|
+
color: var(--color-danger-fg);
|
255
|
+
}
|
256
|
+
|
257
|
+
.error {
|
258
|
+
color: var(--color-fg-default);
|
259
|
+
background-color: var(--color-canvas-default); // Makes sure the background is opaque to cover any content underneath
|
260
|
+
background-image: linear-gradient(var(--color-danger-subtle), var(--color-danger-subtle));
|
261
|
+
border-color: var(--color-danger-muted);
|
262
|
+
|
263
|
+
&::after {
|
264
|
+
border-bottom-color: var(--color-danger-subtle);
|
265
|
+
}
|
266
|
+
|
267
|
+
&::before {
|
268
|
+
border-bottom-color: var(--color-danger-muted);
|
269
|
+
}
|
270
|
+
}
|
271
|
+
}
|
272
|
+
}
|
273
|
+
|
274
|
+
// tooltip
|
275
|
+
.note {
|
276
|
+
min-height: 17px;
|
277
|
+
// stylelint-disable-next-line primer/spacing
|
278
|
+
margin: $spacer-1 0 2px;
|
279
|
+
font-size: $font-size-small;
|
280
|
+
color: var(--color-fg-muted);
|
281
|
+
|
282
|
+
.spinner {
|
283
|
+
// stylelint-disable-next-line primer/spacing
|
284
|
+
margin-right: 3px;
|
285
|
+
vertical-align: middle;
|
286
|
+
}
|
287
|
+
}
|
@@ -0,0 +1,46 @@
|
|
1
|
+
// Custom select
|
2
|
+
//
|
3
|
+
// Apply `.select` to any `<select>` element for custom styles.
|
4
|
+
.form-select {
|
5
|
+
display: inline-block;
|
6
|
+
max-width: 100%;
|
7
|
+
height: $size-5;
|
8
|
+
padding-right: $spacer-4;
|
9
|
+
background-color: var(--color-canvas-default);
|
10
|
+
// SVG with fill: #586069 (--color-icon-secondary)
|
11
|
+
background-image: url('data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTYiIGhlaWdodD0iMTYiIHZpZXdCb3g9IjAgMCAxNiAxNiIgZmlsbD0iIzU4NjA2OSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj48cGF0aCBkPSJNNC40MjcgOS40MjdsMy4zOTYgMy4zOTZhLjI1MS4yNTEgMCAwMC4zNTQgMGwzLjM5Ni0zLjM5NkEuMjUuMjUgMCAwMDExLjM5NiA5SDQuNjA0YS4yNS4yNSAwIDAwLS4xNzcuNDI3ek00LjQyMyA2LjQ3TDcuODIgMy4wNzJhLjI1LjI1IDAgMDEuMzU0IDBMMTEuNTcgNi40N2EuMjUuMjUgMCAwMS0uMTc3LjQyN0g0LjZhLjI1LjI1IDAgMDEtLjE3Ny0uNDI3eiIgLz48L3N2Zz4=');
|
12
|
+
background-repeat: no-repeat;
|
13
|
+
background-position: right 4px center;
|
14
|
+
background-size: 16px;
|
15
|
+
appearance: none;
|
16
|
+
|
17
|
+
// Hides the default caret in IE11
|
18
|
+
&::-ms-expand {
|
19
|
+
opacity: 0;
|
20
|
+
}
|
21
|
+
|
22
|
+
&[multiple] {
|
23
|
+
height: auto;
|
24
|
+
}
|
25
|
+
}
|
26
|
+
|
27
|
+
@include color-mode(dark) {
|
28
|
+
.form-select {
|
29
|
+
// SVG with fill: #6e7681 (--color-icon-secondary)
|
30
|
+
background-image: url('data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTYiIGhlaWdodD0iMTYiIHZpZXdCb3g9IjAgMCAxNiAxNiIgZmlsbD0iIzZlNzY4MSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj48cGF0aCBkPSJNNC40MjcgOS40MjdsMy4zOTYgMy4zOTZhLjI1MS4yNTEgMCAwMC4zNTQgMGwzLjM5Ni0zLjM5NkEuMjUuMjUgMCAwMDExLjM5NiA5SDQuNjA0YS4yNS4yNSAwIDAwLS4xNzcuNDI3ek00LjQyMyA2LjQ3TDcuODIgMy4wNzJhLjI1LjI1IDAgMDEuMzU0IDBMMTEuNTcgNi40N2EuMjUuMjUgMCAwMS0uMTc3LjQyN0g0LjZhLjI1LjI1IDAgMDEtLjE3Ny0uNDI3eiIgLz48L3N2Zz4=');
|
31
|
+
}
|
32
|
+
}
|
33
|
+
|
34
|
+
.select-sm {
|
35
|
+
height: $size-4;
|
36
|
+
// stylelint-disable-next-line primer/spacing
|
37
|
+
padding-top: 3px;
|
38
|
+
// stylelint-disable-next-line primer/spacing
|
39
|
+
padding-bottom: 3px;
|
40
|
+
font-size: $font-size-small;
|
41
|
+
|
42
|
+
&[multiple] {
|
43
|
+
height: auto;
|
44
|
+
min-height: 0;
|
45
|
+
}
|
46
|
+
}
|