$font-family: Roboto, Arial, Verdana, sans-serif; $font-color: #484848; $font-size: 15px; $separator-color: #d8d8d8; @mixin border-radius($radius) { -webkit-border-radius: $radius; -moz-border-radius: $radius; -ms-border-radius: $radius; border-radius: $radius; } .anycomment-dashboard *, .anycomment-dashboard *:before, .anycomment-dashboard *:after { box-sizing: border-box; } // Dashboard .anycomment-dashboard { font-family: $font-family; background-color: #fff; font-weight: 300; position: relative; @include border-radius(16px); h2 { font-size: $font-size + 10; font-weight: 300; color: $font-color; padding: 0; } &__container, &__sidebar { display: inline-block; float: left; } &__container { width: 75%; padding: 37px 0 37px 37px; } &__sidebar { padding: 37px; width: 25%; position: absolute; height: 100%; @include border-radius(0 16px 16px 0); background-color: #282828; h2 { color: #fff; margin-top: 0; } &-news { li { color: #fff; list-style: disc; } } &-news-title { font-size: $font-size + 2; font-weight: 700; margin-bottom: 5px; } &-news-summary { font-size: $font-size; font-weight: 500; * { margin: 0; padding: 0; } } ul { list-style: none; margin: 0; padding: 0; li { margin-bottom: 10px; &:last-of-type { margin-bottom: 0; } & * { color: #fff; } } } } a { color: $font-color; text-decoration: none; } &__header { margin-bottom: 30px; padding-right: 37px; &-logo { float: left; text-align: left; img { height: 38px; margin-right: 20px; vertical-align: top; margin-top: -10px; } img, h2 { display: inline-block; float: left; } h2 { color: $font-color; margin: 0; } } &-official { float: right; text-align: right; color: #373737; font-size: 28px; } } &__tabs { width: 100%; ul { list-style: none; padding: 0; margin: 0; li { display: inline-block; float: left; margin: 0 25px 0 0; &:last-of-type { margin-right: 0; } a { color: #686868; font-size: $font-size + 5; font-weight: 300; display: block; padding: 15px 0; &:hover { color: $font-color; } } } li.active { a { color: #000; border-bottom: 5px solid #44cdac; padding: 15px 0; } } } } &__splitter { border-top: 2px solid $separator-color; border-bottom: 2px solid $separator-color; &-half { padding: 30px 0; width: 50%; float: left; &:first-child { border-right: 2px solid $separator-color; } &-comments { span:first-child { color: #ec4568; } } &-commentators { color: #53146c; } &-center { display: table; margin: 0 auto; img { float: left; margin-right: 20px; } } &-description { padding-top: 50px; float: right; span { text-align: center; font-weight: 300; display: block; &:first-child { font-size: 86px; font-weight: 300; margin-bottom: 50px; } &:last-of-type { color: #747474; font-size: 22px; } } } } } &__statistics { width: 100%; h2 { color: $font-color; width: 100%; margin: 45px 0; text-align: left; } &-graph, &-userlist { display: inline-block; float: left; } &-graph { width: 65%; border-right: 2px solid $separator-color; padding-right: 37px; } &-userlist { width: 35%; padding-left: 37px; padding-right: 37px; &-counter { float: right; margin-top: 20px; } &-avatar { background-size: cover; background-position: center; width: 64px; height: 64px; display: inline-block; margin-right: 19px; vertical-align: middle; @include border-radius(50%); } ul { list-style: none; margin: 0; padding: 0; li { margin-bottom: 20px; font-size: $font-size + 5; font-weight: 300; text-align: left; &:last-of-type { margin-bottom: 0; } } } } } } @media screen and (max-width: 1600px) { .anycomment-dashboard { &__statistics { &-graph, &-userlist { width: 100%; } } } } @media screen and (max-width: 1400px) { .anycomment-dashboard { &__splitter { &-half { width: 100%; } } } } @media screen and (max-width: 1000px) { .anycomment-dashboard { &__container, &__sidebar { display: block; width: 100%; } &__sidebar { position: relative; @include border-radius(0 0 16px 16px); } } } .clearfix:after { content: ""; visibility: hidden; display: block; height: 0; clear: both; }