aboutsummaryrefslogtreecommitdiffhomepage
path: root/app/Resources/static/themes/material/css/nav.scss
blob: 147f163fd27674b126a25e34b61516a56b98c194 (plain) (blame)
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
132
133
134
135
136
137
138
/* ==========================================================================
   Nav
   ========================================================================== */
nav {
  height: auto;
  line-height: initial;
}

nav {
  input {
    color: #aaa;
  }

  ul a:hover {
    background-color: initial;
  }
}

.nav-panel-item .button-collapse {
  margin-left: 0;
  margin-right: 0.5rem;
  padding: 0 0.5rem;
  height: auto;
  line-height: 1;
  background-color: transparent;
  border: none;
}

.nav-panel-item {
  display: flex;
  padding: 0.6rem 0.4rem 0.6rem 0.75rem;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
}

.nav-panel-item .material-icons {
  height: 46px;
  line-height: 46px;
}

.nav-input {
  display: none;
}

.nav-panel-buttom {
  display: flex;
  flex-grow: 1;
  justify-content: flex-end;
}

.nav-panel-item .add,
.nav-panel-item .search,
.nav-panels .close {
  color: #444 !important;
}

.nav-panels {
  transition: background 0.2s ease;

  .action {
    margin: 0;
    font-size: 2.1rem;
  }

  .input-field input {
    display: block;
    line-height: inherit;
    height: 3rem;
  }

  .input-field input:focus {
    background-color: #fff;
    border: 0;
    box-shadow: none;
    color: #444;
  }
}

.nav-panel-top {
  display: flex;
  align-items: center;
}

.input-field {
  &.nav-panel-item label {
    left: 1rem;
  }

  &.nav-panel-item .close {
    color: transparent;
    cursor: pointer;
    font-size: 2rem;
    transition: 0.3s color;
  }

  &.nav-panel-item {
    display: flex;
    flex: 1;
    flex-wrap: nowrap;
    align-items: center;
  }

  &.nav-panel-add.disabled,
  &.nav-panel-add.disabled input {
    background-color: whitesmoke;
  }
}

.nav-form-button {
  padding: 0;
  background-color: transparent;
  border: none;

  &:focus {
    background-color: inherit;
  }
}

.nav-form-button,
.nav-panel-item .close {
  margin: 0 1%;
}

#button_filters {
  display: none;
}

#button_export {
  display: none;
}

@media (min-width: 993px) {
  .button-collapse {
    display: none;
  }
}