]> git.immae.eu Git - github/wallabag/wallabag.git/blame - app/Resources/static/themes/material/css/nav.scss
Merge pull request #4385 from Simounet/feat/side-nav-hidden-mobile-add-tag
[github/wallabag/wallabag.git] / app / Resources / static / themes / material / css / nav.scss
CommitLineData
64f81bc3
TC
1
2/* ==========================================================================
3 Nav
4 ========================================================================== */
2831e77c 5nav {
64f81bc3 6 height: auto;
93e3329c
S
7 line-height: initial;
8}
64f81bc3 9
93e3329c 10nav {
64f81bc3
TC
11 input {
12 color: #aaa;
13 }
14
15 ul a:hover {
16 background-color: initial;
17 }
18}
19
2831e77c
S
20.nav-panel-item .button-collapse {
21 margin-left: 0;
22 margin-right: 0.5rem;
23 padding: 0 0.5rem;
24 height: auto;
25 line-height: 1;
26 background-color: transparent;
27 border: none;
28}
29
30.nav-panel-item {
64f81bc3 31 display: flex;
93e3329c 32 padding: 0.6rem 0.4rem 0.6rem 0.75rem;
64f81bc3
TC
33 flex-wrap: wrap;
34 justify-content: space-between;
93e3329c 35 align-items: center;
64f81bc3
TC
36}
37
2831e77c 38.nav-panel-item .material-icons {
93e3329c
S
39 height: 46px;
40 line-height: 46px;
41}
42
64f81bc3
TC
43.nav-input {
44 display: none;
45}
46
47.nav-panel-buttom {
48 display: flex;
49 flex-grow: 1;
50 justify-content: flex-end;
64f81bc3
TC
51}
52
2831e77c
S
53.nav-panel-item .add,
54.nav-panel-item .search,
64f81bc3
TC
55.nav-panels .close {
56 color: #444 !important;
57}
58
59.nav-panels {
60 transition: background 0.2s ease;
61
62 .action {
93e3329c 63 margin: 0;
64f81bc3 64 font-size: 2.1rem;
64f81bc3
TC
65 }
66
67 .input-field input {
68 display: block;
69 line-height: inherit;
63771b9a 70 height: 3rem;
64f81bc3
TC
71 }
72
73 .input-field input:focus {
74 background-color: #fff;
75 border: 0;
76 box-shadow: none;
77 color: #444;
78 }
79}
80
93e3329c
S
81.nav-panel-top {
82 display: flex;
83 align-items: center;
84}
85
64f81bc3 86.input-field {
2831e77c 87 &.nav-panel-item label {
64f81bc3
TC
88 left: 1rem;
89 }
90
2831e77c 91 &.nav-panel-item .close {
64f81bc3
TC
92 color: transparent;
93 cursor: pointer;
94 font-size: 2rem;
95 transition: 0.3s color;
96 }
97
2831e77c 98 &.nav-panel-item {
64f81bc3
TC
99 display: flex;
100 flex: 1;
2831e77c 101 flex-wrap: nowrap;
63771b9a 102 align-items: center;
64f81bc3 103 }
3d46eeeb 104
2831e77c
S
105 &.nav-panel-add.disabled,
106 &.nav-panel-add.disabled input {
3d46eeeb
KD
107 background-color: whitesmoke;
108 }
64f81bc3
TC
109}
110
f86c2b5f 111.nav-form-button {
2831e77c 112 padding: 0;
f86c2b5f
S
113 background-color: transparent;
114 border: none;
115
116 &:focus {
117 background-color: inherit;
118 }
119}
120
2831e77c
S
121.nav-form-button,
122.nav-panel-item .close {
123 margin: 0 1%;
124}
125
64f81bc3
TC
126#button_filters {
127 display: none;
128}
129
130#button_export {
131 display: none;
132}
da2a5fe2 133
cfd77d1c
S
134.entry-nav-top--sticky {
135 position: sticky;
136 top: 0;
137}
138
da2a5fe2
S
139@media (min-width: 993px) {
140 .button-collapse {
141 display: none;
142 }
143}
d9a68f6c
NL
144
145.dropdown-content {
146 min-width: 300px;
147
148 .material-icons {
149 line-height: initial !important;
150 }
151
152 li > a {
153 padding: 10px;
154 }
155}