Initial
This commit is contained in:
Binary file not shown.
@@ -0,0 +1 @@
|
||||
{"modelTopology": {"backend": "tensorflow", "keras_version": "2.0.9", "model_config": {"class_name": "Model", "config": {"input_layers": [["input_1", 0, 0]], "output_layers": [["dense_6", 0, 0]], "layers": [{"class_name": "InputLayer", "config": {"dtype": "float32", "sparse": false, "batch_input_shape": [null, 82], "name": "input_1"}, "inbound_nodes": [], "name": "input_1"}, {"class_name": "Dense", "config": {"bias_initializer": {"class_name": "Zeros", "config": {}}, "bias_constraint": null, "kernel_regularizer": null, "bias_regularizer": null, "activity_regularizer": null, "kernel_initializer": {"class_name": "VarianceScaling", "config": {"mode": "fan_avg", "scale": 1.0, "distribution": "uniform", "seed": null}}, "name": "dense_1", "kernel_constraint": null, "use_bias": true, "activation": "tanh", "trainable": true, "units": 70}, "inbound_nodes": [[["input_1", 0, 0, {}]]], "name": "dense_1"}, {"class_name": "Dense", "config": {"bias_initializer": {"class_name": "Zeros", "config": {}}, "bias_constraint": null, "kernel_regularizer": null, "bias_regularizer": null, "activity_regularizer": null, "kernel_initializer": {"class_name": "VarianceScaling", "config": {"mode": "fan_avg", "scale": 1.0, "distribution": "uniform", "seed": null}}, "name": "dense_2", "kernel_constraint": null, "use_bias": true, "activation": "tanh", "trainable": true, "units": 40}, "inbound_nodes": [[["dense_1", 0, 0, {}]]], "name": "dense_2"}, {"class_name": "Dense", "config": {"bias_initializer": {"class_name": "Zeros", "config": {}}, "bias_constraint": null, "kernel_regularizer": null, "bias_regularizer": null, "activity_regularizer": null, "kernel_initializer": {"class_name": "VarianceScaling", "config": {"mode": "fan_avg", "scale": 1.0, "distribution": "uniform", "seed": null}}, "name": "dense_3", "kernel_constraint": null, "use_bias": true, "activation": "tanh", "trainable": true, "units": 2}, "inbound_nodes": [[["dense_2", 0, 0, {}]]], "name": "dense_3"}, {"class_name": "Dense", "config": {"bias_initializer": {"class_name": "Zeros", "config": {}}, "bias_constraint": null, "kernel_regularizer": null, "bias_regularizer": null, "activity_regularizer": null, "kernel_initializer": {"class_name": "VarianceScaling", "config": {"mode": "fan_avg", "scale": 1.0, "distribution": "uniform", "seed": null}}, "name": "dense_4", "kernel_constraint": null, "use_bias": true, "activation": "tanh", "trainable": true, "units": 70}, "inbound_nodes": [[["dense_3", 0, 0, {}]]], "name": "dense_4"}, {"class_name": "Dense", "config": {"bias_initializer": {"class_name": "Zeros", "config": {}}, "bias_constraint": null, "kernel_regularizer": null, "bias_regularizer": null, "activity_regularizer": null, "kernel_initializer": {"class_name": "VarianceScaling", "config": {"mode": "fan_avg", "scale": 1.0, "distribution": "uniform", "seed": null}}, "name": "dense_5", "kernel_constraint": null, "use_bias": true, "activation": "tanh", "trainable": true, "units": 40}, "inbound_nodes": [[["dense_4", 0, 0, {}]]], "name": "dense_5"}, {"class_name": "Dense", "config": {"bias_initializer": {"class_name": "Zeros", "config": {}}, "bias_constraint": null, "kernel_regularizer": null, "bias_regularizer": null, "activity_regularizer": null, "kernel_initializer": {"class_name": "VarianceScaling", "config": {"mode": "fan_avg", "scale": 1.0, "distribution": "uniform", "seed": null}}, "name": "dense_6", "kernel_constraint": null, "use_bias": true, "activation": "sigmoid", "trainable": true, "units": 82}, "inbound_nodes": [[["dense_5", 0, 0, {}]]], "name": "dense_6"}], "name": "model_1"}}, "training_config": {"loss_weights": null, "optimizer_config": {"class_name": "Adadelta", "config": {"epsilon": 1e-08, "decay": 0.0, "rho": 0.95, "lr": 1.0}}, "loss": "binary_crossentropy", "metrics": ["binary_accuracy"], "sample_weight_mode": null}}, "weightsManifest": [{"paths": ["group1-shard1of1"], "weights": [{"shape": [82, 70], "dtype": "float32", "name": "dense_1/kernel"}, {"shape": [70], "dtype": "float32", "name": "dense_1/bias"}, {"shape": [70, 40], "dtype": "float32", "name": "dense_2/kernel"}, {"shape": [40], "dtype": "float32", "name": "dense_2/bias"}, {"shape": [40, 2], "dtype": "float32", "name": "dense_3/kernel"}, {"shape": [2], "dtype": "float32", "name": "dense_3/bias"}, {"shape": [2, 70], "dtype": "float32", "name": "dense_4/kernel"}, {"shape": [70], "dtype": "float32", "name": "dense_4/bias"}, {"shape": [70, 40], "dtype": "float32", "name": "dense_5/kernel"}, {"shape": [40], "dtype": "float32", "name": "dense_5/bias"}, {"shape": [40, 82], "dtype": "float32", "name": "dense_6/kernel"}, {"shape": [82], "dtype": "float32", "name": "dense_6/bias"}]}]}
|
||||
BIN
public/data/adadelta10-1024tanh-decoder-tfmodel/group1-shard1of1
Normal file
BIN
public/data/adadelta10-1024tanh-decoder-tfmodel/group1-shard1of1
Normal file
Binary file not shown.
@@ -0,0 +1 @@
|
||||
{"modelTopology": {"backend": "tensorflow", "model_config": {"config": {"layers": [{"config": {"batch_input_shape": [null, 2], "sparse": false, "name": "input_2", "dtype": "float32"}, "inbound_nodes": [], "class_name": "InputLayer", "name": "input_2"}, {"config": {"bias_initializer": {"config": {}, "class_name": "Zeros"}, "use_bias": true, "units": 70, "activity_regularizer": null, "activation": "tanh", "name": "dense_4", "kernel_initializer": {"config": {"scale": 1.0, "seed": null, "mode": "fan_avg", "distribution": "uniform"}, "class_name": "VarianceScaling"}, "bias_constraint": null, "bias_regularizer": null, "kernel_constraint": null, "trainable": true, "kernel_regularizer": null}, "inbound_nodes": [[["input_2", 0, 0, {}]]], "class_name": "Dense", "name": "dense_4"}, {"config": {"bias_initializer": {"config": {}, "class_name": "Zeros"}, "use_bias": true, "units": 40, "activity_regularizer": null, "activation": "tanh", "name": "dense_5", "kernel_initializer": {"config": {"scale": 1.0, "seed": null, "mode": "fan_avg", "distribution": "uniform"}, "class_name": "VarianceScaling"}, "bias_constraint": null, "bias_regularizer": null, "kernel_constraint": null, "trainable": true, "kernel_regularizer": null}, "inbound_nodes": [[["dense_4", 0, 0, {}]]], "class_name": "Dense", "name": "dense_5"}, {"config": {"bias_initializer": {"config": {}, "class_name": "Zeros"}, "use_bias": true, "units": 82, "activity_regularizer": null, "activation": "sigmoid", "name": "dense_6", "kernel_initializer": {"config": {"scale": 1.0, "seed": null, "mode": "fan_avg", "distribution": "uniform"}, "class_name": "VarianceScaling"}, "bias_constraint": null, "bias_regularizer": null, "kernel_constraint": null, "trainable": true, "kernel_regularizer": null}, "inbound_nodes": [[["dense_5", 0, 0, {}]]], "class_name": "Dense", "name": "dense_6"}], "input_layers": [["input_2", 0, 0]], "name": "model_3", "output_layers": [["dense_6", 0, 0]]}, "class_name": "Model"}, "keras_version": "2.0.9"}, "weightsManifest": [{"paths": ["group1-shard1of1"], "weights": [{"shape": [2, 70], "name": "dense_4/kernel", "dtype": "float32"}, {"shape": [70], "name": "dense_4/bias", "dtype": "float32"}, {"shape": [70, 40], "name": "dense_5/kernel", "dtype": "float32"}, {"shape": [40], "name": "dense_5/bias", "dtype": "float32"}, {"shape": [40, 82], "name": "dense_6/kernel", "dtype": "float32"}, {"shape": [82], "name": "dense_6/bias", "dtype": "float32"}]}]}
|
||||
BIN
public/data/adadelta10-1024tanh-encoder-combined.bin
Normal file
BIN
public/data/adadelta10-1024tanh-encoder-combined.bin
Normal file
Binary file not shown.
BIN
public/data/adadelta10-1024tanh-encoder-combined.h5
Normal file
BIN
public/data/adadelta10-1024tanh-encoder-combined.h5
Normal file
Binary file not shown.
BIN
public/data/adadelta10-1024tanh-encoder-tfmodel/group1-shard1of1
Normal file
BIN
public/data/adadelta10-1024tanh-encoder-tfmodel/group1-shard1of1
Normal file
Binary file not shown.
@@ -0,0 +1 @@
|
||||
{"modelTopology": {"model_config": {"config": {"name": "model_2", "layers": [{"name": "input_1", "config": {"name": "input_1", "dtype": "float32", "batch_input_shape": [null, 82], "sparse": false}, "class_name": "InputLayer", "inbound_nodes": []}, {"name": "dense_1", "config": {"kernel_regularizer": null, "kernel_initializer": {"config": {"scale": 1.0, "seed": null, "mode": "fan_avg", "distribution": "uniform"}, "class_name": "VarianceScaling"}, "use_bias": true, "trainable": true, "activation": "tanh", "units": 70, "bias_constraint": null, "activity_regularizer": null, "bias_regularizer": null, "name": "dense_1", "bias_initializer": {"config": {}, "class_name": "Zeros"}, "kernel_constraint": null}, "class_name": "Dense", "inbound_nodes": [[["input_1", 0, 0, {}]]]}, {"name": "dense_2", "config": {"kernel_regularizer": null, "kernel_initializer": {"config": {"scale": 1.0, "seed": null, "mode": "fan_avg", "distribution": "uniform"}, "class_name": "VarianceScaling"}, "use_bias": true, "trainable": true, "activation": "tanh", "units": 40, "bias_constraint": null, "activity_regularizer": null, "bias_regularizer": null, "name": "dense_2", "bias_initializer": {"config": {}, "class_name": "Zeros"}, "kernel_constraint": null}, "class_name": "Dense", "inbound_nodes": [[["dense_1", 0, 0, {}]]]}, {"name": "dense_3", "config": {"kernel_regularizer": null, "kernel_initializer": {"config": {"scale": 1.0, "seed": null, "mode": "fan_avg", "distribution": "uniform"}, "class_name": "VarianceScaling"}, "use_bias": true, "trainable": true, "activation": "tanh", "units": 2, "bias_constraint": null, "activity_regularizer": null, "bias_regularizer": null, "name": "dense_3", "bias_initializer": {"config": {}, "class_name": "Zeros"}, "kernel_constraint": null}, "class_name": "Dense", "inbound_nodes": [[["dense_2", 0, 0, {}]]]}], "input_layers": [["input_1", 0, 0]], "output_layers": [["dense_3", 0, 0]]}, "class_name": "Model"}, "backend": "tensorflow", "keras_version": "2.0.9"}, "weightsManifest": [{"weights": [{"name": "dense_1/kernel", "dtype": "float32", "shape": [82, 70]}, {"name": "dense_1/bias", "dtype": "float32", "shape": [70]}, {"name": "dense_2/kernel", "dtype": "float32", "shape": [70, 40]}, {"name": "dense_2/bias", "dtype": "float32", "shape": [40]}, {"name": "dense_3/kernel", "dtype": "float32", "shape": [40, 2]}, {"name": "dense_3/bias", "dtype": "float32", "shape": [2]}], "paths": ["group1-shard1of1"]}]}
|
||||
BIN
public/fonts/material-icons.woff2
Normal file
BIN
public/fonts/material-icons.woff2
Normal file
Binary file not shown.
BIN
public/images/transparent.jpg
Normal file
BIN
public/images/transparent.jpg
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 252 KiB |
2
public/js/getmdl-select.min.js
vendored
Normal file
2
public/js/getmdl-select.min.js
vendored
Normal file
@@ -0,0 +1,2 @@
|
||||
"use strict";!function(){function e(){getmdlSelect.init(".getmdl-select")}window.addEventListener?window.addEventListener("load",e,!1):window.attachEvent&&window.attachEvent("onload",e)}();var getmdlSelect={_defaultValue:{width:300},_addEventListeners:function(e){var t=e.querySelector("input"),n=e.querySelector('input[type="hidden"]'),l=e.querySelectorAll("li"),a=e.querySelector(".mdl-js-menu"),o=e.querySelector(".mdl-icon-toggle__label"),i="",c="",s="",u=!1,d=function(o){var i=o.textContent.trim();if(t.value=i,l.forEach(function(e){e.classList.remove("selected")}),o.classList.add("selected"),e.MaterialTextfield.change(i),setTimeout(function(){e.MaterialTextfield.updateClasses_()},250),n.value=o.dataset.val||"",c=t.value,s=n.value,"createEvent"in document){var u=document.createEvent("HTMLEvents");u.initEvent("change",!1,!0),a.MaterialMenu.hide(),t.dispatchEvent(u)}else t.fireEvent("onchange")},r=function(){u=!1,t.value=c,n.value=s,e.querySelector(".mdl-menu__container").classList.contains("is-visible")||e.classList.remove("is-focused");var l=document.querySelectorAll(".getmdl-select .mdl-js-menu");[].forEach.call(l,function(e){e.MaterialMenu.hide()});var o=new Event("closeSelect");a.dispatchEvent(o)};document.body.addEventListener("click",r,!1),e.onkeydown=function(l){9==l.keyCode&&(t.value=c,n.value=s,a.MaterialMenu.hide(),e.classList.remove("is-focused"))},t.onfocus=function(e){a.MaterialMenu.show(),a.focus(),u=!0},t.onblur=function(e){e.stopPropagation()},t.onclick=function(t){t.stopPropagation(),a.classList.contains("is-visible")?(a.MaterialMenu.hide(),u=!1):(a.MaterialMenu.show(),r(),e.classList.add("is-focused"),u=!0)},t.onkeydown=function(l){27==l.keyCode&&(t.value=c,n.value=s,a.MaterialMenu.hide(),e.MaterialTextfield.onBlur_(),""!==i&&(e.querySelector(".mdl-textfield__label").textContent=i,i=""))},a.addEventListener("closeSelect",function(l){t.value=c,n.value=s,e.classList.remove("is-focused"),""!==i&&(e.querySelector(".mdl-textfield__label").textContent=i,i="")}),a.onkeydown=function(l){27==l.keyCode&&(t.value=c,n.value=s,e.classList.remove("is-focused"),""!==i&&(e.querySelector(".mdl-textfield__label").textContent=i,i=""))},o&&(o.onclick=function(l){l.stopPropagation(),u?(a.MaterialMenu.hide(),u=!1,e.classList.remove("is-focused"),e.MaterialTextfield.onBlur_(),t.value=c,n.value=s):(r(),e.MaterialTextfield.onFocus_(),t.focus(),a.MaterialMenu.show(),u=!0)}),[].forEach.call(l,function(n){n.onfocus=function(){e.classList.add("is-focused");var l=n.textContent.trim();t.value=l,e.classList.contains("mdl-textfield--floating-label")||""!=i||(i=e.querySelector(".mdl-textfield__label").textContent.trim(),e.querySelector(".mdl-textfield__label").textContent="")},n.onclick=function(){d(n)},n.dataset.selected&&d(n)})},init:function(e){var t=document.querySelectorAll(e);[].forEach.call(t,function(e){getmdlSelect._addEventListeners(e),componentHandler.upgradeElement(e),componentHandler.upgradeElement(e.querySelector("ul"))})}};
|
||||
//# sourceMappingURL=getmdl-select.min.js.map
|
||||
1
public/js/getmdl-select.min.js.map
Normal file
1
public/js/getmdl-select.min.js.map
Normal file
@@ -0,0 +1 @@
|
||||
{"version":3,"sources":["src\\js\\getmdl-select.js"],"names":["whenLoaded","getmdlSelect","init","window","addEventListener","attachEvent","_defaultValue","width","_addEventListeners","dropdown","input","querySelector","hiddenInput","list","querySelectorAll","menu","arrow","label","previousValue","previousDataVal","opened","setSlectedItem","li","value","textContent","trim","forEach","classList","remove","add","MaterialTextfield","change","setTimeout","updateClasses_","dataset","val","document","evt","createEvent","initEvent","hide","dispatchEvent","fireEvent","hideAllMenus","contains","menus","call","event","Event","body","onkeydown","keyCode","onfocus","e","show","focus","onblur","stopPropagation","onclick","onBlur_","onFocus_","selected","selector","dropdowns","componentHandler","upgradeElement"],"mappings":"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","file":"getmdl-select.min.js","sourceRoot":"E:\\html5\\GitHub\\getmdl-select"}
|
||||
24505
public/js/keras.js
Normal file
24505
public/js/keras.js
Normal file
File diff suppressed because it is too large
Load Diff
1
public/js/keras.min.js
vendored
Normal file
1
public/js/keras.min.js
vendored
Normal file
File diff suppressed because one or more lines are too long
3996
public/js/material.js
Normal file
3996
public/js/material.js
Normal file
File diff suppressed because it is too large
Load Diff
10
public/js/material.min.js
vendored
Normal file
10
public/js/material.min.js
vendored
Normal file
File diff suppressed because one or more lines are too long
1
public/js/material.min.js.map
Normal file
1
public/js/material.min.js.map
Normal file
File diff suppressed because one or more lines are too long
202
public/js/mdl-selectfield.js
Normal file
202
public/js/mdl-selectfield.js
Normal file
@@ -0,0 +1,202 @@
|
||||
(function() {
|
||||
'use strict';
|
||||
|
||||
/**
|
||||
* Class constructor for Select field MDL component.
|
||||
* Implements custom MDL component design pattern not defined yet.
|
||||
*
|
||||
* @constructor
|
||||
* @param {HTMLElement} element The element that will be upgraded.
|
||||
*/
|
||||
var MaterialSelectfield = function MaterialSelectfield(element) {
|
||||
this.element_ = element;
|
||||
// Initialize instance.
|
||||
this.init();
|
||||
};
|
||||
window['MaterialSelectfield'] = MaterialSelectfield;
|
||||
|
||||
MaterialSelectfield.prototype.Constant_ = {
|
||||
// None for now
|
||||
};
|
||||
|
||||
MaterialSelectfield.prototype.CssClasses_ = {
|
||||
LABEL: 'mdl-selectfield__label',
|
||||
SELECT: 'mdl-selectfield__select',
|
||||
IS_DIRTY: 'is-dirty',
|
||||
IS_FOCUSED: 'is-focused',
|
||||
IS_DISABLED: 'is-disabled',
|
||||
IS_INVALID: 'is-invalid',
|
||||
IS_UPGRADED: 'is-upgraded'
|
||||
};
|
||||
|
||||
/**
|
||||
* Handle focus.
|
||||
*
|
||||
* @param {Event} event The event that fired.
|
||||
* @private
|
||||
*/
|
||||
MaterialSelectfield.prototype.onFocus_ = function(event) {
|
||||
this.element_.classList.add(this.CssClasses_.IS_FOCUSED);
|
||||
};
|
||||
|
||||
/**
|
||||
* Handle lost focus.
|
||||
*
|
||||
* @param {Event} event The event that fired.
|
||||
* @private
|
||||
*/
|
||||
MaterialSelectfield.prototype.onBlur_ = function(event) {
|
||||
this.element_.classList.remove(this.CssClasses_.IS_FOCUSED);
|
||||
};
|
||||
|
||||
/**
|
||||
* Handle reset event from outside.
|
||||
*
|
||||
* @param {Event} event The event that fired.
|
||||
* @private
|
||||
*/
|
||||
MaterialSelectfield.prototype.onReset_ = function(event) {
|
||||
this.updateClasses_();
|
||||
};
|
||||
|
||||
/**
|
||||
* Handle class updates.
|
||||
*
|
||||
* @private
|
||||
*/
|
||||
MaterialSelectfield.prototype.updateClasses_ = function() {
|
||||
this.checkDisabled();
|
||||
this.checkValidity();
|
||||
this.checkDirty();
|
||||
};
|
||||
|
||||
// Public methods.
|
||||
|
||||
/**
|
||||
* Check the disabled state and update field accordingly.
|
||||
*
|
||||
* @public
|
||||
*/
|
||||
MaterialSelectfield.prototype.checkDisabled = function() {
|
||||
if (this.select_.disabled) {
|
||||
this.element_.classList.add(this.CssClasses_.IS_DISABLED);
|
||||
} else {
|
||||
this.element_.classList.remove(this.CssClasses_.IS_DISABLED);
|
||||
}
|
||||
};
|
||||
MaterialSelectfield.prototype['checkDisabled'] = MaterialSelectfield.prototype.checkDisabled;
|
||||
|
||||
/**
|
||||
* Check the validity state and update field accordingly.
|
||||
*
|
||||
* @public
|
||||
*/
|
||||
MaterialSelectfield.prototype.checkValidity = function() {
|
||||
if (this.select_.validity.valid) {
|
||||
this.element_.classList.remove(this.CssClasses_.IS_INVALID);
|
||||
} else {
|
||||
this.element_.classList.add(this.CssClasses_.IS_INVALID);
|
||||
}
|
||||
};
|
||||
MaterialSelectfield.prototype['checkValidity'] = MaterialSelectfield.prototype.checkValidity;
|
||||
|
||||
/**
|
||||
* Check the dirty state and update field accordingly.
|
||||
*
|
||||
* @public
|
||||
*/
|
||||
MaterialSelectfield.prototype.checkDirty = function() {
|
||||
if (this.select_.value && this.select_.value.length > 0) {
|
||||
this.element_.classList.add(this.CssClasses_.IS_DIRTY);
|
||||
} else {
|
||||
this.element_.classList.remove(this.CssClasses_.IS_DIRTY);
|
||||
}
|
||||
};
|
||||
MaterialSelectfield.prototype['checkDirty'] = MaterialSelectfield.prototype.checkDirty;
|
||||
|
||||
/**
|
||||
* Enable select field.
|
||||
*
|
||||
* @public
|
||||
*/
|
||||
MaterialSelectfield.prototype.disable = function() {
|
||||
this.select_.disabled = true;
|
||||
this.updateClasses_();
|
||||
};
|
||||
MaterialSelectfield.prototype['disable'] = MaterialSelectfield.prototype.disable;
|
||||
|
||||
/**
|
||||
* Enable select field.
|
||||
*
|
||||
* @public
|
||||
*/
|
||||
MaterialSelectfield.prototype.enable = function() {
|
||||
this.select_.disabled = false;
|
||||
this.updateClasses_();
|
||||
};
|
||||
MaterialSelectfield.prototype['enable'] = MaterialSelectfield.prototype.enable;
|
||||
|
||||
/**
|
||||
* Update select field value.
|
||||
*
|
||||
* @param {string} value The value to which to set the control (optional).
|
||||
* @public
|
||||
*/
|
||||
MaterialSelectfield.prototype.change = function(value) {
|
||||
if (value) {
|
||||
this.select_.value = value;
|
||||
}
|
||||
this.updateClasses_();
|
||||
};
|
||||
MaterialSelectfield.prototype['change'] = MaterialSelectfield.prototype.change;
|
||||
|
||||
/**
|
||||
* Initialize element.
|
||||
*/
|
||||
MaterialSelectfield.prototype.init = function() {
|
||||
if (this.element_) {
|
||||
this.label_ = this.element_.querySelector('.' + this.CssClasses_.LABEL);
|
||||
this.select_ = this.element_.querySelector('.' + this.CssClasses_.SELECT);
|
||||
|
||||
if (this.select_) {
|
||||
this.boundUpdateClassesHandler = this.updateClasses_.bind(this);
|
||||
this.boundFocusHandler = this.onFocus_.bind(this);
|
||||
this.boundBlurHandler = this.onBlur_.bind(this);
|
||||
this.boundResetHandler = this.onReset_.bind(this);
|
||||
this.select_.addEventListener('change', this.boundUpdateClassesHandler);
|
||||
this.select_.addEventListener('focus', this.boundFocusHandler);
|
||||
this.select_.addEventListener('blur', this.boundBlurHandler);
|
||||
this.select_.addEventListener('reset', this.boundResetHandler);
|
||||
|
||||
var invalid = this.element_.classList
|
||||
.contains(this.CssClasses_.IS_INVALID);
|
||||
this.updateClasses_();
|
||||
this.element_.classList.add(this.CssClasses_.IS_UPGRADED);
|
||||
if (invalid) {
|
||||
this.element_.classList.add(this.CssClasses_.IS_INVALID);
|
||||
}
|
||||
}
|
||||
}
|
||||
};
|
||||
|
||||
/**
|
||||
* Downgrade the component
|
||||
*
|
||||
* @private
|
||||
*/
|
||||
MaterialSelectfield.prototype.mdlDowngrade_ = function() {
|
||||
this.select_.removeEventListener('change', this.boundUpdateClassesHandler);
|
||||
this.select_.removeEventListener('focus', this.boundFocusHandler);
|
||||
this.select_.removeEventListener('blur', this.boundBlurHandler);
|
||||
this.select_.removeEventListener('reset', this.boundResetHandler);
|
||||
};
|
||||
|
||||
// The component registers itself. It can assume componentHandler is available
|
||||
// in the global scope.
|
||||
componentHandler.register({
|
||||
constructor: MaterialSelectfield,
|
||||
classAsString: 'MaterialSelectfield',
|
||||
cssClass: 'mdl-js-selectfield',
|
||||
widget: true
|
||||
});
|
||||
})();
|
||||
2
public/js/mdl-selectfield.min.js
vendored
Normal file
2
public/js/mdl-selectfield.min.js
vendored
Normal file
@@ -0,0 +1,2 @@
|
||||
!function(){"use strict";var s=function(s){this.element_=s,this.init()};window.MaterialSelectfield=s,s.prototype.Constant_={},s.prototype.CssClasses_={LABEL:"mdl-selectfield__label",SELECT:"mdl-selectfield__select",IS_DIRTY:"is-dirty",IS_FOCUSED:"is-focused",IS_DISABLED:"is-disabled",IS_INVALID:"is-invalid",IS_UPGRADED:"is-upgraded"},s.prototype.onFocus_=function(s){this.element_.classList.add(this.CssClasses_.IS_FOCUSED)},s.prototype.onBlur_=function(s){this.element_.classList.remove(this.CssClasses_.IS_FOCUSED)},s.prototype.onReset_=function(s){this.updateClasses_()},s.prototype.updateClasses_=function(){this.checkDisabled(),this.checkValidity(),this.checkDirty()},s.prototype.checkDisabled=function(){this.select_.disabled?this.element_.classList.add(this.CssClasses_.IS_DISABLED):this.element_.classList.remove(this.CssClasses_.IS_DISABLED)},s.prototype.checkDisabled=s.prototype.checkDisabled,s.prototype.checkValidity=function(){this.select_.validity.valid?this.element_.classList.remove(this.CssClasses_.IS_INVALID):this.element_.classList.add(this.CssClasses_.IS_INVALID)},s.prototype.checkValidity=s.prototype.checkValidity,s.prototype.checkDirty=function(){this.select_.value&&this.select_.value.length>0?this.element_.classList.add(this.CssClasses_.IS_DIRTY):this.element_.classList.remove(this.CssClasses_.IS_DIRTY)},s.prototype.checkDirty=s.prototype.checkDirty,s.prototype.disable=function(){this.select_.disabled=!0,this.updateClasses_()},s.prototype.disable=s.prototype.disable,s.prototype.enable=function(){this.select_.disabled=!1,this.updateClasses_()},s.prototype.enable=s.prototype.enable,s.prototype.change=function(s){s&&(this.select_.value=s),this.updateClasses_()},s.prototype.change=s.prototype.change,s.prototype.init=function(){if(this.element_&&(this.label_=this.element_.querySelector("."+this.CssClasses_.LABEL),this.select_=this.element_.querySelector("."+this.CssClasses_.SELECT),this.select_)){this.boundUpdateClassesHandler=this.updateClasses_.bind(this),this.boundFocusHandler=this.onFocus_.bind(this),this.boundBlurHandler=this.onBlur_.bind(this),this.boundResetHandler=this.onReset_.bind(this),this.select_.addEventListener("change",this.boundUpdateClassesHandler),this.select_.addEventListener("focus",this.boundFocusHandler),this.select_.addEventListener("blur",this.boundBlurHandler),this.select_.addEventListener("reset",this.boundResetHandler);var s=this.element_.classList.contains(this.CssClasses_.IS_INVALID);this.updateClasses_(),this.element_.classList.add(this.CssClasses_.IS_UPGRADED),s&&this.element_.classList.add(this.CssClasses_.IS_INVALID)}},s.prototype.mdlDowngrade_=function(){this.select_.removeEventListener("change",this.boundUpdateClassesHandler),this.select_.removeEventListener("focus",this.boundFocusHandler),this.select_.removeEventListener("blur",this.boundBlurHandler),this.select_.removeEventListener("reset",this.boundResetHandler)},componentHandler.register({constructor:s,classAsString:"MaterialSelectfield",cssClass:"mdl-js-selectfield",widget:!0})}();
|
||||
//# sourceMappingURL=mdl-selectfield.min.js.map
|
||||
13
public/js/neuralnet.js
Normal file
13
public/js/neuralnet.js
Normal file
@@ -0,0 +1,13 @@
|
||||
console.log("hello");
|
||||
|
||||
|
||||
tf.loadModel("/data/adadelta10-1024tanh-decoder-tfmodel/model.json")
|
||||
.then((model) => {
|
||||
console.log("HURRAY");
|
||||
var prediction = model.predict(tf.tensor2d([[0.0, 0.0]], [1, 2]));
|
||||
prediction.data().then((pred) => {
|
||||
console.log("prediction", pred);
|
||||
}).catch((err2) => console.error("err2", err2));
|
||||
}).catch((err) => {
|
||||
console.error(err);
|
||||
});
|
||||
3
public/stylesheets/getmdl-select.min.css
vendored
Normal file
3
public/stylesheets/getmdl-select.min.css
vendored
Normal file
@@ -0,0 +1,3 @@
|
||||
.getmdl-select{outline:none}.getmdl-select .mdl-textfield__input{cursor:pointer}.getmdl-select .selected{background-color:#ddd}.getmdl-select .mdl-icon-toggle__label{float:right;margin-top:-30px;color:rgba(0,0,0,0.4);transform:rotate(0);transition:transform 0.3s}.getmdl-select.is-focused .mdl-icon-toggle__label{color:#3f51b5;transform:rotate(180deg)}.getmdl-select .mdl-menu__container{width:100% !important;margin-top:2px}.getmdl-select .mdl-menu__container .mdl-menu{width:100%}.getmdl-select .mdl-menu__container .mdl-menu .mdl-menu__item{font-size:16px}.getmdl-select__fix-height .mdl-menu__container .mdl-menu{overflow-y:auto;max-height:288px !important}.getmdl-select__fix-height .mdl-menu.mdl-menu--top-left{bottom:auto;top:0}
|
||||
|
||||
/*# sourceMappingURL=getmdl-select.min.css.map */
|
||||
1
public/stylesheets/getmdl-select.min.css.map
Normal file
1
public/stylesheets/getmdl-select.min.css.map
Normal file
@@ -0,0 +1 @@
|
||||
{"version":3,"file":"getmdl-select.min.css","sources":["getmdl-select.scss"],"sourcesContent":[".getmdl-select {\r\n outline: none;\r\n .mdl-textfield__input {\r\n cursor: pointer;\r\n }\r\n .selected {\r\n background-color: #ddd;\r\n }\r\n .mdl-icon-toggle__label {\r\n float: right;\r\n margin-top: -30px;\r\n color: rgba(0, 0, 0, 0.4);\r\n transform: rotate(0);\r\n transition: transform 0.3s;\r\n }\r\n &.is-focused {\r\n .mdl-icon-toggle__label {\r\n color: #3f51b5;\r\n transform: rotate(180deg);\r\n }\r\n }\r\n\r\n .mdl-menu__container {\r\n width: 100% !important;\r\n margin-top: 2px;\r\n .mdl-menu {\r\n width: 100%;\r\n .mdl-menu__item {\r\n font-size: 16px;\r\n }\r\n }\r\n }\r\n}\r\n\r\n.getmdl-select__fix-height {\r\n .mdl-menu__container .mdl-menu {\r\n overflow-y: auto;\r\n max-height: 288px !important;\r\n }\r\n .mdl-menu.mdl-menu--top-left {\r\n bottom: auto;\r\n top: 0;\r\n }\r\n}"],"mappings":"AAAA,AAAA,cAAc,AAAC,CACb,OAAO,CAAE,IAAK,CA+Bf,AAhCD,AAEE,cAFY,CAEZ,qBAAqB,AAAC,CACpB,MAAM,CAAE,OAAQ,CACjB,AAJH,AAKE,cALY,CAKZ,SAAS,AAAC,CACR,gBAAgB,CAAE,IAAK,CACxB,AAPH,AAQE,cARY,CAQZ,uBAAuB,AAAC,CACtB,KAAK,CAAE,KAAM,CACb,UAAU,CAAE,KAAM,CAClB,KAAK,CAAE,eAAI,CACX,SAAS,CAAE,SAAM,CACjB,UAAU,CAAE,cAAe,CAC5B,AAdH,AAgBI,cAhBU,AAeX,WAAW,CACV,uBAAuB,AAAC,CACtB,KAAK,CAAE,OAAQ,CACf,SAAS,CAAE,cAAM,CAClB,AAnBL,AAsBE,cAtBY,CAsBZ,oBAAoB,AAAC,CACnB,KAAK,CAAE,eAAgB,CACvB,UAAU,CAAE,GAAI,CAOjB,AA/BH,AAyBI,cAzBU,CAsBZ,oBAAoB,CAGlB,SAAS,AAAC,CACR,KAAK,CAAE,IAAK,CAIb,AA9BL,AA2BM,cA3BQ,CAsBZ,oBAAoB,CAGlB,SAAS,CAEP,eAAe,AAAC,CACd,SAAS,CAAE,IAAK,CACjB,AAKP,AACuB,0BADG,CACxB,oBAAoB,CAAC,SAAS,AAAC,CAC7B,UAAU,CAAE,IAAK,CACjB,UAAU,CAAE,gBAAiB,CAC9B,AAJH,AAKW,0BALe,CAKxB,SAAS,AAAA,mBAAmB,AAAC,CAC3B,MAAM,CAAE,IAAK,CACb,GAAG,CAAE,CAAE,CACR","names":[]}
|
||||
22
public/stylesheets/material-icons.css
Normal file
22
public/stylesheets/material-icons.css
Normal file
@@ -0,0 +1,22 @@
|
||||
@font-face {
|
||||
font-family: 'Material Icons';
|
||||
font-style: normal;
|
||||
font-weight: 400;
|
||||
src: url(https://fonts.gstatic.com/s/materialicons/v41/flUhRq6tzZclQEJ-Vdg-IuiaDsNc.woff2) format('woff2');
|
||||
}
|
||||
|
||||
.material-icons {
|
||||
font-family: 'Material Icons', sans-serif;
|
||||
font-weight: normal;
|
||||
font-style: normal;
|
||||
font-size: 24px;
|
||||
line-height: 1;
|
||||
letter-spacing: normal;
|
||||
text-transform: none;
|
||||
display: inline-block;
|
||||
white-space: nowrap;
|
||||
word-wrap: normal;
|
||||
direction: ltr;
|
||||
-moz-font-feature-settings: 'liga';
|
||||
-moz-osx-font-smoothing: grayscale;
|
||||
}
|
||||
11476
public/stylesheets/material.css
Normal file
11476
public/stylesheets/material.css
Normal file
File diff suppressed because it is too large
Load Diff
9
public/stylesheets/material.min.css
vendored
Normal file
9
public/stylesheets/material.min.css
vendored
Normal file
File diff suppressed because one or more lines are too long
1
public/stylesheets/material.min.css.map
Normal file
1
public/stylesheets/material.min.css.map
Normal file
File diff suppressed because one or more lines are too long
290
public/stylesheets/mdl-selectfield.css
Normal file
290
public/stylesheets/mdl-selectfield.css
Normal file
@@ -0,0 +1,290 @@
|
||||
/**
|
||||
* Copyright 2015 Google Inc. All Rights Reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
/*------------------------------------* $CONTENTS
|
||||
\*------------------------------------*/
|
||||
/**
|
||||
* STYLE GUIDE VARIABLES------------------Declarations of Sass variables
|
||||
* -----Typography
|
||||
* -----Colors
|
||||
* -----Textfield
|
||||
* -----Switch
|
||||
* -----Spinner
|
||||
* -----Radio
|
||||
* -----Menu
|
||||
* -----List
|
||||
* -----Layout
|
||||
* -----Icon toggles
|
||||
* -----Footer
|
||||
* -----Column
|
||||
* -----Checkbox
|
||||
* -----Card
|
||||
* -----Button
|
||||
* -----Animation
|
||||
* -----Progress
|
||||
* -----Badge
|
||||
* -----Shadows
|
||||
* -----Grid
|
||||
* -----Data table
|
||||
* -----Dialog
|
||||
* -----Snackbar
|
||||
*
|
||||
* Even though all variables have the `!default` directive, most of them
|
||||
* should not be changed as they are dependent one another. This can cause
|
||||
* visual distortions (like alignment issues) that are hard to track down
|
||||
* and fix.
|
||||
*/
|
||||
/* ========== TYPOGRAPHY ========== */
|
||||
/* We're splitting fonts into "preferred" and "performance" in order to optimize
|
||||
page loading. For important text, such as the body, we want it to load
|
||||
immediately and not wait for the web font load, whereas for other sections,
|
||||
such as headers and titles, we're OK with things taking a bit longer to load.
|
||||
We do have some optional classes and parameters in the mixins, in case you
|
||||
definitely want to make sure you're using the preferred font and don't mind
|
||||
the performance hit.
|
||||
We should be able to improve on this once CSS Font Loading L3 becomes more
|
||||
widely available.
|
||||
*/
|
||||
/* ========== COLORS ========== */
|
||||
/**
|
||||
*
|
||||
* Material design color palettes.
|
||||
* @see http://www.google.com/design/spec/style/color.html
|
||||
*
|
||||
**/
|
||||
/**
|
||||
* Copyright 2015 Google Inc. All Rights Reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
/* ========== Color Palettes ========== */
|
||||
/* colors.scss */
|
||||
/**
|
||||
* Copyright 2015 Google Inc. All Rights Reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
/* ========== IMAGES ========== */
|
||||
/* ========== Color & Themes ========== */
|
||||
/* ========== Typography ========== */
|
||||
/* ========== Components ========== */
|
||||
/* ========== Standard Buttons ========== */
|
||||
/* ========== Icon Toggles ========== */
|
||||
/* ========== Radio Buttons ========== */
|
||||
/* ========== Ripple effect ========== */
|
||||
/* ========== Layout ========== */
|
||||
/* ========== Content Tabs ========== */
|
||||
/* ========== Checkboxes ========== */
|
||||
/* ========== Switches ========== */
|
||||
/* ========== Spinner ========== */
|
||||
/* ========== Text fields ========== */
|
||||
/* ========== Card ========== */
|
||||
/* ========== Sliders ========== */
|
||||
/* ========== Progress ========== */
|
||||
/* ========== List ========== */
|
||||
/* ========== Item ========== */
|
||||
/* ========== Dropdown menu ========== */
|
||||
/* ========== Tooltips ========== */
|
||||
/* ========== Footer ========== */
|
||||
/* TEXTFIELD */
|
||||
/* SWITCH */
|
||||
/* SPINNER */
|
||||
/* RADIO */
|
||||
/* MENU */
|
||||
/* LIST */
|
||||
/* LAYOUT */
|
||||
/* ICON TOGGLE */
|
||||
/* FOOTER */
|
||||
/*mega-footer*/
|
||||
/*mini-footer*/
|
||||
/* CHECKBOX */
|
||||
/* CARD */
|
||||
/* Card dimensions */
|
||||
/* Cover image */
|
||||
/* BUTTON */
|
||||
/**
|
||||
*
|
||||
* Dimensions
|
||||
*
|
||||
*/
|
||||
/* ANIMATION */
|
||||
/* PROGRESS */
|
||||
/* BADGE */
|
||||
/* SHADOWS */
|
||||
/* GRID */
|
||||
/* DATA TABLE */
|
||||
/* DIALOG */
|
||||
/* SNACKBAR */
|
||||
/* TOOLTIP */
|
||||
/**
|
||||
* Copyright 2015 Google Inc. All Rights Reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
/* Typography */
|
||||
/* Shadows */
|
||||
/* Animations */
|
||||
/* Dialog */
|
||||
.mdl-selectfield {
|
||||
position: relative;
|
||||
font-size: 16px;
|
||||
display: inline-block;
|
||||
box-sizing: border-box;
|
||||
width: 300px;
|
||||
max-width: 100%;
|
||||
margin: 0;
|
||||
padding: 20px 0; }
|
||||
|
||||
.mdl-selectfield--align-right {
|
||||
text-align: right; }
|
||||
|
||||
.mdl-selectfield--full-width {
|
||||
width: 100%; }
|
||||
|
||||
.mdl-selectfield__select {
|
||||
display: block;
|
||||
width: 100%;
|
||||
padding: 4px 0;
|
||||
margin: 0;
|
||||
color: inherit;
|
||||
background: transparent;
|
||||
font-size: 16px;
|
||||
text-align: left;
|
||||
border: none;
|
||||
border-bottom: 1px solid rgba(0,0,0, 0.12);
|
||||
border-radius: 0;
|
||||
-webkit-appearance: none;
|
||||
-moz-appearance: none;
|
||||
-ms-appearance: none;
|
||||
appearance: none; }
|
||||
.mdl-selectfield__select::-ms-expand {
|
||||
display: none; }
|
||||
.mdl-selectfield.is-focused .mdl-selectfield__select {
|
||||
outline: none; }
|
||||
.mdl-selectfield.is-invalid .mdl-selectfield__select {
|
||||
border-color: rgb(222, 50, 38);
|
||||
box-shadow: none; }
|
||||
fieldset[disabled] .mdl-selectfield .mdl-selectfield__select, .mdl-selectfield.is-disabled .mdl-selectfield__select {
|
||||
background-color: transparent;
|
||||
border-bottom: 1px dotted rgba(0,0,0, 0.12);
|
||||
color: rgba(0,0,0, 0.26); }
|
||||
|
||||
.mdl-selectfield__label {
|
||||
bottom: 0;
|
||||
color: rgba(0,0,0, 0.26);
|
||||
font-size: 16px;
|
||||
left: 0;
|
||||
right: 0;
|
||||
pointer-events: none;
|
||||
position: absolute;
|
||||
display: block;
|
||||
top: 24px;
|
||||
width: 100%;
|
||||
overflow: hidden;
|
||||
white-space: nowrap;
|
||||
text-align: left; }
|
||||
.mdl-selectfield.is-dirty .mdl-selectfield__label {
|
||||
visibility: hidden; }
|
||||
.mdl-selectfield--floating-label .mdl-selectfield__label {
|
||||
transition-duration: 0.2s;
|
||||
transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1); }
|
||||
fieldset[disabled] .mdl-selectfield .mdl-selectfield__label,
|
||||
.mdl-selectfield.is-disabled.is-disabled .mdl-selectfield__label {
|
||||
color: rgba(0,0,0, 0.26); }
|
||||
.mdl-selectfield--floating-label.is-focused .mdl-selectfield__label,
|
||||
.mdl-selectfield--floating-label.is-dirty .mdl-selectfield__label {
|
||||
color: rgb(63,81,181);
|
||||
font-size: 12px;
|
||||
top: 4px;
|
||||
visibility: visible; }
|
||||
.mdl-selectfield--floating-label.is-invalid .mdl-selectfield__label {
|
||||
color: rgb(222, 50, 38);
|
||||
font-size: 12px; }
|
||||
.mdl-selectfield__label:after {
|
||||
background-color: rgb(63,81,181);
|
||||
bottom: 20px;
|
||||
content: '';
|
||||
height: 2px;
|
||||
left: 45%;
|
||||
position: absolute;
|
||||
transition-duration: 0.2s;
|
||||
transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
|
||||
visibility: hidden;
|
||||
width: 10px; }
|
||||
.mdl-selectfield.is-focused .mdl-selectfield__label:after {
|
||||
left: 0;
|
||||
visibility: visible;
|
||||
width: 100%; }
|
||||
.mdl-selectfield.is-invalid .mdl-selectfield__label:after {
|
||||
background-color: rgb(222, 50, 38); }
|
||||
|
||||
.mdl-selectfield__error {
|
||||
color: rgb(222, 50, 38);
|
||||
position: absolute;
|
||||
font-size: 12px;
|
||||
margin-top: 3px;
|
||||
visibility: hidden;
|
||||
display: block; }
|
||||
.mdl-selectfield.is-invalid .mdl-selectfield__error {
|
||||
visibility: visible; }
|
||||
|
||||
.mdl-selectfield__icon {
|
||||
bottom: 20px;
|
||||
cursor: pointer;
|
||||
color: rgba(0,0,0, 0.26);
|
||||
padding: 4px 0;
|
||||
position: absolute;
|
||||
top: 20px;
|
||||
right: 0;
|
||||
pointer-events: none; }
|
||||
.mdl-selectfield__icon > i {
|
||||
outline: 0; }
|
||||
.mdl-selectfield.is-dirty .mdl-selectfield__icon {
|
||||
color: inherit; }
|
||||
fieldset[disabled] .mdl-selectfield .mdl-selectfield__icon,
|
||||
.mdl-selectfield.is-disabled.is-disabled .mdl-selectfield__icon {
|
||||
color: rgba(0,0,0, 0.26); }
|
||||
.mdl-selectfield--floating-label.is-invalid .mdl-selectfield__icon {
|
||||
color: rgb(222, 50, 38); }
|
||||
3
public/stylesheets/mdl-selectfield.min.css
vendored
Normal file
3
public/stylesheets/mdl-selectfield.min.css
vendored
Normal file
@@ -0,0 +1,3 @@
|
||||
.mdl-selectfield{position:relative;font-size:16px;display:inline-block;box-sizing:border-box;width:300px;max-width:100%;margin:0;padding:20px 0}.mdl-selectfield--align-right{text-align:right}.mdl-selectfield--full-width{width:100%}.mdl-selectfield__select{display:block;width:100%;padding:4px 0;margin:0;color:inherit;background:transparent;font-size:16px;text-align:left;border:none;border-bottom:1px solid rgba(0,0,0, 0.12);border-radius:0;-webkit-appearance:none;-moz-appearance:none;-ms-appearance:none;appearance:none}.mdl-selectfield__select::-ms-expand{display:none}.mdl-selectfield.is-focused .mdl-selectfield__select{outline:none}.mdl-selectfield.is-invalid .mdl-selectfield__select{border-color:rgb(222, 50, 38);box-shadow:none}fieldset[disabled] .mdl-selectfield .mdl-selectfield__select,.mdl-selectfield.is-disabled .mdl-selectfield__select{background-color:transparent;border-bottom:1px dotted rgba(0,0,0, 0.12);color:rgba(0,0,0, 0.26)}.mdl-selectfield__label{bottom:0;color:rgba(0,0,0, 0.26);font-size:16px;left:0;right:0;pointer-events:none;position:absolute;display:block;top:24px;width:100%;overflow:hidden;white-space:nowrap;text-align:left}.mdl-selectfield.is-dirty .mdl-selectfield__label{visibility:hidden}.mdl-selectfield--floating-label .mdl-selectfield__label{transition-duration:0.2s;transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1)}fieldset[disabled] .mdl-selectfield .mdl-selectfield__label,.mdl-selectfield.is-disabled.is-disabled .mdl-selectfield__label{color:rgba(0,0,0, 0.26)}.mdl-selectfield--floating-label.is-focused .mdl-selectfield__label,.mdl-selectfield--floating-label.is-dirty .mdl-selectfield__label{color:rgb(63,81,181);font-size:12px;top:4px;visibility:visible}.mdl-selectfield--floating-label.is-invalid .mdl-selectfield__label{color:rgb(222, 50, 38);font-size:12px}.mdl-selectfield__label:after{background-color:rgb(63,81,181);bottom:20px;content:'';height:2px;left:45%;position:absolute;transition-duration:0.2s;transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);visibility:hidden;width:10px}.mdl-selectfield.is-focused .mdl-selectfield__label:after{left:0;visibility:visible;width:100%}.mdl-selectfield.is-invalid .mdl-selectfield__label:after{background-color:rgb(222, 50, 38)}.mdl-selectfield__error{color:rgb(222, 50, 38);position:absolute;font-size:12px;margin-top:3px;visibility:hidden;display:block}.mdl-selectfield.is-invalid .mdl-selectfield__error{visibility:visible}.mdl-selectfield__icon{bottom:20px;cursor:pointer;color:rgba(0,0,0, 0.26);padding:4px 0;position:absolute;top:20px;right:0;pointer-events:none}.mdl-selectfield__icon>i{outline:0}.mdl-selectfield.is-dirty .mdl-selectfield__icon{color:inherit}fieldset[disabled] .mdl-selectfield .mdl-selectfield__icon,.mdl-selectfield.is-disabled.is-disabled .mdl-selectfield__icon{color:rgba(0,0,0, 0.26)}.mdl-selectfield--floating-label.is-invalid .mdl-selectfield__icon{color:rgb(222, 50, 38)}
|
||||
|
||||
/*# sourceMappingURL=mdl-selectfield.min.css.map */
|
||||
8
public/stylesheets/style.css
Normal file
8
public/stylesheets/style.css
Normal file
@@ -0,0 +1,8 @@
|
||||
body {
|
||||
padding: 50px;
|
||||
font: 14px "Lucida Grande", Helvetica, Arial, sans-serif;
|
||||
}
|
||||
|
||||
a {
|
||||
color: #00B7FF;
|
||||
}
|
||||
Reference in New Issue
Block a user