@appscode/design-system 2.0.6-alpha.2 → 2.0.7
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/{vue-components/styles/base → base}/utilities/_grid.scss +1 -1
- package/components/_ac-modal.scss +212 -0
- package/components/_ac-options.scss +122 -0
- package/components/_ac-table.scss +503 -0
- package/components/_ac-tabs.scss +313 -0
- package/components/_accordion.scss +117 -0
- package/components/_all.scss +35 -0
- package/{vue-components/styles/components → components}/_input.scss +23 -44
- package/components/_left-sidebar-menu.scss +482 -0
- package/components/_navbar.scss +786 -0
- package/{vue-components/styles/components → components}/ui-builder/_ui-builder.scss +17 -17
- package/{vue-components/styles/components → components}/ui-builder/_vue-open-api.scss +35 -35
- package/main.scss +4 -4
- package/package.json +1 -1
- package/vue-components/v3/accordion/Accordion.vue +117 -1
- package/vue-components/v3/button/Button.vue +59 -1
- package/vue-components/v3/dropdown/DropdownAction.vue +32 -1
- package/vue-components/v3/form-fields/AcSingleInput.vue +1 -3
- package/vue-components/v3/modal/Modal.vue +216 -1
- package/vue-components/v3/navbar/Appdrawer.vue +121 -1
- package/vue-components/v3/navbar/Navbar.vue +93 -1
- package/vue-components/v3/navbar/NavbarItem.vue +65 -0
- package/vue-components/v3/navbar/NavbarItemContent.vue +275 -0
- package/vue-components/v3/navbar/User.vue +170 -5
- package/vue-components/v3/option-dots/Options.vue +144 -1
- package/vue-components/v3/sidebar/Sidebar.vue +201 -1
- package/vue-components/v3/tab/Tabs.vue +24 -1
- package/vue-components/v3/table/Table.vue +453 -1
- package/vue-components/styles/components/_accordion.scss +0 -117
- package/vue-components/styles/components/_all.scss +0 -16
- package/vue-components/styles/components/_button.scss +0 -59
- package/vue-components/styles/components/_dropdown.scss +0 -32
- package/vue-components/styles/components/_left-sidebar.scss +0 -201
- package/vue-components/styles/components/_menu-content.scss +0 -527
- package/vue-components/styles/components/_modal.scss +0 -216
- package/vue-components/styles/components/_navbar.scss +0 -73
- package/vue-components/styles/components/_options.scss +0 -134
- package/vue-components/styles/components/_table.scss +0 -430
- package/vue-components/styles/components/_tabs.scss +0 -338
- /package/{vue-components/styles/base → base}/_video-player.scss +0 -0
- /package/{vue-components/styles/base → base}/utilities/_all.scss +0 -0
- /package/{vue-components/styles/base → base}/utilities/_colors.scss +0 -0
- /package/{vue-components/styles/base → base}/utilities/_customize-bulma.scss +0 -0
- /package/{vue-components/styles/base → base}/utilities/_extended.scss +0 -0
- /package/{vue-components/styles/base → base}/utilities/_global.scss +0 -0
- /package/{vue-components/styles/base → base}/utilities/_layouts.scss +0 -0
- /package/{vue-components/styles/base → base}/utilities/_mixin.scss +0 -0
- /package/{vue-components/styles/base → base}/utilities/_spacing.scss +0 -0
- /package/{vue-components/styles/base → base}/utilities/_typography.scss +0 -0
- /package/{vue-components/styles/components → components}/_ac-alert-box.scss +0 -0
- /package/{vue-components/styles/components → components}/_ac-calendar.scss +0 -0
- /package/{vue-components/styles/components → components}/_ac-code-highlight.scss +0 -0
- /package/{vue-components/styles/components → components}/_ac-content-layout.scss +0 -0
- /package/{vue-components/styles/components → components}/_ac-drag.scss +0 -0
- /package/{vue-components/styles/components → components}/_ac-select-box.scss +0 -0
- /package/{vue-components/styles/components → components}/_ac-tags.scss +0 -0
- /package/{vue-components/styles/components → components}/_add-card.scss +0 -0
- /package/{vue-components/styles/components → components}/_app-drawer.scss +0 -0
- /package/{vue-components/styles/components → components}/_breadcumb.scss +0 -0
- /package/{vue-components/styles/components → components}/_buttons.scss +0 -0
- /package/{vue-components/styles/components → components}/_card-body-wrapper.scss +0 -0
- /package/{vue-components/styles/components → components}/_dashboard-header.scss +0 -0
- /package/{vue-components/styles/components → components}/_direct-deploy.scss +0 -0
- /package/{vue-components/styles/components → components}/_getkeeper.scss +0 -0
- /package/{vue-components/styles/components → components}/_go-to-top.scss +0 -0
- /package/{vue-components/styles/components → components}/_graph.scss +0 -0
- /package/{vue-components/styles/components → components}/_image-upload.scss +0 -0
- /package/{vue-components/styles/components → components}/_input-card.scss +0 -0
- /package/{vue-components/styles/components → components}/_monaco-editor.scss +0 -0
- /package/{vue-components/styles/components → components}/_multi-select.scss +0 -0
- /package/{vue-components/styles/components → components}/_nested-list.scss +0 -0
- /package/{vue-components/styles/components → components}/_overview-info.scss +0 -0
- /package/{vue-components/styles/components → components}/_overview-page.scss +0 -0
- /package/{vue-components/styles/components → components}/_pagination.scss +0 -0
- /package/{vue-components/styles/components → components}/_payment-card.scss +0 -0
- /package/{vue-components/styles/components → components}/_preloader.scss +0 -0
- /package/{vue-components/styles/components → components}/_preview-modal.scss +0 -0
- /package/{vue-components/styles/components → components}/_pricing-table.scss +0 -0
- /package/{vue-components/styles/components → components}/_progress-bar.scss +0 -0
- /package/{vue-components/styles/components → components}/_report.scss +0 -0
- /package/{vue-components/styles/components → components}/_subscription-card.scss +0 -0
- /package/{vue-components/styles/components → components}/_table-of-content.scss +0 -0
- /package/{vue-components/styles/components → components}/_terminal.scss +0 -0
- /package/{vue-components/styles/components → components}/_tfa.scss +0 -0
- /package/{vue-components/styles/components → components}/_transitions.scss +0 -0
- /package/{vue-components/styles/components → components}/_widget-menu.scss +0 -0
- /package/{vue-components/styles/components → components}/_wizard.scss +0 -0
- /package/{vue-components/styles/components → components}/ac-toaster/_ac-toasted.scss +0 -0
- /package/{vue-components/styles/components → components}/bbum/_activities-header.scss +0 -0
- /package/{vue-components/styles/components → components}/bbum/_all.scss +0 -0
- /package/{vue-components/styles/components → components}/bbum/_card-team.scss +0 -0
- /package/{vue-components/styles/components → components}/bbum/_information-center.scss +0 -0
- /package/{vue-components/styles/components → components}/bbum/_left-sidebar.scss +0 -0
- /package/{vue-components/styles/components → components}/bbum/_mobile-desktop.scss +0 -0
- /package/{vue-components/styles/components → components}/bbum/_post.scss +0 -0
- /package/{vue-components/styles/components → components}/bbum/_sign-up-notification.scss +0 -0
- /package/{vue-components/styles/components → components}/bbum/_single-post-preview.scss +0 -0
- /package/{vue-components/styles/components → components}/bbum/_user-profile.scss +0 -0
- /package/{vue-components/styles/layouts → layouts}/_404.scss +0 -0
- /package/{vue-components/styles/layouts → layouts}/_all.scss +0 -0
- /package/{vue-components/styles/layouts → layouts}/_code-preview.scss +0 -0
|
@@ -63,7 +63,7 @@ const NavbarItemContent = defineAsyncComponent(
|
|
|
63
63
|
</template>
|
|
64
64
|
<template #navbar-content>
|
|
65
65
|
<navbar-item-content class="navbar-dropdown-wrapper" style="right: -30px">
|
|
66
|
-
<ul class="ac-scrollbar p-0
|
|
66
|
+
<ul class="ac-scrollbar p-0">
|
|
67
67
|
<li v-for="app in apps" :key="app.url">
|
|
68
68
|
<a :href="app.url">
|
|
69
69
|
<article class="media">
|
|
@@ -88,3 +88,123 @@ const NavbarItemContent = defineAsyncComponent(
|
|
|
88
88
|
</template>
|
|
89
89
|
</navbar-item>
|
|
90
90
|
</template>
|
|
91
|
+
|
|
92
|
+
<style lang="scss" scoped>
|
|
93
|
+
.ac-menu-content.app-drawer-dropdown {
|
|
94
|
+
li {
|
|
95
|
+
border-bottom: 1px solid $primary-90;
|
|
96
|
+
}
|
|
97
|
+
}
|
|
98
|
+
|
|
99
|
+
.ac-menu-content {
|
|
100
|
+
ul {
|
|
101
|
+
border-radius: 4px;
|
|
102
|
+
overflow: hidden;
|
|
103
|
+
background-color: $white-100;
|
|
104
|
+
border: 1px solid $primary-90;
|
|
105
|
+
// box-shadow: 0px 6px 16px rgba(0, 0, 0, 0.16);
|
|
106
|
+
max-height: calc(100vh - 100px);
|
|
107
|
+
overflow-y: auto;
|
|
108
|
+
|
|
109
|
+
li {
|
|
110
|
+
display: block;
|
|
111
|
+
font-size: 13px;
|
|
112
|
+
a {
|
|
113
|
+
display: block;
|
|
114
|
+
color: $primary-10 !important;
|
|
115
|
+
padding: 10px 20px !important;
|
|
116
|
+
font-size: 13px !important;
|
|
117
|
+
transition: 0.2s;
|
|
118
|
+
border-bottom: 1px solid $primary-90;
|
|
119
|
+
|
|
120
|
+
&:hover {
|
|
121
|
+
background-color: $primary-97 !important;
|
|
122
|
+
}
|
|
123
|
+
|
|
124
|
+
span {
|
|
125
|
+
margin-top: -3px;
|
|
126
|
+
}
|
|
127
|
+
|
|
128
|
+
&:hover {
|
|
129
|
+
.media-content {
|
|
130
|
+
.content {
|
|
131
|
+
p {
|
|
132
|
+
color: $primary-20;
|
|
133
|
+
}
|
|
134
|
+
}
|
|
135
|
+
}
|
|
136
|
+
}
|
|
137
|
+
|
|
138
|
+
.media {
|
|
139
|
+
.media-left {
|
|
140
|
+
.image {
|
|
141
|
+
img {
|
|
142
|
+
height: 24px;
|
|
143
|
+
width: auto;
|
|
144
|
+
}
|
|
145
|
+
}
|
|
146
|
+
}
|
|
147
|
+
|
|
148
|
+
.media-content {
|
|
149
|
+
overflow: hidden;
|
|
150
|
+
|
|
151
|
+
.content {
|
|
152
|
+
p {
|
|
153
|
+
vertical-align: middle;
|
|
154
|
+
line-height: 1;
|
|
155
|
+
transition: 0.3s;
|
|
156
|
+
|
|
157
|
+
strong {
|
|
158
|
+
font-weight: 600;
|
|
159
|
+
font-size: 14px;
|
|
160
|
+
// font-family: $font-heading;
|
|
161
|
+
}
|
|
162
|
+
|
|
163
|
+
span {
|
|
164
|
+
display: block;
|
|
165
|
+
font-size: 13px;
|
|
166
|
+
margin-top: 4px;
|
|
167
|
+
line-height: 150%;
|
|
168
|
+
}
|
|
169
|
+
}
|
|
170
|
+
}
|
|
171
|
+
}
|
|
172
|
+
}
|
|
173
|
+
}
|
|
174
|
+
|
|
175
|
+
&:hover {
|
|
176
|
+
> a {
|
|
177
|
+
background-color: $white-100;
|
|
178
|
+
}
|
|
179
|
+
}
|
|
180
|
+
|
|
181
|
+
&:first-child {
|
|
182
|
+
&:hover {
|
|
183
|
+
> a {
|
|
184
|
+
border-radius: 4px 4px 0 0;
|
|
185
|
+
}
|
|
186
|
+
}
|
|
187
|
+
}
|
|
188
|
+
|
|
189
|
+
&:last-child {
|
|
190
|
+
&:hover {
|
|
191
|
+
> a {
|
|
192
|
+
border-radius: 0 0 4px 4px;
|
|
193
|
+
}
|
|
194
|
+
}
|
|
195
|
+
}
|
|
196
|
+
}
|
|
197
|
+
}
|
|
198
|
+
|
|
199
|
+
position: absolute;
|
|
200
|
+
z-index: 99;
|
|
201
|
+
right: -154px;
|
|
202
|
+
top: 50px;
|
|
203
|
+
display: block;
|
|
204
|
+
transition: all 0.3s ease-in-out;
|
|
205
|
+
|
|
206
|
+
hr {
|
|
207
|
+
margin: 0;
|
|
208
|
+
}
|
|
209
|
+
}
|
|
210
|
+
</style>
|
|
@@ -44,4 +44,96 @@ withDefaults(defineProps<Props>(), {
|
|
|
44
44
|
</div>
|
|
45
45
|
</template>
|
|
46
46
|
|
|
47
|
-
<style lang="scss" scoped
|
|
47
|
+
<style lang="scss" scoped>
|
|
48
|
+
.ac-navbar-area {
|
|
49
|
+
position: fixed;
|
|
50
|
+
margin-left: 250px;
|
|
51
|
+
width: 100%;
|
|
52
|
+
top: 0;
|
|
53
|
+
z-index: 999;
|
|
54
|
+
background-color: $primary-97;
|
|
55
|
+
border-bottom: 1px solid $primary-90;
|
|
56
|
+
|
|
57
|
+
&.is-full {
|
|
58
|
+
margin-left: 0;
|
|
59
|
+
|
|
60
|
+
.ac-navbar {
|
|
61
|
+
grid-template-columns: 250px auto auto;
|
|
62
|
+
width: 100%;
|
|
63
|
+
gap: 20px;
|
|
64
|
+
.ac-navbar-brand {
|
|
65
|
+
padding-left: 15px;
|
|
66
|
+
}
|
|
67
|
+
}
|
|
68
|
+
}
|
|
69
|
+
|
|
70
|
+
.ac-navbar {
|
|
71
|
+
display: inline-grid;
|
|
72
|
+
grid-template-columns: auto auto;
|
|
73
|
+
// margin-left: 255px;
|
|
74
|
+
grid-gap: 0px;
|
|
75
|
+
align-items: center;
|
|
76
|
+
width: calc(100% - 255px);
|
|
77
|
+
height: 50px;
|
|
78
|
+
// padding: 0 15px;
|
|
79
|
+
|
|
80
|
+
.ac-navbar-brand {
|
|
81
|
+
display: flex;
|
|
82
|
+
align-items: center;
|
|
83
|
+
.logo {
|
|
84
|
+
font-size: 20px;
|
|
85
|
+
font-weight: 600;
|
|
86
|
+
color: $white-100;
|
|
87
|
+
}
|
|
88
|
+
|
|
89
|
+
img {
|
|
90
|
+
height: 30px;
|
|
91
|
+
}
|
|
92
|
+
}
|
|
93
|
+
.ac-navbar-cluster-switcher {
|
|
94
|
+
max-width: 350px;
|
|
95
|
+
}
|
|
96
|
+
.ac-navbar-menu {
|
|
97
|
+
display: flex;
|
|
98
|
+
align-items: center;
|
|
99
|
+
justify-content: flex-end;
|
|
100
|
+
|
|
101
|
+
.ac-menu-item {
|
|
102
|
+
position: relative;
|
|
103
|
+
z-index: 1;
|
|
104
|
+
}
|
|
105
|
+
}
|
|
106
|
+
}
|
|
107
|
+
}
|
|
108
|
+
// for sidebar-collapsed
|
|
109
|
+
.sidebar-collapsed {
|
|
110
|
+
.ac-navbar {
|
|
111
|
+
.ac-navbar-brand {
|
|
112
|
+
padding-left: 70px !important;
|
|
113
|
+
}
|
|
114
|
+
}
|
|
115
|
+
}
|
|
116
|
+
|
|
117
|
+
/****************************************
|
|
118
|
+
Responsive Classes
|
|
119
|
+
*****************************************/
|
|
120
|
+
// Extra small devices (portrait phones, less than 576px)
|
|
121
|
+
@media (max-width: 575.98px) {
|
|
122
|
+
}
|
|
123
|
+
|
|
124
|
+
// Small devices (landscape phones, 576px and up)
|
|
125
|
+
@media (min-width: 576px) and (max-width: 767.98px) {
|
|
126
|
+
}
|
|
127
|
+
|
|
128
|
+
// Medium devices (tablets, 768px and up)
|
|
129
|
+
@media (min-width: 768px) and (max-width: 991.98px) {
|
|
130
|
+
}
|
|
131
|
+
|
|
132
|
+
// Large devices (desktops, 992px and up)
|
|
133
|
+
@media (min-width: 992px) and (max-width: 1199.98px) {
|
|
134
|
+
}
|
|
135
|
+
|
|
136
|
+
// Extra large devices (large desktops, 1200px and up)
|
|
137
|
+
@media (min-width: 1200px) {
|
|
138
|
+
}
|
|
139
|
+
</style>
|
|
@@ -36,3 +36,68 @@ onClickOutside(navbarItem, () => (isActive.value = ""));
|
|
|
36
36
|
<slot name="navbar-content" />
|
|
37
37
|
</div>
|
|
38
38
|
</template>
|
|
39
|
+
|
|
40
|
+
<style lang="scss" scoped>
|
|
41
|
+
.ac-menu-item {
|
|
42
|
+
margin-left: 8px;
|
|
43
|
+
position: relative;
|
|
44
|
+
|
|
45
|
+
&.is-active {
|
|
46
|
+
.ac-nav-button {
|
|
47
|
+
&::after {
|
|
48
|
+
background-color: $primary-90;
|
|
49
|
+
}
|
|
50
|
+
}
|
|
51
|
+
}
|
|
52
|
+
|
|
53
|
+
&:first-child {
|
|
54
|
+
margin-left: 0;
|
|
55
|
+
}
|
|
56
|
+
&.ac-profile-button {
|
|
57
|
+
button.button.ac-nav-button {
|
|
58
|
+
width: 100%;
|
|
59
|
+
background-color: transparent;
|
|
60
|
+
border-radius: 0;
|
|
61
|
+
font-weight: 500;
|
|
62
|
+
border: none;
|
|
63
|
+
&::after {
|
|
64
|
+
border-radius: 0;
|
|
65
|
+
border: none;
|
|
66
|
+
background-color: transparent;
|
|
67
|
+
}
|
|
68
|
+
}
|
|
69
|
+
}
|
|
70
|
+
.ac-nav-button {
|
|
71
|
+
width: 32px;
|
|
72
|
+
height: 32px;
|
|
73
|
+
border-radius: 50%;
|
|
74
|
+
padding: 5px;
|
|
75
|
+
transition: all 0.3s ease-in-out;
|
|
76
|
+
position: relative;
|
|
77
|
+
z-index: 99;
|
|
78
|
+
user-select: none;
|
|
79
|
+
border: 1px solid $primary-80;
|
|
80
|
+
cursor: pointer;
|
|
81
|
+
&:after {
|
|
82
|
+
position: absolute;
|
|
83
|
+
content: "";
|
|
84
|
+
left: 0;
|
|
85
|
+
top: 0;
|
|
86
|
+
opacity: 1;
|
|
87
|
+
z-index: -1;
|
|
88
|
+
width: 100%;
|
|
89
|
+
height: 100%;
|
|
90
|
+
border-radius: 50%;
|
|
91
|
+
transition: 0.3s ease-in-out;
|
|
92
|
+
}
|
|
93
|
+
&:focus {
|
|
94
|
+
box-shadow: none;
|
|
95
|
+
}
|
|
96
|
+
&:hover {
|
|
97
|
+
&:after {
|
|
98
|
+
background-color: $primary-90;
|
|
99
|
+
}
|
|
100
|
+
}
|
|
101
|
+
}
|
|
102
|
+
}
|
|
103
|
+
</style>
|
|
@@ -5,3 +5,278 @@
|
|
|
5
5
|
<slot />
|
|
6
6
|
</div>
|
|
7
7
|
</template>
|
|
8
|
+
|
|
9
|
+
<style lang="scss" scoped>
|
|
10
|
+
.ac-menu-content {
|
|
11
|
+
position: absolute;
|
|
12
|
+
right: 0;
|
|
13
|
+
top: 80px;
|
|
14
|
+
min-width: 180px;
|
|
15
|
+
opacity: 0;
|
|
16
|
+
visibility: hidden;
|
|
17
|
+
transition: 0.3s ease-in;
|
|
18
|
+
width: 260px;
|
|
19
|
+
box-shadow: 0 0.5em 1em -0.125em rgba(10, 10, 10, 0.1),
|
|
20
|
+
0 0px 0 1px rgba(10, 10, 10, 0.02);
|
|
21
|
+
|
|
22
|
+
&.quick-access {
|
|
23
|
+
background-color: $white-100;
|
|
24
|
+
padding: 20px;
|
|
25
|
+
min-width: 260px !important;
|
|
26
|
+
max-height: 250px;
|
|
27
|
+
overflow-y: auto;
|
|
28
|
+
border-radius: 4px;
|
|
29
|
+
|
|
30
|
+
.header {
|
|
31
|
+
display: flex;
|
|
32
|
+
justify-content: space-between;
|
|
33
|
+
align-items: center;
|
|
34
|
+
border-bottom: 1px solid $primary-90;
|
|
35
|
+
padding-bottom: 20px;
|
|
36
|
+
|
|
37
|
+
p {
|
|
38
|
+
font-size: 13px;
|
|
39
|
+
color: $primary-10;
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
button {
|
|
43
|
+
background-color: transparent;
|
|
44
|
+
border: none;
|
|
45
|
+
cursor: pointer;
|
|
46
|
+
color: $primary-20;
|
|
47
|
+
}
|
|
48
|
+
}
|
|
49
|
+
|
|
50
|
+
.body-content {
|
|
51
|
+
margin-top: 20px;
|
|
52
|
+
|
|
53
|
+
p {
|
|
54
|
+
font-size: 13px;
|
|
55
|
+
color: $primary-10;
|
|
56
|
+
}
|
|
57
|
+
|
|
58
|
+
.organizations {
|
|
59
|
+
.organization {
|
|
60
|
+
display: flex;
|
|
61
|
+
align-items: center;
|
|
62
|
+
justify-content: space-between;
|
|
63
|
+
padding: 5px 0;
|
|
64
|
+
|
|
65
|
+
.org-info {
|
|
66
|
+
display: flex;
|
|
67
|
+
align-items: center;
|
|
68
|
+
|
|
69
|
+
img {
|
|
70
|
+
max-width: 30px;
|
|
71
|
+
margin-right: 10px;
|
|
72
|
+
object-fit: cover;
|
|
73
|
+
}
|
|
74
|
+
}
|
|
75
|
+
|
|
76
|
+
.remove {
|
|
77
|
+
border: none;
|
|
78
|
+
padding: 0;
|
|
79
|
+
font-size: 11px;
|
|
80
|
+
color: $danger;
|
|
81
|
+
background-color: transparent;
|
|
82
|
+
}
|
|
83
|
+
}
|
|
84
|
+
}
|
|
85
|
+
}
|
|
86
|
+
}
|
|
87
|
+
|
|
88
|
+
&::-webkit-scrollbar {
|
|
89
|
+
width: 7px;
|
|
90
|
+
}
|
|
91
|
+
|
|
92
|
+
/* Track */
|
|
93
|
+
&::-webkit-scrollbar-track {
|
|
94
|
+
background-color: #d1d4de;
|
|
95
|
+
border-radius: 10px;
|
|
96
|
+
}
|
|
97
|
+
|
|
98
|
+
/* Handle */
|
|
99
|
+
&::-webkit-scrollbar-thumb {
|
|
100
|
+
background-color: $primary-80;
|
|
101
|
+
border-radius: 10px;
|
|
102
|
+
}
|
|
103
|
+
|
|
104
|
+
/* Handle on hover */
|
|
105
|
+
&::-webkit-scrollbar-thumb:hover {
|
|
106
|
+
background-color: $primary-80;
|
|
107
|
+
}
|
|
108
|
+
|
|
109
|
+
// &:last-child {
|
|
110
|
+
// right: 0;
|
|
111
|
+
// }
|
|
112
|
+
|
|
113
|
+
&.is-notification {
|
|
114
|
+
right: 0;
|
|
115
|
+
background-color: $white-100;
|
|
116
|
+
box-shadow: 0px 4px 8px rgba(84, 101, 126, 0.2);
|
|
117
|
+
border-radius: 4px;
|
|
118
|
+
min-width: 330px;
|
|
119
|
+
max-height: 400px;
|
|
120
|
+
overflow-y: auto;
|
|
121
|
+
|
|
122
|
+
.notification-header {
|
|
123
|
+
padding: 20px 20px 6px 20px;
|
|
124
|
+
display: flex;
|
|
125
|
+
justify-content: space-between;
|
|
126
|
+
align-items: baseline;
|
|
127
|
+
|
|
128
|
+
.left-content {
|
|
129
|
+
p {
|
|
130
|
+
font-weight: 500;
|
|
131
|
+
font-size: 13px;
|
|
132
|
+
line-height: 19px;
|
|
133
|
+
margin-bottom: 15px;
|
|
134
|
+
|
|
135
|
+
span {
|
|
136
|
+
font-weight: normal;
|
|
137
|
+
}
|
|
138
|
+
|
|
139
|
+
&.date {
|
|
140
|
+
font-size: 11px;
|
|
141
|
+
line-height: 14px;
|
|
142
|
+
font-weight: normal;
|
|
143
|
+
margin-bottom: 0;
|
|
144
|
+
}
|
|
145
|
+
}
|
|
146
|
+
}
|
|
147
|
+
|
|
148
|
+
.right-content {
|
|
149
|
+
.button {
|
|
150
|
+
border: none;
|
|
151
|
+
margin: 0;
|
|
152
|
+
padding: 10px;
|
|
153
|
+
font-size: 13px;
|
|
154
|
+
|
|
155
|
+
&.is-active {
|
|
156
|
+
background-color: $primary;
|
|
157
|
+
color: $white-100;
|
|
158
|
+
|
|
159
|
+
img {
|
|
160
|
+
filter: brightness(100);
|
|
161
|
+
}
|
|
162
|
+
}
|
|
163
|
+
|
|
164
|
+
&:hover {
|
|
165
|
+
background-color: $primary;
|
|
166
|
+
color: $white-100;
|
|
167
|
+
|
|
168
|
+
img {
|
|
169
|
+
filter: brightness(100);
|
|
170
|
+
}
|
|
171
|
+
}
|
|
172
|
+
}
|
|
173
|
+
}
|
|
174
|
+
}
|
|
175
|
+
|
|
176
|
+
.notification-body {
|
|
177
|
+
.single-notification-item {
|
|
178
|
+
display: block;
|
|
179
|
+
border-top: 1px solid $primary-90;
|
|
180
|
+
padding: 15px 20px;
|
|
181
|
+
font-weight: 500;
|
|
182
|
+
|
|
183
|
+
&.is-complete {
|
|
184
|
+
font-weight: 400;
|
|
185
|
+
}
|
|
186
|
+
|
|
187
|
+
&:hover {
|
|
188
|
+
background-color: #d1e3f2;
|
|
189
|
+
}
|
|
190
|
+
|
|
191
|
+
p {
|
|
192
|
+
color: $primary-10;
|
|
193
|
+
font-size: 11px;
|
|
194
|
+
}
|
|
195
|
+
|
|
196
|
+
.notification-status {
|
|
197
|
+
margin-top: 10px;
|
|
198
|
+
display: flex;
|
|
199
|
+
align-items: center;
|
|
200
|
+
justify-content: space-between;
|
|
201
|
+
|
|
202
|
+
p {
|
|
203
|
+
font-size: 11px;
|
|
204
|
+
color: $primary-20;
|
|
205
|
+
|
|
206
|
+
&.is-success {
|
|
207
|
+
color: $success;
|
|
208
|
+
}
|
|
209
|
+
|
|
210
|
+
&.is-danger {
|
|
211
|
+
color: $danger;
|
|
212
|
+
}
|
|
213
|
+
|
|
214
|
+
&.is-warning {
|
|
215
|
+
color: $warning;
|
|
216
|
+
}
|
|
217
|
+
}
|
|
218
|
+
}
|
|
219
|
+
}
|
|
220
|
+
}
|
|
221
|
+
|
|
222
|
+
.see-all-message {
|
|
223
|
+
border-top: 1px solid $primary-90;
|
|
224
|
+
text-align: center;
|
|
225
|
+
font-weight: 500;
|
|
226
|
+
font-size: 13px;
|
|
227
|
+
color: $primary-10;
|
|
228
|
+
display: block;
|
|
229
|
+
padding: 10px 20px;
|
|
230
|
+
}
|
|
231
|
+
}
|
|
232
|
+
|
|
233
|
+
ul {
|
|
234
|
+
background-color: $white-100;
|
|
235
|
+
padding: 0;
|
|
236
|
+
// border-radius: 4px;
|
|
237
|
+
overflow: hidden;
|
|
238
|
+
|
|
239
|
+
li {
|
|
240
|
+
a {
|
|
241
|
+
display: block;
|
|
242
|
+
padding: 8px 15px;
|
|
243
|
+
color: $primary-10;
|
|
244
|
+
transition: 0.3s ease-in-out;
|
|
245
|
+
font-size: 13px;
|
|
246
|
+
|
|
247
|
+
&:hover {
|
|
248
|
+
background-color: $primary-95;
|
|
249
|
+
|
|
250
|
+
p {
|
|
251
|
+
color: $primary !important;
|
|
252
|
+
}
|
|
253
|
+
}
|
|
254
|
+
}
|
|
255
|
+
}
|
|
256
|
+
}
|
|
257
|
+
}
|
|
258
|
+
|
|
259
|
+
.ac-menu-item {
|
|
260
|
+
&.is-active {
|
|
261
|
+
.ac-menu-content {
|
|
262
|
+
opacity: 1;
|
|
263
|
+
visibility: visible;
|
|
264
|
+
top: 35px;
|
|
265
|
+
z-index: 99;
|
|
266
|
+
|
|
267
|
+
&::after {
|
|
268
|
+
position: absolute;
|
|
269
|
+
content: "";
|
|
270
|
+
right: 38px;
|
|
271
|
+
top: -6px;
|
|
272
|
+
background-color: $white-100;
|
|
273
|
+
width: 15px;
|
|
274
|
+
height: 15px;
|
|
275
|
+
transform: rotate(45deg);
|
|
276
|
+
box-shadow: 0px -1px 4px rgba(0, 0, 0, 0.16);
|
|
277
|
+
z-index: -1;
|
|
278
|
+
}
|
|
279
|
+
}
|
|
280
|
+
}
|
|
281
|
+
}
|
|
282
|
+
</style>
|