Debian Codegraph @

addons/point_of_sale/static/src/app/components/navbar/navbar.scss

raw
1 .pos-logo {
2 height: $pos-navbar-height / 1.5;
3 min-width: $pos-navbar-height * 2;
4 background-image: var(--navbar-logo, url("/web/static/img/odoo_logo.svg"));
5 background-size: contain;
6 background-position: center;
7 background-repeat: no-repeat;
8 }
9
10 .pos .status-buttons {
11 .avatar {
12 height: 24px;
13 }
14 }
15
16 .pos .menu {
17 z-index: $zindex-dropdown;
18 }
19
20 .pos .sub-menu {
21 top: $pos-navbar-height * 2/3;
22 right: $pos-navbar-height * -1/3 ;
23 }
24
25 .pos .dropdown-menu {
26 padding: 0;
27 }
28
29 .pos .o-dropdown-item {
30 padding: map-get($spacers, 2);
31 border-radius: $border-radius;
32
33 &:hover {
34 background-color: $o-gray-200;
35 }
36 }
37
38 .pos .o-dropdown--menu .dropdown-item.focus {
39 background-color: $o-gray-200;
40 }
41
42 @include media-breakpoint-up(lg) {
43 .pos-leftheader, .pos-rightheader {
44 max-width: 40%;
45 }
46 .pos .navbar-menu > button {
47 min-width: 96px;
48 }
49 }