Skip to content

Commit 0dea419

Browse files
committed
chore: change menu icon style
1 parent e71cecf commit 0dea419

2 files changed

Lines changed: 27 additions & 39 deletions

File tree

TelegramDownloader/Shared/MainLayout.razor.css

Lines changed: 14 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -43,39 +43,33 @@ main {
4343

4444
/* Sidebar toggle button */
4545
.top-row ::deep .sidebar-toggle {
46-
width: 36px;
47-
height: 36px;
48-
border-radius: 50%;
46+
width: 40px;
47+
height: 40px;
48+
border-radius: 0.5rem;
4949
display: flex;
5050
align-items: center;
5151
justify-content: center;
52-
color: rgba(255, 255, 255, 0.85);
53-
background: linear-gradient(135deg, rgba(233, 69, 96, 0.8) 0%, rgba(233, 69, 96, 0.6) 100%);
54-
border: none;
55-
box-shadow: 0 2px 8px rgba(233, 69, 96, 0.3);
52+
color: rgba(255, 255, 255, 0.7);
53+
background: rgba(255, 255, 255, 0.05);
54+
border: 1px solid rgba(255, 255, 255, 0.1);
5655
cursor: pointer;
57-
transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
56+
transition: all 0.2s ease;
5857
}
5958

6059
.top-row ::deep .sidebar-toggle:hover {
61-
background: linear-gradient(135deg, rgba(233, 69, 96, 1) 0%, rgba(233, 69, 96, 0.8) 100%);
62-
color: #fff;
63-
transform: scale(1.1);
64-
box-shadow: 0 4px 16px rgba(233, 69, 96, 0.4);
65-
}
66-
67-
.top-row ::deep .sidebar-toggle:active {
68-
transform: scale(0.95);
69-
box-shadow: 0 2px 4px rgba(233, 69, 96, 0.3);
60+
background: rgba(233, 69, 96, 0.2);
61+
border-color: rgba(233, 69, 96, 0.3);
62+
color: #e94560;
63+
transform: scale(1.05);
7064
}
7165

7266
.top-row ::deep .sidebar-toggle i {
73-
font-size: 1.1rem;
74-
transition: transform 0.25s cubic-bezier(0.4, 0, 0.2, 1);
67+
font-size: 1.25rem;
68+
transition: transform 0.2s ease;
7569
}
7670

7771
.top-row ::deep .sidebar-toggle:hover i {
78-
transform: translateX(-3px);
72+
transform: translateX(-2px);
7973
}
8074

8175
/* Action buttons group */

TelegramDownloader/Shared/NavMenu.razor

Lines changed: 13 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -48,35 +48,29 @@
4848
}
4949
5050
.sidebar-toggler {
51-
width: 34px;
52-
height: 34px;
53-
border-radius: 50%;
51+
width: 36px;
52+
height: 36px;
53+
border-radius: 0.5rem;
5454
display: flex;
5555
align-items: center;
5656
justify-content: center;
57-
color: rgba(255, 255, 255, 0.85);
58-
background: linear-gradient(135deg, rgba(233, 69, 96, 0.8) 0%, rgba(233, 69, 96, 0.6) 100%);
59-
border: none;
60-
box-shadow: 0 2px 8px rgba(233, 69, 96, 0.3);
57+
color: rgba(255, 255, 255, 0.7);
58+
background: rgba(255, 255, 255, 0.05);
59+
border: 1px solid rgba(255, 255, 255, 0.1);
6160
cursor: pointer;
62-
transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
61+
transition: all 0.2s ease;
6362
}
6463
6564
.sidebar-toggler i {
66-
font-size: 1rem;
67-
transition: transform 0.25s cubic-bezier(0.4, 0, 0.2, 1);
65+
font-size: 1.1rem;
66+
transition: transform 0.2s ease;
6867
}
6968
7069
.sidebar-toggler:hover {
71-
background: linear-gradient(135deg, rgba(233, 69, 96, 1) 0%, rgba(233, 69, 96, 0.8) 100%);
72-
color: #fff;
73-
transform: scale(1.1);
74-
box-shadow: 0 4px 16px rgba(233, 69, 96, 0.4);
75-
}
76-
77-
.sidebar-toggler:active {
78-
transform: scale(0.95);
79-
box-shadow: 0 2px 4px rgba(233, 69, 96, 0.3);
70+
background: rgba(233, 69, 96, 0.2);
71+
border-color: rgba(233, 69, 96, 0.3);
72+
color: #e94560;
73+
transform: scale(1.05);
8074
}
8175
8276
.sidebar-toggler:hover i {

0 commit comments

Comments
 (0)