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;
|
||||
gap: 48px;
|
||||
|
||||
& > * {
|
||||
user-select: none;
|
||||
}
|
||||
|
||||
.menu-item, a:not(.settings) {
|
||||
text-decoration: none;
|
||||
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 {
|
||||
height: auto;
|
||||
@@ -100,21 +120,5 @@
|
||||
flex-grow: 1;
|
||||
justify-content: flex-end;
|
||||
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);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user