Style
Style
family=Ubuntu");
html {
line-height: 1.15;
/* 1 */
-webkit-text-size-adjust: 100%;
/* 2 */
/* Sections
========================================================================== */
/**
*/
body {
margin: 0;
/**
*/
main {
display: block;
/**
* Correct the font size and margin on `h1` elements within `section` and
*/
h1 {
font-size: 2em;
margin: 0.67em 0;
/* Grouping content
========================================================================== */
/**
*/
hr {
box-sizing: content-box;
/* 1 */
height: 0;
/* 1 */
overflow: visible;
/* 2 */
/**
*/
pre {
/* 1 */
font-size: 1em;
/* 2 */
}
/* Text-level semantics
========================================================================== */
/**
*/
a{
background-color: transparent;
/**
* 2. Add the correct text decoration in Chrome, Edge, IE, Opera, and Safari.
*/
abbr[title] {
border-bottom: none;
/* 1 */
text-decoration: underline;
/* 2 */
/* 2 */
/**
*/
b,
strong {
font-weight: bolder;
}
/**
*/
code,
kbd,
samp {
/* 1 */
font-size: 1em;
/* 2 */
/**
*/
small {
font-size: 80%;
/**
* Prevent `sub` and `sup` elements from affecting the line height in
* all browsers.
*/
sub,
sup {
font-size: 75%;
line-height: 0;
position: relative;
vertical-align: baseline;
sub {
bottom: -0.25em;
sup {
top: -0.5em;
/* Embedded content
========================================================================== */
/**
*/
img {
border-style: none;
/* Forms
========================================================================== */
/**
*/
button,
input,
optgroup,
select,
textarea {
font-family: inherit;
/* 1 */
font-size: 100%;
/* 1 */
line-height: 1.15;
/* 1 */
margin: 0;
/* 2 */
/**
*/
button,
input {
/* 1 */
overflow: visible;
/**
*/
button,
select {
/* 1 */
text-transform: none;
/**
*/
button,
[type=button],
[type=reset],
[type=submit] {
-webkit-appearance: button;
/**
*/
button::-moz-focus-inner,
[type=button]::-moz-focus-inner,
[type=reset]::-moz-focus-inner,
[type=submit]::-moz-focus-inner {
border-style: none;
padding: 0;
/**
*/
button:-moz-focusring,
[type=button]:-moz-focusring,
[type=reset]:-moz-focusring,
[type=submit]:-moz-focusring {
/**
*/
fieldset {
/**
* 3. Remove the padding so developers are not caught out when they zero out
*/
legend {
box-sizing: border-box;
/* 1 */
color: inherit;
/* 2 */
display: table;
/* 1 */
max-width: 100%;
/* 1 */
padding: 0;
/* 3 */
white-space: normal;
/* 1 */
/**
*/
progress {
vertical-align: baseline;
/**
*/
textarea {
overflow: auto;
/**
*/
[type=checkbox],
[type=radio] {
box-sizing: border-box;
/* 1 */
padding: 0;
/* 2 */
/**
*/
[type=number]::-webkit-inner-spin-button,
[type=number]::-webkit-outer-spin-button {
height: auto;
/**
*/
[type=search] {
-webkit-appearance: textfield;
/* 1 */
outline-offset: -2px;
/* 2 */
/**
*/
[type=search]::-webkit-search-decoration {
-webkit-appearance: none;
}
/**
*/
::-webkit-file-upload-button {
-webkit-appearance: button;
/* 1 */
font: inherit;
/* 2 */
/* Interactive
========================================================================== */
/*
*/
details {
display: block;
/*
*/
summary {
display: list-item;
/* Misc
========================================================================== */
/**
*/
template {
display: none;
/**
*/
[hidden] {
display: none;
/*------------------------------------*\
#BASE
\*------------------------------------*/
*{
box-sizing: border-box;
:hover,
:active,
:focus,
:visited {
box-shadow: none;
-webkit-appearance: none;
-moz-box-shadow: none;
-webkit-box-shadow: none;
-webkit-tap-highlight-color: transparent;
html {
font-size: 62.5%;
body {
background-color: #fbfbfb;
h2 {
font-size: 2.2rem;
h3,
h2,
p,
li {
color: #828282;
h3,
li,
button,
input,
select,
textarea,
p,
a{
font-size: 1.1rem;
h3,
li,
button,
input,
select,
textarea,
p,
a{
font-size: 1.3rem;
/*------------------------------------*\
#ANIMATIONS
\*------------------------------------*/
@-webkit-keyframes bell {
0% {
transform: rotate(0);
10% {
transform: rotate(30deg);
}
20% {
transform: rotate(0);
80% {
transform: rotate(0);
90% {
transform: rotate(-30deg);
100% {
transform: rotate(0);
@-moz-keyframes bell {
0% {
transform: rotate(0);
10% {
transform: rotate(30deg);
20% {
transform: rotate(0);
80% {
transform: rotate(0);
90% {
transform: rotate(-30deg);
}
100% {
transform: rotate(0);
@keyframes bell {
0% {
transform: rotate(0);
10% {
transform: rotate(30deg);
20% {
transform: rotate(0);
80% {
transform: rotate(0);
90% {
transform: rotate(-30deg);
100% {
transform: rotate(0);
@keyframes removed-item-alert {
from {
opacity: 1;
-webkit-transform: scale(1);
-ms-transform: scale(1);
-moz-transform: scale(1);
-o-transform: scale(1);
transform: scale(1);
to {
opacity: 0;
-webkit-transform: scale(0);
-ms-transform: scale(0);
-moz-transform: scale(0);
-o-transform: scale(0);
transform: scale(0);
@keyframes removed-item-bell {
0% {
opacity: 1;
-webkit-transform: translateX(0);
-ms-transform: translateX(0);
-moz-transform: translateX(0);
-o-transform: translateX(0);
transform: translateX(0);
30% {
opacity: 1;
-webkit-transform: translateX(50px);
-ms-transform: translateX(50px);
-moz-transform: translateX(50px);
-o-transform: translateX(50px);
transform: translateX(50px);
80% {
opacity: 1;
-webkit-transform: translateX(-800px);
-ms-transform: translateX(-800px);
-moz-transform: translateX(-800px);
-o-transform: translateX(-800px);
transform: translateX(-800px);
100% {
opacity: 0;
-webkit-transform: translateX(-800px);
-ms-transform: translateX(-800px);
-moz-transform: translateX(-800px);
-o-transform: translateX(-800px);
transform: translateX(-800px);
/*------------------------------------*\
#BUTTONS
\*------------------------------------*/
.btn-delete-flex {
display: flex;
justify-content: space-between;
background-color: #1b626e;
border-radius: 0.4rem;
}
.btn-delete {
background-color: #7477bf;
color: white;
border: none;
margin-right: 0.4rem;
padding: 1rem;
.btn-delete {
padding: 0;
margin-right: 1.4rem;
.alert-remove {
.alert-text {
.btn-chart {
display: flex;
flex-direction: row;
justify-content: flex-end;
.li {
list-style-type: none;
text-align: center;
margin-right: 0.5rem;
border-radius: 2.8rem;
padding: 0.6rem;
.liSelected {
background-color: #81c98f;
color: white;
font-weight: bold;
.btn-send {
padding: 1.4rem;
background-color: #7477bf;
color: white;
margin-top: 2.4rem;
border-radius: 0.4rem;
.btn-send:hover {
background-color: #595eb8;
}
.btn-save {
margin-right: 1.6rem;
background-color: #7477bf;
color: white;
margin-top: 2.4rem;
border-radius: 0.4rem;
.btn-save:hover {
background-color: #595eb8;
.btn-cancel {
background-color: #b2b2b2;
color: white;
margin-top: 2.4rem;
margin-left: 1.6rem;
border-radius: 0.4rem;
.btn-cancel:hover {
background-color: #9a9898;
.btn-delete,
.li,
.btn-send,
.btn-save,
.btn-cancel {
cursor: pointer;
/*------------------------------------*\
#FORMS
\*------------------------------------*/
.search-top {
width: 350px;
padding: 0.8rem;
text-align: left;
.search-top {
margin-top: 1.9rem;
margin-bottom: 1rem;
.search-bottom {
padding: 0.8rem;
.textarea {
margin-top: 2.4rem;
@-moz-document url-prefix() {
.textarea {
padding-bottom: 6rem;
.timezone {
margin-top: 2.4rem;
.search-top,
.search-bottom,
.textarea,
.timezone {
background-color: #fbfbfb;
color: #817f7f;
border-radius: 0.4rem;
.search-top:focus,
.search-bottom:focus,
.textarea:focus,
.timezone:focus {
.search-border {
display: flex;
justify-content: space-around;
margin-bottom: 3rem;
.search-border {
.dashboard-flex {
display: flex;
flex-direction: column-reverse;
justify-content: space-between;
.dashboard-flex {
flex-direction: row;
align-items: center;
.message-form {
display: flex;
flex-direction: column;
.settings-form {
display: grid;
.switch-1-text {
grid-area: text-1;
margin-top: 1.6rem;
.switch-2-text {
grid-area: text-2;
margin-top: 1.6rem;
.switch-1 {
grid-area: switch-1;
.switch-2 {
grid-area: switch-2;
.timezone {
grid-area: timezone;
.btn-save {
grid-area: btn-save;
}
.btn-cancel {
grid-area: btn-cancel;
.switch {
position: relative;
display: inline-block;
width: 58px;
height: 28px;
.switch input {
opacity: 0;
width: 0;
height: 0;
.slider {
position: absolute;
cursor: pointer;
top: 0;
left: 0;
right: 0;
bottom: 0;
border-radius: 34px;
background-color: #d1d1d1;
transition: 0.2s;
}
.slider:before {
position: absolute;
content: "";
height: 24px;
width: 24px;
left: 4px;
bottom: 2px;
border-radius: 50%;
background-color: white;
transition: 0.2s;
input:checked + .slider {
background-color: #81c98f;
input:checked + .slider:before {
-webkit-transform: translateX(26px);
-ms-transform: translateX(26px);
-moz-transform: translateX(26px);
-o-transform: translateX(26px);
transform: translateX(26px);
/*------------------------------------*\
#GRID
\*------------------------------------*/
.container {
margin: 0 auto;
display: grid;
.container {
header {
display: flex;
flex-direction: row;
align-items: center;
padding-top: 2.6rem;
padding-bottom: 1.6rem;
grid-area: header;
background-color: #1b626e;
header {
padding-top: 1.6rem;
nav {
grid-area: nav;
background-color: #1b626e;
position: -webkit-sticky;
position: -moz-sticky;
position: -ms-sticky;
position: -o-sticky;
position: sticky;
top: 0;
z-index: 1;
main {
grid-area: main;
/*==================
====================*/
.grid-main {
background-color: white;
display: grid;
.grid-main {
overflow: hidden;
max-width: 100%;
min-height: 100vh;
margin: 0 auto;
.grid-1 {
grid-area: alert;
.grid-1 {
.grid-2 {
grid-area: traffic;
.grid-2 {
}
.grid-3 {
grid-area: daily-traffic;
.grid-3 {
.grid-3 {
.grid-4 {
grid-area: mobile-users;
.grid-4 {
.grid-4 {
padding: 1.5rem 0 2.5rem 0.8rem;
.grid-5 {
grid-area: social-stats;
.grid-5 {
.grid-5 {
.grid-6 {
grid-area: new-members;
.grid-6 {
padding-right: 3.2rem;
.grid-7 {
grid-area: recent-activity;
.grid-7 {
.grid-7 {
padding-left: 3.2rem;
.grid-8 {
grid-area: message-user;
.grid-8 {
}
}
.grid-8 {
.grid-9 {
grid-area: settings;
.grid-9 {
.grid-9 {
.grid-10 {
grid-area: footer;
text-align: center;
margin-top: 7.5rem;
}
.grid-4,
.grid-6,
.grid-7 {
/*------------------------------------*\
#NAVIGATION
\*------------------------------------*/
.header-nav {
display: flex;
flex-direction: row;
justify-content: flex-end;
margin-bottom: 1rem;
.header-nav {
margin-bottom: 0;
.logo {
width: 6rem;
margin-right: auto;
margin-bottom: 1rem;
margin-left: 1rem;
margin-bottom: 0;
.bell {
width: 2.4rem;
height: 2.2rem;
.bell-ring {
.border-notif {
.profile-pic {
border-radius: 50%;
width: 3.5rem;
height: 3.5rem;
.profile-name {
margin-right: 1.6rem;
margin-top: 2.3rem;
color: white;
.nav-icons {
width: 2.5rem;
opacity: 0.5;
.logout {
width: 5rem;
opacity: 0.5;
.nav-icons {
width: 2.8rem;
.nav-selected,
.nav-icons:hover {
opacity: 1;
-webkit-transform: scale(1.1);
-ms-transform: scale(1.1);
-moz-transform: scale(1.1);
-o-transform: scale(1.1);
transform: scale(1.1);
.side-nav {
display: flex;
flex-direction: row;
justify-content: space-around;
.side-nav {
flex-direction: column;
justify-content: center;
position: -webkit-sticky;
position: -moz-sticky;
position: -ms-sticky;
position: -o-sticky;
position: sticky;
top: 3rem;
/*------------------------------------*\
#NOTIFICATIONS
\*------------------------------------*/
.members-grid {
padding: 1.6rem 0 1.6rem 0;
display: grid;
grid-template-rows: 2.2rem;
.activity-grid {
display: grid;
grid-template-rows: 2.5rem;
.activity-grid:not(:last-child),
.members-grid:not(:last-child) {
.member-img {
grid-area: image;
width: 85%;
border-radius: 50%;
padding-right: 0.7rem;
.member-name {
grid-area: name;
margin: 0;
.member-mail {
grid-area: mail;
color: #7477bf;
.member-date {
grid-area: date;
text-align: end;
.member-comment {
grid-area: comment;
margin: 0;
.member-time {
grid-area: time;
margin: 0;
.sign {
grid-area: sign;
font-size: 2.2rem;
color: #7477bf;
margin: 0;
text-align: right;
}
.badge {
display: none;
position: absolute;
top: 2px;
right: 2px;
border-radius: 50%;
background: #81c98f;
color: white;
width: 17.5px;
height: 17.5px;
text-align: center;
font-size: 13px;
.badge-num {
vertical-align: baseline;
margin-right: 0.1rem;
.notification {
position: relative;
.notification-menu {
position: absolute;
top: 6.2rem;
left: -9rem;
background-color: #eeeeee;
list-style: none;
width: 29rem;
z-index: 2;
.notification-menu::before {
content: "";
position: absolute;
top: -27.9px;
left: 142px;
margin-left: -0.5rem;
border-width: 1.4rem;
border-style: solid;
.notification-menu li {
background-color: white;
padding: 1rem;
margin-bottom: 1rem;
.notification-menu .img {
padding: 0.2rem 0;
}
.notification-menu h3 {
margin: 0 0 0.5rem 0;
display: inline;
.notification-menu p {
margin-bottom: 0;
.popuptext {
display: grid;
.img {
grid-area: image;
width: 4rem;
border-radius: 50%;
.name {
grid-area: name;
margin: 0;
text-align: left;
}
.comment {
grid-area: comment;
margin: 0;
.btn-notif {
grid-area: button;
cursor: pointer;
background-color: white;
color: #000;
border: none;
padding: 0.2rem;
#header-li {
background-color: #eeeeee;
.popupalert {
text-align: center;
.removed-item {
}
.autocomplete {
display: flex;
flex-direction: column;
position: relative;
.autocomplete-items {
position: absolute;
border-bottom: none;
border-top: none;
z-index: 2;
top: 100%;
left: 0;
right: 0;
font-size: 1.3rem;
.autocomplete-items div {
padding: 1rem;
cursor: pointer;
background-color: white;
.autocomplete-items div:hover,
.autocomplete-active {
/*------------------------------------*\
#WIDGETS
\*------------------------------------*/
.chart-1,
.chart-2,
.chart-3 {
position: relative;
.widgets {
display: flex;
flex-direction: column;
justify-content: space-around;
.widgets {
flex-direction: row;
.social-info {
background-color: #fbfbfb;
border-radius: 0.8rem;
padding: 0 3.2rem 0 0.6rem;
display: grid;
.social-info {
.social-icons {
grid-area: icon;
width: 8rem;
height: 10rem;
.widget-label {
grid-area: label;
color: #7477bf;
.widget-stats {
grid-area: stats;
font-size: 4rem;
margin: 2rem 0;
}
.bc {
width: 6.3rem;
margin-right: auto;
margin-bottom: 1.3rem;
margin-left: 1rem;
position: relative;
left: -550px;
top: 7px;