Welcome to mirror list, hosted at ThFree Co, Russian Federation.

menu.less « stylesheets « CoreHome « plugins - github.com/matomo-org/matomo.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 76c8b9023808fa5a7673f78f672d547e4b918121 (plain)
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
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
.Menu--dashboard {
  position: relative;

  .menuDropdown {

    .items {
      width: 250px;

      .search {
        margin: 15px 16px 10px 17px;
      }

      .item {
        padding: 10px 16px 4px !important;
        min-height: 25px;
        height: auto;
      }
    }

    .title {
      color: @theme-color-menu-contrast-text;
      display: block;
      padding: 15px 22px 11px;
      font-size: 15px;
      font-weight: normal;

      &:hover {
        color: @theme-color-menu-contrast-textActive;
      }

      &:after {
        color: @theme-color-menu-contrast-text;
        border-top: 5px solid @theme-color-menu-contrast-text;
        top: 20px;
        right: 3px;
      }
    }
  }
}

.Menu--dashboard > .Menu-tabList {
    line-height: 1;
    display: table;      // The nav has the height og his children
    margin-bottom: -1px; // Allow tabs to merge with the submenu
}

.Menu--dashboard > .Menu-tabList ul {
    background: @theme-color-background-base; /*IE6 needs this*/
    float: left;
    position: relative;
}

/* LEVEL1 NORMAL */
.Menu--dashboard > .Menu-tabList > li {
    background: #f1f1f1;
    float: left;
    list-style: none;
    z-index: 49;
    margin-right: -1px;
    border: 1px solid #ddd;
    border-bottom: 0;
    border-radius: 4px 4px 0 0;
}

.Menu--dashboard > .Menu-tabList a {
    color: @theme-color-text-light;
    font-size: 18px;
    display: block;
    float: left;
    padding: 8px 27px 0;
    height: 50px;
    text-decoration: none;
    font-weight: normal;
}

/* LEVEL1 HOVER */
.Menu--dashboard > .Menu-tabList > li:hover,
.Menu--dashboard > .Menu-tabList > li.sfHover {
    background: @theme-color-background-base;
}

.Menu--dashboard > .Menu-tabList > li:hover > a,
.Menu--dashboard > .Menu-tabList > li.sfHover > a,
.Menu--dashboard > .Menu-tabList > li.sfActive > a,
.Menu--dashboard > .Menu-tabList a:hover {
    color: @theme-color-link;
}

.Menu--dashboard > .Menu-tabList > li:hover > a {
    text-decoration: underline;
}

.Menu--dashboard > .Menu-tabList > li.sfHover > a {
    border-bottom: 1px solid #fff;
}

/* LEVEL2 NORMAL */
.Menu--dashboard > .Menu-tabList > li ul {
  padding: 9px 0 5px 0;
  left: 0;
  top: -999em;
  position: absolute;
  min-height: 25px;
  width: 100%;
  background: none;
}

.Menu--dashboard > .Menu-tabList > li li {
    float: left;
    background: none;
    border: 0;
    text-align: center;
}

.Menu--dashboard > .Menu-tabList > li li > a {
    padding: 5px 15px;
    font-size: 14px;
    border: 0;
    float: none;
    display: inline-block;
    height: auto;
    background: none;
    color: @theme-color-text-light;
    text-decoration: none;
}

/* LEVEL2 HOVER */
.Menu--dashboard > .Menu-tabList > li.sfHover ul,
.Menu--dashboard > .Menu-tabList > li:hover ul {
  z-index: 130;
  top: 100%;
  opacity: 1;
  -webkit-transition: opacity 300ms ease-out 10ms; /* property duration timing-function delay */
  -moz-transition: opacity 300ms ease-out 10ms;
  -o-transition: opacity 300ms ease-out 10ms;
  transition: opacity 300ms ease-out 10ms;
}

/* for screen readers */
.Menu--dashboard a span.hidden {
  height: 1px;
  width: 1px;
  position: absolute;
  overflow: hidden;
  top: 0;
}


.Menu--dashboard > .Menu-tabList > li li:hover > a,
.Menu--dashboard > .Menu-tabList > li li.sfHover > a {
    color: @theme-color-link;
}

.Menu--dashboard > .Menu-tabList > li li.sfHover > a {
    font-weight: bold;
    text-decoration: none !important;
}

@media all and (max-width: 949px) {
  .nav {
    clear: right;
  }
}

@media all and (max-width: 749px) {
  .Menu--dashboard > .Menu-tabList a {
    padding-left: 8px;
    padding-right: 8px;
  }
}

@media all and (max-width: 549px) {
  .Menu--dashboard > ul.Menu-tabList > li.sfHover > a,
  .Menu--dashboard > ul.Menu-tabList > li.sfActive.sfHover > a {
    border-bottom: 0;
  }
}