fix css
This commit is contained in:
commit
5b9f57456c
@ -1,48 +0,0 @@
|
||||
.overlap-fix {
|
||||
margin-left:100px;
|
||||
margin-top: 16px;
|
||||
}
|
||||
.yield:hover {
|
||||
color: #E14C2B;
|
||||
}
|
||||
.row-admin {
|
||||
max-width:89%;
|
||||
}
|
||||
.submission {
|
||||
margin-left: 2%;
|
||||
height: 30px;
|
||||
width: 95%;
|
||||
margin-top: 0%;
|
||||
font-size: 14pt;
|
||||
}
|
||||
.add {
|
||||
background: #d94158;
|
||||
background-image: -webkit-linear-gradient(top, #d94158, #ad3838);
|
||||
background-image: -moz-linear-gradient(top, #d94158, #ad3838);
|
||||
background-image: -ms-linear-gradient(top, #d94158, #ad3838);
|
||||
background-image: -o-linear-gradient(top, #d94158, #ad3838);
|
||||
background-image: linear-gradient(to bottom, #d94158, #ad3838);
|
||||
border-radius: 9px;
|
||||
outline: 0;
|
||||
color: #ffffff;
|
||||
padding: .5% 0%;
|
||||
margin-left: 1.5%;
|
||||
margin-right: 1.5%;
|
||||
width: 97%;
|
||||
font-size: 18pt;
|
||||
}
|
||||
.add:hover {
|
||||
background: #db6b6b;
|
||||
background-image: -webkit-linear-gradient(top, #db6b6b, #d64949);
|
||||
background-image: -moz-linear-gradient(top, #db6b6b, #d64949);
|
||||
background-image: -ms-linear-gradient(top, #db6b6b, #d64949);
|
||||
background-image: -o-linear-gradient(top, #db6b6b, #d64949);
|
||||
background-image: linear-gradient(to bottom, #db6b6b, #d64949);
|
||||
text-decoration: none;
|
||||
}
|
||||
.border {
|
||||
padding: 1% 15px 1% 15px;
|
||||
overflow:auto;
|
||||
max-height:550px;
|
||||
min-width:700px;
|
||||
}
|
||||
@ -1,52 +0,0 @@
|
||||
<template name="admin">
|
||||
<div class="main-center-admin">
|
||||
<div>
|
||||
<h5>Admin Panel</h5>
|
||||
</div>
|
||||
|
||||
{{#teacherTabs tabs=tabs}}
|
||||
<!-- Single -->
|
||||
<div class="border">
|
||||
<div>
|
||||
<h6>Edit Chromebooks</h6> <!-- Edit Chromebooks -->
|
||||
{{#each chromebooks}}
|
||||
<div class="row-admin">
|
||||
{{> chromebook}}
|
||||
<i class="icons yield fa fa-exclamation-triangle fa-lg"></i>
|
||||
<div class="overlap-fix">
|
||||
<i class="icons cross fa fa-times fa-lg"></i>
|
||||
</div>
|
||||
</div>
|
||||
{{/each}}
|
||||
<h6>Add a Chromebook</h6> <!-- Add Chromebooks -->
|
||||
<form class="new-task">
|
||||
<input type="text" name="anumber" placeholder="Chromebook Number (eg. B1)" class="submission" />
|
||||
<input type="text" name="aserial" placeholder="Serial Number (eg. ABCD1234)" class="submission"/>
|
||||
<input type="submit" value="Submit" class="add" />
|
||||
</form>
|
||||
</div>
|
||||
</div>
|
||||
<!-- Carts -->
|
||||
<div class="border">
|
||||
<div>
|
||||
<h6> Edit Carts</h6> <!-- Editing Carts -->
|
||||
{{#each carts}}
|
||||
<div class="row-admin">
|
||||
{{>cart}}
|
||||
<i class="icons yieldc fa fa-exclamation-triangle fa-lg"></i>
|
||||
<div class="overlap-fix">
|
||||
<i class="icons crossc fa fa-times fa-lg"></i>
|
||||
</div>
|
||||
</div>
|
||||
{{/each}}
|
||||
<h6>Add a Cart</h6> <!-- Adding Carts -->
|
||||
<form class="new-task">
|
||||
<input type="text" name="acnumber" placeholder="Cart Number (ex. A)" class="submission"/>
|
||||
<input type="submit" value="Submit" class="add" />
|
||||
</form>
|
||||
</div>
|
||||
</div>
|
||||
{{/teacherTabs}}
|
||||
|
||||
</div>
|
||||
</template>
|
||||
@ -1,74 +0,0 @@
|
||||
/* Global HTML Defaults */
|
||||
@font-face {
|
||||
font-family: 'Lato';
|
||||
src: url('fonts/Lato-Light.woff');
|
||||
}
|
||||
html {
|
||||
background: url("images/bg.jpg") no-repeat center center fixed;
|
||||
-webkit-background-size: cover;
|
||||
-moz-background-size: cover;
|
||||
-o-background-size: cover;
|
||||
background-size: cover;
|
||||
}
|
||||
body {
|
||||
font:35px/1.5 'Lato';
|
||||
color:#777;
|
||||
font-weight:300;
|
||||
height:100%;
|
||||
overflow:hidden;
|
||||
width: 100%;
|
||||
margin: 0;
|
||||
}
|
||||
h5 {
|
||||
margin-top:0.3%;
|
||||
margin-bottom:0.3%;
|
||||
color:#777;
|
||||
font-weight:10;
|
||||
padding-top:3%;
|
||||
text-align: center;
|
||||
}
|
||||
h6 {
|
||||
margin:0;
|
||||
padding:1% 10% 0% 0%;
|
||||
padding-left:3.6%;
|
||||
}
|
||||
/* End */
|
||||
|
||||
/* Center Boxes -- All HTML Files */
|
||||
.initial {
|
||||
margin-top:24.5%;
|
||||
max-width:600px;
|
||||
}
|
||||
.main-center, .main-center-admin, .initial {
|
||||
background-color: #F7F7FF;
|
||||
border-radius:15px;
|
||||
margin-left:auto;
|
||||
margin-right:auto;
|
||||
margin-bottom:0;
|
||||
|
||||
height:auto;
|
||||
box-shadow: 0px 5px 10px #222222;
|
||||
}
|
||||
.main-center, .main-center-admin {
|
||||
max-height:700px;
|
||||
margin-top:4%;
|
||||
}
|
||||
.main-center {
|
||||
max-width:825px;
|
||||
}
|
||||
.main-center-admin {
|
||||
max-width:900px;
|
||||
}
|
||||
/* End */
|
||||
|
||||
/* Chromebook Content */
|
||||
.chromebooks, .chckChromebooks, .tchChromebooks {
|
||||
overflow: auto;
|
||||
padding-top:.5%;
|
||||
padding-bottom:.5%;
|
||||
}
|
||||
.row, .row-admin {
|
||||
height: 10%;
|
||||
display: flex;
|
||||
}
|
||||
/* End */
|
||||
@ -1,27 +0,0 @@
|
||||
.tabs-list {
|
||||
text-align: center;
|
||||
width: 100%;
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
}
|
||||
.tab-item {
|
||||
font-weight: 600;
|
||||
font-size: 13px;
|
||||
float: left;
|
||||
padding: 13px 23.02%;
|
||||
margin: 0;
|
||||
list-style: none;
|
||||
cursor: pointer;
|
||||
}
|
||||
.tab-item.active {
|
||||
border-radius: top 5px;
|
||||
border: 1px solid #ddd;
|
||||
border-bottom: none;
|
||||
margin-bottom: -1px !important;
|
||||
padding: 13px 23.03% 14px 23.02% !important;
|
||||
background-color: #fff;
|
||||
color: #333;
|
||||
}
|
||||
.tabs-content-container {
|
||||
padding: 4.2% 15px 15px 15px;
|
||||
}
|
||||
@ -1,29 +0,0 @@
|
||||
<template name="teacher">
|
||||
<div class="main-center">
|
||||
<div>
|
||||
<h5>Chromebook Checkout</h5>
|
||||
</div>
|
||||
{{#teacherTabs tabs=tabs}}
|
||||
<!-- Single -->
|
||||
<div class="tchChromebooks">
|
||||
<div>
|
||||
{{#each chromebooks}}
|
||||
<div class="row">
|
||||
{{> chromebook}}
|
||||
</div>
|
||||
{{/each}}
|
||||
</div>
|
||||
</div>
|
||||
<!-- Carts -->
|
||||
<div class="tchChromebooks">
|
||||
<div>
|
||||
{{#each carts}}
|
||||
<div class="row">
|
||||
{{>cart}}
|
||||
</div>
|
||||
{{/each}}
|
||||
</div>
|
||||
</div>
|
||||
{{/teacherTabs}}
|
||||
</div>
|
||||
</template>
|
||||
Loading…
x
Reference in New Issue
Block a user