summaryrefslogtreecommitdiffstats
path: root/web/sass-files/sass/partials
diff options
context:
space:
mode:
Diffstat (limited to 'web/sass-files/sass/partials')
-rw-r--r--web/sass-files/sass/partials/_files.scss6
-rw-r--r--web/sass-files/sass/partials/_post.scss11
-rw-r--r--web/sass-files/sass/partials/_responsive.scss16
3 files changed, 18 insertions, 15 deletions
diff --git a/web/sass-files/sass/partials/_files.scss b/web/sass-files/sass/partials/_files.scss
index b01d2e157..1268d8a07 100644
--- a/web/sass-files/sass/partials/_files.scss
+++ b/web/sass-files/sass/partials/_files.scss
@@ -13,6 +13,7 @@
vertical-align: top;
position: relative;
border: 1px solid #DDD;
+ @include clearfix;
&.custom-file {
width: 85px;
height: 100px;
@@ -31,8 +32,8 @@
}
}
.preview-img {
- width:100%;
- height:100%;
+ height: auto;
+ max-width: 100%;
}
.remove-preview {
position: absolute;
@@ -136,6 +137,7 @@
border: 1px solid #E2E2E2;
background-color: #FFF;
background-repeat: no-repeat;
+ background-position: left center;
}
a {
text-decoration: none;
diff --git a/web/sass-files/sass/partials/_post.scss b/web/sass-files/sass/partials/_post.scss
index e35979b64..310e9e7e4 100644
--- a/web/sass-files/sass/partials/_post.scss
+++ b/web/sass-files/sass/partials/_post.scss
@@ -220,10 +220,16 @@ body.ios {
.post-comment {
border-left: 4px solid #EEE;
padding: 4px 0 6px 10px;
- background: #F5F5F5;
margin: 0 0 0 30px;
@include border-radius(0 4px 4px 0);
}
+ &.current--user {
+ &:hover {
+ .post-comment {
+ background: #fff;
+ }
+ }
+ }
.post-body {
background: transparent;
margin: 0;
@@ -231,9 +237,6 @@ body.ios {
}
&:hover {
background: #f5f5f5;
- .post-comment {
- background: #fff;
- }
}
}
}
diff --git a/web/sass-files/sass/partials/_responsive.scss b/web/sass-files/sass/partials/_responsive.scss
index e2c89a6f2..9faa9dc67 100644
--- a/web/sass-files/sass/partials/_responsive.scss
+++ b/web/sass-files/sass/partials/_responsive.scss
@@ -210,10 +210,14 @@
#post-list {
.date-seperator, .new-separator {
&.hovered--after {
- background: none;
+ &:before {
+ background: none;
+ }
}
&.hovered--before {
- background: none;
+ &:after {
+ background: none;
+ }
}
}
}
@@ -235,12 +239,6 @@
&.other--root {
&:hover {
background: none;
- .post-body {
- background: none;
- .post-comment {
- background: #f5f5f5;
- }
- }
}
}
}
@@ -598,7 +596,7 @@
&.post--comment {
&.other--root {
.post-comment {
- margin-left: 4px;
+ margin-left: 11px;
}
}
}