Files
004_comission/_resources/it114105/itp4513/Assignment/18-19/css/style.css
louiscklaw 6c60a73f30 update,
2025-01-31 19:15:17 +08:00

441 lines
8.0 KiB
CSS

body{
background: #FFF;
font-family: "Segoe UI", "DejaVu Sans", "Trebuchet MS", Verdana, "sans-serif";
min-width: 680px;
}
p {
font-family: 'Poppins', sans-serif;
font-size: 1.1em;
font-weight: 300;
line-height: 1.7em;
}
a, a:hover, a:focus {
color: inherit;
text-decoration: none;
transition: all 0.3s;
}
.navbar {
padding: 15px 10px;
background: #fff;
border: none;
border-radius: 0;
margin-bottom: 40px;
box-shadow: 1px 1px 3px rgba(0, 0, 0, 0.1);
}
.navbar-btn {
box-shadow: none;
outline: none !important;
border: none;
}
.line {
width: 100%;
height: 1px;
border-bottom: 1px dashed #ddd;
margin: 40px 0;
}
.loginBox{
background: #fff;
padding: 80px;
margin-top: 300px;
box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
}
.flat-input{
margin-bottom: 40px;
border: none;
border-radius: 0;
border-bottom: 1px solid #4A4A4A;
-webkit-transition: all 0.5s;
transition: all 0.5s;
background: linear-gradient(to bottom, rgba(255, 255, 255, 0) 96%, black 4%);
background-position: -800px 0;
background-size: 100% 100%;
background-repeat: no-repeat;
}
.flat-input:focus{
box-shadow: none;
outline: none;
background-position: 0 0;
border-bottom: 0px;
}
.btn-login{
border-radius: 0;
background: #5A5959;
color: #fff;
-webkit-transition: all 0.8s;
transition: all 0.8s;
}
.btn-login:hover{
border: 1px solid black;
color: white;
background: black;
}
body{
background: #F0F0F0;
}
.loginBox{
background: #fff;
padding: 80px;
margin-top: 120px;
box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
}
.flat-input{
margin-bottom: 40px;
border: none;
border-radius: 0;
border-bottom: 1px solid #4A4A4A;
-webkit-transition: all 0.5s;
transition: all 0.5s;
background: linear-gradient(to bottom, rgba(255, 255, 255, 0) 96%, black 4%);
background-position: -800px 0;
background-size: 100% 100%;
background-repeat: no-repeat;
}
.flat-input:focus{
box-shadow: none;
outline: none;
background-position: 0 0;
border-bottom: 0px;
}
.btn-login{
border-radius: 0;
background: #5A5959;
color: #fff;
-webkit-transition: all 0.8s;
transition: all 0.8s;
}
.btn-login:hover{
border: 1px solid black;
color: white;
background: black;
}
.navbar {
padding: 15px 10px;
background: #fff;
border: none;
border-radius: 0;
margin-bottom: 40px;
box-shadow: 1px 1px 3px rgba(0, 0, 0, 0.1);
}
.navbar-btn {
box-shadow: none;
outline: none !important;
border: none;
}
.navbar-Black{
background-color: Black;
width: 100%;
}
.line {
width: 100%;
height: 1px;
border-bottom: 1px dashed #ddd;
margin: 40px 0;
}
/* ---------------------------------------------------
SIDEBAR STYLE
----------------------------------------------------- */
.wrapper {
display: flex;
align-items: stretch;
}
#sidebar {
min-width: 250px;
max-width: 250px;
background: #FFF;
transition: all 0.3s;
box-shadow: 15px 5px 15px rgba(0, 0, 0, 0.1);
z-index: 999;
}
#sidebar.active {
margin-left: -250px;
}
#sidebar .sidebar-header {
width: 100%;
color: black;
margin-top: 40px;
}
#sidebar ul.components {
padding: 20px 0;
border-bottom: 1px solid #47748b;
color: black;
}
#sidebar ul p {
color: #fff;
padding: 10px;
}
#sidebar ul li a {
padding: 10px;
font-size: 1.1em;
display: block;
}
#sidebar ul li a:hover {
color: #CCCCCC;
background: #fff;
}
#sidebar ul li.active > a, a[aria-expanded="true"] {
color: #fff;
background: black;
}
.navHead{
width: 100%;
transition: all 0.3s;
}
.navTitle{
font-size: 16px;
color: white;
}
ul ul a {
font-size: 0.9em !important;
padding-left: 30px !important;
background: #FFF;
}
ul.CTAs {
padding: 20px;
}
ul.CTAs a {
text-align: center;
font-size: 0.9em !important;
display: block;
border-radius: 5px;
margin-bottom: 5px;
}
/* ---------------------------------------------------
CONTENT STYLE
----------------------------------------------------- */
#content {
padding: 20px;
min-height: 86vh;
transition: all 0.3s;
}
.cardLayout{
background: white;
border: 0 none;
border-radius: 0px;
box-shadow: 0 0 15px 1px rgba(0, 0, 0, 0.4);
padding: 20px 30px;
box-sizing: border-box;
width: 95%;
margin: 0 3%;
padding: 30px;
margin-top: -40px;
z-index: -999;
}
/* ---------------------------------------------------
Forms
----------------------------------------------------- */
/*form styles*/
#msform {
text-align: center;
position: relative;
margin-top: 60px;
}
#msform fieldset {
background: white;
border: 0 none;
border-radius: 0px;
box-shadow: 0 0 15px 1px rgba(0, 0, 0, 0.4);
padding: 20px 30px;
box-sizing: border-box;
width: 94%;
margin: 0 3%;
position: relative;
margin-top: 60px;
}
/*Hide all except first fieldset*/
#msform fieldset:not(:first-of-type) {
display: none;
}
/*inputs*/
#msform input, #msform textarea {
padding: 15px;
border: 1px solid #ccc;
border-radius: 0px;
margin-bottom: 10px;
width: 100%;
box-sizing: border-box;
font-family: montserrat;
color: #2C3E50;
font-size: 13px;
}
#msform input:focus, #msform textarea:focus {
-moz-box-shadow: none !important;
-webkit-box-shadow: none !important;
box-shadow: none !important;
border: 1px solid black;
outline-width: 0;
transition: All 0.5s ease-in;
-webkit-transition: All 0.5s ease-in;
-moz-transition: All 0.5s ease-in;
-o-transition: All 0.5s ease-in;
}
/*buttons*/
#msform .action-button {
width: 100px;
background: black;
font-weight: bold;
color: white;
border: 0 none;
border-radius: 25px;
cursor: pointer;
padding: 10px 5px;
margin: 10px 5px;
}
#msform .action-button:hover, #msform .action-button:focus {
box-shadow: 0 0 0 2px white, 0 0 0 3px #BEBEBE;
}
#msform .action-button-previous {
width: 100px;
background: #BEBEBE;
font-weight: bold;
color: white;
border: 0 none;
border-radius: 25px;
cursor: pointer;
padding: 10px 5px;
margin: 10px 5px;
}
#msform .action-button-previous:hover, #msform .action-button-previous:focus {
box-shadow: 0 0 0 2px white, 0 0 0 3px black;
}
/*headings*/
.fs-title {
font-size: 18px;
text-transform: uppercase;
color: #2C3E50;
margin-bottom: 10px;
letter-spacing: 2px;
font-weight: bold;
}
.fs-subtitle {
font-weight: normal;
font-size: 13px;
color: #666;
margin-bottom: 20px;
}
/*progressbar*/
#progressbar {
margin-bottom: 30px;
overflow: hidden;
/*CSS counters to number the steps*/
counter-reset: step;
}
#progressbar li {
list-style-type: none;
color: black;
text-transform: uppercase;
font-size: 9px;
width: 33.33%;
float: left;
position: relative;
letter-spacing: 1px;
padding-right: 20px;
z-index: 999;
}
#progressbar li:before {
content: counter(step);
counter-increment: step;
width: 24px;
height: 24px;
line-height: 26px;
display: block;
font-size: 12px;
color: #333;
background: black;
border-radius: 25px;
margin: 0 auto 10px auto;
}
/*progressbar connectors*/
#progressbar li:after {
content: '';
width: 100%;
height: 2px;
background: #C9C9C9;
position: absolute;
left: -50%;
top: 9px;
z-index: -1; /*put it behind the numbers*/
}
#progressbar li:first-child:after {
/*connector not needed before the first step*/
content: none;
}
/*marking active/completed steps green*/
/*The number of the step and the connector before it = green*/
#progressbar li.active:before, #progressbar li.active:after {
background: black;
color: white;
}
/* ---------------------------------------------------
MEDIAQUERIES
----------------------------------------------------- */
@media (max-width: 768px) {
#sidebar {
margin-left: -250px;
}
#sidebar.active {
margin-left: 0;
}
#sidebarCollapse span {
display: none;
}
}