add materialize-icons
This commit is contained in:
parent
d2e75b77fa
commit
ca29aadd07
5 changed files with 41 additions and 5 deletions
35
static/css/materialize-icons.css
Normal file
35
static/css/materialize-icons.css
Normal file
|
@ -0,0 +1,35 @@
|
|||
@font-face {
|
||||
font-family: 'Material Icons';
|
||||
font-style: normal;
|
||||
font-weight: 400;
|
||||
src: local('Material Icons'),
|
||||
local('MaterialIcons-Regular'),
|
||||
url(../icons/MaterialIcons-Regular.woff2) format('woff2'),
|
||||
url(../icons/MaterialIcons-Regular.woff) format('woff'),
|
||||
url(../icons/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
static/icons/MaterialIcons-Regular.ttf
Normal file
BIN
static/icons/MaterialIcons-Regular.ttf
Normal file
Binary file not shown.
BIN
static/icons/MaterialIcons-Regular.woff
Normal file
BIN
static/icons/MaterialIcons-Regular.woff
Normal file
Binary file not shown.
BIN
static/icons/MaterialIcons-Regular.woff2
Normal file
BIN
static/icons/MaterialIcons-Regular.woff2
Normal file
Binary file not shown.
|
@ -4,6 +4,7 @@
|
|||
<meta charset="utf-8">
|
||||
<title>toot-my-t-shirt</title>
|
||||
<link rel="icon" type="image/png" href="/static/images/sb-favicon.png">
|
||||
<link rel="stylesheet" type="text/css" href="/static/css/materialize-icons.css">
|
||||
<link rel="stylesheet" type="text/css" href="/static/css/materialize.min.css">
|
||||
<link rel="stylesheet" type="text/css" href="/static/css/sb.css">
|
||||
<script type="text/javascript" src="/static/js/materialize.min.js"></script>
|
||||
|
@ -13,21 +14,21 @@
|
|||
<div id="main" class="container">
|
||||
<div id="header" class="row">
|
||||
<h1>toot-my-t-shirt</h1>
|
||||
Share the love for your geek t-shirt!
|
||||
Share the love for your geek t-shirt.
|
||||
</div>
|
||||
|
||||
<div id="button-containers" class="row">
|
||||
<button id="take-photo-btn" class="btn waves-effect waves-light disabled" name="take-photo-btn" onClick="takePhoto()">
|
||||
<i class="material-icons right">Take photo!</i>
|
||||
<i class="material-icons left">camera</i>Take photo
|
||||
</button>
|
||||
<button id="send-photo-btn" class="btn waves-effect waves-light disabled" name="send-photo-btn" onClick="sendPhoto()">
|
||||
<i class="material-icons right">Share photo!</i>
|
||||
<i class="material-icons left">share</i>Share photo
|
||||
</button>
|
||||
<button id="cancel-photo-btn" class="btn waves-effect waves-light disabled" name="cancel-photo-btn" onClick="cancelPhoto()">
|
||||
<i class="material-icons right">Cancel photo</i>
|
||||
<i class="material-icons left">cancel</i>Cancel photo
|
||||
</button>
|
||||
<button id="init-btn" class="btn waves-effect waves-light" name="init-btn" onClick="initCamera()">
|
||||
<i class="material-icons right">Grant camera permissions</i>
|
||||
<i class="material-icons left">photo_camera</i>Grant camera permissions
|
||||
</button>
|
||||
</div>
|
||||
|
||||
|
|
Loading…
Reference in a new issue