Merge pull request #142 from asaadmahmoodspin/master

Minor UI upgrades
Этот коммит содержится в:
Joram Wilander
2015-07-07 15:51:03 -04:00
родитель 2be660f05d 37fbd62a7c
Коммит 66e97a56b0
4 изменённых файлов: 23 добавлений и 31 удалений

Просмотреть файл

@@ -13,6 +13,7 @@
vertical-align: top; vertical-align: top;
position: relative; position: relative;
border: 1px solid #DDD; border: 1px solid #DDD;
@include clearfix;
&.custom-file { &.custom-file {
width: 85px; width: 85px;
height: 100px; height: 100px;
@@ -31,8 +32,8 @@
} }
} }
.preview-img { .preview-img {
width:100%; height: auto;
height:100%; max-width: 100%;
} }
.remove-preview { .remove-preview {
position: absolute; position: absolute;
@@ -136,6 +137,7 @@
border: 1px solid #E2E2E2; border: 1px solid #E2E2E2;
background-color: #FFF; background-color: #FFF;
background-repeat: no-repeat; background-repeat: no-repeat;
background-position: left center;
} }
a { a {
text-decoration: none; text-decoration: none;

Просмотреть файл

@@ -63,13 +63,13 @@ body.ios {
} }
&.hovered--after { &.hovered--after {
&:before { &:before {
background: #f6f6f6; background: #f5f5f5;
display: block; display: block;
} }
} }
&.hovered--before { &.hovered--before {
&:after { &:after {
background: #f6f6f6; background: #f5f5f5;
display: block; display: block;
} }
} }
@@ -202,25 +202,19 @@ body.ios {
@include opacity(1); @include opacity(1);
} }
} }
background: #f6f6f6; background: #f5f5f5;
} }
&.current--user { &.current--user {
.post-body { .post-body {
@include border-radius(4px); @include border-radius(4px);
background: #f5f5f5; background: #f5f5f5;
} }
&:hover {
.post-body {
background: #fff;
}
}
} }
&.post--comment { &.post--comment {
&.other--root { &.other--root {
.post-comment { .post-comment {
border-left: 4px solid #EEE; border-left: 4px solid #EEE;
padding: 4px 0 6px 10px; padding: 4px 0 6px 10px;
background: #F5F5F5;
margin: 0 0 0 30px; margin: 0 0 0 30px;
@include border-radius(0 4px 4px 0); @include border-radius(0 4px 4px 0);
} }
@@ -229,13 +223,17 @@ body.ios {
margin: 0; margin: 0;
padding: 1px 0px; padding: 1px 0px;
} }
&:hover { &.current--user {
background: #f5f5f5;
.post-comment { .post-comment {
background: #fff; background: #f5f5f5;
} }
} }
} }
&.same--root {
.post-body {
@include border-radius(0 4px 4px 0);
}
}
} }
&.same--root { &.same--root {
.comment-icon__container { .comment-icon__container {

Просмотреть файл

@@ -210,10 +210,14 @@
#post-list { #post-list {
.date-seperator, .new-separator { .date-seperator, .new-separator {
&.hovered--after { &.hovered--after {
background: none; &:before {
background: none;
}
} }
&.hovered--before { &.hovered--before {
background: none; &:after {
background: none;
}
} }
} }
} }
@@ -224,23 +228,10 @@
&:hover { &:hover {
background: none; background: none;
} }
&.current--user {
&:hover {
.post-body {
background: #f5f5f5;
}
}
}
&.post--comment { &.post--comment {
&.other--root { &.other--root {
&:hover { &:hover {
background: none; background: none;
.post-body {
background: none;
.post-comment {
background: #f5f5f5;
}
}
} }
} }
} }
@@ -598,7 +589,7 @@
&.post--comment { &.post--comment {
&.other--root { &.other--root {
.post-comment { .post-comment {
margin-left: 4px; margin-left: 11px;
} }
} }
} }

3
web/static/js/min/perfect-scrollbar.min.js поставляемый

Различия файлов скрыты, потому что одна или несколько строк слишком длинны