File: _limitSelection.less

package info (click to toggle)
matomo 5.8.0-1
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 95,068 kB
  • sloc: php: 289,425; xml: 127,249; javascript: 112,130; python: 202; sh: 178; makefile: 20; sql: 10
file content (128 lines) | stat: -rw-r--r-- 2,484 bytes parent folder | download | duplicates (2)
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
.limitSelection {
  text-align: right;
  position: relative;
  margin-left: 5px;
  min-height: 20px;
  padding-top: 4px;
  vertical-align: top;
  padding-right: 0 !important;
  padding-left: 0 !important;
}

.limitSelection.hidden {
  display: none;
}

.limitSelection > div {
  .select-wrapper:hover {
    background-color: #edecec;
    border-radius: 2px;
    color: @theme-color-brand !important;
    cursor: pointer;

    input.select-dropdown,
    span.caret {
      color: @theme-color-brand !important;
      opacity: 1;
       &:hover {
         color: @theme-color-brand !important;
         opacity: 1;
       }
    }

    input.select-dropdown {
      &:hover {
        border-color: @theme-color-brand !important;
      }
    }
  }

  .select-wrapper {
    padding-right: 24px; 
      
    input.select-dropdown {
      height: 36px;
      line-height: 30px;
      font-size: 16px;
      margin-bottom: 0;
      width: 100%;
      padding-right: 24px;
      text-align: right;
      overflow: hidden;
      border: 0;
      transition: all 0s;
      color: @theme-color-brand !important;
      opacity: 0.7;
      &:hover {
        color: @theme-color-brand !important;
        opacity: 1;
        border-color: @theme-color-brand !important;
      }
    }

    svg.caret {
      fill: @theme-color-brand !important;
      opacity: 0.7;
      &:hover {
        fill: @theme-color-brand !important;
        opacity: 1;
      }
    }
  }

  margin-top: 0;
  margin-bottom: 0;
  display: inline-block;
  width: 56px;
  height: 36px;
}

.widgetpreview-preview,
#dashboardWidgetsArea {
  .limitSelection .select-wrapper span.caret {
    top: 9px;
  }
}
body > .widget {
  .limitSelection .select-wrapper span.caret {
    top: 9px;
  }
}

.limitSelection.disabled > div {
  opacity: 0.5;
  cursor: not-allowed;
  filter: Alpha(opacity=50);
}

.limitSelection.visible > div {
  background-image: url(plugins/Morpheus/images/sort_subtable_asc_light.png)
}

.limitSelection > ul {
  margin-top: 1px;
  overflow: visible;
}

.limitSelection > ul > li {
  cursor: pointer;
  padding: 0 10px 0 4px;
  font-size: 1em;
  font-weight: bold;
  height: 24px;
  margin-top: -48px;
  background-color: @theme-color-background-contrast;
  border-left: 1px solid #ccc;
  border-right: 1px solid #ccc;
  vertical-align: middle;
  text-align: right;
}

.limitSelection > ul > li.last {
  border-top: 1px solid #ccc;
}

.limitSelection > ul > li:hover {
  background-color: @color-silver-l95;
}