aboutsummaryrefslogtreecommitdiffhomepage
path: root/app/Resources/static/themes/material/css/nav.scss
diff options
context:
space:
mode:
Diffstat (limited to 'app/Resources/static/themes/material/css/nav.scss')
-rw-r--r--app/Resources/static/themes/material/css/nav.scss70
1 files changed, 38 insertions, 32 deletions
diff --git a/app/Resources/static/themes/material/css/nav.scss b/app/Resources/static/themes/material/css/nav.scss
index 99a048b0..147f163f 100644
--- a/app/Resources/static/themes/material/css/nav.scss
+++ b/app/Resources/static/themes/material/css/nav.scss
@@ -2,8 +2,7 @@
2/* ========================================================================== 2/* ==========================================================================
3 Nav 3 Nav
4 ========================================================================== */ 4 ========================================================================== */
5nav, 5nav {
6.nav-wrapper {
7 height: auto; 6 height: auto;
8 line-height: initial; 7 line-height: initial;
9} 8}
@@ -18,25 +17,25 @@ nav {
18 } 17 }
19} 18}
20 19
21.nav-wrapper { 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 {
22 display: flex; 31 display: flex;
23 padding: 0.6rem 0.4rem 0.6rem 0.75rem; 32 padding: 0.6rem 0.4rem 0.6rem 0.75rem;
24 flex-wrap: wrap; 33 flex-wrap: wrap;
25 justify-content: space-between; 34 justify-content: space-between;
26 align-items: center; 35 align-items: center;
27
28 .button-collapse {
29 margin-left: 0;
30 margin-right: 0.5rem;
31 padding: 0 0.5rem;
32 height: auto;
33 line-height: 1;
34 background-color: transparent;
35 border: none;
36 }
37} 36}
38 37
39nav .nav-wrapper i { 38.nav-panel-item .material-icons {
40 height: 46px; 39 height: 46px;
41 line-height: 46px; 40 line-height: 46px;
42} 41}
@@ -51,8 +50,8 @@ nav .nav-wrapper i {
51 justify-content: flex-end; 50 justify-content: flex-end;
52} 51}
53 52
54.nav-panel-add .add, 53.nav-panel-item .add,
55.nav-panel-search .search, 54.nav-panel-item .search,
56.nav-panels .close { 55.nav-panels .close {
57 color: #444 !important; 56 color: #444 !important;
58} 57}
@@ -68,9 +67,7 @@ nav .nav-wrapper i {
68 .input-field input { 67 .input-field input {
69 display: block; 68 display: block;
70 line-height: inherit; 69 line-height: inherit;
71 padding-left: 4rem !important; 70 height: 3rem;
72 width: calc(100% - 8rem);
73 height: 4.1rem;
74 } 71 }
75 72
76 .input-field input:focus { 73 .input-field input:focus {
@@ -87,36 +84,45 @@ nav .nav-wrapper i {
87} 84}
88 85
89.input-field { 86.input-field {
90 &.nav-panel-add label, 87 &.nav-panel-item label {
91 &.nav-panel-search label {
92 left: 1rem; 88 left: 1rem;
93 } 89 }
94 90
95 &.nav-panel-add .close, 91 &.nav-panel-item .close {
96 &.nav-panel-search .close {
97 position: absolute;
98 top: 0;
99 right: 1rem;
100 color: transparent; 92 color: transparent;
101 cursor: pointer; 93 cursor: pointer;
102 font-size: 2rem; 94 font-size: 2rem;
103 transition: 0.3s color; 95 transition: 0.3s color;
104 } 96 }
105 97
106 &.nav-panel-add, 98 &.nav-panel-item {
107 &.nav-panel-add form,
108 &.nav-panel-search,
109 &.nav-panel-search form {
110 display: flex; 99 display: flex;
111 flex: 1; 100 flex: 1;
101 flex-wrap: nowrap;
102 align-items: center;
112 } 103 }
113 104
114 &.nav-panel-add form.disabled, 105 &.nav-panel-add.disabled,
115 &.nav-panel-add form.disabled input { 106 &.nav-panel-add.disabled input {
116 background-color: whitesmoke; 107 background-color: whitesmoke;
117 } 108 }
118} 109}
119 110
111.nav-form-button {
112 padding: 0;
113 background-color: transparent;
114 border: none;
115
116 &:focus {
117 background-color: inherit;
118 }
119}
120
121.nav-form-button,
122.nav-panel-item .close {
123 margin: 0 1%;
124}
125
120#button_filters { 126#button_filters {
121 display: none; 127 display: none;
122} 128}