summaryrefslogtreecommitdiff
path: root/backend_theme_v14/static/src/scss/sidebar.scss
blob: 158a1487494269e313753d3303479ef87b74b488 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
/* Copyright 2016, 2018 Openworx.
 * License LGPL-3.0 or later (http://www.gnu.org/licenses/lgpl). */

/* App Sidebar Panel */

$odoo-sidebar-width: 180px;

.app-sidebar-panel {
	flex: 0 0 $odoo-sidebar-width;	
    background-color: $gray-base;
    height: calc(100% - 46px) !important;
    //height: 100% !important;
    overflow-y: auto;
    @media (max-width: 768px) {
      display: none;
    }
}

/* @media (min-width: 768px) {
	.o_menu_apps {
		display: none !important;
	}
} */

//.app-sidebar-panel:hover {
//    @include o-flex(0, 0, $odoo-sidebar-width);
//}

.app-sidebar {
    white-space: nowrap;
    padding: 0;
    .app-sidebar-menu {
    list-style: none;
    margin: 0;
    padding: 0;
    >li {
        display: block;
        margin: 0;
        padding: 0;
        border: 0px;
        >a {
            display: block;
            position: relative;
            margin: 0;
            border: 0px;
            padding: 8px 15px;
            text-decoration: none;
            font-size: 13px;
            font-weight: 300;
            color: $gray-lighter;
            overflow: hidden;
            text-overflow: ellipsis;
        }
    }
        > li:hover > a{
	    background: darken(#0099ff, 15%);
	    color: #fff;
        }
    }
}

.app-sidebar-menuitem {
    width: 23px;
    height: 22px;
    margin-right: 5px;
}

.toggle-sidebar {
    display: none;
}