Add Non-Selectable Property to Header Menu
This commit is contained in:
1 parent
7b5ba462cb
commit
7b1b47fd05
2 files changed
+22
-16
No files matched your search
@@ -24,6 +24,10 @@
|
|||||||
align-items: center;
|
align-items: center;
|
||||||
gap: 48px;
|
gap: 48px;
|
||||||
|
|
||||||
|
& > * {
|
||||||
|
user-select: none;
|
||||||
|
}
|
||||||
|
|
||||||
.menu-item, a:not(.settings) {
|
.menu-item, a:not(.settings) {
|
||||||
text-decoration: none;
|
text-decoration: none;
|
||||||
font-size: 18px;
|
font-size: 18px;
|
||||||
@@ -56,6 +60,22 @@
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.settings {
|
||||||
|
border: none;
|
||||||
|
border-radius: 100%;
|
||||||
|
background-color: inherit;
|
||||||
|
padding: 0;
|
||||||
|
|
||||||
|
position: relative;
|
||||||
|
z-index: 10;
|
||||||
|
cursor: pointer;
|
||||||
|
transition: transform 0.3s ease;
|
||||||
|
|
||||||
|
&:hover {
|
||||||
|
transform: rotate(30deg);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
/* 구체적인 아이콘 예외 처리 */
|
/* 구체적인 아이콘 예외 처리 */
|
||||||
.icon-40 {
|
.icon-40 {
|
||||||
height: auto;
|
height: auto;
|
||||||
@@ -100,21 +120,5 @@
|
|||||||
flex-grow: 1;
|
flex-grow: 1;
|
||||||
justify-content: flex-end;
|
justify-content: flex-end;
|
||||||
padding: 12px 20px;
|
padding: 12px 20px;
|
||||||
|
|
||||||
.settings {
|
|
||||||
border: none;
|
|
||||||
border-radius: 100%;
|
|
||||||
background-color: inherit;
|
|
||||||
padding: 0;
|
|
||||||
|
|
||||||
position: relative;
|
|
||||||
z-index: 10;
|
|
||||||
cursor: pointer;
|
|
||||||
transition: transform 0.3s ease;
|
|
||||||
|
|
||||||
&:hover {
|
|
||||||
transform: rotate(30deg);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -1,5 +1,6 @@
|
|||||||
:host {
|
:host {
|
||||||
display: block;
|
display: block;
|
||||||
|
user-select: none;
|
||||||
}
|
}
|
||||||
|
|
||||||
.profile-section {
|
.profile-section {
|
||||||
@@ -37,6 +38,7 @@
|
|||||||
display: block;
|
display: block;
|
||||||
font-weight: 500;
|
font-weight: 500;
|
||||||
font-size: 14px;
|
font-size: 14px;
|
||||||
|
height: 15px;
|
||||||
color: oklch(0.6830 0 0); // #999999
|
color: oklch(0.6830 0 0); // #999999
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user