View file diary2/Diary_Style/css/main.css

File size: 10.58Kb
.pull-right {
  float: right;
}

.pull-left {
  float: left;
}

.alert {
  padding: 6px;
}

.pager {
  padding-left: 0;
  margin: 20px 0;
  text-align: center;
  list-style: none;
}
.pager li {
  display: inline;
}
.pager li > a,
.pager li > span {
  display: inline-block;
  padding: 5px 14px;
  background-color: #fff;
  border: 1px solid #ddd;
  border-radius: 15px;
}
.pager li > a:hover,
.pager li > a:focus {
  text-decoration: none;
  background-color: #eee;
}

.ic {
  vertical-align: middle;
  display: inline-block;
  width: 24px;
  height: 22px;
  background-image: url(../img/menu_icons.png);
  background-repeat: no-repeat;
  background-position: center;
}

.ic-mail { background-position: 0 0px; }
.ic-tape { background-position: 0 -44px; }
.ic-answer { background-position: 0 -43px; }
.ic-settings { background-position: 0 -242px; }
.ic-home { background-position: -2px -154px; }
.ic-profile { background-position: 0px -64px; }
.ic-menu { background-image: url(../img/menu.png); }
.ic-arrow{ background-image: url(../img/profile_arrow.png); }



.email-nav {
  padding-left: 4px;
  padding-top: 4px;
  margin-bottom: 0;
  list-style: none;
  border-bottom: 1px solid #d5d5d5;
}

.email-nav li {
  position: relative;
  display: inline-block;
  margin-left: 4px;
  border-radius: 4px 4px 0 0;
}

.email-nav li.active {
  padding: 6px 10px;
  background-color: #f1f1f1;
}

.email-nav > li > a {
  position: relative;
  display: block;
  padding: 6px 10px; 
}


.email-search form  {
  background-color: #e3ecea;
}

table .search-input {
  padding: 4px;
  width: 100%;
}

table .search-input input {
  width: 100%;
}

table .search-submit {
  padding: 4px;
  width: 100%;
}

table .search-submit button {
  padding: 2px;
}


.attachments {
  position: relative;
  background-color: #e4eaef;
  border: 1px solid #b3b3b3;
  padding: 4px;
}

.attachments > .attachments-photo {
  position: relative;
}

.attach {
  
}

.attach-photo {
  position: relative;
  display: inline-block;
  background-color: #ffffff;
  margin: 2px;
  height: 100px;
  width: 100px;
  max-width: 31%;
  overflow: hidden;
}

.attach-photo-1 {
  display: block;
  margin: 2px;
  height: auto;
  width: auto;
  overflow: visible;
  max-width: 100%;
}

.attach-photo img {
  min-width: 100px;
  min-height: 100px;
  max-width: 31%;
}

.attach-photo-1 img {
  max-width: 100%;
}

.attachments > .attachments-photo > .attachments-list {
  position: relative;
  display: inline-block;
  background-color: #ffffff;
  border: 1px solid #dddddd;
  padding: 6px;
  margin: 2px;
}

.attachments > .attachments-photo > .attachments-list > .attachments-delete {
  background-color: #ffffff;
  position: absolute;
  z-index: 2;
  right: 0px;
  top: 0px;
}

.breadcrumb {
  margin: 0;
  padding: 8px 15px;
  list-style: none;
  background-color: #f5f5f5;
}
.breadcrumb > li {
  display: inline-block;
}
.breadcrumb > li + li:before {
  padding: 0 5px;
  color: #ccc;
  content: "/\00a0";
}
.breadcrumb > .active {
  color: #777;
}

.js_not {
  display: none;
}

.user-ban {
  text-decoration: line-through;
  color: #9d9d9d;
}

/* Разметка постов */

.icpb {
  vertical-align: middle;
  display: inline-block;
  width: 16px;
  height: 16px;
  background-image: url(../img/actions_sprite.png);
  background-repeat: no-repeat;
  background-position: center;
}

.icpb-comments { background-position: -176px 0; }
.icpb-comments:hover { background-position: -176px -16px; }
.icpb-share { background-position: -80px 0; }
.icpb-share:hover { background-position: -80px -16px; }
.icpb-like { background-position: -128px 0; }
.icpb-like:hover { background-position: -128px -16px; }
.icpb-dlike { background-position: -144px 0; }
.icpb-dlike:hover { background-position: -144px -16px; }
.icpb-edit { background-position: -96px 0; }
.icpb-edit:hover { background-position: -96px -16px; }

.media-post {
  margin: 0px;
  padding: 0px;
}

.media-post > .media > .media-body {
  display: block;
  padding-left: 56px;
}

.media-post > .media > .media-avatar {
  float: left;
}

.media-post > li {
  border-bottom: 1px solid #dcdef3;
  display: table;
  width: 100%;
  margin: 0px;
  padding: 4px;
}

.media-post > li:last-child {
  border-bottom: 0;
}

.list-post a:hover, .media-post a:hover {
  text-decoration: none;
}

.list-post, .media-post {
  position: relative;
  border-left: 1px solid #dcdef3;
  border-right: 1px solid #dcdef3;
}

.list-post a.active {
  color: #7f7f7f;
}

.list-post .list-post-item { 
  border-bottom: 1px solid #dcdef3;
  padding: 6px;
}

.list-post .list-post-item img { 
  
}

.list-post .list-post-header img.avatar { 
  border-radius: 50%;
  -moz-border-radius: 50%;
}

.list-post .list-post-header a { 
  font-size: 15px;
  font-weight: bolder;
  line-height: 20px;
  background-size: contain;
}

.list-post .list-post-header { 
  padding-bottom: 6px;
}

.list-post-time { 
  font-size: 12px;
  display: inline-block;
  padding: 2px;
  height: 16px;
  word-wrap: break-word;
  position: absolute;
  right: 0px;
  color: #7f7f7f;
}

.list-post .list-post-item-text { 
  max-height: 380px;
  overflow: hidden;
  position: relative;
  width: inherit;
}

.list-post .list-post-item-text img { 
  max-height: 240px;
}

.list-post-full .list-post-item-text img { 
  max-width: 49%;
  max-height: 300px;
}

.list-post .list-post-item-end { 
  background: linear-gradient(to bottom, rgba(255, 255, 255, 0) 0%, #ffffff 70%) transparent;
  top: 358px;
  height: 22px;
  position: absolute;
  display: block;
  width: 100%;
  text-align: center;
  cursor: pointer;
}

.list-post .list-post-item-end b { 
  width: 40px;
  display: inline-block;
  background-color: #ffffff;
  background: linear-gradient(to top, #dbdfe3 0%, #ced2d7 36%, #ffffff 100%);
  border-radius: 4px 4px 20px 20px;
  -moz-border-radius: 4px 4px 20px 20px;
  vertical-align: bottom;
  border: 1px solid #ececec;
  color: #7f7f7f;
}

.list-post .list-post-item-end b:hover { 
  background-color: #efefef;
  background: linear-gradient(to top, #c4cad0 0%, #b9bec6 36%, #ffffff 100%);
  border-radius: 2px 2px 15px 15px;
  -moz-border-radius: 2px 2px 15px 15px;
}

.list-post .list-post-item-end a:hover { 
  background-color: #e9e9e9;
  background: linear-gradient(to top, #e4e8eb 0%, #dcdfe2 36%, #ffffff 100%);
}

.list-post .list-post-item-panel { 
  background-color: #ffffff;
  padding-top: 6px;
  padding-bottom: 8px;
  padding-left: 6px;
  color: #737373;
}

.list-post .list-post-item-panel > a { 
  padding: 6px;
  background-color: #ffffff;
  background: linear-gradient(to top, #edeff1 0%, #e8eaec 36%, #ffffff 100%);
  border: 1px solid #f0f0f0;  
  border-radius: 4px 4px 4px 4px;
  -moz-border-radius: 4px 4px 4px 4px;
  line-height: 20px;
} 

.list-post-info {
  height: 30px;
}

.list-post-item > .pager {
  margin: 0;
}

.form-post-access, .form-create form {
  border: 0;
  background-color: inherit;
  margin: 0;
  padding: 0;
}

.form-post-access > .access-header {
  padding: 6px;
  font-weight: bolder;
}

.form-post-access label {
  display: block;
  padding: 6px;
  cursor: pointer;
}

.form-post-access button {
  margin: 6px;
}

.form-post-access label:hover {
  background-color: #efefef;
}

.form-create {
  padding-top: 6px;
  background-color: #ffffff;
  border-left: 1px solid #dcdef3;
  border-right: 1px solid #dcdef3;
  border-bottom: 1px solid #dcdef3;
}

.form-create form button {
  padding: 4px;
}

.form-create-header, .form-create-input, .form-create-block {
  padding: 4px 6px 8px 6px;
  color: #6b6b6b;
}

.form-create-block {
  color: #242424;
  border-top: 1px solid #dcdef3;
}

.form-create-block:last-child {
  border-bottom: 1px solid #dcdef3;
}

.form-create-block > .button-create {
  padding: 2px 4px 0 4px;
  vertical-align: middle;
  font-size: 15px;
  font-weight: bolder;
  color: #2b6bc4;
}

.form-create-block > .button-create:hover {
  color: #ee0000;
}

.button-create {
  background-color: #ffffff;
  border: 0;
}

.form-create .form-create-panel {
  min-height: 46px;
  padding: 6px 8px 6px 6px;
}

.list-like {
  list-style: none;
  padding-left: 0;
  margin-top: -6px;
  padding: 0;
}

.list-like > li {
  position: relative;
  display: table-cell;
  background-color: #ffffff;
  background: linear-gradient(to top, #edeff1 0%, #e8eaec 36%, #ffffff 100%);
  border: 1px solid #f0f0f0;  
  line-height: 20px;
  margin: 0;
  min-width: 30px;
  text-align: center;
}

.list-like > li:last-child {
  border-left: 0px;
  border-radius: 0  6px  6px 0;
  -moz-border-radius: 0  6px  6px 0;
}

.list-like > li:last-child:hover, .list-like > li:first-child:hover {
  background: linear-gradient(to top, #c8cdd2 0%, #d3d8dc 36%, #ffffff 100%);
}

.list-like > li:first-child {
  border-right: 0px;
  border-radius: 6px 0 0 6px;
  -moz-border-radius: 6px 0 0 6px;
}

.list-like > li > a {
  padding: 6px;
  display: block;
}

.sort {
  list-style: none;
  padding-left: 0;
  margin-bottom: 0;
}

.sort > li {
  position: relative;
  display: block;
}

.sort > li > a {
  position: relative;
  display: block;
  padding: 5px 7px;
}

.sort-justified {
  width: 100%;
}

.sort-justified > li {
  float: none;
  border: 1px solid #dcdef3;
  border-right: 0;
  background: linear-gradient(to top, #efefef 0%, #e4e4e4 36%, #ffffff 100%);
}

.sort-justified > li:hover {
  background: linear-gradient(to top, #fdfdfd 0%, #ececec 36%, #ffffff 100%);
}

.sort-justified > li.active {
  background: linear-gradient(to top, #fdfdfd 0%, #ffffff 36%, #ffffff 100%);
}

.sort-justified > li.active > a {
  cursor: default;
}

.sort-justified > li:last-child {
  border-right: 1px solid #dcdef3;
}

.sort-justified > li > a {
  text-align: center;
  color: #3b3b3b;
}

@media (min-width: 240px) {
  .sort-justified > li {
    display: table-cell;
    width: 1%;
  }
  
  .sort-justified > li > a {
    margin-bottom: 0;
  }
  
}


.loads > .menu-pages {
  border-bottom: 1px solid #c9c9c9;
  background-color: #e1f4ec;
}

.loads > .menu {
  padding: 4px;
  border-bottom: 1px solid #c9c9c9;
}

.loads > .main {
  text-align: center;
  font-weight: bold;
}

.loads > .main > a {
  display: inline-block;
  font-weight: normal;
  border: 1px solid #cfcfcf;
  background-color: #f1fbf0;
  border-radius: 8px;
  -moz-border-radius: 8px;
  padding: 4px;
  margin: 2px;
}