summaryrefslogtreecommitdiffstats
path: root/web/sass-files/sass
diff options
context:
space:
mode:
authorAsaad Mahmood <asaad@spinpunch.com>2015-11-19 20:18:38 +0500
committerAsaad Mahmood <asaad@spinpunch.com>2015-11-19 20:18:38 +0500
commit094728a809ce325e1483e6ba1ed644947d0f6ba9 (patch)
tree3b2dba3418ab626b9931430d2523b115a37fa8d5 /web/sass-files/sass
parent5f848b74793f679772473a3b5b2ab247bcc927a9 (diff)
downloadchat-094728a809ce325e1483e6ba1ed644947d0f6ba9.tar.gz
chat-094728a809ce325e1483e6ba1ed644947d0f6ba9.tar.bz2
chat-094728a809ce325e1483e6ba1ed644947d0f6ba9.zip
Multiple UI Improvements
Diffstat (limited to 'web/sass-files/sass')
-rw-r--r--web/sass-files/sass/partials/_base.scss4
-rw-r--r--web/sass-files/sass/partials/_post.scss11
-rw-r--r--web/sass-files/sass/partials/_responsive.scss36
-rw-r--r--web/sass-files/sass/partials/_tooltips.scss5
-rw-r--r--web/sass-files/sass/styles.scss3
5 files changed, 54 insertions, 5 deletions
diff --git a/web/sass-files/sass/partials/_base.scss b/web/sass-files/sass/partials/_base.scss
index c5b1a7425..2fc63443e 100644
--- a/web/sass-files/sass/partials/_base.scss
+++ b/web/sass-files/sass/partials/_base.scss
@@ -122,6 +122,10 @@ a:focus, a:hover {
}
}
+select {
+ -webkit-appearance: none;
+}
+
.form-control {
@include border-radius(2px);
&:focus {
diff --git a/web/sass-files/sass/partials/_post.scss b/web/sass-files/sass/partials/_post.scss
index 743a76693..99e985b0c 100644
--- a/web/sass-files/sass/partials/_post.scss
+++ b/web/sass-files/sass/partials/_post.scss
@@ -382,9 +382,11 @@ body.ios {
}
span {
+
p:last-child {
margin-bottom: 0.5em;
}
+
}
&.post--root {
@@ -508,6 +510,7 @@ body.ios {
max-width: 1000px;
display: table;
width: 100%;
+ table-layout: fixed;
> div {
display: table-cell;
@@ -532,7 +535,7 @@ body.ios {
position: absolute;
right: 0;
top: 30px;
- width: 70px;
+ width: 60px;
}
}
@@ -584,12 +587,15 @@ body.ios {
word-wrap: break-word;
padding: 0.2em 0.5em 0em;
@include legacy-pie-clearfix;
- width: calc(100% - 80px);
+ width: calc(100% - 70px);
}
.post__link {
margin: 2px 0 5px;
font-size: 13px;
+ text-overflow: ellipsis;
+ overflow: hidden;
+ white-space: nowrap;
}
.post__time {
@@ -612,7 +618,6 @@ body.ios {
}
.comment-icon__container {
- margin-right: 7px;
fill: $primary-color;
display: inline-block;
visibility: hidden;
diff --git a/web/sass-files/sass/partials/_responsive.scss b/web/sass-files/sass/partials/_responsive.scss
index 368027cbf..593b5f275 100644
--- a/web/sass-files/sass/partials/_responsive.scss
+++ b/web/sass-files/sass/partials/_responsive.scss
@@ -57,7 +57,37 @@
.post {
- .dropdown, .comment-icon__container {
+ &.same--root {
+
+ &.same--user {
+
+ .post__time {
+ display: none;
+ }
+
+ }
+
+ }
+
+ .post-list__content & {
+
+ &:hover {
+ background: transparent;
+
+ .comment-icon__container {
+ visibility: hidden;
+
+ &.icon--show {
+ visibility: visible;
+ }
+
+ }
+
+ }
+
+ }
+
+ .dropdown {
visibility: visible;
}
@@ -232,7 +262,8 @@
}
.modal-header {
display: block;
- position: fixed;
+ position: absolute;
+ top: 0;
width: 100%;
z-index: 5;
}
@@ -358,6 +389,7 @@
#navbar {
.navbar-default {
.navbar-header {
+ float: none;
margin: 0 -15px;
.dropdown__icon {
background: url("../images/dropdown-icon.png");
diff --git a/web/sass-files/sass/partials/_tooltips.scss b/web/sass-files/sass/partials/_tooltips.scss
new file mode 100644
index 000000000..e018cf13c
--- /dev/null
+++ b/web/sass-files/sass/partials/_tooltips.scss
@@ -0,0 +1,5 @@
+#recentMentionsTooltip {
+ .tooltip-arrow {
+ margin-left: 10px;
+ }
+} \ No newline at end of file
diff --git a/web/sass-files/sass/styles.scss b/web/sass-files/sass/styles.scss
index 5c83d5c5b..01f654eec 100644
--- a/web/sass-files/sass/styles.scss
+++ b/web/sass-files/sass/styles.scss
@@ -41,6 +41,9 @@
@import "partials/tutorial";
@import "partials/statistics";
+// Elements
+@import "partials/tooltips";
+
// Responsive Css
@import "partials/responsive";