Skip to content

Commit 6136c3d

Browse files
committed
refactored styles
1 parent 9b56ce2 commit 6136c3d

File tree

15 files changed

+284
-346
lines changed

15 files changed

+284
-346
lines changed

src/assets/styles/components/index.scss

-2
This file was deleted.

src/assets/styles/components/sidebar.scss

-57
This file was deleted.

src/assets/styles/components/table.scss

-237
This file was deleted.

src/assets/styles/main.scss

-6
Original file line numberDiff line numberDiff line change
@@ -15,9 +15,3 @@
1515

1616
// normalize
1717
@import './normalize.scss';
18-
19-
// parts
20-
@import './parts/index.scss';
21-
22-
//components
23-
@import './components/index';

src/assets/styles/parts/_button.scss

-22
This file was deleted.

src/assets/styles/parts/_profile.scss

-20
This file was deleted.

src/assets/styles/parts/index.scss

-2
This file was deleted.
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
.sidebar__item {
2+
a {
3+
display: flex;
4+
border-left: 2px solid transparent;
5+
span {
6+
margin-left: auto;
7+
transform: rotate(90deg);
8+
transition: 0.3s all;
9+
}
10+
}
11+
&--active_parent {
12+
background: map-get($blue, 'dark-blue-grey');
13+
}
14+
&--active {
15+
border-left: 2px solid map-get($orange, 'base') !important;
16+
span {
17+
transform: rotate(-90deg) !important;
18+
}
19+
}
20+
&--active + ul {
21+
li.sidebar__item--active_parent {
22+
background-color: map-get($black, 'dark');
23+
}
24+
a {
25+
color: map-get($blue, 'cloudy-blue');
26+
&.sidebar__item--active {
27+
border-left-color: transparent !important;
28+
color: map-get($white, 'base');
29+
}
30+
}
31+
}
32+
}

src/modules/sidebar/components/sidebar-item/index.vue

+2
Original file line numberDiff line numberDiff line change
@@ -27,3 +27,5 @@
2727
</template>
2828

2929
<script lang="ts" src="./index.ts"></script>
30+
31+
<style lang='scss' src='./index.scss' scoped></style>

0 commit comments

Comments
 (0)