material 0.9.25 → 0.9.26

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (118) hide show
  1. package/package.json +1 -1
  2. package/src/skin/material/base/body.scss +83 -0
  3. package/src/skin/material/base/{elevation.sass → elevation.scss} +76 -50
  4. package/src/skin/material/base/{grid.sass → grid.scss} +44 -32
  5. package/src/skin/material/base/typo.scss +133 -0
  6. package/src/skin/material/button/action.scss +124 -0
  7. package/src/skin/material/button/button.scss +245 -0
  8. package/src/skin/material/button/file.scss +27 -0
  9. package/src/skin/material/button/floating.scss +160 -0
  10. package/src/skin/material/button/raised.scss +145 -0
  11. package/src/skin/material/button/stroked.scss +102 -0
  12. package/src/skin/material/component/component.scss +11 -0
  13. package/src/skin/material/component/divider.scss +22 -0
  14. package/src/skin/material/component/image.scss +9 -0
  15. package/src/skin/material/component/label.scss +4 -0
  16. package/src/skin/material/component/navigation.scss +15 -0
  17. package/src/skin/material/component/progress.scss +176 -0
  18. package/src/skin/material/component/subheader.scss +5 -0
  19. package/src/skin/material/component/text.scss +101 -0
  20. package/src/skin/material/container/appbar.scss +215 -0
  21. package/src/skin/material/container/banner.scss +44 -0
  22. package/src/skin/material/container/card.scss +23 -0
  23. package/src/skin/material/container/container.scss +2 -0
  24. package/src/skin/material/container/dialog.scss +196 -0
  25. package/src/skin/material/container/drawer.scss +185 -0
  26. package/src/skin/material/container/menu.scss +69 -0
  27. package/src/skin/material/container/snackbar.scss +21 -0
  28. package/src/skin/material/container/tabs.scss +94 -0
  29. package/src/skin/material/container/toolbar.scss +207 -0
  30. package/src/skin/material/control/button.scss +172 -0
  31. package/src/skin/material/control/checkbox.scss +134 -0
  32. package/src/skin/material/control/colorpicker.scss +220 -0
  33. package/src/skin/material/control/menu.scss +25 -0
  34. package/src/skin/material/control/progress.scss +174 -0
  35. package/src/skin/material/control/search.scss +50 -0
  36. package/src/skin/material/control/selecter.scss +152 -0
  37. package/src/skin/material/control/selector.scss +46 -0
  38. package/src/skin/material/control/slider.scss +221 -0
  39. package/src/skin/material/control/snackbar.scss +77 -0
  40. package/src/skin/material/control/switch.scss +349 -0
  41. package/src/skin/material/control/switcher.scss +48 -0
  42. package/src/skin/material/control/textfield.scss +159 -0
  43. package/src/skin/material/control/tooltip.scss +42 -0
  44. package/src/skin/material/layout/layout.scss +92 -0
  45. package/src/skin/material/layout/resizer.scss +97 -0
  46. package/src/skin/material/material.scss +67 -0
  47. package/src/skin/material/module/ripple.scss +11 -0
  48. package/src/skin/material/theme/{default.sass → default.scss} +18 -17
  49. package/src/skin/material/theme/ocean.scss +30 -0
  50. package/src/skin/material/theme/theme.scss +4 -0
  51. package/src/skin/material/view/calendar.scss +219 -0
  52. package/src/skin/material/view/form.scss +21 -0
  53. package/src/skin/material/view/grid.scss +134 -0
  54. package/src/skin/material/view/list.scss +107 -0
  55. package/src/skin/material/view/listview.scss +221 -0
  56. package/src/skin/material/view/map.scss +8 -0
  57. package/src/skin/material/view/page.scss +5 -0
  58. package/src/skin/material/view/tabview-bak.scss +49 -0
  59. package/src/skin/material/view/tabview.scss +65 -0
  60. package/src/skin/material/view/tree.scss +85 -0
  61. package/src/skin/material/view/{view.sass → view.scss} +1 -0
  62. package/src/skin/material/base/body.sass +0 -55
  63. package/src/skin/material/base/typo.sass +0 -107
  64. package/src/skin/material/button/action.sass +0 -89
  65. package/src/skin/material/button/button.sass +0 -183
  66. package/src/skin/material/button/file.sass +0 -24
  67. package/src/skin/material/button/floating.sass +0 -113
  68. package/src/skin/material/button/raised.sass +0 -101
  69. package/src/skin/material/button/stroked.sass +0 -71
  70. package/src/skin/material/component/component.sass +0 -7
  71. package/src/skin/material/component/divider.sass +0 -17
  72. package/src/skin/material/component/image.sass +0 -6
  73. package/src/skin/material/component/label.sass +0 -2
  74. package/src/skin/material/component/navigation.sass +0 -13
  75. package/src/skin/material/component/progress.sass +0 -138
  76. package/src/skin/material/component/subheader.sass +0 -3
  77. package/src/skin/material/component/text.sass +0 -85
  78. package/src/skin/material/container/appbar.sass +0 -167
  79. package/src/skin/material/container/banner.sass +0 -38
  80. package/src/skin/material/container/card.sass +0 -19
  81. package/src/skin/material/container/dialog.sass +0 -172
  82. package/src/skin/material/container/drawer.sass +0 -159
  83. package/src/skin/material/container/menu.sass +0 -58
  84. package/src/skin/material/container/snackbar.sass +0 -18
  85. package/src/skin/material/container/tabs.sass +0 -75
  86. package/src/skin/material/container/toolbar.sass +0 -161
  87. package/src/skin/material/control/button.sass +0 -135
  88. package/src/skin/material/control/checkbox.sass +0 -105
  89. package/src/skin/material/control/colorpicker.sass +0 -188
  90. package/src/skin/material/control/dialog.sass +0 -0
  91. package/src/skin/material/control/menu.sass +0 -18
  92. package/src/skin/material/control/progress.sass +0 -136
  93. package/src/skin/material/control/search.sass +0 -40
  94. package/src/skin/material/control/selecter.sass +0 -131
  95. package/src/skin/material/control/selector.sass +0 -38
  96. package/src/skin/material/control/slider.sass +0 -181
  97. package/src/skin/material/control/snackbar.sass +0 -65
  98. package/src/skin/material/control/switch.sass +0 -284
  99. package/src/skin/material/control/switcher.sass +0 -41
  100. package/src/skin/material/control/textfield.sass +0 -126
  101. package/src/skin/material/control/tooltip.sass +0 -36
  102. package/src/skin/material/layout/layout.sass +0 -69
  103. package/src/skin/material/layout/resizer.sass +0 -69
  104. package/src/skin/material/material.sass +0 -66
  105. package/src/skin/material/module/ripple.sass +0 -9
  106. package/src/skin/material/theme/ocean.sass +0 -29
  107. package/src/skin/material/theme/theme.sass +0 -3
  108. package/src/skin/material/view/calendar.sass +0 -193
  109. package/src/skin/material/view/form.sass +0 -15
  110. package/src/skin/material/view/grid.sass +0 -116
  111. package/src/skin/material/view/list.sass +0 -87
  112. package/src/skin/material/view/listview.sass +0 -195
  113. package/src/skin/material/view/map.sass +0 -6
  114. package/src/skin/material/view/page.sass +0 -4
  115. package/src/skin/material/view/tabview-bak.sass +0 -40
  116. package/src/skin/material/view/tabview.sass +0 -55
  117. package/src/skin/material/view/tree.sass +0 -73
  118. /package/src/skin/material/{container/container.sass → control/dialog.scss} +0 -0
@@ -0,0 +1,92 @@
1
+ .material-layout {
2
+ /* empty */
3
+ }
4
+ // overflow: hidden;
5
+ // padding: 0;
6
+ // margin: 0;
7
+ // height: 100%;
8
+ // position: absolute;
9
+ // top: 0;
10
+ // bottom: 0;
11
+ // left: 0;
12
+ // right: 0;
13
+
14
+ .flex-row, {
15
+ /* empty */
16
+ }
17
+ .flex-raw {
18
+ display: flex;
19
+ flex-direction: row;
20
+ flex-wrap: nowrap;
21
+
22
+ > .ui-container {
23
+ height: inherit;
24
+
25
+ }
26
+ }
27
+ .flex-column {
28
+ display: flex;
29
+ flex-direction: column;
30
+ flex-wrap: nowrap;
31
+
32
+ > .material-container {
33
+ width: inherit;
34
+
35
+ }
36
+ }
37
+ .display-absolute {
38
+ display: absolute;
39
+
40
+ }
41
+ .flex-none {
42
+ flex: none;
43
+
44
+ }
45
+ .flex-1 {
46
+ flex: 1;
47
+
48
+ }
49
+ .flex-2 {
50
+ flex: 2;
51
+
52
+ }
53
+ .flex-3 {
54
+ flex: 3;
55
+
56
+ }
57
+ .flex-4 {
58
+ flex: 4;
59
+
60
+ }
61
+ .flex-5 {
62
+ flex: 5;
63
+
64
+ }
65
+ .flex-6 {
66
+ flex: 6;
67
+
68
+ }
69
+ .flex-7 {
70
+ flex: 7;
71
+
72
+ }
73
+ .flex-8 {
74
+ flex: 8;
75
+
76
+ }
77
+ .flex-9 {
78
+ flex: 9;
79
+
80
+ }
81
+ .flex-10 {
82
+ flex: 10;
83
+
84
+ }
85
+ .flex-11 {
86
+ flex: 11;
87
+
88
+ }
89
+ .flex-12 {
90
+ flex: 12;
91
+
92
+ }
@@ -0,0 +1,97 @@
1
+
2
+ .resizer-layer {
3
+ position: absolute;
4
+ top: 0;
5
+ left: 0;
6
+
7
+ }
8
+ .ui-resizer {
9
+ opacity: .2;
10
+ position: absolute;
11
+ z-index: 200;
12
+ right: -3px;
13
+ bottom: -3px;
14
+ width: 12px;
15
+ height: 12px;
16
+ cursor: nwse-resize;
17
+
18
+ // &:hover, &.drag {
19
+ // background-color: rgba(66, 133, 244, .5);
20
+ // }
21
+
22
+ }
23
+ .resizer-height {
24
+ cursor: ns-resize;
25
+ position: absolute;
26
+ z-index: 100;
27
+ left: 0;
28
+ width: 100%;
29
+ height: 5px;
30
+
31
+ }
32
+ .resizer-width {
33
+ cursor: ew-resize;
34
+ position: absolute;
35
+ z-index: 100;
36
+ top: 0;
37
+ height: 100%;
38
+ width: 5px;
39
+
40
+ }
41
+ .ui-resizer-height, {
42
+ /* empty */
43
+ }
44
+ .ui-resizer-width, {
45
+ /* empty */
46
+ }
47
+ .ui-resizer-top, {
48
+ /* empty */
49
+ }
50
+ .ui-resizer-right, {
51
+ /* empty */
52
+ }
53
+ .ui-resizer-bottom, {
54
+ /* empty */
55
+ }
56
+ .ui-resizer-left {
57
+ background-color: rgba(255, 165, 0, 5);
58
+ opacity: .5;
59
+ position: absolute;
60
+ z-index: 100;
61
+
62
+ &:hover {
63
+ /* empty */
64
+ }
65
+ //background-color: rgba(255, 165, 0,5);
66
+
67
+ }
68
+ .ui-resizer-height, {
69
+ /* empty */
70
+ }
71
+ .ui-resizer-top, {
72
+ /* empty */
73
+ }
74
+ .ui-resizer-bottom {
75
+ cursor: ns-resize;
76
+ position: absolute;
77
+ z-index: 100;
78
+ left: 0;
79
+ width: 100%;
80
+ height: 5px;
81
+
82
+ }
83
+ .ui-resizer-width, {
84
+ /* empty */
85
+ }
86
+ .ui-resizer-right, {
87
+ /* empty */
88
+ }
89
+ .ui-resizer-left {
90
+ cursor: ew-resize;
91
+ position: absolute;
92
+ z-index: 100;
93
+ top: 0;
94
+ height: 100%;
95
+ width: 5px;
96
+
97
+ }
@@ -0,0 +1,67 @@
1
+
2
+ // font
3
+ // @import ../../../vendor/roboto/roboto.css
4
+
5
+ // base
6
+ @import "base/body.scss";
7
+ @import "base/typo.scss";
8
+ @import "base/elevation.scss";
9
+
10
+ // theme
11
+ @import "theme/default.scss";
12
+ @import "theme/theme.scss";
13
+
14
+ // module
15
+ @import "module/ripple.scss";
16
+
17
+ // component
18
+ @import "component/component.scss";
19
+ @import "component/text.scss";
20
+ @import "component/image.scss";
21
+ @import "component/subheader.scss";
22
+ @import "component/label.scss";
23
+ @import "component/divider.scss";
24
+ @import "component/progress.scss";
25
+
26
+ // container
27
+ @import "container/banner.scss";
28
+ @import "container/card.scss";
29
+ @import "container/menu.scss";
30
+ @import "container/dialog.scss";
31
+ @import "container/container.scss";
32
+ @import "container/drawer.scss";
33
+ @import "container/tabs.scss";
34
+ @import "container/appbar.scss";
35
+ @import "container/toolbar.scss";
36
+ @import "container/snackbar.scss";
37
+
38
+ // button
39
+ @import "button/button.scss";
40
+ @import "button/raised.scss";
41
+ @import "button/floating.scss";
42
+ @import "button/action.scss";
43
+ @import "button/file.scss";
44
+
45
+ // control
46
+ @import "control/button.scss";
47
+ @import "control/textfield.scss";
48
+ @import "control/switch.scss";
49
+ @import "control/checkbox.scss";
50
+ @import "control/selector.scss";
51
+ @import "control/slider.scss";
52
+ @import "control/tooltip.scss";
53
+ @import "control/search.scss";
54
+
55
+ // view
56
+ @import "view/view.scss";
57
+ @import "view/list.scss";
58
+ @import "view/form.scss";
59
+ @import "view/tree.scss";
60
+ @import "view/calendar.scss";
61
+ @import "view/page.scss";
62
+ @import "view/tabview.scss";
63
+
64
+ // layout
65
+ @import "layout/layout.scss";
66
+ @import "layout/resizer.scss";
67
+
@@ -0,0 +1,11 @@
1
+ .material-ripple, .ripple {
2
+ opacity: 1;
3
+ pointer-events: none;
4
+ z-index: 1;
5
+ position: absolute;
6
+ background-color: rgba(255, 255, 255, 0.1);
7
+ height: 5px;
8
+ width: 5px;
9
+ border-radius: 50%;
10
+
11
+ }
@@ -25,26 +25,27 @@
25
25
 
26
26
 
27
27
  // ocean theme
28
- $background-color: rgba(255, 255, 255, 1)
29
- $background-color-dark: rgba(51, 51, 51, 1)
28
+ $background-color: rgba(255, 255, 255, 1);
29
+ $background-color-dark: rgba(51, 51, 51, 1);
30
30
 
31
31
  // color schema
32
- $default-color: rgba(0, 0, 0, 1)
33
- $default-color-text: rgba(0, 0, 0, 0.67)
34
- $default-color-button: rgba(0, 0, 0, 0.47)
35
- $default-color-icon: rgba(0, 0, 0, 0.67)
36
- $primary-color: rgb(98, 0, 238)
37
- $primary-color: rgb(54, 79, 144)
38
- $primary-color-text: rgba(255, 255, 255, 0.95)
39
- $secondary-color: #1A9989
40
- $secondary-color-text: rgba(255, 255, 255, 0.95)
32
+ $default-color: rgba(0, 0, 0, 1);
33
+ $default-color-text: rgba(0, 0, 0, 0.67);
34
+ $default-color-button: rgba(0, 0, 0, 0.47);
35
+ $default-color-icon: rgba(0, 0, 0, 0.67);
36
+ $primary-color: rgb(98, 0, 238);
37
+ $primary-color: rgb(54, 79, 144);
38
+ $primary-color-text: rgba(255, 255, 255, 0.95);
39
+ $secondary-color: #1A9989;
40
+ $secondary-color-text: rgba(255, 255, 255, 0.95);
41
41
 
42
42
  // on dark theme
43
- $default-color-dark: rgba(255, 255, 255, 1)
44
- $default-color-text-dark: rgba(255, 255, 255, 0.95)
45
- $primary-color-dark: rgb(54, 79, 144)
46
- $primary-color-text-dark: rgba(255, 255, 255, 0.95)
47
- $secondary-color-dark: #1A9989
48
- $secondary-color-text-dark: rgba(255, 255, 255, 0.95)
43
+ $default-color-dark: rgba(255, 255, 255, 1);
44
+ $default-color-text-dark: rgba(255, 255, 255, 0.95);
45
+ $primary-color-dark: rgb(54, 79, 144);
46
+ $primary-color-text-dark: rgba(255, 255, 255, 0.95);
47
+ $secondary-color-dark: #1A9989;
48
+ $secondary-color-text-dark: rgba(255, 255, 255, 0.95);
49
+
49
50
 
50
51
 
@@ -0,0 +1,30 @@
1
+
2
+
3
+
4
+ // base color
5
+ $background: rgba(255, 255, 255, 1);
6
+
7
+ // color schema
8
+ $default-color: rgba(0, 0, 0, 1);
9
+ $default-color-text: rgba(0, 0, 0, 0.87);
10
+
11
+ // primary color
12
+ $primary-color: #3f51b5;
13
+ $primary-color-text: rgba(255, 255, 255, 0.95);
14
+
15
+ // secondary color
16
+ $secondary-color: #1A9989;
17
+ $secondary-color-text: rgba(255, 255, 255, 0.95);
18
+
19
+ // on dark theme
20
+ $default-color-dark: rgba(255, 255, 255, 1);
21
+ $default-color-text-dark: rgba(255, 255, 255, 0.95);
22
+
23
+ $primary-color-dark: #3f51b5;
24
+ $primary-color-text-dark: rgba(255, 255, 255, 0.95);
25
+
26
+ $secondary-color-dark: #1A9989;
27
+ $secondary-color-text-dark: rgba(255, 255, 255, 0.95);
28
+
29
+
30
+
@@ -0,0 +1,4 @@
1
+ .dark-mode {
2
+ background-color: rgba(51, 51, 51, 1);
3
+ color: rgba(255, 255, 255, 0.95);
4
+ }
@@ -0,0 +1,219 @@
1
+ .material-calendar, {
2
+ /* empty */
3
+ }
4
+ .material-book {
5
+ margin-left: 10px;
6
+ display: flex;
7
+ flex-direction: column;
8
+ flex-wrap: nowrap;
9
+
10
+ header {
11
+ flex: none;
12
+
13
+ .calendar-headline, {
14
+ /* empty */
15
+ }
16
+ .book-headline {
17
+ font-family: 'Helvetica';
18
+ font-weight: light;
19
+ font-size: 17px;
20
+
21
+ .week-number {
22
+ font-size: 14px;
23
+ display: inline-block;
24
+ width: 50%;
25
+ padding: 10px;
26
+ text-align: right;
27
+
28
+ }
29
+ .month-year {
30
+ font-size: 24px;
31
+ display: inline-block;
32
+ width: 50%;
33
+ padding: 10px;
34
+
35
+ }
36
+ .material-toolbar {
37
+ text-align: right;
38
+ font-size: 24px;
39
+ display: inline-block;
40
+ width: 50%;
41
+ padding: 10px;
42
+
43
+ .material-button {
44
+ margin: 0;
45
+
46
+ }
47
+ }
48
+ }
49
+ .header-days {
50
+ display: flex;
51
+ flex-direction: horizontal;
52
+ flex-wrap: nowrap;
53
+ padding-bottom: 8px;
54
+ border-bottom: 1px solid rgba(0, 0, 0, 0.1);
55
+
56
+ .margin {
57
+ width: 100px;
58
+ flex: none;
59
+ display: inline-block;
60
+
61
+ }
62
+ .date {
63
+ font-size: .8em;
64
+ overflow: hidden;
65
+
66
+ .first {
67
+ font-size: .8em;
68
+ flex: 1;
69
+
70
+ //display: inline-block;
71
+ overflow: hidden;
72
+ text-overflow: ellipsis;
73
+
74
+ }
75
+ .second {
76
+ display: block;
77
+ flex: none;
78
+
79
+ //display: inline-block;
80
+
81
+ }
82
+ flex: 15;
83
+
84
+ //white-space: nowrap;
85
+ //display: inline-block;
86
+ text-align: center;
87
+
88
+ }
89
+ }
90
+ .allday {
91
+ height: 24px;
92
+ border-bottom: 4px solid #d4d4d4;
93
+
94
+ .label {
95
+ font-size: 11px;
96
+ text-align: right;
97
+ float: left;
98
+ width: 10%;
99
+ border-bottom: 4px solid transparent;
100
+ min-height: 32px;
101
+ padding: 4px;
102
+ color: #D9D9D9;
103
+
104
+ }
105
+ .day {
106
+ float: left;
107
+ width: 15%;
108
+ min-height: 32px;
109
+ padding: 4px;
110
+
111
+ }
112
+ }
113
+ }
114
+ .calendar-body {
115
+ display: flex;
116
+ flex-direction: horizontal;
117
+ flex-wrap: nowrap;
118
+ position: relative;
119
+ overflow: scroll;
120
+ flex: 1;
121
+
122
+ .hours {
123
+ width: 100px;
124
+
125
+ .hour {
126
+ position: relative;
127
+ font-size: 11px;
128
+ font-weight: bold;
129
+ line-height: 14px;
130
+ text-align: right;
131
+ height: 60px;
132
+ border-right: 8px solid transaprent;
133
+ color: #D9D9D9;
134
+ padding-right: 5px;
135
+
136
+ }
137
+ }
138
+ canvas {
139
+ position: absolute;
140
+ top: 0;
141
+ left: 10%;
142
+ width: 2000px;
143
+ height: 1440px;
144
+
145
+ }
146
+ .week-day {
147
+ flex: 15;
148
+ position: relative;
149
+
150
+ //width: 15%;
151
+ height: 1440px;
152
+
153
+ //float: left;
154
+ border-right: 1px solid rgba(0, 0, 0, 0.1);
155
+
156
+ &[data-day='day-6'] {
157
+ background-color: rgba(196, 196, 196, 0.1);
158
+
159
+ /*.element-event {
160
+ * background-color: rgba(197, 224, 179, .8);
161
+ * border-left: none;
162
+ * border-radius: 3px;
163
+ * padding: 5px;
164
+ *}
165
+
166
+ .book-body
167
+ position: relative
168
+ overflow: scroll
169
+ flex: 1
170
+
171
+ .resource-folder
172
+ .type
173
+ .title
174
+ font-size: .8em
175
+ padding-bottom: 4px
176
+ padding-top: 4px
177
+ border-bottom: 1px solid rgba(0, 0, 0, 0.05)
178
+ background-color: rgba(0, 0, 0, 0.01)
179
+
180
+ .item
181
+ display: flex
182
+ flex-direction: horizontal
183
+ flex-wrap: nowrap
184
+ position: relative
185
+ text-align: left
186
+ border-right: 8px solid transaprent
187
+ color: #D9D9D9
188
+ padding-right: 5px
189
+ border-bottom: 1px solid rgba(0, 0, 0, 0.05)
190
+
191
+ .resource-name
192
+ width: 100px
193
+ font-size: 1.5em
194
+ font-weight: bold
195
+
196
+ .date
197
+ &.weekend
198
+ background-color: rgba(0, 0, 0, 0.01)
199
+
200
+ flex: 15
201
+ position: relative
202
+
203
+ //width: 15%;
204
+ border-left: 1px solid rgba(0, 0, 0, 0.1)
205
+
206
+ &[data-day='day-6']
207
+ background-color: rgba(196, 196, 196, 0.1)
208
+
209
+ /* .element-event {
210
+ * background-color: rgba(197, 224, 179, .8);
211
+ * border-left: none;
212
+ * border-radius: 3px;
213
+ * padding: 5px;
214
+ * }
215
+
216
+ }
217
+ }
218
+ }
219
+ }
@@ -0,0 +1,21 @@
1
+ .material-form {
2
+ background-color: #E6E6E6;
3
+ .component-subheader {
4
+ padding: 16px 0 0;
5
+
6
+ }
7
+ .material-layout {
8
+ > .layout-component {
9
+ border-bottom: 1px solid rgba(100, 100, 100, 0.3);
10
+ padding: 16px 0;
11
+
12
+ .ui-text {
13
+ margin-left: 16px;
14
+ margin-right: 16px;
15
+ padding-top: 8px;
16
+ margin-bottom: 16px;
17
+
18
+ }
19
+ }
20
+ }
21
+ }