Skip to content

Commit

Permalink
style(popup-menu-web): revert style duplication
Browse files Browse the repository at this point in the history
  • Loading branch information
rahmanunver committed Oct 29, 2024
1 parent 2a55b59 commit 332fbb6
Showing 1 changed file with 1 addition and 82 deletions.
Original file line number Diff line number Diff line change
@@ -1,88 +1,7 @@
.popupmenu-trigger {
width: 100%;
position: relative;
cursor: pointer;
}

.popupmenu {
width: 100%;
position: relative;
display: flex;
overflow: visible;
}

ul.popupmenu-menu {
display: flex;
list-style-type: none;
padding-inline-start: 0;
z-index: 1;
}

.table .td > .popupmenu {
overflow: visible;
}

.popupmenu-menu {
width: max-content;
flex-direction: column;
background-color: #ffffff;
border-radius: 8px;
box-shadow: 0 2px 20px 1px rgba(5, 15, 129, 0.05), 0 2px 16px 0 rgba(33, 43, 54, 0.08);

.popupmenu-basic-item,
.popupmenu-custom-item {
&:first-child {
border-top-left-radius: 8px;
border-top-right-radius: 8px;
}

&:last-child {
border-bottom-left-radius: 8px;
border-bottom-right-radius: 8px;
}

&:hover,
&:focus,
&:active {
cursor: pointer;
border-color: #f5f6f6;
background-color: #f5f6f6;
}
}
}

.popupmenu-basic-divider {
height: 1px;
.popupmenu-trigger {
width: 100%;
background-color: #ced0d3;
}

.popupmenu-basic-item {
color: #555555;
font-size: 14px;
padding: 12px 16px;

&-inverse {
color: #252c36;
}

&-primary {
color: #0595db;
}

&-info {
color: #48b0f7;
}

&-success {
color: #76ca02;
}

&-warning {
color: #f99b1d;
}

&-danger {
color: #ed1c24;
}
}

0 comments on commit 332fbb6

Please sign in to comment.