@everchron/ec-shards 3.1.4 → 3.2.0
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.
- package/dist/ec-shards.common.js +1587 -1592
- package/dist/ec-shards.common.js.map +1 -1
- package/dist/ec-shards.css +1 -1
- package/dist/ec-shards.umd.js +1587 -1592
- package/dist/ec-shards.umd.js.map +1 -1
- package/dist/ec-shards.umd.min.js +2 -2
- package/dist/ec-shards.umd.min.js.map +1 -1
- package/package.json +1 -1
- package/src/components/alert/alert.vue +2 -2
- package/src/components/breadcrumb-button/breadcrumb-button.vue +2 -2
- package/src/components/button/button.vue +2 -2
- package/src/components/button-context/button-context.vue +1 -1
- package/src/components/button-more/button-more.vue +1 -1
- package/src/components/button-table/button-table.vue +1 -1
- package/src/components/button-toolbar/button-toolbar.vue +4 -4
- package/src/components/button-toolbar-icon/button-toolbar-icon.vue +1 -1
- package/src/components/collection-control/collection-control.vue +1 -1
- package/src/components/data-card/data-card.vue +1 -1
- package/src/components/dialog/dialog.vue +24 -16
- package/src/components/document-state/document-state.vue +1 -1
- package/src/components/empty-state/empty-state.vue +1 -1
- package/src/components/excerpt-snippet/excerpt-snippet.vue +1 -1
- package/src/components/info-tooltip/info-tooltip.vue +1 -1
- package/src/components/input-addon/input-addon.vue +1 -1
- package/src/components/input-clear/input-clear.vue +1 -1
- package/src/components/input-search/input-search.vue +1 -1
- package/src/components/multiselect-option/multiselect-option.vue +1 -1
- package/src/components/multiselect-search-token/multiselect-search-token.vue +2 -2
- package/src/components/multiselect-token/multiselect-token.vue +1 -1
- package/src/components/overlay/overlay.vue +1 -1
- package/src/components/pagination/pagination.vue +138 -105
- package/src/components/party-entry/party-entry.vue +2 -2
- package/src/components/popover-header/popover-header.vue +1 -1
- package/src/components/segment/segment.vue +1 -1
- package/src/components/sequence-map-button/sequence-map-button.vue +1 -1
- package/src/components/tab-button/tab-button.vue +16 -5
- package/src/components/transcript-state/transcript-state.vue +1 -1
- package/src/components/tree-list-item/tree-list-item.vue +1 -1
- package/src/stories/Changelog.stories.mdx +19 -0
- package/src/stories/pagination/pagination.stories.js +0 -15
- package/src/components/tiptap/tiptap.vue +0 -246
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
<template>
|
|
2
2
|
<div class="ecs-party-entry" :class="[ party, shared ? 'shared' : '', (color && background) ? 'ecs-party-entry-colored' : '']" :style="{ color: color }">
|
|
3
|
-
<ecs-icon v-if="icon && iconPosition == 'left'" :type="iconType" :color="iconColor" :style="'margin-right:'+iconSpacing" :
|
|
3
|
+
<ecs-icon v-if="icon && iconPosition == 'left'" :type="iconType" :color="iconColor" :style="'margin-right:'+iconSpacing" :size="iconSize" />
|
|
4
4
|
<span>
|
|
5
5
|
<slot></slot>
|
|
6
6
|
</span>
|
|
7
|
-
<ecs-icon v-if="icon && iconPosition == 'right'" :type="iconType" :color="iconColor" :style="'margin-left:'+iconSpacing" :
|
|
7
|
+
<ecs-icon v-if="icon && iconPosition == 'right'" :type="iconType" :color="iconColor" :style="'margin-left:'+iconSpacing" :size="iconSize" />
|
|
8
8
|
<div v-if="background" class="ecs-party-entry-background" />
|
|
9
9
|
</div>
|
|
10
10
|
</template>
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
<template>
|
|
2
2
|
<header class="ecs-popover-header">
|
|
3
3
|
<div class="ecs-popover-header-title">
|
|
4
|
-
<ecs-icon v-if="icon" :type="icon"
|
|
4
|
+
<ecs-icon v-if="icon" :type="icon" size="36" class="icon" color="#B4B9BE" />
|
|
5
5
|
<h2 class="ecs-headline-2">{{title}}</h2>
|
|
6
6
|
</div>
|
|
7
7
|
<div v-if="hasControls" class="ecs-popover-header-actions">
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
<label v-for="option in options" :key="option.id" :for="option.id">
|
|
4
4
|
<input type="radio" :name="name" :value="option.id" :id="option.id" :checked="value==option.id" :disabled="option.disabled" @click="$emit('click', option.id)">
|
|
5
5
|
<span class="ecs-segment" :title="option.title">
|
|
6
|
-
<ecs-icon v-if="option.icon" :class="[option.icon && option.label ? 'icon-spacing' : '']" :type="option.icon"
|
|
6
|
+
<ecs-icon v-if="option.icon" :class="[option.icon && option.label ? 'icon-spacing' : '']" :type="option.icon" size="20" color="#2F333C" />
|
|
7
7
|
{{ option.label }}
|
|
8
8
|
</span>
|
|
9
9
|
</label>
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
:class="[active ? 'active' : '', loading ? 'loading' : '', disabled ? 'disabled' : '', completed ? 'completed' : '']">
|
|
5
5
|
<span class="count">
|
|
6
6
|
{{ step }}
|
|
7
|
-
<ecs-icon v-if="loading" type="loading" class="loading"
|
|
7
|
+
<ecs-icon v-if="loading" type="loading" class="loading" size="34" />
|
|
8
8
|
</span>
|
|
9
9
|
<slot></slot>
|
|
10
10
|
<div class="step-indicator" />
|
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
@click="handleClick">
|
|
9
9
|
|
|
10
10
|
<ecs-icon v-if="icon" :type="icon" />
|
|
11
|
-
<ecs-icon v-if="icon && sticker" :type="`sticker-${sticker}`" class="sticker"
|
|
11
|
+
<ecs-icon v-if="icon && sticker" :type="`sticker-${sticker}`" class="sticker" size="16" />
|
|
12
12
|
<slot></slot>
|
|
13
13
|
<span v-if="shortcut" class="shortcut">{{ shortcut }}</span>
|
|
14
14
|
<span class="hover" />
|
|
@@ -316,10 +316,10 @@
|
|
|
316
316
|
padding-left: 1px;
|
|
317
317
|
|
|
318
318
|
.ecs-tab-button{
|
|
319
|
-
border-radius: 0 0
|
|
319
|
+
border-radius: 0 0 $border-radius-small $border-radius-small;
|
|
320
320
|
color: $color-gray-14;
|
|
321
321
|
height: 38px;
|
|
322
|
-
padding: 0
|
|
322
|
+
padding: 0 $spacing-25;
|
|
323
323
|
text-align: center;
|
|
324
324
|
font-size: $type-scale-3-font-size;
|
|
325
325
|
line-height: 26px;
|
|
@@ -330,6 +330,11 @@
|
|
|
330
330
|
border-top-color: $color-gray-4;
|
|
331
331
|
position: relative;
|
|
332
332
|
margin-left: -1px;
|
|
333
|
+
transition: .2s background-color, .2s border-color, .2s color;
|
|
334
|
+
|
|
335
|
+
&:hover{
|
|
336
|
+
background-color: $color-gray-3;
|
|
337
|
+
}
|
|
333
338
|
|
|
334
339
|
&:before{
|
|
335
340
|
content: "";
|
|
@@ -338,7 +343,7 @@
|
|
|
338
343
|
background: $color-gray-4;
|
|
339
344
|
border-radius: 1px;
|
|
340
345
|
position: absolute;
|
|
341
|
-
|
|
346
|
+
left: 0;
|
|
342
347
|
}
|
|
343
348
|
|
|
344
349
|
&:after{
|
|
@@ -354,18 +359,24 @@
|
|
|
354
359
|
&.show{
|
|
355
360
|
color: $color-blue-10;
|
|
356
361
|
font-weight: $font-weight-medium;
|
|
362
|
+
letter-spacing: -.015em;
|
|
357
363
|
background: #FFFFFF;
|
|
358
364
|
border: 1px solid $color-gray-4;
|
|
359
365
|
border-top-color: #FFF;
|
|
366
|
+
z-index: 1;
|
|
360
367
|
|
|
361
368
|
&:after{
|
|
362
369
|
transform: scale(1);
|
|
363
370
|
opacity: 1;
|
|
364
371
|
}
|
|
372
|
+
|
|
373
|
+
+ .ecs-tab-button:before{
|
|
374
|
+
opacity: 0;
|
|
375
|
+
}
|
|
365
376
|
}
|
|
366
377
|
|
|
367
378
|
&.show:before,
|
|
368
|
-
&:
|
|
379
|
+
&:first-child:before{
|
|
369
380
|
opacity: 0;
|
|
370
381
|
}
|
|
371
382
|
}
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
<div v-if="state =='repairing'" class="repairing" />
|
|
6
6
|
<div v-if="state =='corrupted'" class="corrupted" />
|
|
7
7
|
<span v-if="state == 'loading'" class="loading">
|
|
8
|
-
<ecs-icon type="loading"
|
|
8
|
+
<ecs-icon type="loading" size="18px" color="#202127" />
|
|
9
9
|
</span>
|
|
10
10
|
</div>
|
|
11
11
|
</template>
|
|
@@ -15,7 +15,7 @@
|
|
|
15
15
|
:collapsed="!isVisible"
|
|
16
16
|
@click="toggleCollapse" />
|
|
17
17
|
|
|
18
|
-
<ecs-icon v-if="icon" :type="icon" :color="iconColor" :
|
|
18
|
+
<ecs-icon v-if="icon" :type="icon" :color="iconColor" :size="iconSize" />
|
|
19
19
|
|
|
20
20
|
<div v-if="$slots.control" class="ecs-tree-view-entry-control">
|
|
21
21
|
<!-- @slot Slot for a selection control, such as a checkbox or radiobutton. -->
|
|
@@ -6,6 +6,25 @@ import { Meta } from '@storybook/addon-docs/blocks';
|
|
|
6
6
|
Changelog
|
|
7
7
|
</h1>
|
|
8
8
|
|
|
9
|
+
## Version 3.2.0 (11 January 2023)
|
|
10
|
+
|
|
11
|
+
### Fixes
|
|
12
|
+
|
|
13
|
+
Reverted all EcsPagination updates and moved these changes to the @next branch, until infinite scroll feature can be implemented. This means 3.2.0 can be used again as a stable release for current application development.
|
|
14
|
+
|
|
15
|
+
## Version 3.1.5 (undefined)
|
|
16
|
+
|
|
17
|
+
### Features
|
|
18
|
+
|
|
19
|
+
- Added item range indicator to EcsPagination component
|
|
20
|
+
|
|
21
|
+
### Fixes
|
|
22
|
+
|
|
23
|
+
- Overwrite margins of dialog
|
|
24
|
+
- Only add EcsDialog to the DOM when it's being shown
|
|
25
|
+
- Fix subtle layout shift on EcsTabButton of type `sheet`.
|
|
26
|
+
- Replaced soon to be deprecated `width` and `height` props of EcsIcon with `size`.
|
|
27
|
+
|
|
9
28
|
## Version 3.1.2 (15 December 2022)
|
|
10
29
|
|
|
11
30
|
### Fixes
|
|
@@ -35,18 +35,3 @@ export const tabPagination = () => ({
|
|
|
35
35
|
</ecs-pagination>
|
|
36
36
|
</div>`,
|
|
37
37
|
});
|
|
38
|
-
|
|
39
|
-
export const infiniteScroll = () => ({
|
|
40
|
-
components: { EcsPagination, EcsTabBar, EcsTabButton },
|
|
41
|
-
template: `<div style="display:flex;flex-direction:column;height: 200px;justify-content: flex-end;">
|
|
42
|
-
<ecs-pagination type="infinite" :current-page="2" :total-pages="10" loading>
|
|
43
|
-
<template slot="tabs">
|
|
44
|
-
<ecs-tab-bar type="sheet">
|
|
45
|
-
<ecs-tab-button show>Settings</ecs-tab-button>
|
|
46
|
-
<ecs-tab-button>Calendar</ecs-tab-button>
|
|
47
|
-
<ecs-tab-button>Versions</ecs-tab-button>
|
|
48
|
-
</ecs-tab-bar>
|
|
49
|
-
</template>
|
|
50
|
-
</ecs-pagination>
|
|
51
|
-
</div>`,
|
|
52
|
-
});
|
|
@@ -1,246 +0,0 @@
|
|
|
1
|
-
<template>
|
|
2
|
-
<div class="ecs-tiptap">
|
|
3
|
-
<bubble-menu
|
|
4
|
-
class="ecs-bubble-menu"
|
|
5
|
-
:tippy-options="{ duration: 100 }"
|
|
6
|
-
:editor="editor"
|
|
7
|
-
v-if="editor"
|
|
8
|
-
>
|
|
9
|
-
<button @click="editor.chain().focus().toggleBold().run()" :class="{ 'is-active': editor.isActive('bold') }" title="Bold">
|
|
10
|
-
<ecs-icon type="format-bold" width="26px" height="26px" />
|
|
11
|
-
</button>
|
|
12
|
-
<button @click="editor.chain().focus().toggleItalic().run()" :class="{ 'is-active': editor.isActive('italic') }" title="Italic">
|
|
13
|
-
<ecs-icon type="format-italic" width="26px" height="26px" />
|
|
14
|
-
</button>
|
|
15
|
-
<button @click="editor.chain().focus().toggleUnderline().run()" :class="{ 'is-active': editor.isActive('underline') }" title="Underline">
|
|
16
|
-
<ecs-icon type="format-underline" width="26px" height="26px" />
|
|
17
|
-
</button>
|
|
18
|
-
<button @click="setLink" :class="{ 'is-active': editor.isActive('link') }" title="Link">
|
|
19
|
-
<ecs-icon type="link" width="26px" height="26px" />
|
|
20
|
-
</button>
|
|
21
|
-
<button @click="editor.chain().focus().unsetLink().run()" v-if="editor.isActive('link')" title="Remove Link">
|
|
22
|
-
<ecs-icon type="link-remove" width="26px" height="26px" />
|
|
23
|
-
</button>
|
|
24
|
-
<button @click="editor.chain().focus().toggleBlockquote().run()" :class="{ 'is-active': editor.isActive('blockquote') }" title="Quote">
|
|
25
|
-
<ecs-icon type="format-blockquote" width="26px" height="26px" />
|
|
26
|
-
</button>
|
|
27
|
-
<button @click="editor.chain().focus().toggleOrderedList().run()" :class="{ 'is-active': editor.isActive('orderedList') }" title="Ordered List">
|
|
28
|
-
<ecs-icon type="format-ol" width="26px" height="26px" />
|
|
29
|
-
</button>
|
|
30
|
-
<button @click="editor.chain().focus().toggleBulletList().run()" :class="{ 'is-active': editor.isActive('bulletList') }" title="Bullet List">
|
|
31
|
-
<ecs-icon type="format-ul" width="26px" height="26px" />
|
|
32
|
-
</button>
|
|
33
|
-
</bubble-menu>
|
|
34
|
-
|
|
35
|
-
<editor-content :editor="editor" />
|
|
36
|
-
</div>
|
|
37
|
-
</template>
|
|
38
|
-
|
|
39
|
-
<script>
|
|
40
|
-
import EcsIcon from '../icon/icon'
|
|
41
|
-
|
|
42
|
-
import {
|
|
43
|
-
Editor,
|
|
44
|
-
EditorContent,
|
|
45
|
-
BubbleMenu,
|
|
46
|
-
FloatingMenu,
|
|
47
|
-
} from '@tiptap/vue-2'
|
|
48
|
-
|
|
49
|
-
import Underline from '@tiptap/extension-underline'
|
|
50
|
-
import Placeholder from '@tiptap/extension-placeholder'
|
|
51
|
-
import Link from '@tiptap/extension-link'
|
|
52
|
-
import Blockquote from '@tiptap/extension-blockquote'
|
|
53
|
-
import OrderedList from '@tiptap/extension-ordered-list'
|
|
54
|
-
import BulletList from '@tiptap/extension-bullet-list'
|
|
55
|
-
import ListItem from '@tiptap/extension-list-item'
|
|
56
|
-
|
|
57
|
-
import { defaultExtensions } from '@tiptap/starter-kit'
|
|
58
|
-
|
|
59
|
-
export default {
|
|
60
|
-
components: {
|
|
61
|
-
EcsIcon,
|
|
62
|
-
EditorContent,
|
|
63
|
-
BubbleMenu,
|
|
64
|
-
FloatingMenu
|
|
65
|
-
},
|
|
66
|
-
|
|
67
|
-
props: {
|
|
68
|
-
placeholder: {
|
|
69
|
-
type: String,
|
|
70
|
-
default: 'Write something…'
|
|
71
|
-
}
|
|
72
|
-
},
|
|
73
|
-
|
|
74
|
-
data() {
|
|
75
|
-
return {
|
|
76
|
-
editor: null,
|
|
77
|
-
}
|
|
78
|
-
},
|
|
79
|
-
|
|
80
|
-
mounted() {
|
|
81
|
-
this.editor = new Editor({
|
|
82
|
-
extensions: [
|
|
83
|
-
...defaultExtensions(),
|
|
84
|
-
Underline,
|
|
85
|
-
Placeholder.configure({
|
|
86
|
-
placeholder: this.placeholder,
|
|
87
|
-
}),
|
|
88
|
-
Link,
|
|
89
|
-
Blockquote,
|
|
90
|
-
OrderedList,
|
|
91
|
-
BulletList,
|
|
92
|
-
ListItem,
|
|
93
|
-
],
|
|
94
|
-
content: ``
|
|
95
|
-
})
|
|
96
|
-
},
|
|
97
|
-
|
|
98
|
-
methods: {
|
|
99
|
-
setLink() {
|
|
100
|
-
const url = window.prompt('Enter URL')
|
|
101
|
-
this.editor.chain().focus().setLink({ href: url }).run()
|
|
102
|
-
},
|
|
103
|
-
},
|
|
104
|
-
|
|
105
|
-
beforeDestroy() {
|
|
106
|
-
this.editor.destroy()
|
|
107
|
-
}
|
|
108
|
-
}
|
|
109
|
-
</script>
|
|
110
|
-
|
|
111
|
-
<style lang="scss">
|
|
112
|
-
@import "../../tokens/build/scss/tokens.scss";
|
|
113
|
-
@import "../mixins/svg-uri";
|
|
114
|
-
|
|
115
|
-
.ProseMirror{
|
|
116
|
-
font-size: $type-scale-3-font-size;
|
|
117
|
-
line-height: 1.4em;
|
|
118
|
-
padding: 10px;
|
|
119
|
-
|
|
120
|
-
> *:first-child{
|
|
121
|
-
margin-top: 0;
|
|
122
|
-
}
|
|
123
|
-
|
|
124
|
-
> *:last-child{
|
|
125
|
-
margin-bottom: 0;
|
|
126
|
-
}
|
|
127
|
-
|
|
128
|
-
p{
|
|
129
|
-
margin: 1em 0;
|
|
130
|
-
}
|
|
131
|
-
|
|
132
|
-
i{
|
|
133
|
-
font-style: italic;
|
|
134
|
-
}
|
|
135
|
-
|
|
136
|
-
u{
|
|
137
|
-
text-decoration: underline;
|
|
138
|
-
}
|
|
139
|
-
|
|
140
|
-
b, strong{
|
|
141
|
-
font-weight: 600;
|
|
142
|
-
}
|
|
143
|
-
|
|
144
|
-
ul{
|
|
145
|
-
list-style-type: disc;
|
|
146
|
-
padding-left: 16px;
|
|
147
|
-
margin: 1em 0;
|
|
148
|
-
}
|
|
149
|
-
|
|
150
|
-
ol{
|
|
151
|
-
padding-left: 16px;
|
|
152
|
-
margin: 1em 0;
|
|
153
|
-
}
|
|
154
|
-
|
|
155
|
-
ul li, ol li{
|
|
156
|
-
> *:first-child{
|
|
157
|
-
margin-top: 0;
|
|
158
|
-
}
|
|
159
|
-
|
|
160
|
-
> *:last-child{
|
|
161
|
-
margin-bottom: 0;
|
|
162
|
-
}
|
|
163
|
-
}
|
|
164
|
-
|
|
165
|
-
blockquote{
|
|
166
|
-
border-left: 3px solid rgba($color-gray-6, .4);
|
|
167
|
-
color: $color-gray-10;
|
|
168
|
-
margin: 1em 0;
|
|
169
|
-
padding-left: 16px;
|
|
170
|
-
}
|
|
171
|
-
|
|
172
|
-
a{
|
|
173
|
-
color: $color-blue-10;
|
|
174
|
-
text-decoration: none;
|
|
175
|
-
transition: .2s;
|
|
176
|
-
|
|
177
|
-
&:after{
|
|
178
|
-
opacity: .7;
|
|
179
|
-
transition: .2s;
|
|
180
|
-
}
|
|
181
|
-
|
|
182
|
-
&:hover{
|
|
183
|
-
color: darken($color-blue-10, 5%);
|
|
184
|
-
|
|
185
|
-
&:after{
|
|
186
|
-
opacity: 1;
|
|
187
|
-
}
|
|
188
|
-
}
|
|
189
|
-
|
|
190
|
-
&[href*="//"]:not([href*="everchron.com"]):after,
|
|
191
|
-
&[href*="//"]:not([href*="everchron.me"]):after,
|
|
192
|
-
&[href*="//"]:not([href*="everchron.co.uk"]):after,
|
|
193
|
-
&[href*="//"]:not([href*="everchron.com.au"]):after,
|
|
194
|
-
&[href*="//"]:not([href*="everchron.wtf"]):after{
|
|
195
|
-
content: "";
|
|
196
|
-
background: svg-uri('<svg xmlns="http://www.w3.org/2000/svg" width="8" height="8" viewBox="0 0 8 8"><path fill="#858E9E" d="M7.625,3.5 C7.524,3.5 7.434,3.459 7.366,3.395 C7.364,3.393 7.361,3.393 7.359,3.391 L6.427,2.458 L4.067,4.818 C3.823,5.061 3.427,5.061 3.183,4.818 C2.939,4.574 2.939,4.178 3.183,3.934 L5.542,1.575 L4.609,0.641 C4.607,0.639 4.607,0.636 4.605,0.634 C4.541,0.566 4.5,0.476 4.5,0.375 C4.5,0.168 4.668,0 4.875,0 L7.5,0 C7.776,0 8,0.224 8,0.5 L8,3.125 C8,3.332 7.832,3.5 7.625,3.5 Z M1,2.25 L1,6.75 C1,6.888 1.112,7 1.25,7 L5.75,7 C5.888,7 6,6.888 6,6.75 L6,4 L7,5 L7,7 C7,7.553 6.553,8 6,8 L1,8 C0.448,8 0,7.553 0,7 L0,2 C0,1.448 0.448,1 1,1 L3,1 L4,2 L1.25,2 C1.112,2 1,2.112 1,2.25 Z"/></svg>');
|
|
197
|
-
width: 8px;
|
|
198
|
-
display: inline-block;
|
|
199
|
-
height: 8px;
|
|
200
|
-
margin-left: 4px;
|
|
201
|
-
}
|
|
202
|
-
}
|
|
203
|
-
}
|
|
204
|
-
|
|
205
|
-
.ProseMirror p.is-editor-empty:first-child::before {
|
|
206
|
-
content: attr(data-placeholder);
|
|
207
|
-
float: left;
|
|
208
|
-
color: $color-gray-6;
|
|
209
|
-
pointer-events: none;
|
|
210
|
-
height: 0;
|
|
211
|
-
}
|
|
212
|
-
|
|
213
|
-
.ecs-bubble-menu {
|
|
214
|
-
display: flex;
|
|
215
|
-
align-items: center;
|
|
216
|
-
background-color: rgba($color-gray-13, .97);
|
|
217
|
-
padding: 4px;
|
|
218
|
-
border-radius: $border-radius-medium;
|
|
219
|
-
|
|
220
|
-
button {
|
|
221
|
-
border: none;
|
|
222
|
-
background: none;
|
|
223
|
-
color: #FFF;
|
|
224
|
-
opacity: 0.6;
|
|
225
|
-
transition: .2s;
|
|
226
|
-
padding: 0;
|
|
227
|
-
display: flex;
|
|
228
|
-
border-radius: $border-radius-small;
|
|
229
|
-
margin-right: 4px;
|
|
230
|
-
|
|
231
|
-
&:last-child{
|
|
232
|
-
margin-right: 0;
|
|
233
|
-
}
|
|
234
|
-
|
|
235
|
-
&:hover{
|
|
236
|
-
opacity: .8;
|
|
237
|
-
background: rgba(#000, .5);
|
|
238
|
-
}
|
|
239
|
-
|
|
240
|
-
&.is-active{
|
|
241
|
-
opacity: 1;
|
|
242
|
-
background: rgba(#000, .5);
|
|
243
|
-
}
|
|
244
|
-
}
|
|
245
|
-
}
|
|
246
|
-
</style>
|