Do not depend on externally hosted iconfont
This commit is contained in:
parent
ba5c769f81
commit
dd418027e6
|
@ -63,15 +63,52 @@
|
||||||
*/
|
*/
|
||||||
|
|
||||||
.modal-enter {
|
.modal-enter {
|
||||||
opacity: 0;
|
opacity: 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
.modal-leave-active {
|
.modal-leave-active {
|
||||||
opacity: 0;
|
opacity: 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
.modal-enter .modal-container,
|
.modal-enter .modal-container,
|
||||||
.modal-leave-active .modal-container {
|
.modal-leave-active .modal-container {
|
||||||
-webkit-transform: scale(1.1);
|
-webkit-transform: scale(1.1);
|
||||||
transform: scale(1.1);
|
transform: scale(1.1);
|
||||||
|
}
|
||||||
|
|
||||||
|
@font-face {
|
||||||
|
font-family: 'Material Icons';
|
||||||
|
font-style: normal;
|
||||||
|
font-weight: 400;
|
||||||
|
src: url(/static/fonts/MaterialIcons-Regular.eot); /* For IE6-8 */
|
||||||
|
src: local('Material Icons'),
|
||||||
|
local('MaterialIcons-Regular'),
|
||||||
|
url(/static/fonts/MaterialIcons-Regular.woff2) format('woff2'),
|
||||||
|
url(/static/fonts/MaterialIcons-Regular.woff) format('woff'),
|
||||||
|
url(/static/fonts/MaterialIcons-Regular.ttf) format('truetype');
|
||||||
|
}
|
||||||
|
|
||||||
|
.material-icons {
|
||||||
|
font-family: 'Material Icons';
|
||||||
|
font-weight: normal;
|
||||||
|
font-style: normal;
|
||||||
|
font-size: 24px; /* Preferred icon size */
|
||||||
|
display: inline-block;
|
||||||
|
line-height: 1;
|
||||||
|
text-transform: none;
|
||||||
|
letter-spacing: normal;
|
||||||
|
word-wrap: normal;
|
||||||
|
white-space: nowrap;
|
||||||
|
direction: ltr;
|
||||||
|
|
||||||
|
/* Support for all WebKit browsers. */
|
||||||
|
-webkit-font-smoothing: antialiased;
|
||||||
|
/* Support for Safari and Chrome. */
|
||||||
|
text-rendering: optimizeLegibility;
|
||||||
|
|
||||||
|
/* Support for Firefox. */
|
||||||
|
-moz-osx-font-smoothing: grayscale;
|
||||||
|
|
||||||
|
/* Support for IE. */
|
||||||
|
font-feature-settings: 'liga';
|
||||||
}
|
}
|
||||||
|
|
BIN
socialdragon/assets/fonts/MaterialIcons-Regular.eot
Executable file
BIN
socialdragon/assets/fonts/MaterialIcons-Regular.eot
Executable file
Binary file not shown.
BIN
socialdragon/assets/fonts/MaterialIcons-Regular.ttf
Executable file
BIN
socialdragon/assets/fonts/MaterialIcons-Regular.ttf
Executable file
Binary file not shown.
BIN
socialdragon/assets/fonts/MaterialIcons-Regular.woff
Executable file
BIN
socialdragon/assets/fonts/MaterialIcons-Regular.woff
Executable file
Binary file not shown.
BIN
socialdragon/assets/fonts/MaterialIcons-Regular.woff2
Executable file
BIN
socialdragon/assets/fonts/MaterialIcons-Regular.woff2
Executable file
Binary file not shown.
|
@ -8,7 +8,6 @@
|
||||||
|
|
||||||
<!-- Styles -->
|
<!-- Styles -->
|
||||||
<link rel="stylesheet" href="/static/css/vendor/material.min.css">
|
<link rel="stylesheet" href="/static/css/vendor/material.min.css">
|
||||||
<link rel="stylesheet" href="https://fonts.googleapis.com/icon?family=Material+Icons">
|
|
||||||
<link rel="stylesheet" href="/static/css/app.css">
|
<link rel="stylesheet" href="/static/css/app.css">
|
||||||
<style media="screen">
|
<style media="screen">
|
||||||
[v-cloak] { display: none; }
|
[v-cloak] { display: none; }
|
||||||
|
|
Loading…
Reference in a new issue