github-docs 0.0.17 → 0.0.21
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/_sass/cherry/_base-normalize.scss +274 -0
- data/_sass/cherry/_buttons.scss +305 -0
- data/_sass/cherry/_columns.scss +220 -0
- data/_sass/cherry/_elements.scss +339 -0
- data/_sass/cherry/_forms-vue-select.scss +250 -0
- data/_sass/cherry/_forms.scss +567 -0
- data/_sass/cherry/_functions.scss +201 -0
- data/_sass/cherry/_index.scss +14 -0
- data/_sass/cherry/_layout.scss +207 -0
- data/_sass/cherry/_modal.scss +82 -0
- data/_sass/cherry/_spacing.scss +56 -0
- data/_sass/cherry/_tooltips.scss +113 -0
- data/_sass/cherry/_typography.scss +90 -0
- data/_sass/cherry/_utilities.scss +552 -0
- data/_sass/cherry/_variables-computed.scss +79 -0
- data/_sass/cherry/_variables.scss +48 -0
- data/_sass/main.scss +256 -0
- data/_sass/primer-markdown/blob-csv.scss +25 -0
- data/_sass/primer-markdown/code.scss +49 -0
- data/_sass/primer-markdown/headings.scss +51 -0
- data/_sass/primer-markdown/images.scss +101 -0
- data/_sass/primer-markdown/index.scss +118 -0
- data/_sass/primer-markdown/lists.scss +42 -0
- data/_sass/primer-markdown/tables.scss +28 -0
- data/_sass/rouge.scss +217 -0
- data/assets/css/index.scss +0 -0
- data/readme.md +10 -8
- metadata +97 -24
@@ -0,0 +1,250 @@
|
|
1
|
+
$list-fade-time: 0s !default; // handy for list styling
|
2
|
+
$option-color--active: $primary !default;
|
3
|
+
|
4
|
+
/* ---- Main ------------------------- */
|
5
|
+
|
6
|
+
.v-select {
|
7
|
+
position: relative;
|
8
|
+
}
|
9
|
+
.vs__dropdown-toggle {
|
10
|
+
// container for selected-choices & search-input & actions
|
11
|
+
white-space: normal;
|
12
|
+
cursor: pointer;
|
13
|
+
padding-right: 32px;
|
14
|
+
}
|
15
|
+
.vs__selected-options {
|
16
|
+
// container for selected-choices & search-input
|
17
|
+
display: flex;
|
18
|
+
flex-basis: 100%;
|
19
|
+
flex-grow: 1;
|
20
|
+
flex-wrap: wrap;
|
21
|
+
position: relative;
|
22
|
+
cursor: pointer;
|
23
|
+
margin-bottom: -7px;
|
24
|
+
}
|
25
|
+
|
26
|
+
/* ---- Selected text / tag ---------- */
|
27
|
+
|
28
|
+
.vs__selected {
|
29
|
+
position: relative;
|
30
|
+
align-items: center;
|
31
|
+
background-color: #444444;
|
32
|
+
color: #fff;
|
33
|
+
border-radius: 4px;
|
34
|
+
padding: 0px 2em 0px 0.8em;
|
35
|
+
margin: 0 7px 7px 0;
|
36
|
+
max-width: 90%;
|
37
|
+
overflow: hidden;
|
38
|
+
white-space: nowrap;
|
39
|
+
text-overflow: ellipsis;
|
40
|
+
}
|
41
|
+
.vs--single .vs__selected {
|
42
|
+
background-color: transparent;
|
43
|
+
border: 0;
|
44
|
+
color: inherit;
|
45
|
+
padding: 0;
|
46
|
+
}
|
47
|
+
.vs--single .vs__selected {
|
48
|
+
background-color: transparent;
|
49
|
+
border-color: transparent;
|
50
|
+
}
|
51
|
+
.vs--single.vs--searchable .vs__selected {
|
52
|
+
position: absolute;
|
53
|
+
}
|
54
|
+
.vs--single.vs--searchable.vs--open .vs__selected {
|
55
|
+
position: absolute;
|
56
|
+
opacity: .4;
|
57
|
+
}
|
58
|
+
.vs--single.vs--searching .vs__selected {
|
59
|
+
display: none;
|
60
|
+
}
|
61
|
+
.vs__deselect { // x button on tags
|
62
|
+
position: absolute;
|
63
|
+
display: block;
|
64
|
+
top: 50%;
|
65
|
+
right: 0.3em;
|
66
|
+
margin: -10px 0 0 0;
|
67
|
+
padding: 5px;
|
68
|
+
border: 0;
|
69
|
+
cursor: pointer;
|
70
|
+
background: none;
|
71
|
+
fill: rgb(255, 255, 255);
|
72
|
+
text-shadow: 0 1px 0 #fff;
|
73
|
+
transition: all 0.2s ease;
|
74
|
+
}
|
75
|
+
.vs__deselect:hover {
|
76
|
+
fill: rgb(220, 220, 220);
|
77
|
+
}
|
78
|
+
|
79
|
+
/* ---- Search input ----------------- */
|
80
|
+
|
81
|
+
.vs__search,
|
82
|
+
.vs__search:active,
|
83
|
+
.vs__search:focus {
|
84
|
+
width: 0;
|
85
|
+
max-width: 100%;
|
86
|
+
margin: 0;
|
87
|
+
border: 0;
|
88
|
+
padding: 0 !important;
|
89
|
+
box-shadow: none;
|
90
|
+
flex-grow: 1;
|
91
|
+
cursor: pointer;
|
92
|
+
-webkit-appearance: none;
|
93
|
+
-moz-appearance: none;
|
94
|
+
appearance: none;
|
95
|
+
margin: 0 7px 7px 0;
|
96
|
+
background: transparent;
|
97
|
+
}
|
98
|
+
.vs--single.vs--searching:not(.vs--open):not(.vs--loading) .vs__search {
|
99
|
+
opacity: .2;
|
100
|
+
}
|
101
|
+
|
102
|
+
/* ---- Options ------------------------- */
|
103
|
+
|
104
|
+
.vs__dropdown-menu {
|
105
|
+
list-style: none;
|
106
|
+
text-align: left;
|
107
|
+
position: absolute;
|
108
|
+
width: 100%;
|
109
|
+
top: calc(100% - -5px);
|
110
|
+
max-height: 336px;
|
111
|
+
overflow-y: auto;
|
112
|
+
font-size: 0.95rem;
|
113
|
+
z-index: 5;
|
114
|
+
background: #fff;
|
115
|
+
padding: 1px;
|
116
|
+
margin: 0 0 0 -1px;
|
117
|
+
border-radius: 4px;
|
118
|
+
box-shadow: rgba(0, 0, 0, 0.1) 0 1px 16px, inset rgba(60, 60, 60, 0.55) 0 0px 1px;
|
119
|
+
background-clip: content-box;
|
120
|
+
box-sizing: content-box;
|
121
|
+
cursor: default;
|
122
|
+
|
123
|
+
.vs__dropdown-option {
|
124
|
+
position: relative;
|
125
|
+
list-style: none;
|
126
|
+
margin: 0px -1px;
|
127
|
+
cursor: pointer;
|
128
|
+
line-height: 1.4em;
|
129
|
+
padding: 0.4em 0 0.5em 2em !important;
|
130
|
+
overflow: hidden;
|
131
|
+
/* white-space: nowrap; */
|
132
|
+
/* text-overflow: ellipsis; */
|
133
|
+
text-shadow: none;
|
134
|
+
}
|
135
|
+
|
136
|
+
/* First / last child */
|
137
|
+
|
138
|
+
.vs__dropdown-option:first-child {
|
139
|
+
margin: -1px -1px 0px -1px;
|
140
|
+
border-top: 3px solid transparent;
|
141
|
+
box-sizing: content-box;
|
142
|
+
}
|
143
|
+
.vs__dropdown-option:last-child {
|
144
|
+
margin: 0px -1px -1px -1px;
|
145
|
+
border-bottom: 2px solid transparent;
|
146
|
+
box-sizing: content-box;
|
147
|
+
}
|
148
|
+
.vs__no-options,
|
149
|
+
.vs__dropdown-option:last-child:first-child {
|
150
|
+
box-shadow: none;
|
151
|
+
margin: -1px -1px -1px -1px;
|
152
|
+
border-top: 5px solid transparent;
|
153
|
+
border-bottom: 5px solid transparent;
|
154
|
+
}
|
155
|
+
.vs__no-options {
|
156
|
+
text-align: center;
|
157
|
+
line-height: 2.2rem;
|
158
|
+
}
|
159
|
+
|
160
|
+
/* Hover */
|
161
|
+
//.vs__dropdown-option:hover, arrow keys use highlight
|
162
|
+
.vs__dropdown-option--highlight {
|
163
|
+
color: #fff;
|
164
|
+
background: $option-color--active;
|
165
|
+
}
|
166
|
+
.vs__dropdown-option--selected {
|
167
|
+
color: #fff;
|
168
|
+
background: darken($option-color--active, 6%);
|
169
|
+
}
|
170
|
+
}
|
171
|
+
.v-select-no-wrap .vs__dropdown-option {
|
172
|
+
white-space: nowrap;
|
173
|
+
text-overflow: ellipsis;
|
174
|
+
text-shadow: none;
|
175
|
+
}
|
176
|
+
|
177
|
+
/* Admin */
|
178
|
+
|
179
|
+
.vs--special-first .vs__dropdown-option:first-child {
|
180
|
+
background: #454545;//darken(#63b376, 5%);//#444
|
181
|
+
color: #fff;
|
182
|
+
}
|
183
|
+
.vs--special-first .vs__dropdown-option--selected:first-child,
|
184
|
+
.vs--special-first .vs__dropdown-option--highlight:first-child {
|
185
|
+
background: #111;//darken(#63b376, 10%);
|
186
|
+
}
|
187
|
+
|
188
|
+
/* ---- Spinner ---------------------- */
|
189
|
+
|
190
|
+
.vs__spinner {
|
191
|
+
align-self: center;
|
192
|
+
opacity: 0;
|
193
|
+
font-size: 5px;
|
194
|
+
text-indent: -9999em;
|
195
|
+
overflow: hidden;
|
196
|
+
border: .9em solid hsla(0, 0%, 39.2%, .1);
|
197
|
+
border-left-color: rgba(60, 60, 60, .45);
|
198
|
+
-webkit-transform: translateZ(0);
|
199
|
+
transform: translateZ(0);
|
200
|
+
-webkit-animation: vSpinner 1.1s linear infinite;
|
201
|
+
animation: vSpinner 1.1s linear infinite;
|
202
|
+
transition: opacity .1s;
|
203
|
+
}
|
204
|
+
.vs__spinner,
|
205
|
+
.vs__spinner:after {
|
206
|
+
border-radius: 50%;
|
207
|
+
width: 5em;
|
208
|
+
height: 5em;
|
209
|
+
}
|
210
|
+
.vs--loading .vs__spinner {
|
211
|
+
opacity: 1;
|
212
|
+
}
|
213
|
+
@keyframes vSpinner {
|
214
|
+
0% {
|
215
|
+
-webkit-transform: rotate(0deg);
|
216
|
+
transform: rotate(0deg);
|
217
|
+
}
|
218
|
+
to {
|
219
|
+
-webkit-transform: rotate(1turn);
|
220
|
+
transform: rotate(1turn);
|
221
|
+
}
|
222
|
+
}
|
223
|
+
|
224
|
+
/* ---- Misc ------------------------ */
|
225
|
+
|
226
|
+
.vs__search::-ms-clear,
|
227
|
+
.vs__search::-webkit-search-cancel-button,
|
228
|
+
.vs__search::-webkit-search-decoration,
|
229
|
+
.vs__search::-webkit-search-results-button,
|
230
|
+
.vs__search::-webkit-search-results-decoration {
|
231
|
+
display: none;
|
232
|
+
}
|
233
|
+
.vs__open-indicator {
|
234
|
+
display: none;
|
235
|
+
}
|
236
|
+
|
237
|
+
|
238
|
+
/* Menu animation */
|
239
|
+
|
240
|
+
.vs__fade-enter-active,
|
241
|
+
.vs__fade-leave-active {
|
242
|
+
transition: opacity 0s ease;
|
243
|
+
}
|
244
|
+
.vs__fade-leave-active {
|
245
|
+
transition: opacity $list-fade-time 0s ease;
|
246
|
+
}
|
247
|
+
.vs__fade-enter,
|
248
|
+
.vs__fade-leave-to {
|
249
|
+
opacity: 0;
|
250
|
+
}
|