aboutsummaryrefslogtreecommitdiffhomepage
path: root/app/Resources/static/themes/material/css/nav.scss
blob: 1a25a5beb4f405bdcc9711536bd91d882bee8f06 (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
/* ==========================================================================
   Nav
   ========================================================================== */

nav {
  height: auto;

  input {
    color: #aaa;
  }

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

.nav-wrapper {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  min-height: 64px;

  .button-collapse {
    padding: 0 15px;
  }
}

.nav-input {
  display: none;
}

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

  li {
    max-height: 64px;
  }
}

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

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

  .action {
    padding-left: 0.75rem;
    font-size: 2.1rem;
    white-space: nowrap;
  }

  .input-field input {
    display: block;
    line-height: inherit;
    padding-left: 4rem !important;
    width: calc(100% - 8rem);
    height: 4.1rem;
  }

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

.input-field {
  &.nav-panel-add label,
  &.nav-panel-search label {
    left: 1rem;
  }

  &.nav-panel-add .close,
  &.nav-panel-search .close {
    position: absolute;
    top: 0;
    right: 1rem;
    color: transparent;
    cursor: pointer;
    font-size: 2rem;
    transition: 0.3s color;
  }

  &.nav-panel-add,
  &.nav-panel-add form,
  &.nav-panel-search,
  &.nav-panel-search form {
    display: flex;
    flex: 1;
  }
}

#button_filters {
  display: none;
}

#button_export {
  display: none;
}