aboutsummaryrefslogtreecommitdiff
path: root/frontend/src/css/Button.module.css
blob: d1c3ad797c39adc4f6e9e6739ab73d31daf058f2 (plain) (blame)
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
78
79
80
81
82
83
84
85
86
87
88
89
90
91
.default, .defaultWide, .sidebar, .logout {
	border: none;
	border-radius: 24px;
	padding: 5px 10px;
	background-color: #2b2e46;
	font-family: BarlowSemiCondensed-Regular;
	color: #CDCFDF;
	font-size: 18px;
	cursor: pointer;
	transition: all 0.2s ease;
}

.sidebar.selected {
	background-color: #202232;
}

.sidebar.selected:hover {
	background-color: #202232;
}

.default:hover, .defaultWide:hover, .sidebar:hover {
	background-color: rgb(38, 42, 62);
}

.defaultWide {
	width: 100%;
}

.default.error, .defaultWide.error {
	background-color: rgb(147, 45, 45);
}

.default.error:hover, .defaultWide.error {
	background-color: rgb(105, 36, 36);
}

.sidebar {
	display: flex;
	width: 100%;
	align-items: center;
	font-family: BarlowSemiCondensed-Regular;
	padding: 8px 12px;
	height: 42px;
	padding-right: 4px;
	text-wrap: nowrap;
	transition: all 0.2s ease;
}

.sidebar.min {
	padding: 8px 9px;
}

.sidebar.min>span {
	opacity: 0;
	animation: sidebar_text_out 0.2s ease;
	transform: translateX(-200px);
}

.sidebar img {
	height: 24px;
}

.sidebar.profile>img {
	border-radius: 24px;
}

.sidebar>span {
	padding: 0px 8px;
	transition: all 0.2s ease;
}

.logout {
	background-color: #00000000;
	display: flex;
	align-items: center;
}

@keyframes sidebar_text_out {
	0% {
		opacity: 1;
		transform: translateX(0px);
	}
	50% {
		opacity: 0;
		transform: translateX(0px);
	}
	60%, 100% {
		transform: translateX(-200px);
	}
}