forked from githru/githru-vscode-ext
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathThemeSelector.scss
More file actions
77 lines (65 loc) · 1.25 KB
/
Copy pathThemeSelector.scss
File metadata and controls
77 lines (65 loc) · 1.25 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
@import "styles/app";
.theme-selector {
position: relative;
svg {
cursor: pointer;
}
&__container {
position: absolute;
top: 2.5rem;
left: 0;
padding: 1.25rem;
background-color: var(--color-grey-100);
border-radius: 0.3rem 1.5rem 1.5rem 1.5rem;
z-index: 10;
display: flex;
flex-direction: column;
gap: 0.625rem;
}
&__list {
display: flex;
justify-content: space-between;
gap: 0.125rem;
}
&__header {
@extend .theme-selector__list;
font-size: $font-size-title;
font-weight: $font-weight-semibold;
}
}
.theme-icon {
display: flex;
flex-direction: column;
align-items: center;
justify-items: center;
gap: 1rem;
padding: 0.625rem;
box-sizing: border-box;
&:hover,
&--selected {
@extend .theme-icon;
background-color: #4f5662;
border-radius: 0.625rem;
cursor: pointer;
}
&__container {
position: relative;
margin: auto;
display: flex;
justify-items: center;
align-items: center;
}
&__color {
width: 2.625rem;
height: 2.625rem;
border-radius: 100%;
margin-left: -0.75rem;
&:nth-child(1) {
margin-left: 0;
}
}
&__title {
font-size: $font-size-body;
font-weight: $font-weight-regular;
}
}