Project

General

Profile

Download (4.09 KB) Statistics
| Branch: | Tag: | Revision:
1
// Styles imported from Application_Menu.html
2
// App shell
3
  .app-shell {
4

    
5
    // Navigation bar background color
6
    $navigation-bar-bg-color: $v-background-color; /* $v-focus-color; */
7

    
8
    .custom-menubar {
9
      .v-menubar-menuitem {
10
        position: relative;
11
        :before {
12
          content: "";
13
          display: block;
14
          position: absolute;
15
          width: 100%;
16
          height: 1px;
17
          background: $v-focus-color;
18
          bottom: -20px;
19
          left: 0;
20
        }
21
      }
22
    }
23

    
24
    .navigation-bar {
25
      background: $navigation-bar-bg-color;
26
      z-index: 10000;
27
    }
28

    
29
    .logo {
30
      color: lighten($navigation-bar-bg-color, 40%);
31
      text-align: center;
32
      padding: $v-unit-size / 2 $v-unit-size / 4;
33
      font-size: $v-font-size * 1.1;
34
    }
35

    
36
    .view-title {
37
      font-size: $v-font-size * 1.1;
38
      color: lighten($v-font-color, 10%);
39
      padding: $v-unit-size / 2 $v-unit-size / 3;
40
    }
41

    
42
    .padding {
43
      padding: $v-unit-size / 3;
44
    }
45

    
46
    .padding-top {
47
      padding-top: $v-unit-size / 3;
48
    }
49

    
50
    .padding-right {
51
      padding-right: $v-unit-size / 3;
52
    }
53

    
54
    .padding-bottom {
55
      padding-bottom: $v-unit-size / 3;
56
    }
57

    
58
    .padding-left {
59
      padding-left: $v-unit-size / 3;
60
    }
61

    
62
    .content-section {
63
      background: lighten($v-background-color, 20%);
64
      border: valo-border($border: $v-border, $strength: 0.2);
65
      font-size: $v-font-size * .9;
66
      overflow-y: auto;
67
      overflow-x: hidden;
68
    }
69

    
70
    .menu {
71
      float: right;
72
      padding: 0 10px;
73
      line-height: $v-unit-size;
74
      color: lighten($navigation-bar-bg-color, 40%);
75
      display: none;
76

    
77
      .v-icon {
78
        line-height: 1;
79
        color: lighten($navigation-bar-bg-color, 60%);
80
        font-size: 16px;
81
      }
82
    }
83

    
84
    .navigation {
85
      border-top: 1px solid lighten($navigation-bar-bg-color, 7%);
86
      border-bottom: 1px solid lighten($navigation-bar-bg-color, 7%);
87
      background: darken($navigation-bar-bg-color, 4%);
88

    
89
      .v-icon {
90
        color: lighten($navigation-bar-bg-color, 25%);
91
      }
92

    
93
      .v-button {
94
        text-align: left;
95
        font-size: $v-font-size * .9;
96
        text-overflow: ellipsis;
97
        color: lighten($navigation-bar-bg-color, 40%);
98

    
99
        &.active, &:focus {
100
          color: lighten($navigation-bar-bg-color, 70%);
101

    
102
          .v-icon {
103
            color: lighten($navigation-bar-bg-color, 45%);
104
          }
105
        }
106

    
107
        // Removes the default focus border
108
        &:focus:after {
109
          content: none;
110
        }
111

    
112
        &.borderless:hover {
113
          background: darken($navigation-bar-bg-color, 7%);
114
        }
115
      }
116
    }
117

    
118
    // Responsive styles
119
    &[width-range~="601px-1000px"] {
120
      .navigation-bar-container {
121
        width: 80px !important;
122

    
123
        .logo {
124
          font-size: $v-font-size * .75;
125
        }
126

    
127
        .navigation .v-button {
128
          font-size: 26px;
129
          height: 60px;
130
          padding: 10px 6px;
131
          box-sizing: border-box;
132
          line-height: 1;
133

    
134
          &:before {
135
            content: none;
136
          }
137

    
138
          .v-button-wrap {
139
            width: 100%
140
          }
141

    
142
          .v-button-caption {
143
            font-size: $v-font-size * 0.6;
144
            margin: 0;
145
            width: 100%;
146
            float: left;
147
            margin-top: 3px;
148
            text-align: center;
149
          }
150

    
151
          .v-icon {
152
            width: 100%;
153
            float: left;
154
          }
155
        }
156
      }
157
    }
158

    
159
    &[width-range~="-600px"] {
160
      .navigation-bar-container {
161
        width: 0px !important;
162
      }
163

    
164
      .menu {
165
        display: block;
166
      }
167

    
168
      .navigation {
169
        display: none;
170
      }
171

    
172
      .navigation:hover, .navigation:active, .menu:focus + .navigation {
173
        display: inline-block;
174
      }
175

    
176
      .navigation-bar {
177
        position: fixed;
178
        width: 100%;
179
        height: $v-unit-size !important;
180
      }
181

    
182
      .logo {
183
        line-height: $v-unit-size;
184
        width: auto !important;
185
        float: left;
186
        padding: 0 $v-unit-size / 2.5;
187
        font-size: $v-font-size;
188
      }
189

    
190
      .content-container {
191
        padding-top: $v-unit-size;
192
      }
193
    }
194
  }
195

    
(2-2/5)