abhi1693/yii2-app-advanced-startup-kit

View on GitHub
backend/assets_b/css/style.css

Summary

Maintainability
Test Coverage
/*

Table of Bootstrap modifications:
---------------------------------------------
1) General
2) Topbar (replaces the Bootstrap Navbar)
3) Navs (Nav-Tabs & Nav-Pills)
4) Media Object
5) Panels
6) Pagination
7) Yii Components
8) HumHub Components
9) Third Party Tools
10) Responsive modifications

*/
body {
  padding-top: 10px;
  background-color: #f4f4f4;
}
a:hover {
  text-decoration: none;
}
hr {
  margin-top: 10px;
  margin-bottom: 10px;
}
.col-md-1,
.col-md-2,
.col-md-3,
.col-md-4,
.col-md-5,
.col-md-6,
.col-md-7,
.col-md-8,
.col-md-9,
.col-md-10,
.col-md-11,
.col-md-12 {
  position: inherit;
}
textarea {
  height: 1.5em;
}
.topbar {
  position: fixed;
  display: block;
  height: 50px;
  width: 100%;
  padding-left: 15px;
  padding-right: 15px;
}
.topbar ul.nav {
  float: left;
}
.topbar ul.nav > li {
  float: left;
}
.topbar ul.nav > li > a {
  padding-top: 15px;
  padding-bottom: 15px;
  line-height: 20px;
}
.topbar .dropdown-footer {
  margin: 10px;
}
.topbar .dropdown-header {
  font-size: 16px;
  padding: 3px 10px;
  margin-bottom: 10px;
}
.topbar .dropdown-header .dropdown-header-link {
  position: absolute;
  top: 2px;
  right: 10px;
}
.topbar .dropdown-header .dropdown-header-link a {
  color: #428bca !important;
  font-size: 12px;
  font-weight: normal;
}
#topbar-first {
  top: 0;
  background-color: #101010;
  z-index: 1030;
}
#topbar-first .nav > li > a:hover,
#topbar-first .nav > .open > a {
  background-color: #2a2a2a;
}
#topbar-first .nav > .account {
  height: 50px;
  margin-left: 20px;
}
#topbar-first .nav > .account img {
  margin-left: 10px;
}
#topbar-first .nav > .account .dropdown-toggle {
  padding: 10px 5px 8px 5px;
  line-height: 1.1em;
  text-align: left;
}
#topbar-first .nav > .account .dropdown-toggle span {
  font-size: 12px;
}
#topbar-first .topbar-brand {
  position: relative;
  z-index: 2;
}
#topbar-first .topbar-actions {
  position: relative;
  z-index: 3;
}
#topbar-first .notifications {
  position: absolute;
  left: 0;
  right: 0;
  text-align: center;
  z-index: 1;
}
#topbar-first .notifications .btn-group {
  position: relative;
  text-align: left;
}
#topbar-first .notifications .btn-group > a {
  padding: 5px 10px;
  margin: 10px 2px;
  display: inline-block;
  border-radius: 2px;
  text-decoration: none;
  text-align: left;
}
#topbar-first .notifications .btn-group > .label {
  position: absolute;
  top: 4px;
  right: -2px;
}
#topbar-first .notifications .arrow:after {
  position: absolute;
  display: block;
  width: 0;
  height: 0;
  border-color: transparent;
  border-style: solid;
  border-width: 10px;
  content: " ";
  top: 1px;
  margin-left: -10px;
  border-top-width: 0;
  border-bottom-color: #fff;
  z-index: 1035;
}
#topbar-first .notifications .arrow {
  position: absolute;
  display: block;
  width: 0;
  height: 0;
  border-color: transparent;
  border-style: solid;
  z-index: 1001;
  border-width: 11px;
  left: 50%;
  margin-left: -18px;
  border-top-width: 0;
  border-bottom-color: rgba(0, 0, 0, 0.15);
  top: -16px;
  z-index: 1035;
}
#topbar-first .notifications #dropdown-notifications {
  width: 350px;
  margin-left: -148px;
}
#topbar-first .notifications #dropdown-notifications ul.media-list {
  max-height: 400px;
  overflow: auto;
}
#topbar-first .notifications #dropdown-notifications li {
  position: relative;
}
#topbar-first .notifications #dropdown-notifications li i.approval {
  position: absolute;
  left: 2px;
  top: 36px;
  font-size: 14px;
}
#topbar-first .notifications #dropdown-notifications li i.accepted {
  color: #5cb85c;
}
#topbar-first .notifications #dropdown-notifications li i.declined {
  color: #d9534f;
}
#topbar-first .notifications #dropdown-notifications li .media {
  position: relative;
}
#topbar-first .notifications #dropdown-notifications li .media .img-space {
  position: absolute;
  top: 14px;
  left: 14px;
}
#topbar-first .dropdown-footer {
  margin: 10px 10px 5px 10px;
}
#topbar-second {
  top: 50px;
  background-color: #f8f8f8;
  z-index: 1029;
}
#topbar-second .dropdown-menu {
  padding-top: 0;
  padding-bottom: 0;
}
#topbar-second #space-menu-dropdown,
#topbar-second #search-menu-dropdown {
  width: 400px;
}
#topbar-second #space-menu-dropdown .media-list,
#topbar-second #search-menu-dropdown .media-list {
  max-height: 400px;
  overflow: auto;
}
#topbar-second #space-menu-dropdown form,
#topbar-second #search-menu-dropdown form {
  margin: 10px;
}
#topbar-second #space-menu-dropdown .search-reset,
#topbar-second #search-menu-dropdown .search-reset {
  position: absolute;
  color: #999;
  margin: 10px;
  top: 8px;
  right: 10px;
  display: none;
  cursor: pointer;
}
.nav-tabs {
  margin-bottom: 10px;
}
.list-group a [class^="fa-"],
.list-group a [class*=" fa-"] {
  display: inline-block;
  width: 18px;
}
.media-list li {
  padding: 10px;
  border-bottom: 1px solid #eee;
  position: relative;
}
.media-list li:hover,
.media-list li.selected {
  background-color: #eee;
}
.media .media-body .content {
  margin-right: 35px;
}
.panel.profile {
  position: relative;
}
.panel.profile .controls {
  position: absolute;
  top: 10px;
  right: 10px;
}
.panel.members .panel-body a img,
.panel.groups .panel-body a img,
.panel.follower .panel-body a img,
.panel.spaces .panel-body a img {
  margin-bottom: 5px;
}
.panel-profile .panel-profile-header {
  position: relative;
  border: 3px solid #fff;
  border-top-right-radius: 3px;
  border-top-left-radius: 3px;
}
.panel-profile .panel-profile-header .img-profile-header-background {
  border-radius: 3px;
}
.panel-profile .panel-profile-header .img-profile-data {
  position: absolute;
  height: 100px;
  width: 100%;
  bottom: 0;
  left: 0;
  padding-left: 180px;
  padding-top: 30px;
  border-bottom-right-radius: 3px;
  border-bottom-left-radius: 3px;
  color: #fff;
  pointer-events: none;
  background: -moz-linear-gradient(top, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0) 1%, rgba(0, 0, 0, 0.58) 100%);
  /* FF3.6+ */
  background: -webkit-gradient(linear, left top, left bottom, color-stop(0%, rgba(0, 0, 0, 0)), color-stop(1%, rgba(0, 0, 0, 0)), color-stop(100%, rgba(0, 0, 0, 0.58)));
  /* Chrome,Safari4+ */
  background: -webkit-linear-gradient(top, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0) 1%, rgba(0, 0, 0, 0.58) 100%);
  /* Chrome10+,Safari5.1+ */
  background: -o-linear-gradient(top, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0) 1%, rgba(0, 0, 0, 0.58) 100%);
  /* Opera 11.10+ */
  background: -ms-linear-gradient(top, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0) 1%, rgba(0, 0, 0, 0.58) 100%);
  /* IE10+ */
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0) 1%, rgba(0, 0, 0, 0.58) 100%);
  /* W3C */
  filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#00000000', endColorstr='#94000000', GradientType=0);
  /* IE6-9 */
}
.panel-profile .panel-profile-header .img-profile-data h1 {
  font-size: 30px;
  font-weight: 100;
  margin-bottom: 7px;
  color: #fff;
}
.panel-profile .panel-profile-header .img-profile-data h2 {
  font-size: 16px;
  font-weight: 400;
  margin-top: 0;
}
.panel-profile .panel-profile-header .profile-user-photo-container {
  position: absolute;
  bottom: -50px;
  left: 15px;
}
.panel-profile .panel-profile-header .profile-user-photo-container .profile-user-photo {
  border: 3px solid #fff;
  border-radius: 5px;
}
.panel-profile .panel-profile-controls {
  padding-left: 160px;
}
.pagination-container {
  text-align: center;
}
@media screen and (max-width: 768px) {
  .modal-dialog {
    width: auto !important;
    padding-top: 30px;
    padding-bottom: 30px;
  }
}
.modal-dialog-extra-small {
  width: 400px;
}
.modal-dialog-small {
  width: 500px;
}
.modal-dialog-normal {
  width: 600px;
}
.modal-dialog-medium {
  width: 768px;
}
.modal-dialog-large {
  width: 900px;
}
@media screen and (max-width: 920px) {
  .modal-dialog-large {
    width: auto !important;
    padding-top: 30px;
    padding-bottom: 30px;
  }
}
.grid-view img {
  width: 24px;
  height: 24px;
}
.errorMessage {
  color: red;
  padding: 10px 0;
}
.error {
  border-color: red !important;
}
.loader {
  height: 60px;
  background: url('../img/loader.gif') no-repeat center center;
}
.loader-small {
  height: 20px;
  width: 20px;
}
ul.tag_input {
  list-style: none;
  background-color: #ffffff;
  border: 1px solid #ccc;
  border-radius: 4px;
  -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
  box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
  -webkit-transition: border-color ease-in-out 0.15s, box-shadow ease-in-out 0.15s;
  transition: border-color ease-in-out 0.15s, box-shadow ease-in-out 0.15s;
  padding: 0 0 9px 4px;
}
ul.tag_input li img {
  margin: 0 5px 0 0;
}
.tag_input_field {
  outline: none;
  border: none !important;
  padding: 5px 4px 0px 4px !important;
  width: 170px;
  margin: 2px 0 0 0 !important;
}
.userInput,
.spaceInput {
  background-color: #428bca;
  color: #ffffff;
  border-radius: 3px;
  font-size: 12px !important;
  padding: 2px;
  float: left;
  margin: 3px 4px 0 0;
}
.userInput i,
.spaceInput i {
  padding: 0px 6px;
  font-size: 14px;
  cursor: pointer;
  line-height: 8px;
}
/*.picker {
  li > a {
    padding-left: 10px;
  }

  li.selected {
    //padding-left: 6px;
    background-color: #eee;
  }
}*/
.contentForm_options {
  margin-top: 10px;
}
#contentFormFiles_list {
  padding-left: 0;
}
#contentFormError {
  color: red;
  padding-left: 0;
  list-style: none;
}
.post-files,
.oembed_snippet {
  margin-top: 10px;
}
.activities {
  max-height: 400px;
  overflow: auto;
}
.activities li .media {
  position: relative;
}
.activities li .media .img-space {
  position: absolute;
  top: 14px;
  left: 14px;
}
.wall-entry {
  position: relative;
}
.wall-entry .media {
  overflow: visible;
}
.wall-entry .media .img-space {
  position: absolute;
  top: 60px;
  left: 60px;
}
.wall-entry .well {
  margin-bottom: 0;
}
.wall-entry .well .comment .show-all-link {
  font-size: 12px;
}
.media:after {
  content: '';
  clear: both;
  display: block;
}
nav-pills.preferences {
  position: absolute;
  right: 1px;
  top: 1px;
}
.wall-entry-controls {
  font-size: 12px;
  margin-top: 10px;
  margin-bottom: 10px;
}
.tags .tag {
  margin-top: 5px;
  border-radius: 2px;
  padding: 4px 8px;
  text-transform: uppercase;
}
.placeholder {
  padding: 15px;
}
.placeholder-empty-stream {
  background-image: url('../img/placeholder-postform-arrow.png');
  background-repeat: no-repeat;
  padding: 37px 0 0 70px;
  margin-left: 90px;
}
.media-list li.placeholder {
  font-size: 14px !important;
  border-bottom: none;
}
.media-list li.placeholder:hover {
  background: none !important;
  border-left: 3px solid white;
}
.space-member-sign {
  color: #5cb85c;
  position: absolute;
  top: 50px;
  left: 50px;
  font-size: 18px;
}
.contentForm_options {
  min-height: 29px;
}
.contentForm-upload-progress {
  margin-top: 18px;
  margin-bottom: 10px !important;
}
.btn_container {
  position: relative;
}
.btn_container .label-public {
  position: absolute;
  right: 40px;
  top: 11px;
}
.mime {
  background-repeat: no-repeat;
  background-position: 0 0;
}
.mime-word {
  background-image: url('../img/mime/word.png');
}
.mime-excel {
  background-image: url('../img/mime/excel.png');
}
.mime-powerpoint {
  background-image: url('../img/mime/powerpoint.png');
}
.mime-pdf {
  background-image: url('../img/mime/pdf.png');
}
.mime-zip {
  background-image: url('../img/mime/zip.png');
}
.mime-image {
  background-image: url('../img/mime/image.png');
}
.mime-file {
  background-image: url('../img/mime/file.png');
}
.mime-photoshop {
  background-image: url('../img/mime/photoshop.png');
}
.mime-illustrator {
  background-image: url('../img/mime/illustrator.png');
}
.mime-flash {
  background-image: url('../img/mime/flash.png');
}
.mime-audio {
  background-image: url('../img/mime/audio.png');
}
.files,
#postFormFiles_list {
  padding-left: 0;
}
.installer .logo {
  text-align: center;
}
.upload-box-container {
  position: relative;
}
.upload-box {
  display: none;
  position: absolute;
  top: 0;
  left: 0px;
  width: 100%;
  height: 100px;
  padding: 20px 20px 20px 20px;
  background: #F8F8F8;
  border: 2px dashed #DDD;
  text-align: center;
  border-radius: 3px;
  cursor: pointer;
}
.upload-box input[type="file"] {
  position: absolute;
  opacity: 0;
}
.upload-box .upload-box-progress-bar {
  display: none;
}
.image-upload-container {
  position: relative;
}
.image-upload-container .image-upload-buttons {
  display: none;
  position: absolute;
  right: 5px;
  bottom: 5px;
}
.image-upload-container input[type="file"] {
  position: absolute;
  opacity: 0;
}
.image-upload-container .image-upload-loader {
  display: none;
  position: absolute;
  top: 0;
  left: 0px;
  width: 100%;
  height: 100%;
  padding: 20px 20px 20px 20px;
  background: #F8F8F8;
}
.highlight {
  background-color: #fffbc1;
}
input.placeholder,
textarea.placeholder {
  padding: 0 0 0 10px;
  color: #999999;
}
@media (max-width: 767px) {
  #search-menu-dropdown {
    width: 300px !important;
  }
  .notifications {
    position: inherit !important;
    float: left !important;
  }
  #dropdown-notifications {
    width: 300px !important;
    margin-left: 0 !important;
  }
  #dropdown-notifications .arrow {
    margin-left: -142px !important;
  }
}