292 lines
5.0 KiB
CSS
292 lines
5.0 KiB
CSS
/*
|
|
DEMO STYLE
|
|
*/
|
|
@import "https://fonts.googleapis.com/css?family=Poppins:300,400,500,600,700";
|
|
|
|
|
|
body {
|
|
font-family: 'Poppins', sans-serif;
|
|
background: #fafafa;
|
|
}
|
|
|
|
p {
|
|
font-family: 'Poppins', sans-serif;
|
|
font-size: 1.1em;
|
|
font-weight: 300;
|
|
line-height: 1.7em;
|
|
color: #999;
|
|
}
|
|
|
|
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;
|
|
}
|
|
|
|
/* ---------------------------------------------------
|
|
SIDEBAR STYLE
|
|
----------------------------------------------------- */
|
|
#sidebar {
|
|
width: 250px;
|
|
position: fixed;
|
|
top: 0;
|
|
left: 0;
|
|
height: 100vh;
|
|
z-index: 999;
|
|
background: #7386D5;
|
|
color: #fff;
|
|
transition: all 0.3s;
|
|
}
|
|
|
|
#sidebar.active {
|
|
margin-left: -250px;
|
|
}
|
|
|
|
#sidebar .sidebar-header {
|
|
padding: 20px;
|
|
background: #6d7fcc;
|
|
}
|
|
|
|
#sidebar ul.components {
|
|
padding: 20px 0;
|
|
border-bottom: 1px solid #47748b;
|
|
}
|
|
|
|
#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: #7386D5;
|
|
background: #fff;
|
|
}
|
|
|
|
#sidebar ul li.active > a, a[aria-expanded="true"] {
|
|
color: #fff;
|
|
background: #6d7fcc;
|
|
}
|
|
|
|
|
|
a[data-toggle="collapse"] {
|
|
position: relative;
|
|
}
|
|
|
|
a[aria-expanded="false"]::before, a[aria-expanded="true"]::before {
|
|
content: '\e259';
|
|
display: block;
|
|
position: absolute;
|
|
right: 20px;
|
|
font-family: 'Glyphicons Halflings';
|
|
font-size: 0.6em;
|
|
}
|
|
a[aria-expanded="true"]::before {
|
|
content: '\e260';
|
|
}
|
|
|
|
|
|
ul ul a {
|
|
font-size: 0.9em !important;
|
|
padding-left: 30px !important;
|
|
background: #6d7fcc;
|
|
}
|
|
|
|
ul.CTAs {
|
|
padding: 20px;
|
|
}
|
|
|
|
ul.CTAs a {
|
|
text-align: center;
|
|
font-size: 0.9em !important;
|
|
display: block;
|
|
border-radius: 5px;
|
|
margin-bottom: 5px;
|
|
}
|
|
a.download {
|
|
background: #fff;
|
|
color: #7386D5;
|
|
}
|
|
a.article, a.article:hover {
|
|
background: #6d7fcc !important;
|
|
color: #fff !important;
|
|
}
|
|
|
|
|
|
/* ---------------------------------------------------
|
|
CONTENT STYLE
|
|
----------------------------------------------------- */
|
|
#content {
|
|
width: calc(100% - 250px);
|
|
padding: 40px;
|
|
min-height: 100vh;
|
|
transition: all 0.3s;
|
|
position: absolute;
|
|
top: 0;
|
|
right: 0;
|
|
}
|
|
#content.active {
|
|
width: 100%;
|
|
}
|
|
|
|
|
|
/* ---------------------------------------------------
|
|
MEDIAQUERIES
|
|
----------------------------------------------------- */
|
|
@media (max-width: 768px) {
|
|
#sidebar {
|
|
margin-left: -250px;
|
|
}
|
|
#sidebar.active {
|
|
margin-left: 0;
|
|
}
|
|
#content {
|
|
width: 100%;
|
|
}
|
|
#content.active {
|
|
width: calc(100% - 250px);
|
|
}
|
|
#sidebarCollapse span {
|
|
display: none;
|
|
}
|
|
}
|
|
|
|
|
|
/* ---------------------------------------------------
|
|
ACCOUNT SETTINGS
|
|
----------------------------------------------------- */
|
|
.tabs {
|
|
overflow: hidden;
|
|
background-color: #e8ebef;
|
|
}
|
|
|
|
.tabs button {
|
|
background-color: inherit;
|
|
float: left;
|
|
border: none;
|
|
outline: none;
|
|
cursor: pointer;
|
|
padding: 14px 16px;
|
|
transition: 0.3s;
|
|
}
|
|
|
|
|
|
.tabs button:hover,.tabs button:focus {
|
|
background-color: #f4c741;
|
|
}
|
|
|
|
|
|
.tabs button.active {
|
|
background-color: #f9fbff;
|
|
}
|
|
|
|
|
|
.tabcontent {
|
|
display: none;
|
|
background-color: #f9fbff;
|
|
padding: 6px 12px;
|
|
border-top: none;
|
|
animation: fadeEffect 1s;
|
|
}
|
|
|
|
.tabcontent p {
|
|
color: black;
|
|
margin-top: 2%;
|
|
}
|
|
|
|
.tabcontent textarea {
|
|
margin-top: 2%;
|
|
margin-bottom: 2%;
|
|
}
|
|
|
|
.tabcontent .avatarchange {
|
|
margin-bottom: 2%;
|
|
}
|
|
|
|
.tabcontent .inputbox input {
|
|
background: transparent;
|
|
border: none;
|
|
border-radius: 0%;
|
|
border-bottom: 1px solid black;
|
|
padding: 10px;
|
|
margin-bottom: 30px;
|
|
margin-top: 25px;
|
|
outline: none;
|
|
}
|
|
|
|
.tabcontent .inputbox {
|
|
position: relative;
|
|
}
|
|
|
|
.tabcontent .inputbox label {
|
|
position: absolute;
|
|
top: 0;
|
|
left: 0;
|
|
padding: 10px 0;
|
|
font-size: 16px;
|
|
color: darkgrey;
|
|
pointer-events: none;
|
|
transition: .5s;
|
|
}
|
|
|
|
.inputbox .form-control, .form-control:focus{
|
|
-webkit-box-shadow: none;
|
|
box-shadow: none;
|
|
border-bottom: solid lightblue;
|
|
}
|
|
|
|
.tabcontent .inputbox input:focus ~ label,
|
|
.tabcontent .inputbox input:valid ~ label {
|
|
top: -18px;
|
|
color: #f4c741;
|
|
font-size: 12px;
|
|
}
|
|
|
|
@keyframes fadeEffect {
|
|
from {opacity: 0;}
|
|
to {opacity: 1;}
|
|
}
|
|
|
|
.button {
|
|
background-color: #e8ebef;
|
|
border: 1px solid #e8ebef;
|
|
border-radius: 6px;
|
|
color: gray;
|
|
padding: 12px 22px;
|
|
text-align: center;
|
|
text-decoration: none;
|
|
display: inline-block;
|
|
font-size: 14px;
|
|
transition-duration: 0.2s;
|
|
width: 100%;
|
|
}
|
|
|
|
.button:hover, .button:focus {
|
|
background-color: #f4c741;
|
|
} |