abc/php/HTML/abc-admin/css/style.css

643 lines
12 KiB
CSS

@font-face {
font-family: 'HelveticaNeue-Condensed';
src: url(../fonts/HelveticaNeue-Condensed.otf);
}
@font-face {
font-family: 'HelveticaNeue-Extended';
src: url(../fonts/HelveticaNeue-Extended.otf);
}
@font-face {
font-family: 'HelveticaNeue-HeavyCond';
src: url(../fonts/HelveticaNeue-HeavyCond.otf);
}
@font-face {
font-family: 'Chivo-Regular';
src: url(../fonts/HelveticaNeueLight.ttf);
}
@font-face {
font-family: 'Chivo-Light';
src: url(../fonts/Chivo-Light.ttf);
}
@font-face {
font-family: 'Chivo-Regular';
src: url(../fonts/Chivo-Regular.otf);
}
* {
box-sizing: border-box;
}
html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed,
figure, figcaption, footer, header, hgroup,
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
margin: 0;
padding: 0;
border: 0;
font-size: 100%;
font: inherit;
vertical-align: baseline;
}
/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure,
footer, header, hgroup, menu, nav, section {
display: block;
}
body {
line-height: 1;
}
ol, ul {
list-style: none;
}
blockquote, q {
quotes: none;
}
blockquote:before, blockquote:after,
q:before, q:after {
content: '';
content: none;
}
a{
text-decoration: none !important;
}
.pushmenu {
background: #444;
text-align: center;
width: 200px;
height: 100%;
top: 0;
z-index: 1000;
position: fixed;
}
.pushmenu-left { left: -200px; }
.pushmenu-left.pushmenu-open { left: 0; }
.pushmenu-push {
overflow-x: hidden;
position: relative;
left: 0;
}
.pushmenu-push-toright { left: 200px; }
/*Transition*/
.pushmenu, .pushmenu-push {
-webkit-transition: all 0.5s ease;
-moz-transition: all 0.5s ease;
transition: all 0.5s ease;
}
*/
.abc-login{
background: #92aec7;
height: 100vh;
}
.card-signin {
border: 0;
border-radius: 1rem;
box-shadow: 0 0.5rem 1rem 0 rgba(0, 0, 0, 0.1);
}
.card-signin .card-title {
margin:10px 0;
font-weight: 300;
font-size:20px;
color:#013e7f;
font-family: 'HelveticaNeue-Condensed';
}
.card-signin .card-body {
padding: 2rem;
}
.form-signin {
width: 100%;
}
.form-signin .btn {
font-size:14px;
border-radius: 5rem;
letter-spacing: .1rem;
font-weight: bold;
padding: 1rem;
transition: all 0.2s;
background-color: #ea3f41;
border: 0;
font-family: 'HelveticaNeue-Extended';
letter-spacing: 1px;
}
.abc-login .form-control{
border:1px solid #ccc;
margin-bottom: 5px;
font-family: 'Chivo-Regular';
font-size: 13px;
height: 35px;
}
.logo img{
max-width: 125px;
max-height: 71px;
}
.abc-login label{
font-family: 'HelveticaNeue-Condensed';
font-size: 15px;
margin-bottom: 5px;
}
.abc-login .remember span{
position: relative;
top:5px;
}
.admin-header{
background: #92aec7;
min-height: 75px;
}
.admin-header .logo img{
max-height: 75px;
}
.admin-header .admin span{
font-family: 'HelveticaNeue-Condensed';
font-size: 15px;
color:#000;
margin-right: 25px;
align-self: center;
}
.admin-header .admin span img{
max-width: 25px;
align-self: center;
margin-right: 5px;
vertical-align: middle;
}
.admin-header .admin span.logout{
position: relative;
bottom: 1px;
}
.admin-header .toggle.active img{
max-width: 37px;
align-self: center;
transform: rotate(180deg);
-webkit-transform: rotate(180deg);
-moz-transform: rotate(180deg);
flex: none !important;
height: 30px;
margin-top: 0;
margin-left: -15px;
z-index: 999;
position:absolute;
}
.admin-header .toggle img{
transform: rotate(0deg);
-webkit-transform: rotate(0deg);
-moz-transform: rotate(0deg);
height: 30px;
position: relative;
top:25px;
display: inline-block;
margin-left:15px;
}
.logo {
border-bottom: 1px dotted #ccc;
border-right: 1px dotted#ccc;
}
.admin-nav{
position: fixed;
top:0;
left:0;
background:#8f9eac;
display: flex;
flex-direction: column;
height: 100vh;
left:-200px;
transition: all 0.5s ease;
z-index: 99;
}
.admin-nav.active{
left:0px;
}
.admin-nav li{
padding: 13px;
text-align: left;
}
.admin-nav li a{
color:#fff;
font-family: 'Chivo-Regular';
font-size: 17px;
text-decoration: none;
padding-left: 20px;
vertical-align: bottom;
}
.admin-nav li a img {
margin-right: 10px;
align-self: center;
vertical-align: top;
}
.admin-nav li.active{
background: #0070c0;
}
.admin-content{
padding:10px;
margin: 10px 0;
}
.admin-content .setting{
background: #f5f7f9;
}
.admin-content .container{
max-width: 1060px;
margin: 0 auto;
position: relative;
right: 75px;
}
.admin-content.main .container{
margin: 0 auto !important;
right: 0;
}
.class-nav{
flex-direction: column;
}
.class-left{
border-right:1px solid #9f9f9f;
}
.class-nav li{
padding:15px 0;
}
.class-nav li a{
color:#333;
font-family: 'Chivo-Regular';
font-size: 17px;
text-decoration: none;
padding-left: 10px;
}
.class-nav li.active{
background: #92aec7;
}
.class-nav li.active a{
color:#fff;
}
.admin-content h2{
font-family: 'HelveticaNeue-HeavyCond';
font-size: 30px;
color:#003f81;
padding:10px 0;
margin-bottom: 10px;
}
.no-pad{
margin:0;
padding: 0;
}
.class-name{
padding:25px 0;
}
.class-name span{
color: #333;
font-family: 'Chivo-Regular';
font-size: 15px;
margin-right: 10px;
align-self: center;
min-width: 130px;
text-align: right;
}
.class-name input{
width: 100%;
}
.class-content .cancel{
background: #d9d9d9;
margin-right: 5px;
padding: 10px 25px;
font-family: 'HelveticaNeue-Condensed';
font-size: 17px;
margin-top:10px;
}
.class-content .cancel a{
color:#000;
}
.class-content .leave{
background: #0070c0;
padding: 10px 25px;
font-family: 'HelveticaNeue-Condensed';
font-size: 17px;
margin-top:10px;
}
.class-content .leave a{
color: #fff;
}
.class-content table th{
padding:0;
color:#333;
font-family: 'HelveticaNeue-Condensed';
font-size: 17px;
text-align: center;
border-bottom:0;
border: 1px solid #a2c6e0;
padding: 10px;
}
.class-content table td{
text-align: center;
padding: 8px 0;
border: 1px solid #a2c6e0;
color:#333;
font-family: 'Chivo-Regular';
font-size: 13px;
vertical-align: middle;
}
.class-content h2{
color:#333;
font-family: 'HelveticaNeue-Condensed';
font-size: 21px;
padding: 20px 0 0 0;
}
.admin.ml-auto.d-flex.main{
margin-right: 0;
}
.admin.ml-auto.d-flex {
margin-right: 200px;
}
/*toggle css*/
.toggle-bar {
display:none;
cursor: pointer;
}
.bar1, .bar2, .bar3 {
width: 35px;
height: 5px;
background-color: #333;
margin: 6px 0;
transition: 0.4s;
}
.change .bar1 {
-webkit-transform: rotate(-45deg) translate(-9px, 6px);
transform: rotate(-45deg) translate(-9px, 6px);
}
.change .bar2 {opacity: 0;}
.change .bar3 {
-webkit-transform: rotate(45deg) translate(-8px, -8px);
transform: rotate(45deg) translate(-8px, -8px);
}
/*toggleclass end*/
.admin-content h3{
font-family: 'HelveticaNeue-HeavyCond';
font-size: 17px;
color: #333;
padding:10px 0;
margin-bottom: 15px;
position: relative;
}
.admin-content .general select{
width: 100%;
height: 35px;
border:1px solid #ccc;
font-family: 'Chivo-Regular';
font-size: 13px;
-webkit-text-fill-color:#ccc;
background-color: transparent;
}
.admin-content .general select option{
-webkit-text-fill-color:#000;
}
.admin-content .general label{
font-family: 'Chivo-Regular';
font-size: 14px;
margin-right: 10px;
align-self: center;
/* min-width: 100px;*/
text-align: right;
font-weight: 500;
}
.admin-content .general-input{
width: 100%;
height: 35px;
border:1px solid #ccc;
font-family: 'Chivo-Regular';
font-size: 12px;
-webkit-text-fill-color:#ccc;
}
.general-input{
padding: 0 0 0 10px;
}
.m-10{
margin-right: 10px;
}
.chk-abc input[type="checkbox"]{
display: none;
}
.chk-abc input[type="checkbox"] + label{
border:1px solid #000;
width:15px;
height:15px;
margin-right: 7px;
vertical-align: bottom;
display: inline-block;
position: relative;
font-size: 30px;
min-width: 15px !important;
}
.chk-abc input[type="checkbox"] + label:after{
content: '✔';
color: #0000ff;
opacity: 0;
position: absolute;
left: 3px;
top: 3px;
transform: translate(-50%, -50%);
right: 0;
}
.chk-abc input[type="checkbox"]:checked + label:after{
opacity: 1;
}
.chk-abc{
font-family: 'Chivo-Regular';
font-size: 14px;
align-self: center;
color: #000;
}
.date-time span{
flex: 1;
display: flex;
margin-right: 17px
}
.class-table table th{
padding:0;
color:#333;
font-family: 'HelveticaNeue-Condensed';
font-size: 17px;
text-align: center;
border-bottom:0;
border: 1px solid #dcdcdc;
padding: 10px;
}
.class-table table td{
text-align: center;
padding: 8px 0;
border: 1px solid #dcdcdc;
color:#333;
font-family: 'Chivo-Regular';
font-size: 13px;
vertical-align: middle;
}
.class-table table td .chk-abc{
margin-left: 12px;
}
.submit-class input{
min-width: 100px;
height: 35px;
text-align: center;
font-family: 'HelveticaNeue-Condensed';
font-size: 17px;
margin-left:18px;
margin-top: 25px;
border:0;
}
.submit-class .submit{
background: #0070c0;
color: #fff;
}
.submit-class .reset{
background: #e6e4e4;
color: #000;
}
.class-table table th span {
margin-left: 11px;
}
.dashboard .setting{
background:#d0deec;
width: 50%;
text-align: center;
position: relative;
padding-bottom: 50px;
}
.dashboard .create{
background:#eaeaea;
width:50%;
text-align: center;
position: relative;
margin-left: 20px;
padding-bottom: 50px;
}
.dashboard h3{
font-size: 70px;
font-family: 'HelveticaNeue-Extended';
color: #ef3e42;
margin-bottom: 0;
padding-bottom: 0;
}
.dashboard h2{
font-family: 'HelveticaNeue-Condensed';
font-size: 25px;
color: #333;
margin:0;
}
.dashboard .create a, .dashboard .setting a{
position: absolute;
bottom: 0;
left: 0;
font-family: 'HelveticaNeue-Condensed';
font-size: 15px;
color: #fff;
background: #185987;
text-align: center;
width: 100%;
min-height: 40px;
padding-top: 15px;
}
.duplicate-sl {
width: 100%;
height: 35px;
border: 1px solid #ccc;
font-family: 'Chivo-Regular';
font-size: 13px;
max-width: 250px;
margin-bottom: 15px;
-webkit-text-fill-color:#ccc;
padding-left:10px;
}
.date-time {
border: 1px solid #ccc;
box-sizing: border-box;
padding: 10px;
margin-bottom: 15px;
}
.admin-h2{
color: #333;
font-family: 'HelveticaNeue-Condensed';
font-size: 21px;
padding: 10px;
margin-bottom: 15px;
}
.class-table table td img{
max-width: 40px;
vertical-align: middle;
margin-right: 15px;
}
button.ad-btn {
background: #0070c0;
padding: 10px 35px;
border: 0;
color: #fff;
margin-top: 15px;
font-family: 'HelveticaNeue-Condensed';
font-size: 15px;
}
.admin-setting{
padding:25px 0;
margin:0;
}
.table{
margin:0;
}
.class-content.d-flex {
margin-bottom: 15px;
}
.active-swith{
min-width: 96px;
padding: 6px 0;
border-radius: 5px;
background: #29c35b;
display: inline-block;
border: 0;
color: #fff;
}
.active-swith.off{
background: #f2553b;
}
.col-md-12.col-lg-12.admin-setting {
background:#f5f7f9;
}
.admin-setting .class-name input{
margin-bottom: 15px;
}
.create.admin {
background: #e2ebf5;
}