aboutsummaryrefslogtreecommitdiff
path: root/Neutron-trunk/resources/css/admin_v2/navigation.css
blob: e45e54f06149c3dd58009fc06c0fca5e9cc28333 (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
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
#nav-header {
    display: grid;
    grid-template-columns: 64px 1fr;
    margin: 30px 20px;
    cursor: default;
}

#nav-header-icon {
    background: rgba(17, 17, 17, .5);
    width: 64px;
    height: 64px;
    border-radius: 999px;
}

#nav-header-names-outer {
    margin-left: 15px;
    display: flex;
    align-items: center;
}

.nav-item-icon {
    vertical-align: middle;
    width: 24px;
    margin-left: 10px;
}

.nav-item-name {
    vertical-align: middle;
    margin-left: 5px;
}

.nav-item {
    padding: 7px 0;
    border-left: 3px solid transparent;
    border-radius: 5px;
    margin-left: 5px;
    cursor: default;
}

.nav-item.selected {
    background: rgba(200, 200, 200, .25);
    border-left: 3px solid var(--codename-light);
}

.nav-item:not(.selected):hover {
    background: rgba(200, 200, 200, .1);
}

.nav-item:not(.selected):focus, .nav-item:not(.selected):active {
    background: rgba(200, 200, 200, .25);
}

.main-title-home {
    top: -6px;
    filter: invert(1);
    width: 24px;
    display: inline-block;
    left: 2px;
    position: relative;
}

.main-title-home-outer {
    display: none;
    height: 28px;
    display: inline-block;
    padding: 2px;
    width: 28px;
    position: relative;
    top: 8px;
    border-radius: 5px;
}

.main-title-home-outer:hover {
    background: rgba(0, 0, 0, .5);
}

.main-title-home-outer:active, .main-title-home-outer:focus {
    background: rgba(0, 0, 0, .75);
}

#nav-header {
    border-radius: 5px;
    margin: 20px 20px;
    text-decoration: none;
    padding: 10px 10px;
    cursor: default;
}

#nav-header:focus, #nav-header:active {
    background: rgba(200, 200, 200, .25) !important;
}

#nav-header:hover {
    background: rgba(200, 200, 200, .1);
}

@media (max-width: 700px) {
    #nav-header-names-outer {
        display: none !important;
    }

    aside {
        width: 64px !important;
    }

    .nav-item-name {
        display: none !important;
    }

    .nav-item {
        width: 45px !important;
    }

    #main-content {
        left: 64px !important;
        top: 0 !important;
        bottom: 0 !important;
        right: 0 !important;
        margin: 30px 20px !important;
    }

    #nav-header-icon {
        width: 32px !important;
        height: 32px !important;
    }

    #nav-header {
        grid-template-columns: 32px 1fr !important;
        margin: 5px 5px !important;
    }
}