openreplay/frontend/app/components/ui/ItemMenu/itemMenu.module.css
Delirium d604f9920b
feat ui: dashboards redesign (#2230)
* feat ui: dashboards redesign start

* more cards

* fix ui: more different cards...

* feat ui: finish cards, all trigger, all icons

* change(ui): added missin const

* feature(ui): new dashboard modal

* feature(ui): new dashboard modal

* change(ui): new cards

* change(ui): dashboard redesign

* change(ui): dashboard redesign

* change(ui): dashboard redesign

* change(ui): modal context and alert form

* change(ui): table card show more with modal

* change(ui): examples

* change(ui): example categorize and other improvements

* change(ui): example categorize and other improvements

* change(ui): performance cards

* change(ui): insights card

* Various style updates in dashboards and other pages. (#2308)

* Various minor style updates

* Various style improvements

* Update ExampleCards.tsx

* change(ui): fixed an issue with card create

* change(ui): fixed an issue with card create

* change(ui): default filters and events order

* change(ui): random data

* Dashboards redesign - improvments (#2313)

* Various minor style updates

* Various style improvements

* Update ExampleCards.tsx

* various minor improvements in dashbaords.

* revised dashboard widget header

* change(ui): sessions by user

* change(ui): funnel example

* change(ui): modal height and scroll

* change(ui): example cards with data

* change(ui): example cards with data

* change(ui): funnel bar text color

* change(ui): example cards overlay click

* change(ui): path analysis filter card

---------

Co-authored-by: Shekar Siri <sshekarsiri@gmail.com>
Co-authored-by: Sudheer Salavadi <connect.uxmaster@gmail.com>
2024-06-27 19:47:34 +02:00

104 lines
1.7 KiB
CSS

@import 'icons.css';
.wrapper {
position: relative;
display: inline-block;
}
.menuBtn {
@mixin icon-before ellipsis-v, $gray-darkest, 18px {
margin: 5px;
}
width: 36px;
height: 36px;
/* border-radius: 18px; */
border: 1px solid transparent;
transition: all 0.2s;
margin: 0 auto;
cursor: pointer;
&:hover {
border-color: $active-blue-border;
transition: all 0.2s;
background-color: #fff;
}
}
.menuDim {
border: none!important;
box-shadow: 0 1px 3px 0 $gray-light!important;
& .menuItem {
color: $gray-dark!important;
}
}
.menu {
&[data-displayed=false] {
display: none;
}
white-space: nowrap;
z-index: 20;
/* position: absolute; */
/* right: 0px; */
/* top: 37px; */
min-width: 150px;
background-color: $white;
border: 1px solid rgba(34,36,38,.15);
box-shadow: 0 2px 3px 0 rgb(34 36 38 / 15%);
border-radius: 0.5rem;
& .menuItem {
cursor: pointer;
padding: 10px;
color: black;
display: flex;
align-items: center;
border-bottom: 1px solid $gray-light;
& .iconWrapper {
width: 13px;
height: 13px ;
margin-right: 8px;
}
&:hover {
background-color: $active-blue;
color: $teal;
}
&:last-child {
border: none;
}
& .edit {
@mixin icon pencil, $gray-medium, 15px;
margin-right: 10px;
}
& .copy {
@mixin icon copy, $gray-medium, 15px;
margin-right: 10px;
}
& .remove {
@mixin icon trash, $gray-medium, 15px;
margin-right: 10px;
}
& .enabled {
@mixin icon eye, $gray-medium, 15px;
margin-right: 10px;
}
& .disabled {
@mixin icon eye-slash, $gray-medium, 15px;
margin-right: 10px;
}
}
}