material-ui 0.7.3.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/.gitignore +9 -0
- data/Gemfile +4 -0
- data/LICENSE.txt +21 -0
- data/README.md +31 -0
- data/Rakefile +20 -0
- data/lib/material-ui.rb +4 -0
- data/material-ui-gem.gemspec +33 -0
- data/vendor/assets/javascripts/material-ui.js +1 -0
- data/vendor/assets/javascripts/material-ui/components/app-bar.jsx +93 -0
- data/vendor/assets/javascripts/material-ui/components/app-canvas.jsx +27 -0
- data/vendor/assets/javascripts/material-ui/components/checkbox.jsx +60 -0
- data/vendor/assets/javascripts/material-ui/components/date-picker/calendar-month.jsx +59 -0
- data/vendor/assets/javascripts/material-ui/components/date-picker/calendar-toolbar.jsx +64 -0
- data/vendor/assets/javascripts/material-ui/components/date-picker/calendar.jsx +194 -0
- data/vendor/assets/javascripts/material-ui/components/date-picker/date-display.jsx +79 -0
- data/vendor/assets/javascripts/material-ui/components/date-picker/date-picker-dialog.jsx +118 -0
- data/vendor/assets/javascripts/material-ui/components/date-picker/date-picker.jsx +116 -0
- data/vendor/assets/javascripts/material-ui/components/date-picker/day-button.jsx +49 -0
- data/vendor/assets/javascripts/material-ui/components/dialog-window.jsx +183 -0
- data/vendor/assets/javascripts/material-ui/components/dialog.jsx +54 -0
- data/vendor/assets/javascripts/material-ui/components/drop-down-icon.jsx +68 -0
- data/vendor/assets/javascripts/material-ui/components/drop-down-menu.jsx +94 -0
- data/vendor/assets/javascripts/material-ui/components/enhanced-button.jsx +147 -0
- data/vendor/assets/javascripts/material-ui/components/enhanced-switch.jsx +296 -0
- data/vendor/assets/javascripts/material-ui/components/enhanced-textarea.jsx +113 -0
- data/vendor/assets/javascripts/material-ui/components/flat-button.jsx +46 -0
- data/vendor/assets/javascripts/material-ui/components/floating-action-button.jsx +123 -0
- data/vendor/assets/javascripts/material-ui/components/font-icon.jsx +23 -0
- data/vendor/assets/javascripts/material-ui/components/icon-button.jsx +123 -0
- data/vendor/assets/javascripts/material-ui/components/ink-bar.jsx +25 -0
- data/vendor/assets/javascripts/material-ui/components/input.jsx +143 -0
- data/vendor/assets/javascripts/material-ui/components/left-nav.jsx +105 -0
- data/vendor/assets/javascripts/material-ui/components/menu/link-menu-item.jsx +42 -0
- data/vendor/assets/javascripts/material-ui/components/menu/menu-item.jsx +105 -0
- data/vendor/assets/javascripts/material-ui/components/menu/menu.jsx +325 -0
- data/vendor/assets/javascripts/material-ui/components/menu/subheader-menu-item.jsx +18 -0
- data/vendor/assets/javascripts/material-ui/components/mixins/classable.js +42 -0
- data/vendor/assets/javascripts/material-ui/components/mixins/click-awayable.js +35 -0
- data/vendor/assets/javascripts/material-ui/components/mixins/window-listenable.js +23 -0
- data/vendor/assets/javascripts/material-ui/components/overlay.jsx +58 -0
- data/vendor/assets/javascripts/material-ui/components/paper.jsx +58 -0
- data/vendor/assets/javascripts/material-ui/components/radio-button-group.jsx +112 -0
- data/vendor/assets/javascripts/material-ui/components/radio-button.jsx +65 -0
- data/vendor/assets/javascripts/material-ui/components/raised-button.jsx +102 -0
- data/vendor/assets/javascripts/material-ui/components/ripples/circle.jsx +35 -0
- data/vendor/assets/javascripts/material-ui/components/ripples/focus-ripple.jsx +40 -0
- data/vendor/assets/javascripts/material-ui/components/ripples/touch-ripple.jsx +174 -0
- data/vendor/assets/javascripts/material-ui/components/slider.jsx +178 -0
- data/vendor/assets/javascripts/material-ui/components/snackbar.jsx +76 -0
- data/vendor/assets/javascripts/material-ui/components/svg-icons/drop-down-arrow.jsx +16 -0
- data/vendor/assets/javascripts/material-ui/components/svg-icons/navigation-chevron-left.jsx +16 -0
- data/vendor/assets/javascripts/material-ui/components/svg-icons/navigation-chevron-right.jsx +17 -0
- data/vendor/assets/javascripts/material-ui/components/svg-icons/navigation-menu.jsx +16 -0
- data/vendor/assets/javascripts/material-ui/components/svg-icons/svg-icon.jsx +23 -0
- data/vendor/assets/javascripts/material-ui/components/svg-icons/toggle-check-box-checked.jsx +16 -0
- data/vendor/assets/javascripts/material-ui/components/svg-icons/toggle-check-box-outline-blank.jsx +16 -0
- data/vendor/assets/javascripts/material-ui/components/svg-icons/toggle-radio-button-off.jsx +16 -0
- data/vendor/assets/javascripts/material-ui/components/svg-icons/toggle-radio-button-on.jsx +16 -0
- data/vendor/assets/javascripts/material-ui/components/table-header.jsx +50 -0
- data/vendor/assets/javascripts/material-ui/components/table-rows-item.jsx +31 -0
- data/vendor/assets/javascripts/material-ui/components/table-rows.jsx +57 -0
- data/vendor/assets/javascripts/material-ui/components/tabs/tab.jsx +38 -0
- data/vendor/assets/javascripts/material-ui/components/tabs/tabTemplate.jsx +15 -0
- data/vendor/assets/javascripts/material-ui/components/tabs/tabs.jsx +96 -0
- data/vendor/assets/javascripts/material-ui/components/text-field.jsx +215 -0
- data/vendor/assets/javascripts/material-ui/components/toggle.jsx +62 -0
- data/vendor/assets/javascripts/material-ui/components/toolbar-group.jsx +28 -0
- data/vendor/assets/javascripts/material-ui/components/toolbar.jsx +21 -0
- data/vendor/assets/javascripts/material-ui/components/tooltip.jsx +58 -0
- data/vendor/assets/javascripts/material-ui/components/transition-groups/slide-in.jsx +48 -0
- data/vendor/assets/javascripts/material-ui/components/utils/css-event.js +52 -0
- data/vendor/assets/javascripts/material-ui/components/utils/date-time.js +132 -0
- data/vendor/assets/javascripts/material-ui/components/utils/dom.js +71 -0
- data/vendor/assets/javascripts/material-ui/components/utils/events.js +34 -0
- data/vendor/assets/javascripts/material-ui/components/utils/key-code.js +10 -0
- data/vendor/assets/javascripts/material-ui/components/utils/key-line.js +13 -0
- data/vendor/assets/javascripts/material-ui/components/utils/unique-id.js +7 -0
- data/vendor/assets/stylesheets/material-ui.less +2 -0
- data/vendor/assets/stylesheets/material-ui/components.less +5 -0
- data/vendor/assets/stylesheets/material-ui/components/app-bar.less +37 -0
- data/vendor/assets/stylesheets/material-ui/components/card.less +20 -0
- data/vendor/assets/stylesheets/material-ui/components/checkbox.less +66 -0
- data/vendor/assets/stylesheets/material-ui/components/components.less +37 -0
- data/vendor/assets/stylesheets/material-ui/components/date-picker/calendar-month.less +11 -0
- data/vendor/assets/stylesheets/material-ui/components/date-picker/calendar-toolbar.less +23 -0
- data/vendor/assets/stylesheets/material-ui/components/date-picker/calendar.less +59 -0
- data/vendor/assets/stylesheets/material-ui/components/date-picker/date-display.less +84 -0
- data/vendor/assets/stylesheets/material-ui/components/date-picker/date-picker-dialog.less +18 -0
- data/vendor/assets/stylesheets/material-ui/components/date-picker/date-picker.less +9 -0
- data/vendor/assets/stylesheets/material-ui/components/date-picker/day-button.less +35 -0
- data/vendor/assets/stylesheets/material-ui/components/dialog-window.less +42 -0
- data/vendor/assets/stylesheets/material-ui/components/dialog.less +10 -0
- data/vendor/assets/stylesheets/material-ui/components/drop-down-icon.less +43 -0
- data/vendor/assets/stylesheets/material-ui/components/drop-down-menu.less +77 -0
- data/vendor/assets/stylesheets/material-ui/components/enhanced-button.less +24 -0
- data/vendor/assets/stylesheets/material-ui/components/enhanced-switch.less +52 -0
- data/vendor/assets/stylesheets/material-ui/components/enhanced-textarea.less +16 -0
- data/vendor/assets/stylesheets/material-ui/components/flat-button.less +93 -0
- data/vendor/assets/stylesheets/material-ui/components/floating-action-button.less +95 -0
- data/vendor/assets/stylesheets/material-ui/components/font-icon.less +6 -0
- data/vendor/assets/stylesheets/material-ui/components/icon-button.less +46 -0
- data/vendor/assets/stylesheets/material-ui/components/ink-bar.less +9 -0
- data/vendor/assets/stylesheets/material-ui/components/input.less +186 -0
- data/vendor/assets/stylesheets/material-ui/components/left-nav.less +31 -0
- data/vendor/assets/stylesheets/material-ui/components/menu-item.less +69 -0
- data/vendor/assets/stylesheets/material-ui/components/menu.less +50 -0
- data/vendor/assets/stylesheets/material-ui/components/overlay.less +21 -0
- data/vendor/assets/stylesheets/material-ui/components/paper.less +59 -0
- data/vendor/assets/stylesheets/material-ui/components/radio-button.less +67 -0
- data/vendor/assets/stylesheets/material-ui/components/raised-button.less +132 -0
- data/vendor/assets/stylesheets/material-ui/components/ripples/circle.less +31 -0
- data/vendor/assets/stylesheets/material-ui/components/ripples/focus-ripple.less +30 -0
- data/vendor/assets/stylesheets/material-ui/components/ripples/touch-ripple.less +9 -0
- data/vendor/assets/stylesheets/material-ui/components/slider.less +163 -0
- data/vendor/assets/stylesheets/material-ui/components/snackbar.less +44 -0
- data/vendor/assets/stylesheets/material-ui/components/subheader.less +17 -0
- data/vendor/assets/stylesheets/material-ui/components/svg-icon.less +11 -0
- data/vendor/assets/stylesheets/material-ui/components/table.less +46 -0
- data/vendor/assets/stylesheets/material-ui/components/tabs.less +41 -0
- data/vendor/assets/stylesheets/material-ui/components/text-field.less +168 -0
- data/vendor/assets/stylesheets/material-ui/components/toggle.less +83 -0
- data/vendor/assets/stylesheets/material-ui/components/toolbar.less +95 -0
- data/vendor/assets/stylesheets/material-ui/components/tooltip.less +73 -0
- data/vendor/assets/stylesheets/material-ui/components/transition-groups/slide-in.less +92 -0
- data/vendor/assets/stylesheets/material-ui/core/base.less +31 -0
- data/vendor/assets/stylesheets/material-ui/core/core.less +4 -0
- data/vendor/assets/stylesheets/material-ui/core/keylines.less +29 -0
- data/vendor/assets/stylesheets/material-ui/core/layouts.less +12 -0
- data/vendor/assets/stylesheets/material-ui/core/typography.less +158 -0
- data/vendor/assets/stylesheets/material-ui/mixins/clearfix.less +22 -0
- data/vendor/assets/stylesheets/material-ui/mixins/mixins.less +3 -0
- data/vendor/assets/stylesheets/material-ui/mixins/no-wrap.less +3 -0
- data/vendor/assets/stylesheets/material-ui/mixins/transitions.less +17 -0
- data/vendor/assets/stylesheets/material-ui/resets/normalize.css +430 -0
- data/vendor/assets/stylesheets/material-ui/resets/typography-resets.less +34 -0
- data/vendor/assets/stylesheets/material-ui/scaffolding.less +10 -0
- data/vendor/assets/stylesheets/material-ui/variables/colors.less +285 -0
- data/vendor/assets/stylesheets/material-ui/variables/custom-variables.less +163 -0
- data/vendor/assets/stylesheets/material-ui/variables/media-queries.less +4 -0
- data/vendor/assets/stylesheets/material-ui/variables/spacing.less +16 -0
- metadata +268 -0
@@ -0,0 +1,23 @@
|
|
1
|
+
.mui-date-picker-calendar-toolbar {
|
2
|
+
height: 48px;
|
3
|
+
position: relative;
|
4
|
+
|
5
|
+
.mui-date-picker-calendar-toolbar-title {
|
6
|
+
line-height: 48px;
|
7
|
+
font-size: 14px;
|
8
|
+
text-align: center;
|
9
|
+
.mui-font-weight-medium;
|
10
|
+
}
|
11
|
+
|
12
|
+
.mui-date-picker-calendar-toolbar-button-left {
|
13
|
+
position: absolute;
|
14
|
+
left: 0;
|
15
|
+
top: 0;
|
16
|
+
}
|
17
|
+
|
18
|
+
.mui-date-picker-calendar-toolbar-button-right {
|
19
|
+
position: absolute;
|
20
|
+
right: 0;
|
21
|
+
top: 0;
|
22
|
+
}
|
23
|
+
}
|
@@ -0,0 +1,59 @@
|
|
1
|
+
.mui-date-picker-calendar {
|
2
|
+
font-size: 12px;
|
3
|
+
|
4
|
+
.mui-date-picker-calendar-week-title {
|
5
|
+
.clearfix();
|
6
|
+
.mui-font-weight-medium;
|
7
|
+
color: fade(@date-picker-calendar-text-color, 50%);
|
8
|
+
|
9
|
+
line-height: 12px;
|
10
|
+
padding: 0 14px;
|
11
|
+
}
|
12
|
+
|
13
|
+
.mui-date-picker-calendar-week-title-day {
|
14
|
+
list-style: none;
|
15
|
+
float: left;
|
16
|
+
width: 32px;
|
17
|
+
text-align: center;
|
18
|
+
margin: 0 2px;
|
19
|
+
}
|
20
|
+
|
21
|
+
.mui-date-picker-calendar-container {
|
22
|
+
.ease-out(@property: height; @duration: 150ms);
|
23
|
+
}
|
24
|
+
|
25
|
+
&.mui-is-4week {
|
26
|
+
.mui-date-picker-calendar-container {
|
27
|
+
height: 228px;
|
28
|
+
}
|
29
|
+
}
|
30
|
+
|
31
|
+
&.mui-is-5week {
|
32
|
+
.mui-date-picker-calendar-container {
|
33
|
+
height: 268px;
|
34
|
+
}
|
35
|
+
}
|
36
|
+
|
37
|
+
&.mui-is-6week {
|
38
|
+
.mui-date-picker-calendar-container {
|
39
|
+
height: 308px;
|
40
|
+
}
|
41
|
+
}
|
42
|
+
}
|
43
|
+
|
44
|
+
.mui-is-landscape {
|
45
|
+
.mui-date-picker-calendar {
|
46
|
+
.clearfix();
|
47
|
+
}
|
48
|
+
|
49
|
+
.mui-date-picker-calendar-date-display {
|
50
|
+
width: 280px;
|
51
|
+
height: 100%;
|
52
|
+
float: left;
|
53
|
+
}
|
54
|
+
|
55
|
+
.mui-date-picker-calendar-container {
|
56
|
+
width: 280px;
|
57
|
+
float: right;
|
58
|
+
}
|
59
|
+
}
|
@@ -0,0 +1,84 @@
|
|
1
|
+
.mui-date-picker-date-display {
|
2
|
+
text-align: center;
|
3
|
+
position: relative;
|
4
|
+
|
5
|
+
.mui-date-picker-date-display-dow {
|
6
|
+
font-size: 13px;
|
7
|
+
height: 32px;
|
8
|
+
line-height: 32px;
|
9
|
+
background-color: @date-picker-select-color;
|
10
|
+
color: @date-picker-select-text-color;
|
11
|
+
border-radius: 2px 2px 0 0;
|
12
|
+
}
|
13
|
+
|
14
|
+
.mui-date-picker-date-display-date {
|
15
|
+
padding: 16px 0;
|
16
|
+
background-color: @date-picker-color;
|
17
|
+
color: @date-picker-text-color;
|
18
|
+
}
|
19
|
+
|
20
|
+
.mui-date-picker-date-display-month,
|
21
|
+
.mui-date-picker-date-display-year {
|
22
|
+
font-size: 22px;
|
23
|
+
line-height: 24px;
|
24
|
+
height: 24px;
|
25
|
+
text-transform: uppercase;
|
26
|
+
}
|
27
|
+
|
28
|
+
.mui-date-picker-date-display-day {
|
29
|
+
margin: 6px 0;
|
30
|
+
line-height: 58px;
|
31
|
+
height: 58px;
|
32
|
+
font-size: 58px;
|
33
|
+
}
|
34
|
+
|
35
|
+
.mui-date-picker-date-display-year {
|
36
|
+
color: fade(@date-picker-text-color, 70%);
|
37
|
+
}
|
38
|
+
}
|
39
|
+
|
40
|
+
.mui-is-landscape {
|
41
|
+
|
42
|
+
.mui-date-picker-date-display {
|
43
|
+
* { .ease-out(); }
|
44
|
+
}
|
45
|
+
|
46
|
+
.mui-date-picker-date-display-dow {
|
47
|
+
border-radius: 2px 0 0 0;
|
48
|
+
}
|
49
|
+
|
50
|
+
.mui-date-picker-date-display-date {
|
51
|
+
padding: 24px 0;
|
52
|
+
}
|
53
|
+
|
54
|
+
.mui-date-picker-date-display-day {
|
55
|
+
font-size: 76px;
|
56
|
+
line-height: 76px;
|
57
|
+
height: 76px;
|
58
|
+
}
|
59
|
+
|
60
|
+
.mui-date-picker-date-display-month,
|
61
|
+
.mui-date-picker-date-display-year {
|
62
|
+
font-size: 26px;
|
63
|
+
line-height: 26px;
|
64
|
+
height: 26px;
|
65
|
+
}
|
66
|
+
|
67
|
+
.mui-is-5week {
|
68
|
+
.mui-date-picker-date-display-date {
|
69
|
+
padding: 30px 0;
|
70
|
+
}
|
71
|
+
.mui-date-picker-date-display-day {
|
72
|
+
margin: 24px 0;
|
73
|
+
}
|
74
|
+
}
|
75
|
+
|
76
|
+
.mui-is-6week {
|
77
|
+
.mui-date-picker-date-display-date {
|
78
|
+
padding: 50px 0;
|
79
|
+
}
|
80
|
+
.mui-date-picker-date-display-day {
|
81
|
+
margin: 24px 0;
|
82
|
+
}
|
83
|
+
}
|
84
|
+
}
|
@@ -0,0 +1,18 @@
|
|
1
|
+
.mui-date-picker-dialog {
|
2
|
+
font-size: 14px;
|
3
|
+
color: @date-picker-calendar-text-color;
|
4
|
+
|
5
|
+
.mui-date-picker-dialog-window {
|
6
|
+
&.mui-dialog-window-contents {
|
7
|
+
width: 280px;
|
8
|
+
}
|
9
|
+
}
|
10
|
+
}
|
11
|
+
|
12
|
+
.mui-is-landscape {
|
13
|
+
.mui-date-picker-dialog-window {
|
14
|
+
&.mui-dialog-window-contents {
|
15
|
+
width: 560px;
|
16
|
+
}
|
17
|
+
}
|
18
|
+
}
|
@@ -0,0 +1,35 @@
|
|
1
|
+
.mui-date-picker-day-button {
|
2
|
+
position: relative;
|
3
|
+
float: left;
|
4
|
+
width: 36px;
|
5
|
+
padding: 4px 2px;
|
6
|
+
|
7
|
+
.mui-date-picker-day-button-select {
|
8
|
+
position: absolute;
|
9
|
+
background-color: @date-picker-select-color;
|
10
|
+
height: 32px;
|
11
|
+
width: 32px;
|
12
|
+
opacity: 0;
|
13
|
+
border-radius: 50%;
|
14
|
+
transform: scale(0);
|
15
|
+
.ease-out();
|
16
|
+
}
|
17
|
+
|
18
|
+
.mui-date-picker-day-button-label {
|
19
|
+
position: relative;
|
20
|
+
}
|
21
|
+
|
22
|
+
&.mui-is-selected {
|
23
|
+
.mui-date-picker-day-button-label {
|
24
|
+
color: @date-picker-select-text-color;
|
25
|
+
}
|
26
|
+
.mui-date-picker-day-button-select {
|
27
|
+
opacity: 1;
|
28
|
+
transform: scale(1);
|
29
|
+
}
|
30
|
+
}
|
31
|
+
|
32
|
+
&.mui-is-current-date {
|
33
|
+
color: @date-picker-color;
|
34
|
+
}
|
35
|
+
}
|
@@ -0,0 +1,42 @@
|
|
1
|
+
.mui-dialog-window {
|
2
|
+
position: fixed;
|
3
|
+
z-index: 10;
|
4
|
+
top: 0px;
|
5
|
+
left: -10000px;
|
6
|
+
width: 100%;
|
7
|
+
height: 100%;
|
8
|
+
transition: left 0ms @ease-out-function 450ms;
|
9
|
+
|
10
|
+
.mui-dialog-window-contents {
|
11
|
+
.ease-out();
|
12
|
+
position: relative;
|
13
|
+
width: 75%;
|
14
|
+
max-width: (@desktop-keyline-increment * 12);
|
15
|
+
margin: 0 auto;
|
16
|
+
z-index: 10;
|
17
|
+
background: @canvas-color;
|
18
|
+
opacity: 0;
|
19
|
+
}
|
20
|
+
|
21
|
+
.mui-dialog-window-actions {
|
22
|
+
padding: 8px;
|
23
|
+
margin-bottom: 8px;
|
24
|
+
width: 100%;
|
25
|
+
text-align: right;
|
26
|
+
|
27
|
+
.mui-dialog-window-action {
|
28
|
+
margin-right: 8px;
|
29
|
+
}
|
30
|
+
}
|
31
|
+
|
32
|
+
&.mui-is-shown {
|
33
|
+
left: 0px;
|
34
|
+
transition: left 0ms @ease-out-function 0ms;
|
35
|
+
|
36
|
+
.mui-dialog-window-contents {
|
37
|
+
opacity: 1;
|
38
|
+
top: 0px;
|
39
|
+
transform: translate3d(0, @desktop-keyline-increment, 0);
|
40
|
+
}
|
41
|
+
}
|
42
|
+
}
|
@@ -0,0 +1,43 @@
|
|
1
|
+
@icon-width: 48px;
|
2
|
+
|
3
|
+
.mui-drop-down-icon {
|
4
|
+
display: inline-block;
|
5
|
+
width: @icon-width !important;
|
6
|
+
position: relative;
|
7
|
+
height: @desktop-toolbar-height;
|
8
|
+
font-size: @desktop-drop-down-menu-font-size;
|
9
|
+
cursor: pointer;
|
10
|
+
|
11
|
+
&.mui-open {
|
12
|
+
.mui-icon-highlight {
|
13
|
+
background-color: rgba(0, 0, 0, .1);
|
14
|
+
}
|
15
|
+
|
16
|
+
.mui-menu-control,
|
17
|
+
.mui-menu-control:hover {
|
18
|
+
.mui-menu-control-bg {
|
19
|
+
opacity: 0;
|
20
|
+
}
|
21
|
+
.mui-menu-label {
|
22
|
+
top: (@desktop-toolbar-height / 2);
|
23
|
+
opacity: 0;
|
24
|
+
}
|
25
|
+
}
|
26
|
+
|
27
|
+
.mui-menu {
|
28
|
+
opacity: 1;
|
29
|
+
}
|
30
|
+
}
|
31
|
+
|
32
|
+
.mui-menu {
|
33
|
+
.ease-out;
|
34
|
+
right: -14px !important;
|
35
|
+
top: 9px !important;
|
36
|
+
|
37
|
+
.mui-menu-item {
|
38
|
+
padding-right: (@icon-size + (@desktop-gutter-less*2));
|
39
|
+
height: @desktop-drop-down-menu-item-height;
|
40
|
+
line-height: @desktop-drop-down-menu-item-height;
|
41
|
+
}
|
42
|
+
}
|
43
|
+
}
|
@@ -0,0 +1,77 @@
|
|
1
|
+
.mui-drop-down-menu {
|
2
|
+
|
3
|
+
* { .ease-out(); }
|
4
|
+
|
5
|
+
position: relative;
|
6
|
+
display: inline-block;
|
7
|
+
height: @desktop-toolbar-height;
|
8
|
+
font-size: @desktop-drop-down-menu-font-size;
|
9
|
+
|
10
|
+
&.mui-open {
|
11
|
+
.mui-menu-control,
|
12
|
+
.mui-menu-control:hover {
|
13
|
+
.mui-menu-control-bg {
|
14
|
+
opacity: 0;
|
15
|
+
}
|
16
|
+
.mui-menu-label {
|
17
|
+
top: (@desktop-toolbar-height / 2);
|
18
|
+
opacity: 0;
|
19
|
+
}
|
20
|
+
}
|
21
|
+
|
22
|
+
.mui-menu {
|
23
|
+
opacity: 1;
|
24
|
+
}
|
25
|
+
}
|
26
|
+
|
27
|
+
.mui-menu-control {
|
28
|
+
cursor: pointer;
|
29
|
+
.clearfix();
|
30
|
+
height: 100%;
|
31
|
+
|
32
|
+
.mui-menu-control-bg {
|
33
|
+
background-color: @menu-background-color;
|
34
|
+
height: 100%;
|
35
|
+
width: 100%;
|
36
|
+
opacity: 0;
|
37
|
+
}
|
38
|
+
|
39
|
+
&:hover {
|
40
|
+
.mui-menu-control-bg {
|
41
|
+
opacity: 1;
|
42
|
+
}
|
43
|
+
}
|
44
|
+
|
45
|
+
.mui-menu-label {
|
46
|
+
line-height: @desktop-toolbar-height;
|
47
|
+
position: absolute;
|
48
|
+
padding-left: @desktop-gutter;
|
49
|
+
top: 0;
|
50
|
+
opacity: 1;
|
51
|
+
}
|
52
|
+
|
53
|
+
.mui-menu-drop-down-icon {
|
54
|
+
position: absolute;
|
55
|
+
top: ((@desktop-toolbar-height - 24px) / 2);
|
56
|
+
right: @desktop-gutter-less;
|
57
|
+
* {
|
58
|
+
fill: @drop-down-menu-icon-color;
|
59
|
+
}
|
60
|
+
}
|
61
|
+
|
62
|
+
.mui-menu-control-underline {
|
63
|
+
border-top: solid 1px @border-color;
|
64
|
+
margin: 0 @desktop-gutter;
|
65
|
+
}
|
66
|
+
}
|
67
|
+
|
68
|
+
.mui-menu {
|
69
|
+
.mui-menu-item {
|
70
|
+
padding-right: (@icon-size + @desktop-gutter-less + @desktop-gutter-mini);
|
71
|
+
height: @desktop-drop-down-menu-item-height;
|
72
|
+
line-height: @desktop-drop-down-menu-item-height;
|
73
|
+
white-space: nowrap;
|
74
|
+
}
|
75
|
+
}
|
76
|
+
|
77
|
+
}
|
@@ -0,0 +1,24 @@
|
|
1
|
+
.mui-enhanced-button {
|
2
|
+
|
3
|
+
border: 0;
|
4
|
+
background: none;
|
5
|
+
|
6
|
+
&:focus {
|
7
|
+
outline: none;
|
8
|
+
}
|
9
|
+
|
10
|
+
&.mui-is-link-button {
|
11
|
+
display: inline-block;
|
12
|
+
cursor: pointer;
|
13
|
+
text-decoration: none;
|
14
|
+
|
15
|
+
&:hover {
|
16
|
+
text-decoration: none;
|
17
|
+
}
|
18
|
+
|
19
|
+
&.mui-is-disabled {
|
20
|
+
cursor: default;
|
21
|
+
}
|
22
|
+
}
|
23
|
+
|
24
|
+
}
|