material-sass 0.0.3 → 0.0.4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/app/assets/fonts/MaterialIcons-Regular.eot +0 -0
- data/app/assets/fonts/MaterialIcons-Regular.ttf +0 -0
- data/app/assets/fonts/MaterialIcons-Regular.woff +0 -0
- data/app/assets/fonts/MaterialIcons-Regular.woff2 +0 -0
- data/app/assets/javascripts/init.js +9 -0
- data/app/assets/javascripts/material/_.js +1 -5
- data/app/assets/javascripts/material/bootstrap.js +2 -2
- data/app/assets/javascripts/material/datepicker.js +58 -18
- data/app/assets/javascripts/material/dropdown.js +0 -13
- data/app/assets/javascripts/material/form-adv.js +2 -2
- data/app/assets/javascripts/material/header.js +39 -41
- data/app/assets/javascripts/material/menu.js +11 -35
- data/app/assets/javascripts/material/wave.js +10 -13
- data/app/assets/javascripts/material/webfont.js +33 -36
- data/app/assets/javascripts/material-sprockets.js +2 -1
- data/app/assets/stylesheets/material/_code.scss +1 -1
- data/app/assets/stylesheets/material/_reset.scss +16 -17
- data/app/assets/stylesheets/material/_utilities.scss +13 -16
- data/app/assets/stylesheets/material/_variable.scss +6 -3
- data/app/assets/stylesheets/material/addon/_material-design-icon.scss +6 -6
- data/app/assets/stylesheets/material/addon/_waves.scss +11 -17
- data/app/assets/stylesheets/material/addon/material-design-icon/_core.scss +18 -15
- data/app/assets/stylesheets/material/addon/material-design-icon/_larger.scss +20 -0
- data/app/assets/stylesheets/material/addon/material-design-icon/_path.scss +9 -8
- data/app/assets/stylesheets/material/addon/material-design-icon/_variables.scss +2 -776
- data/app/assets/stylesheets/material/base.scss +3 -0
- data/app/assets/stylesheets/material/element/_avatar.scss +2 -2
- data/app/assets/stylesheets/material/element/_breadcrumb.scss +2 -2
- data/app/assets/stylesheets/material/element/_button-flat.scss +32 -0
- data/app/assets/stylesheets/material/element/_button-float.scss +47 -60
- data/app/assets/stylesheets/material/element/_button.scss +18 -42
- data/app/assets/stylesheets/material/element/_card.scss +7 -19
- data/app/assets/stylesheets/material/element/_dropdown.scss +15 -18
- data/app/assets/stylesheets/material/element/_form-adv-checkbox.scss +12 -26
- data/app/assets/stylesheets/material/element/_form-adv-datepicker.scss +77 -55
- data/app/assets/stylesheets/material/element/_form-adv-label.scss +2 -2
- data/app/assets/stylesheets/material/element/_form-adv-switch.scss +38 -12
- data/app/assets/stylesheets/material/element/_form.scss +7 -7
- data/app/assets/stylesheets/material/element/_label.scss +1 -1
- data/app/assets/stylesheets/material/element/_modal.scss +22 -19
- data/app/assets/stylesheets/material/element/_progress-circular.scss +165 -0
- data/app/assets/stylesheets/material/element/_progress-loadbar.scss +103 -0
- data/app/assets/stylesheets/material/element/_progress.scss +7 -411
- data/app/assets/stylesheets/material/element/_sortable.scss +2 -2
- data/app/assets/stylesheets/material/element/_tab.scss +49 -17
- data/app/assets/stylesheets/material/element/_tile.scss +11 -13
- data/app/assets/stylesheets/material/element/_toast.scss +10 -11
- data/app/assets/stylesheets/material/mixin/_css3.scss +0 -45
- data/app/assets/stylesheets/material/theme/_content.scss +7 -7
- data/app/assets/stylesheets/material/theme/_header.scss +29 -173
- data/app/assets/stylesheets/material/theme/_menu.scss +160 -210
- data/lib/material-sass/engine.rb +1 -1
- data/lib/material-sass/version.rb +1 -1
- metadata +12 -9
- data/app/assets/fonts/MaterialDesignIcon.eot +0 -0
- data/app/assets/fonts/MaterialDesignIcon.svg +0 -773
- data/app/assets/fonts/MaterialDesignIcon.ttf +0 -0
- data/app/assets/fonts/MaterialDesignIcon.woff +0 -0
- data/app/assets/javascripts/material/sortable.js +0 -10
- data/app/assets/stylesheets/material/addon/material-design-icon/_icons.scss +0 -773
@@ -1,25 +1,8 @@
|
|
1
|
-
// menu backdrop
|
2
|
-
if ((($('html').hasClass('touch') && $('.menu').length) || $('.nav-drawer').length) && !$('.menu-backdrop').length) {
|
3
|
-
$('body').append('<div class="menu-backdrop"></div>');
|
4
|
-
};
|
5
|
-
|
6
|
-
var menuBD = document.getElementsByClassName('menu-backdrop')[0];
|
7
|
-
|
8
|
-
if (menuBD !== undefined) {
|
9
|
-
var menuBDTap = new Hammer(menuBD);
|
10
|
-
|
11
|
-
menuBDTap.on('tap', function(e) {
|
12
|
-
if ($('.menu.open').length) {
|
13
|
-
mReset();
|
14
|
-
};
|
15
|
-
});
|
16
|
-
};
|
17
|
-
|
18
1
|
// menu close
|
19
|
-
$(document).on('click', function(e) {
|
2
|
+
$(document).on('click touchend', function(e) {
|
20
3
|
var $target = $(e.target);
|
21
4
|
|
22
|
-
if ($('.menu.open').length && !$target.is('.fbtn-container *, .menu *')) {
|
5
|
+
if ($('.menu.open').length && !$target.is('.fbtn-container *, .menu-scroll *')) {
|
23
6
|
mReset();
|
24
7
|
};
|
25
8
|
});
|
@@ -27,25 +10,20 @@
|
|
27
10
|
mReset = function () {
|
28
11
|
var $bd = $('body');
|
29
12
|
|
30
|
-
if ($bd.hasClass('menu-open')) {
|
31
|
-
$bd.removeClass('menu-open');
|
32
|
-
};
|
33
|
-
|
34
13
|
if ($bd.hasClass('nav-drawer-open')) {
|
35
14
|
$bd.removeClass('nav-drawer-open');
|
36
15
|
};
|
37
16
|
|
38
|
-
|
39
|
-
|
40
|
-
|
41
|
-
$('.menu.open .menu-search-focus').blur();
|
42
|
-
};
|
17
|
+
if ($bd.hasClass('menu-open')) {
|
18
|
+
$bd.removeClass('menu-open');
|
19
|
+
};
|
43
20
|
|
21
|
+
$('[data-toggle="menu"]').closest('.active').removeClass('active');
|
44
22
|
$('.menu.open').removeClass('open');
|
45
23
|
}
|
46
24
|
|
47
25
|
// menu open
|
48
|
-
$(document).on('click', '
|
26
|
+
$(document).on('click', '[data-toggle="menu"]', function(e) {
|
49
27
|
e.preventDefault();
|
50
28
|
e.stopPropagation();
|
51
29
|
|
@@ -60,15 +38,13 @@
|
|
60
38
|
|
61
39
|
if ($thisMenu.hasClass('nav-drawer')) {
|
62
40
|
$('body').addClass('nav-drawer-open');
|
63
|
-
} else {
|
64
|
-
$('body').addClass('menu-open');
|
65
41
|
}
|
66
42
|
|
43
|
+
if ($thisMenu.hasClass('nav-menu')) {
|
44
|
+
$('body').addClass('menu-open');
|
45
|
+
}
|
46
|
+
|
67
47
|
$thisLi.addClass('active');
|
68
48
|
$thisMenu.addClass('open');
|
69
|
-
|
70
|
-
if ($('.menu-search-focus', $thisMenu).length) {
|
71
|
-
$('.menu-search-focus', $thisMenu).focus();
|
72
|
-
};
|
73
49
|
}
|
74
50
|
});
|
@@ -1,13 +1,10 @@
|
|
1
|
-
|
2
|
-
|
3
|
-
|
4
|
-
|
5
|
-
|
6
|
-
|
7
|
-
|
8
|
-
|
9
|
-
|
10
|
-
|
11
|
-
$(document).on('ready page:change', function() {
|
12
|
-
Waves.displayEffect({duration: 900});
|
13
|
-
});
|
1
|
+
/*!
|
2
|
+
* Waves v0.7.2
|
3
|
+
* http://fian.my.id/Waves
|
4
|
+
*
|
5
|
+
* Copyright 2014 Alfiana E. Sibuea and other contributors
|
6
|
+
* Released under the MIT license
|
7
|
+
* https://github.com/fians/Waves/blob/master/LICENSE
|
8
|
+
*/
|
9
|
+
!function(a,b){"use strict";"function"==typeof define&&define.amd?define([],function(){return b.apply(a)}):"object"==typeof exports?module.exports=b.call(a):a.Waves=b.call(a)}("object"==typeof global?global:this,function(){"use strict";function a(a){return null!==a&&a===a.window}function b(b){return a(b)?b:9===b.nodeType&&b.defaultView}function c(a){var b=typeof a;return"function"===b||"object"===b&&!!a}function d(a){return c(a)&&a.nodeType>0}function e(a){var b=m.call(a);return"[object String]"===b?l(a):c(a)&&/^\[object (HTMLCollection|NodeList|Object)\]$/.test(b)&&a.hasOwnProperty("length")?a:d(a)?[a]:[]}function f(a){var c,d,e={top:0,left:0},f=a&&a.ownerDocument;return c=f.documentElement,"undefined"!=typeof a.getBoundingClientRect&&(e=a.getBoundingClientRect()),d=b(f),{top:e.top+d.pageYOffset-c.clientTop,left:e.left+d.pageXOffset-c.clientLeft}}function g(a){var b="";for(var c in a)a.hasOwnProperty(c)&&(b+=c+":"+a[c]+";");return b}function h(a,b,c){if(c){c.classList.remove("waves-rippling");var d=c.getAttribute("data-x"),e=c.getAttribute("data-y"),f=c.getAttribute("data-scale"),h=c.getAttribute("data-translate"),i=Date.now()-Number(c.getAttribute("data-hold")),j=350-i;0>j&&(j=0),"mousemove"===a.type&&(j=150);var k="mousemove"===a.type?2500:o.duration;setTimeout(function(){var a={top:e+"px",left:d+"px",opacity:"0","-webkit-transition-duration":k+"ms","-moz-transition-duration":k+"ms","-o-transition-duration":k+"ms","transition-duration":k+"ms","-webkit-transform":f+" "+h,"-moz-transform":f+" "+h,"-ms-transform":f+" "+h,"-o-transform":f+" "+h,transform:f+" "+h};c.setAttribute("style",g(a)),setTimeout(function(){try{b.removeChild(c)}catch(a){return!1}},k)},j)}}function i(a){if(q.allowEvent(a)===!1)return null;for(var b=null,c=a.target||a.srcElement;null!==c.parentElement;){if(c.classList.contains("waves-effect")&&!(c instanceof SVGElement)){b=c;break}c=c.parentElement}return b}function j(a){q.registerEvent(a);var b=i(a);if(null!==b)if("touchstart"===a.type&&o.delay){var c=!1,d=setTimeout(function(){d=null,o.show(a,b)},o.delay),e=function(e){d&&(clearTimeout(d),d=null,o.show(a,b)),c||(c=!0,o.hide(e,b))},f=function(a){d&&(clearTimeout(d),d=null),e(a)};b.addEventListener("touchmove",f,!1),b.addEventListener("touchend",e,!1),b.addEventListener("touchcancel",e,!1)}else o.show(a,b),n&&(b.addEventListener("touchend",o.hide,!1),b.addEventListener("touchcancel",o.hide,!1)),b.addEventListener("mouseup",o.hide,!1),b.addEventListener("mouseleave",o.hide,!1)}var k=k||{},l=document.querySelectorAll.bind(document),m=Object.prototype.toString,n="ontouchstart"in window,o={duration:750,delay:200,show:function(a,b,c){if(2===a.button)return!1;b=b||this;var d=document.createElement("div");d.className="waves-ripple waves-rippling",b.appendChild(d);var e=f(b),h=a.pageY-e.top,i=a.pageX-e.left,j="scale("+b.clientWidth/100*3+")",k="translate(0,0)";c&&(k="translate("+c.x+"px, "+c.y+"px)"),"touches"in a&&a.touches.length&&(h=a.touches[0].pageY-e.top,i=a.touches[0].pageX-e.left),d.setAttribute("data-hold",Date.now()),d.setAttribute("data-x",i),d.setAttribute("data-y",h),d.setAttribute("data-scale",j),d.setAttribute("data-translate",k);var l={top:h+"px",left:i+"px"};d.classList.add("waves-notransition"),d.setAttribute("style",g(l)),d.classList.remove("waves-notransition"),l["-webkit-transform"]=j+" "+k,l["-moz-transform"]=j+" "+k,l["-ms-transform"]=j+" "+k,l["-o-transform"]=j+" "+k,l.transform=j+" "+k,l.opacity="1";var m="mousemove"===a.type?2500:o.duration;l["-webkit-transition-duration"]=m+"ms",l["-moz-transition-duration"]=m+"ms",l["-o-transition-duration"]=m+"ms",l["transition-duration"]=m+"ms",d.setAttribute("style",g(l))},hide:function(a,b){b=b||this;for(var c=b.getElementsByClassName("waves-rippling"),d=0,e=c.length;e>d;d++)h(a,b,c[d])}},p={input:function(a){var b=a.parentNode;if("i"!==b.tagName.toLowerCase()||!b.classList.contains("waves-effect")){var c=document.createElement("i");c.className=a.className+" waves-input-wrapper",a.className="waves-button-input",b.replaceChild(c,a),c.appendChild(a);var d=window.getComputedStyle(a,null),e=d.color,f=d.backgroundColor;c.setAttribute("style","color:"+e+";background:"+f),a.setAttribute("style","background-color:rgba(0,0,0,0);")}},img:function(a){var b=a.parentNode;if("i"!==b.tagName.toLowerCase()||!b.classList.contains("waves-effect")){var c=document.createElement("i");b.replaceChild(c,a),c.appendChild(a)}}},q={touches:0,allowEvent:function(a){var b=!0;return/^(mousedown|mousemove)$/.test(a.type)&&q.touches&&(b=!1),b},registerEvent:function(a){var b=a.type;"touchstart"===b?q.touches+=1:/^(touchend|touchcancel)$/.test(b)&&setTimeout(function(){q.touches&&(q.touches-=1)},500)}};return k.init=function(a){var b=document.body;a=a||{},"duration"in a&&(o.duration=a.duration),"delay"in a&&(o.delay=a.delay),n&&(b.addEventListener("touchstart",j,!1),b.addEventListener("touchcancel",q.registerEvent,!1),b.addEventListener("touchend",q.registerEvent,!1)),b.addEventListener("mousedown",j,!1)},k.attach=function(a,b){a=e(a),"[object Array]"===m.call(b)&&(b=b.join(" ")),b=b?" "+b:"";for(var c,d,f=0,g=a.length;g>f;f++)c=a[f],d=c.tagName.toLowerCase(),-1!==["input","img"].indexOf(d)&&(p[d](c),c=c.parentElement),c.className+=" waves-effect"+b},k.ripple=function(a,b){a=e(a);var c=a.length;if(b=b||{},b.wait=b.wait||0,b.position=b.position||null,c)for(var d,g,h,i={},j=0,k={type:"mousedown",button:1},l=function(a,b){return function(){o.hide(a,b)}};c>j;j++)if(d=a[j],g=b.position||{x:d.clientWidth/2,y:d.clientHeight/2},h=f(d),i.x=h.left+g.x,i.y=h.top+g.y,k.pageX=i.x,k.pageY=i.y,o.show(k,d),b.wait>=0&&null!==b.wait){var m={type:"mouseup",button:1};setTimeout(l(m,d),b.wait)}},k.calm=function(a){a=e(a);for(var b={type:"mouseup",button:1},c=0,d=a.length;d>c;c++)o.hide(b,a[c])},k.displayEffect=function(a){console.error("Waves.displayEffect() has been deprecated and will be removed in future version. Please use Waves.init() to initialize Waves effect"),k.init(a)},k});
|
10
|
+
//# sourceMappingURL=waves.min.js.map
|
@@ -1,48 +1,45 @@
|
|
1
1
|
// webfont.js
|
2
2
|
WebFontConfig = {
|
3
3
|
classes: false,
|
4
|
-
fontactive: function() {
|
5
|
-
$('.avoid-fout').each(function(index) {
|
6
|
-
$(this).addClass('avoid-fout-done');
|
7
|
-
});
|
8
|
-
|
9
|
-
// fixed left/right hand side column padding bottom and width
|
10
|
-
contentFixPushCal();
|
11
|
-
|
12
|
-
// footer push
|
13
|
-
footerPush();
|
14
|
-
|
15
|
-
// header height
|
16
|
-
headerHeightCal();
|
17
|
-
|
18
|
-
// tile wrap animation
|
19
|
-
tileInView();
|
20
|
-
},
|
21
|
-
fontinactive: function() {
|
22
|
-
$('.avoid-fout').each(function(index) {
|
23
|
-
$(this).addClass('avoid-fout-done');
|
24
|
-
});
|
25
|
-
|
26
|
-
// fixed left/right hand side column padding bottom and width
|
27
|
-
contentFixPushCal();
|
28
|
-
|
29
|
-
// footer push
|
30
|
-
footerPush();
|
31
|
-
|
32
|
-
// header height
|
33
|
-
headerHeightCal();
|
34
|
-
|
35
|
-
// tile wrap animation
|
36
|
-
tileInView();
|
37
|
-
},
|
38
4
|
google: {
|
39
5
|
families: ['Roboto:300,300italic,400,400italic,700,700italic']
|
40
|
-
}
|
6
|
+
},
|
7
|
+
// callbacks
|
8
|
+
active: function() {
|
9
|
+
$('.avoid-fout').each(function(index) {
|
10
|
+
$(this).addClass('avoid-fout-done');
|
11
|
+
});
|
12
|
+
|
13
|
+
// fixed left/right hand side column padding bottom and width
|
14
|
+
contentFixPushCal();
|
15
|
+
|
16
|
+
// footer push
|
17
|
+
footerPush();
|
18
|
+
|
19
|
+
// header height
|
20
|
+
headerHeightCal();
|
21
|
+
|
22
|
+
// tab indicator
|
23
|
+
$('.tab-nav').each(function() {
|
24
|
+
tabSwitch($('.nav > li.active', $(this)), null);
|
25
|
+
});
|
26
|
+
|
27
|
+
// tile wrap animation
|
28
|
+
tileInView();
|
29
|
+
},
|
30
|
+
inactive: function() {
|
31
|
+
$('.avoid-fout').each(function(index) {
|
32
|
+
$(this).addClass('avoid-fout-done');
|
33
|
+
});
|
34
|
+
|
35
|
+
// tile wrap animation
|
36
|
+
tileInView();
|
37
|
+
}
|
41
38
|
};
|
42
39
|
|
43
40
|
(function() {
|
44
41
|
var wf = document.createElement('script');
|
45
|
-
wf.src = ('https:' == document.location.protocol ? 'https' : 'http') + '://ajax.googleapis.com/ajax/libs/webfont/1.5.
|
42
|
+
wf.src = ('https:' == document.location.protocol ? 'https' : 'http') + '://ajax.googleapis.com/ajax/libs/webfont/1.5.18/webfont.js';
|
46
43
|
wf.type = 'text/javascript';
|
47
44
|
wf.async = 'true';
|
48
45
|
var s = document.getElementsByTagName('script')[0];
|
@@ -1 +1,2 @@
|
|
1
|
-
//= require_tree ./material
|
1
|
+
//= require_tree ./material
|
2
|
+
//= require 'init'
|
@@ -3,10 +3,9 @@
|
|
3
3
|
*,
|
4
4
|
*:after,
|
5
5
|
*:before {
|
6
|
-
|
6
|
+
box-sizing: border-box;
|
7
7
|
}
|
8
8
|
|
9
|
-
|
10
9
|
@-ms-viewport {
|
11
10
|
width: device-width;
|
12
11
|
}
|
@@ -33,7 +32,7 @@
|
|
33
32
|
color: $black-text;
|
34
33
|
font-family: $font-fam;
|
35
34
|
font-size: $font-size;
|
36
|
-
font-weight:
|
35
|
+
font-weight: $font-weight;
|
37
36
|
line-height: $line-height;
|
38
37
|
margin: 0;
|
39
38
|
padding: 0;
|
@@ -159,8 +158,8 @@
|
|
159
158
|
}
|
160
159
|
|
161
160
|
input[type="search"] {
|
161
|
+
box-sizing: border-box;
|
162
162
|
-webkit-appearance: none;
|
163
|
-
@include box-sizing(border-box);
|
164
163
|
}
|
165
164
|
|
166
165
|
input[type="search"]::-webkit-search-cancel-button,
|
@@ -170,7 +169,7 @@
|
|
170
169
|
|
171
170
|
label {
|
172
171
|
display: inline-block;
|
173
|
-
font-weight:
|
172
|
+
font-weight: $font-weight;
|
174
173
|
margin: 0;
|
175
174
|
max-width: 100%;
|
176
175
|
}
|
@@ -180,7 +179,7 @@
|
|
180
179
|
color: $black-text;
|
181
180
|
display: block;
|
182
181
|
font-size: $font-size-h3;
|
183
|
-
font-weight:
|
182
|
+
font-weight: $font-weight;
|
184
183
|
line-height: $line-height-h3;
|
185
184
|
margin: 0 0 $line-height;
|
186
185
|
padding: 0;
|
@@ -188,7 +187,7 @@
|
|
188
187
|
}
|
189
188
|
|
190
189
|
optgroup {
|
191
|
-
font-weight:
|
190
|
+
font-weight: $font-weight-bold;
|
192
191
|
}
|
193
192
|
|
194
193
|
select[multiple],
|
@@ -222,21 +221,21 @@
|
|
222
221
|
address {
|
223
222
|
font-size: $font-size;
|
224
223
|
font-style: normal;
|
225
|
-
font-weight:
|
224
|
+
font-weight: $font-weight;
|
226
225
|
line-height: $line-height;
|
227
226
|
margin: $line-height 0;
|
228
227
|
}
|
229
228
|
|
230
229
|
b,
|
231
230
|
strong {
|
232
|
-
font-weight:
|
231
|
+
font-weight: $font-weight-bold;
|
233
232
|
}
|
234
233
|
|
235
234
|
blockquote,
|
236
235
|
q {
|
237
236
|
font-size: $font-size-h4;
|
238
237
|
font-style: italic;
|
239
|
-
font-weight:
|
238
|
+
font-weight: $font-weight-light;
|
240
239
|
line-height: $line-height-h4;
|
241
240
|
margin: ($line-height * 1.5) 0;
|
242
241
|
padding-right: ($grid-gutter * 2);
|
@@ -247,7 +246,7 @@
|
|
247
246
|
color: $brand-color;
|
248
247
|
display: block;
|
249
248
|
font-size: $font-size-h1;
|
250
|
-
font-weight:
|
249
|
+
font-weight: $font-weight-bold;
|
251
250
|
line-height: 0;
|
252
251
|
position: absolute;
|
253
252
|
top: 0;
|
@@ -282,7 +281,7 @@
|
|
282
281
|
}
|
283
282
|
|
284
283
|
dt {
|
285
|
-
font-weight:
|
284
|
+
font-weight: $font-weight-bold;
|
286
285
|
}
|
287
286
|
|
288
287
|
h1,
|
@@ -299,7 +298,7 @@
|
|
299
298
|
.h6 {
|
300
299
|
color: inherit;
|
301
300
|
font-family: $font-fam;
|
302
|
-
font-weight:
|
301
|
+
font-weight: $font-weight-bold;
|
303
302
|
margin-top: ($line-height * 2);
|
304
303
|
margin-bottom: $line-height;
|
305
304
|
}
|
@@ -350,7 +349,7 @@
|
|
350
349
|
.h4 {
|
351
350
|
small {
|
352
351
|
font-size: $font-size;
|
353
|
-
font-weight:
|
352
|
+
font-weight: $font-weight;
|
354
353
|
}
|
355
354
|
}
|
356
355
|
|
@@ -358,11 +357,11 @@
|
|
358
357
|
.hr {
|
359
358
|
border: 0;
|
360
359
|
border-top: 1px solid $black-hint;
|
360
|
+
box-sizing: content-box;
|
361
361
|
display: block;
|
362
362
|
height: 0;
|
363
363
|
margin-top: $line-height;
|
364
364
|
margin-bottom: $line-height;
|
365
|
-
@include box-sizing(content-box);
|
366
365
|
}
|
367
366
|
|
368
367
|
img {
|
@@ -402,7 +401,7 @@
|
|
402
401
|
// position
|
403
402
|
bottom: -0.25em;
|
404
403
|
}
|
405
|
-
|
404
|
+
|
406
405
|
sup {
|
407
406
|
// position
|
408
407
|
top: -0.5em;
|
@@ -420,4 +419,4 @@
|
|
420
419
|
|
421
420
|
th {
|
422
421
|
text-align: left;
|
423
|
-
}
|
422
|
+
}
|
@@ -61,20 +61,20 @@ body.el-loading {
|
|
61
61
|
.avoid-fout > .avoid-fout-indicator,
|
62
62
|
.el-loading > .el-loading-indicator {
|
63
63
|
background-color: $white;
|
64
|
+
box-shadow: 0 -1px 0 $black-bg, 0 0 2px rgba(0, 0, 0, 0.1), 0 2px 4px rgba(0, 0, 0, 0.15);
|
64
65
|
height: 100%;
|
66
|
+
opacity: 1;
|
65
67
|
padding: $line-height $grid-gutter;
|
66
68
|
width: 100%;
|
67
|
-
@include box-shadow(0 -1px 0 $black-bg, 0 0 2px rgba(0, 0, 0, 0.1), 0 2px 4px rgba(0, 0, 0, 0.15));
|
68
|
-
@include opacity(1);
|
69
69
|
}
|
70
70
|
|
71
71
|
.avoid-fout-done > .avoid-fout-indicator,
|
72
72
|
.el-loading-done > .el-loading-indicator {
|
73
73
|
height: 0;
|
74
|
+
opacity: 0;
|
74
75
|
padding: 0;
|
75
76
|
width: 0;
|
76
|
-
|
77
|
-
@include transition(height 0s 0.3s, opacity 0.3s $timing, padding 0s 0.3s, width 0s 0.3s);
|
77
|
+
transition: height 0s 0.3s, opacity 0.3s $timing, padding 0s 0.3s, width 0s 0.3s;
|
78
78
|
}
|
79
79
|
|
80
80
|
.avoid-fout-indicator-fixed,
|
@@ -121,14 +121,14 @@ body.el-loading {
|
|
121
121
|
height: 0;
|
122
122
|
overflow: hidden;
|
123
123
|
position: relative;
|
124
|
-
|
124
|
+
transition: height 0.3s $timing;
|
125
125
|
}
|
126
126
|
|
127
127
|
.fade {
|
128
|
-
|
129
|
-
|
128
|
+
opacity: 0;
|
129
|
+
transition: opacity 0.3s $timing;
|
130
130
|
&.in {
|
131
|
-
|
131
|
+
opacity: 1;
|
132
132
|
}
|
133
133
|
}
|
134
134
|
|
@@ -257,16 +257,13 @@ body.el-loading {
|
|
257
257
|
}
|
258
258
|
|
259
259
|
.text-break {
|
260
|
+
hyphens: auto;
|
260
261
|
word-break: break-all;
|
261
|
-
-webkit-hyphens: auto;
|
262
|
-
-moz-hyphens: auto;
|
263
|
-
-ms-hyphens: auto;
|
264
|
-
hyphens: auto;
|
265
262
|
}
|
266
263
|
|
267
264
|
.text-lead {
|
268
265
|
font-size: $font-size-h4;
|
269
|
-
font-weight:
|
266
|
+
font-weight: $font-weight-light;
|
270
267
|
line-height: $line-height-h4;
|
271
268
|
}
|
272
269
|
|
@@ -291,7 +288,7 @@ body.el-loading {
|
|
291
288
|
text-align: right;
|
292
289
|
}
|
293
290
|
|
294
|
-
//
|
291
|
+
// colour
|
295
292
|
.text-bg {
|
296
293
|
color: $black-bg;
|
297
294
|
}
|
@@ -318,8 +315,8 @@ body.el-loading {
|
|
318
315
|
|
319
316
|
@each $color in $palette-list {
|
320
317
|
$i: index($palette-list, $color);
|
321
|
-
|
318
|
+
|
322
319
|
.text-#{$color} {
|
323
320
|
color: nth($palette-color, $i);
|
324
321
|
}
|
325
|
-
}
|
322
|
+
}
|
@@ -76,6 +76,11 @@
|
|
76
76
|
$font-size-h6: ($base * 1.5); // 12px
|
77
77
|
$font-size-lg: ($base * 7.5); // 60px
|
78
78
|
|
79
|
+
// font weight
|
80
|
+
$font-weight: 400;
|
81
|
+
$font-weight-bold: 700;
|
82
|
+
$font-weight-light: 300;
|
83
|
+
|
79
84
|
// line height
|
80
85
|
$line-height: ($base * 3); // 24px
|
81
86
|
$line-height-h1: ($base * 6); // 48px
|
@@ -91,8 +96,6 @@
|
|
91
96
|
$cell-height: (($base * 3) * 2); // 48px
|
92
97
|
$input-height: (($base * 3) * 1.5); // 36px
|
93
98
|
|
94
|
-
$fa-font-size-base: $font-size !default;
|
95
|
-
|
96
99
|
// grid
|
97
100
|
$grid-cols: 12;
|
98
101
|
$grid-gutter: ($base * 2);
|
@@ -114,4 +117,4 @@
|
|
114
117
|
$bottom-base: 10;
|
115
118
|
$content-base: 20;
|
116
119
|
$header-base: 30;
|
117
|
-
$top-base: 40;
|
120
|
+
$top-base: 40;
|
@@ -1,9 +1,9 @@
|
|
1
|
-
//
|
2
|
-
//
|
3
|
-
@import "material-design-icon/variables";
|
1
|
+
// material design icons v2.0.0
|
2
|
+
// http://google.github.io/material-design-icons/#icon-font-for-the-web
|
3
|
+
@import "material-design-icon/variables";
|
4
4
|
|
5
|
-
@import "material-design-icon/path";
|
5
|
+
@import "material-design-icon/path";
|
6
6
|
|
7
|
-
@import "material-design-icon/core";
|
7
|
+
@import "material-design-icon/core";
|
8
8
|
|
9
|
-
@import "material-design-icon/
|
9
|
+
@import "material-design-icon/larger";
|
@@ -1,6 +1,6 @@
|
|
1
|
-
.waves-button,
|
1
|
+
.waves-button,
|
2
2
|
.waves-circle {
|
3
|
-
|
3
|
+
transform: translateZ(0);
|
4
4
|
}
|
5
5
|
|
6
6
|
.waves-effect {
|
@@ -10,8 +10,7 @@
|
|
10
10
|
.waves-ripple {
|
11
11
|
background-color: rgba(0, 0, 0, 0.1);
|
12
12
|
$gradient: rgba(0, 0, 0, 0.1) 0, rgba(0, 0, 0, 0.2) 30%, rgba(0, 0, 0, 0.3) 40%, rgba(0, 0, 0, 0.4) 50%, rgba(255, 255, 255, 0) 60%;
|
13
|
-
background-image:
|
14
|
-
background-image: radial-gradient($gradient);
|
13
|
+
background-image: radial-gradient($gradient);
|
15
14
|
border-radius: 50%;
|
16
15
|
height: 100px;
|
17
16
|
margin-top: -50px;
|
@@ -19,33 +18,28 @@
|
|
19
18
|
opacity: 0;
|
20
19
|
pointer-events: none;
|
21
20
|
position: absolute;
|
21
|
+
transform: scale(0);
|
22
|
+
transition: all 0.3s $timing;
|
23
|
+
transition-property: opacity, transform;
|
22
24
|
width: 100px;
|
23
|
-
-webkit-transition-property: -webkit-transform, opacity;
|
24
|
-
transition-property: transform, opacity;
|
25
|
-
@include transform(scale(0));
|
26
|
-
@include transition(all 0.3s $timing);
|
27
|
-
-webkit-transition-property: opacity, -webkit-transform;
|
28
|
-
transition-property: opacity, transform;
|
29
25
|
|
30
26
|
}
|
31
27
|
&.waves-light .waves-ripple {
|
32
28
|
background-color: rgba(255, 255, 255, 0.4);
|
33
29
|
$gradient: rgba(255, 255, 255, 0.1) 0, rgba(255, 255, 255, 0.2) 30%, rgba(255, 255, 255, 0.3) 40%, rgba(255, 255, 255, 0.4) 50%, rgba(255, 255, 255, 0) 60%;
|
34
|
-
background-image:
|
35
|
-
background-image: radial-gradient($gradient);
|
30
|
+
background-image: radial-gradient($gradient);
|
36
31
|
}
|
37
32
|
@each $color in $palette-list {
|
38
33
|
$i: index($palette-list, $color);
|
39
|
-
|
34
|
+
|
40
35
|
&.waves-color-#{$color} .waves-ripple {
|
41
36
|
background-color: nth($palette-color-light, $i);
|
42
37
|
$gradient: rgba(red(nth($palette-color, $i)), green(nth($palette-color, $i)), blue(nth($palette-color, $i)), 0.1) 0, rgba(red(nth($palette-color, $i)), green(nth($palette-color, $i)), blue(nth($palette-color, $i)), 1) 100%;
|
43
|
-
background-image:
|
44
|
-
background-image: radial-gradient($gradient);
|
38
|
+
background-image: radial-gradient($gradient);
|
45
39
|
}
|
46
40
|
}
|
47
41
|
}
|
48
42
|
|
49
43
|
.waves-notransition {
|
50
|
-
|
51
|
-
}
|
44
|
+
transition: none !important;
|
45
|
+
}
|
@@ -1,17 +1,20 @@
|
|
1
1
|
.#{$mdicon-css-prefix} {
|
2
|
-
|
3
|
-
|
4
|
-
|
5
|
-
|
6
|
-
|
7
|
-
|
8
|
-
|
9
|
-
|
10
|
-
|
11
|
-
|
2
|
+
font-family: 'Material Icons';
|
3
|
+
font-weight: normal;
|
4
|
+
font-style: normal;
|
5
|
+
font-size: inherit;
|
6
|
+
display: inline-block;
|
7
|
+
height: 1em;
|
8
|
+
line-height: 1;
|
9
|
+
text-rendering: optimizeLegibility;
|
10
|
+
text-transform: none;
|
11
|
+
letter-spacing: normal;
|
12
|
+
vertical-align: -10%;
|
13
|
+
width: 1em;
|
14
|
+
word-wrap: normal;
|
15
|
+
-webkit-font-smoothing: antialiased;
|
16
|
+
-moz-osx-font-smoothing: grayscale;
|
12
17
|
|
13
|
-
|
14
|
-
font-
|
15
|
-
|
16
|
-
vertical-align: -20%;
|
17
|
-
}
|
18
|
+
/* ie */
|
19
|
+
font-feature-settings: 'liga';
|
20
|
+
}
|
@@ -0,0 +1,20 @@
|
|
1
|
+
.#{$mdicon-css-prefix}-2x {
|
2
|
+
font-size: 2em;
|
3
|
+
}
|
4
|
+
|
5
|
+
.#{$mdicon-css-prefix}-3x {
|
6
|
+
font-size: 3em;
|
7
|
+
}
|
8
|
+
|
9
|
+
.#{$mdicon-css-prefix}-4x {
|
10
|
+
font-size: 4em;
|
11
|
+
}
|
12
|
+
|
13
|
+
.#{$mdicon-css-prefix}-5x {
|
14
|
+
font-size: 5em;
|
15
|
+
}
|
16
|
+
|
17
|
+
.#{$mdicon-css-prefix}-lg {
|
18
|
+
font-size: 1.5em;
|
19
|
+
vertical-align: -26%;
|
20
|
+
}
|
@@ -1,10 +1,11 @@
|
|
1
1
|
@font-face {
|
2
|
-
font-family:
|
2
|
+
font-family: 'Material Icons';
|
3
3
|
font-style: normal;
|
4
|
-
font-weight:
|
5
|
-
src: font-url("
|
6
|
-
src:
|
7
|
-
|
8
|
-
font-url("
|
9
|
-
font-url("
|
10
|
-
}
|
4
|
+
font-weight: $font-weight;
|
5
|
+
src: font-url("MaterialIcons-Regular.eot?v=#{$mdversion}");
|
6
|
+
src: local('Material Icons'),
|
7
|
+
local('MaterialIcons-Regular'),
|
8
|
+
font-url("MaterialIcons-Regular.woff2?v=#{$mdversion}") format("woff2"),
|
9
|
+
font-url("MaterialIcons-Regular.woff?v=#{$mdversion}") format("woff"),
|
10
|
+
font-url("MaterialIcons-Regular.ttf?v=#{$mdversion}") format("truetype"),
|
11
|
+
}
|