github-docs 0.0.5 → 0.0.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/_layouts/default.html +11 -4
- data/assets/css/cherry/_base-normalize.scss +274 -0
- data/assets/css/cherry/_buttons.scss +305 -0
- data/assets/css/cherry/_columns.scss +220 -0
- data/assets/css/cherry/_elements.scss +339 -0
- data/assets/css/cherry/_forms-vue-select.scss +250 -0
- data/assets/css/cherry/_forms.scss +567 -0
- data/assets/css/cherry/_functions.scss +201 -0
- data/assets/css/cherry/_index.scss +14 -0
- data/assets/css/cherry/_layout.scss +207 -0
- data/assets/css/cherry/_modal.scss +82 -0
- data/assets/css/cherry/_spacing.scss +56 -0
- data/assets/css/cherry/_tooltips.scss +113 -0
- data/assets/css/cherry/_typography.scss +90 -0
- data/assets/css/cherry/_utilities.scss +552 -0
- data/assets/css/cherry/_variables-computed.scss +79 -0
- data/assets/css/cherry/_variables.scss +48 -0
- data/assets/css/index.scss +9 -7
- data/{_sass/github-docs.scss → assets/css/main.scss} +18 -15
- data/assets/css/primer-markdown/blob-csv.scss +25 -0
- data/assets/css/primer-markdown/code.scss +49 -0
- data/{_sass → assets/css}/primer-markdown/headings.scss +5 -19
- data/{_sass → assets/css}/primer-markdown/images.scss +1 -19
- data/{_sass/primer-markdown/markdown-body.scss → assets/css/primer-markdown/index.scss} +66 -55
- data/assets/css/primer-markdown/lists.scss +42 -0
- data/{_sass → assets/css}/primer-markdown/tables.scss +4 -9
- data/{_sass → assets/css}/rouge.scss +16 -8
- data/readme.md +2 -2
- metadata +27 -43
- data/_sass/primer-base/base.scss +0 -84
- data/_sass/primer-base/index.scss +0 -3
- data/_sass/primer-base/normalize.scss +0 -421
- data/_sass/primer-base/typography-base.scss +0 -86
- data/_sass/primer-layout/columns.scss +0 -54
- data/_sass/primer-layout/container.scss +0 -30
- data/_sass/primer-layout/grid-offset.scss +0 -19
- data/_sass/primer-layout/grid.scss +0 -64
- data/_sass/primer-layout/index.scss +0 -4
- data/_sass/primer-markdown/blob-csv.scss +0 -27
- data/_sass/primer-markdown/code.scss +0 -63
- data/_sass/primer-markdown/index.scss +0 -7
- data/_sass/primer-markdown/lists.scss +0 -76
- data/_sass/primer-support/index.scss +0 -11
- data/_sass/primer-support/mixins/buttons.scss +0 -160
- data/_sass/primer-support/mixins/layout.scss +0 -58
- data/_sass/primer-support/mixins/misc.scss +0 -29
- data/_sass/primer-support/mixins/typography.scss +0 -84
- data/_sass/primer-support/variables/color-system.scss +0 -114
- data/_sass/primer-support/variables/colors.scss +0 -67
- data/_sass/primer-support/variables/layout.scss +0 -78
- data/_sass/primer-support/variables/misc.scss +0 -40
- data/_sass/primer-support/variables/typography.scss +0 -43
- data/_sass/primer-utilities/animations.scss +0 -184
- data/_sass/primer-utilities/borders.scss +0 -100
- data/_sass/primer-utilities/box-shadow.scss +0 -26
- data/_sass/primer-utilities/colors.scss +0 -106
- data/_sass/primer-utilities/details.scss +0 -18
- data/_sass/primer-utilities/flexbox.scss +0 -52
- data/_sass/primer-utilities/index.scss +0 -13
- data/_sass/primer-utilities/layout.scss +0 -85
- data/_sass/primer-utilities/margin.scss +0 -53
- data/_sass/primer-utilities/padding.scss +0 -54
- data/_sass/primer-utilities/typography.scss +0 -215
- data/_sass/primer-utilities/visibility-display.scss +0 -87
@@ -1,54 +0,0 @@
|
|
1
|
-
// Grid system
|
2
|
-
//
|
3
|
-
// Create rows with `.columns` to clear the floated columns and outdent the
|
4
|
-
// padding on `.column`s with negative margin for alignment.
|
5
|
-
|
6
|
-
.columns {
|
7
|
-
margin-right: -$grid-gutter;
|
8
|
-
margin-left: -$grid-gutter;
|
9
|
-
@include clearfix;
|
10
|
-
}
|
11
|
-
|
12
|
-
// Base class for every column (requires a column width from below)
|
13
|
-
.column {
|
14
|
-
float: left;
|
15
|
-
padding-right: $grid-gutter;
|
16
|
-
padding-left: $grid-gutter;
|
17
|
-
}
|
18
|
-
|
19
|
-
// Column widths
|
20
|
-
.one-third {
|
21
|
-
width: 33.333333%;
|
22
|
-
}
|
23
|
-
|
24
|
-
.two-thirds {
|
25
|
-
width: 66.666667%;
|
26
|
-
}
|
27
|
-
|
28
|
-
.one-fourth {
|
29
|
-
width: 25%;
|
30
|
-
}
|
31
|
-
|
32
|
-
.one-half {
|
33
|
-
width: 50%;
|
34
|
-
}
|
35
|
-
|
36
|
-
.three-fourths {
|
37
|
-
width: 75%;
|
38
|
-
}
|
39
|
-
|
40
|
-
.one-fifth {
|
41
|
-
width: 20%;
|
42
|
-
}
|
43
|
-
|
44
|
-
.four-fifths {
|
45
|
-
width: 80%;
|
46
|
-
}
|
47
|
-
|
48
|
-
// Centers content horizontally. Can be used inside or outside the grid.
|
49
|
-
.centered {
|
50
|
-
display: block;
|
51
|
-
float: none;
|
52
|
-
margin-right: auto;
|
53
|
-
margin-left: auto;
|
54
|
-
}
|
@@ -1,30 +0,0 @@
|
|
1
|
-
// Fixed-width, centered column for site content.
|
2
|
-
// This will be deprecated and replaced with container-lg in future
|
3
|
-
.container {
|
4
|
-
width: $container-width;
|
5
|
-
margin-right: auto;
|
6
|
-
margin-left: auto;
|
7
|
-
@include clearfix;
|
8
|
-
}
|
9
|
-
|
10
|
-
// Handy container styles that match our breakpoints
|
11
|
-
// 768px
|
12
|
-
.container-md {
|
13
|
-
max-width: $container-md;
|
14
|
-
margin-right: auto;
|
15
|
-
margin-left: auto;
|
16
|
-
}
|
17
|
-
|
18
|
-
// 1004px - this matches the current fixed width: 980px + padding: px-3
|
19
|
-
.container-lg {
|
20
|
-
max-width: $container-lg;
|
21
|
-
margin-right: auto;
|
22
|
-
margin-left: auto;
|
23
|
-
}
|
24
|
-
|
25
|
-
// 1280px
|
26
|
-
.container-xl {
|
27
|
-
max-width: $container-xl;
|
28
|
-
margin-right: auto;
|
29
|
-
margin-left: auto;
|
30
|
-
}
|
@@ -1,19 +0,0 @@
|
|
1
|
-
// Optional offset options to work with grid.scss
|
2
|
-
|
3
|
-
// Offset Columns
|
4
|
-
|
5
|
-
@each $breakpoint, $variant in $responsive-variants {
|
6
|
-
@include breakpoint($breakpoint) {
|
7
|
-
.offset#{$variant}-1 { margin-left: (1 / 12 * 100%) !important; }
|
8
|
-
.offset#{$variant}-2 { margin-left: (2 / 12 * 100%) !important; }
|
9
|
-
.offset#{$variant}-3 { margin-left: (3 / 12 * 100%) !important; }
|
10
|
-
.offset#{$variant}-4 { margin-left: (4 / 12 * 100%) !important; }
|
11
|
-
.offset#{$variant}-5 { margin-left: (5 / 12 * 100%) !important; }
|
12
|
-
.offset#{$variant}-6 { margin-left: (6 / 12 * 100%) !important; }
|
13
|
-
.offset#{$variant}-7 { margin-left: (7 / 12 * 100%) !important; }
|
14
|
-
.offset#{$variant}-8 { margin-left: (8 / 12 * 100%) !important; }
|
15
|
-
.offset#{$variant}-9 { margin-left: (9 / 12 * 100%) !important; }
|
16
|
-
.offset#{$variant}-10 { margin-left: (10 / 12 * 100%) !important; }
|
17
|
-
.offset#{$variant}-11 { margin-left: (11 / 12 * 100%) !important; }
|
18
|
-
}
|
19
|
-
}
|
@@ -1,64 +0,0 @@
|
|
1
|
-
// GRID
|
2
|
-
|
3
|
-
// Columns
|
4
|
-
.col-1 { width: (1 / 12 * 100%); }
|
5
|
-
.col-2 { width: (2 / 12 * 100%); }
|
6
|
-
.col-3 { width: (3 / 12 * 100%); }
|
7
|
-
.col-4 { width: (4 / 12 * 100%); }
|
8
|
-
.col-5 { width: (5 / 12 * 100%); }
|
9
|
-
.col-6 { width: (6 / 12 * 100%); }
|
10
|
-
.col-7 { width: (7 / 12 * 100%); }
|
11
|
-
.col-8 { width: (8 / 12 * 100%); }
|
12
|
-
.col-9 { width: (9 / 12 * 100%); }
|
13
|
-
.col-10 { width: (10 / 12 * 100%); }
|
14
|
-
.col-11 { width: (11 / 12 * 100%); }
|
15
|
-
.col-12 { width: 100%; }
|
16
|
-
|
17
|
-
@each $breakpoint in map-keys($breakpoints) {
|
18
|
-
@include breakpoint($breakpoint) {
|
19
|
-
.col-#{$breakpoint}-1 { width: ( 1 / 12 * 100%); }
|
20
|
-
.col-#{$breakpoint}-2 { width: ( 2 / 12 * 100%); }
|
21
|
-
.col-#{$breakpoint}-3 { width: ( 3 / 12 * 100%); }
|
22
|
-
.col-#{$breakpoint}-4 { width: ( 4 / 12 * 100%); }
|
23
|
-
.col-#{$breakpoint}-5 { width: ( 5 / 12 * 100%); }
|
24
|
-
.col-#{$breakpoint}-6 { width: ( 6 / 12 * 100%); }
|
25
|
-
.col-#{$breakpoint}-7 { width: ( 7 / 12 * 100%); }
|
26
|
-
.col-#{$breakpoint}-8 { width: ( 8 / 12 * 100%); }
|
27
|
-
.col-#{$breakpoint}-9 { width: ( 9 / 12 * 100%); }
|
28
|
-
.col-#{$breakpoint}-10 { width: ( 10 / 12 * 100%); }
|
29
|
-
.col-#{$breakpoint}-11 { width: ( 11 / 12 * 100%); }
|
30
|
-
.col-#{$breakpoint}-12 { width: 100%; }
|
31
|
-
}
|
32
|
-
}
|
33
|
-
|
34
|
-
// Gutters
|
35
|
-
// Apply padding and a negative margin to the outside of the container
|
36
|
-
@mixin gutters ($gutter-width: $spacer-3) {
|
37
|
-
margin-right: -$gutter-width;
|
38
|
-
margin-left: -$gutter-width;
|
39
|
-
|
40
|
-
> [class*="col-"] {
|
41
|
-
padding-right: $gutter-width !important;
|
42
|
-
padding-left: $gutter-width !important;
|
43
|
-
}
|
44
|
-
}
|
45
|
-
|
46
|
-
.gutter {
|
47
|
-
@include gutters($spacer-3);
|
48
|
-
}
|
49
|
-
|
50
|
-
.gutter-condensed {
|
51
|
-
@include gutters($spacer-2);
|
52
|
-
}
|
53
|
-
|
54
|
-
.gutter-spacious {
|
55
|
-
@include gutters($spacer-4);
|
56
|
-
}
|
57
|
-
|
58
|
-
@each $breakpoint in map-keys($breakpoints) {
|
59
|
-
@include breakpoint($breakpoint) {
|
60
|
-
.gutter-#{$breakpoint} { @include gutters($spacer-3); }
|
61
|
-
.gutter-#{$breakpoint}-condensed { @include gutters($spacer-2); }
|
62
|
-
.gutter-#{$breakpoint}-spacious { @include gutters($spacer-4); }
|
63
|
-
}
|
64
|
-
}
|
@@ -1,27 +0,0 @@
|
|
1
|
-
// stylelint-disable selector-max-type
|
2
|
-
.markdown-body .csv-data {
|
3
|
-
td,
|
4
|
-
th {
|
5
|
-
padding: 5px;
|
6
|
-
overflow: hidden;
|
7
|
-
font-size: $font-size-small;
|
8
|
-
line-height: $lh-condensed-ultra;
|
9
|
-
text-align: left;
|
10
|
-
white-space: nowrap;
|
11
|
-
}
|
12
|
-
|
13
|
-
.blob-num {
|
14
|
-
padding: 10px $spacer-2 9px;
|
15
|
-
text-align: right;
|
16
|
-
background: $bg-white;
|
17
|
-
border: 0;
|
18
|
-
}
|
19
|
-
|
20
|
-
tr { border-top: 0; }
|
21
|
-
|
22
|
-
th {
|
23
|
-
font-weight: $font-weight-bold;
|
24
|
-
background: $gray-100;
|
25
|
-
border-top: 0;
|
26
|
-
}
|
27
|
-
}
|
@@ -1,63 +0,0 @@
|
|
1
|
-
// stylelint-disable selector-max-type
|
2
|
-
.markdown-body {
|
3
|
-
// Inline code snippets
|
4
|
-
code,
|
5
|
-
tt {
|
6
|
-
padding: 0.2em 0.4em;
|
7
|
-
margin: 0;
|
8
|
-
font-size: 85%;
|
9
|
-
background-color: rgba($black, 0.05);
|
10
|
-
border-radius: $border-radius;
|
11
|
-
|
12
|
-
br { display: none; }
|
13
|
-
}
|
14
|
-
|
15
|
-
del code { text-decoration: inherit; }
|
16
|
-
|
17
|
-
pre {
|
18
|
-
word-wrap: normal;
|
19
|
-
|
20
|
-
// Code tags within code blocks (<pre>s)
|
21
|
-
> code {
|
22
|
-
padding: 0;
|
23
|
-
margin: 0;
|
24
|
-
font-size: 100%;
|
25
|
-
word-break: normal;
|
26
|
-
white-space: pre;
|
27
|
-
background: transparent;
|
28
|
-
border: 0;
|
29
|
-
}
|
30
|
-
}
|
31
|
-
|
32
|
-
.highlight {
|
33
|
-
margin-bottom: $spacer-3;
|
34
|
-
|
35
|
-
pre {
|
36
|
-
margin-bottom: 0;
|
37
|
-
word-break: normal;
|
38
|
-
}
|
39
|
-
}
|
40
|
-
|
41
|
-
.highlight pre,
|
42
|
-
pre {
|
43
|
-
padding: $spacer-3;
|
44
|
-
overflow: auto;
|
45
|
-
font-size: 85%;
|
46
|
-
line-height: 1.45;
|
47
|
-
background-color: $gray-100;
|
48
|
-
border-radius: $border-radius;
|
49
|
-
}
|
50
|
-
|
51
|
-
pre code,
|
52
|
-
pre tt {
|
53
|
-
display: inline;
|
54
|
-
max-width: auto;
|
55
|
-
padding: 0;
|
56
|
-
margin: 0;
|
57
|
-
overflow: visible;
|
58
|
-
line-height: inherit;
|
59
|
-
word-wrap: normal;
|
60
|
-
background-color: transparent;
|
61
|
-
border: 0;
|
62
|
-
}
|
63
|
-
}
|
@@ -1,76 +0,0 @@
|
|
1
|
-
// Base styles
|
2
|
-
// stylelint-disable selector-no-qualifying-type
|
3
|
-
// stylelint-disable selector-max-type
|
4
|
-
.markdown-body {
|
5
|
-
|
6
|
-
// Lists, Blockquotes & Such
|
7
|
-
ul,
|
8
|
-
ol {
|
9
|
-
padding-left: 2em;
|
10
|
-
|
11
|
-
&.no-list {
|
12
|
-
padding: 0;
|
13
|
-
list-style-type: none;
|
14
|
-
}
|
15
|
-
}
|
16
|
-
|
17
|
-
// Did someone complain about list spacing? Encourage them
|
18
|
-
// to create the spacing with their markdown formatting.
|
19
|
-
// List behavior should be controled by the markup, not the css.
|
20
|
-
//
|
21
|
-
// For lists with padding between items, use blank
|
22
|
-
// lines between items. This will generate paragraphs with
|
23
|
-
// padding to space things out.
|
24
|
-
//
|
25
|
-
// - item
|
26
|
-
//
|
27
|
-
// - item
|
28
|
-
//
|
29
|
-
// - item
|
30
|
-
//
|
31
|
-
// For list without padding, don't use blank lines.
|
32
|
-
//
|
33
|
-
// - item
|
34
|
-
// - item
|
35
|
-
// - item
|
36
|
-
//
|
37
|
-
// Modifying the css to emulate these behaviors merely brakes
|
38
|
-
// one case in the process of solving another. Don't change
|
39
|
-
// this unless it's really really a bug.
|
40
|
-
ul ul,
|
41
|
-
ul ol,
|
42
|
-
ol ol,
|
43
|
-
ol ul {
|
44
|
-
margin-top: 0;
|
45
|
-
margin-bottom: 0;
|
46
|
-
}
|
47
|
-
|
48
|
-
li {
|
49
|
-
word-wrap: break-all;
|
50
|
-
}
|
51
|
-
|
52
|
-
li > p {
|
53
|
-
margin-top: $spacer-3;
|
54
|
-
}
|
55
|
-
|
56
|
-
li + li {
|
57
|
-
margin-top: $em-spacer-3;
|
58
|
-
}
|
59
|
-
|
60
|
-
dl {
|
61
|
-
padding: 0;
|
62
|
-
|
63
|
-
dt {
|
64
|
-
padding: 0;
|
65
|
-
margin-top: $spacer-3;
|
66
|
-
font-size: 1em;
|
67
|
-
font-style: italic;
|
68
|
-
font-weight: $font-weight-bold;
|
69
|
-
}
|
70
|
-
|
71
|
-
dd {
|
72
|
-
padding: 0 $spacer-3;
|
73
|
-
margin-bottom: $spacer-3;
|
74
|
-
}
|
75
|
-
}
|
76
|
-
}
|
@@ -1,11 +0,0 @@
|
|
1
|
-
// variables
|
2
|
-
@import "./variables/typography.scss";
|
3
|
-
@import "./variables/colors.scss";
|
4
|
-
@import "./variables/layout.scss";
|
5
|
-
@import "./variables/misc.scss";
|
6
|
-
|
7
|
-
// mixins
|
8
|
-
@import "./mixins/typography.scss";
|
9
|
-
@import "./mixins/layout.scss";
|
10
|
-
@import "./mixins/buttons.scss";
|
11
|
-
@import "./mixins/misc.scss";
|
@@ -1,160 +0,0 @@
|
|
1
|
-
// stylelint-disable block-closing-brace-newline-after
|
2
|
-
|
3
|
-
// Button color generator for primary and themed buttons
|
4
|
-
|
5
|
-
// New button hotness
|
6
|
-
@mixin btn-solid($color, $bg, $bg2) {
|
7
|
-
color: $color;
|
8
|
-
background-color: $bg2;
|
9
|
-
background-image: linear-gradient(-180deg, $bg 0%, $bg2 90%);
|
10
|
-
|
11
|
-
@if $bg == $gray-000 {
|
12
|
-
&:focus,
|
13
|
-
&.focus {
|
14
|
-
box-shadow: $btn-input-focus-shadow;
|
15
|
-
}
|
16
|
-
|
17
|
-
&:hover,
|
18
|
-
&.hover {
|
19
|
-
background-color: darken($bg2, 3%);
|
20
|
-
background-image: linear-gradient(-180deg, darken($bg, 3%) 0%, darken($bg2, 3%) 90%);
|
21
|
-
background-position: 0 -$em-spacer-5;
|
22
|
-
border-color: rgba($black, 0.35);
|
23
|
-
}
|
24
|
-
|
25
|
-
&:active,
|
26
|
-
&.selected,
|
27
|
-
[open] > & {
|
28
|
-
background-color: darken(desaturate($bg, 10%), 6%);
|
29
|
-
background-image: none;
|
30
|
-
border-color: rgba($black, 0.35); // repeat to avoid shift on click-drag off of button
|
31
|
-
box-shadow: $btn-active-shadow;
|
32
|
-
}
|
33
|
-
|
34
|
-
&:disabled,
|
35
|
-
&.disabled {
|
36
|
-
color: rgba($color, 0.4);
|
37
|
-
background-color: $bg2;
|
38
|
-
background-image: none;
|
39
|
-
border-color: transparentize($black, 0.8); // back to default .btn
|
40
|
-
box-shadow: none;
|
41
|
-
}
|
42
|
-
|
43
|
-
} @else {
|
44
|
-
&:focus,
|
45
|
-
&.focus {
|
46
|
-
box-shadow: 0 0 0 0.2em rgba($bg, 0.4);
|
47
|
-
}
|
48
|
-
|
49
|
-
&:hover,
|
50
|
-
&.hover {
|
51
|
-
background-color: darken($bg2, 2%);
|
52
|
-
background-image: linear-gradient(-180deg, darken($bg, 2%) 0%, darken($bg2, 2%) 90%);
|
53
|
-
background-position: 0 -$em-spacer-5;
|
54
|
-
border-color: $black-fade-50;
|
55
|
-
}
|
56
|
-
|
57
|
-
&:active,
|
58
|
-
&.selected,
|
59
|
-
[open] > & {
|
60
|
-
background-color: darken(mix($bg, $bg2, 50%), 7%);
|
61
|
-
background-image: none;
|
62
|
-
border-color: $black-fade-50; // repeat to avoid shift on click-drag off of button
|
63
|
-
box-shadow: $btn-active-shadow;
|
64
|
-
}
|
65
|
-
|
66
|
-
&:disabled,
|
67
|
-
&.disabled {
|
68
|
-
color: rgba($color, 0.75);
|
69
|
-
background-color: mix($bg2, $white, 50%);
|
70
|
-
background-image: none;
|
71
|
-
border-color: transparentize($black, 0.8); // repeat .btn default to avoid shift on click-drag off of button
|
72
|
-
box-shadow: none;
|
73
|
-
}
|
74
|
-
|
75
|
-
.Counter {
|
76
|
-
color: darken($bg, 8%);
|
77
|
-
background-color: $white;
|
78
|
-
}
|
79
|
-
}
|
80
|
-
}
|
81
|
-
|
82
|
-
// Inverse button hover style
|
83
|
-
@mixin btn-inverse($color, $bg, $bg2) {
|
84
|
-
color: $color;
|
85
|
-
background-color: $bg;
|
86
|
-
background-image: linear-gradient(-180deg, $bg 0%, $bg2 90%);
|
87
|
-
|
88
|
-
&:focus {
|
89
|
-
box-shadow: 0 0 0 0.2em rgba($color, 0.4);
|
90
|
-
}
|
91
|
-
|
92
|
-
&:hover {
|
93
|
-
color: $text-white;
|
94
|
-
background-color: $color;
|
95
|
-
background-image: linear-gradient(-180deg, lighten($color, 10%) 0%, $color 90%);
|
96
|
-
border-color: $black-fade-50;
|
97
|
-
|
98
|
-
.Counter {
|
99
|
-
color: $text-white;
|
100
|
-
}
|
101
|
-
}
|
102
|
-
|
103
|
-
&:active,
|
104
|
-
&.selected,
|
105
|
-
[open] > & {
|
106
|
-
color: $text-white;
|
107
|
-
background-color: darken($color, 5%);
|
108
|
-
background-image: none;
|
109
|
-
border-color: $black-fade-50;
|
110
|
-
box-shadow: $btn-active-shadow;
|
111
|
-
}
|
112
|
-
|
113
|
-
&:disabled,
|
114
|
-
&.disabled {
|
115
|
-
color: rgba($color, 0.4);
|
116
|
-
background-color: $bg2;
|
117
|
-
background-image: none;
|
118
|
-
border-color: transparentize($black, 0.8); // back to default .btn
|
119
|
-
box-shadow: none;
|
120
|
-
}
|
121
|
-
}
|
122
|
-
|
123
|
-
// Outline color generator for btn-outline to make the hover state inverse the text and bg colors.
|
124
|
-
@mixin btn-outline($text-color: $text-blue, $bg-color: $bg-white) {
|
125
|
-
color: $text-color;
|
126
|
-
background-color: $bg-color;
|
127
|
-
background-image: none;
|
128
|
-
|
129
|
-
.Counter {
|
130
|
-
background-color: rgba($black, 0.07);
|
131
|
-
}
|
132
|
-
|
133
|
-
&:hover,
|
134
|
-
&:active,
|
135
|
-
&.selected,
|
136
|
-
[open] > & {
|
137
|
-
color: $bg-color;
|
138
|
-
background-color: $text-color;
|
139
|
-
background-image: none;
|
140
|
-
border-color: $text-color;
|
141
|
-
|
142
|
-
.Counter {
|
143
|
-
color: $text-color;
|
144
|
-
background-color: $bg-color;
|
145
|
-
}
|
146
|
-
}
|
147
|
-
|
148
|
-
&:focus {
|
149
|
-
border-color: $text-color;
|
150
|
-
box-shadow: 0 0 0 0.2em rgba($text-color, 0.4);
|
151
|
-
}
|
152
|
-
|
153
|
-
&:disabled,
|
154
|
-
&.disabled {
|
155
|
-
color: $black-fade-30;
|
156
|
-
background-color: $bg-white;
|
157
|
-
border-color: $black-fade-15;
|
158
|
-
box-shadow: none;
|
159
|
-
}
|
160
|
-
}
|