Browse Source

More improvements to chat usability by colors.

pull/162/head
Simon Eisenmann 11 years ago
parent
commit
f63ab8639e
  1. 25
      src/styles/components/_chat.scss
  2. 2
      static/css/main.min.css

25
src/styles/components/_chat.scss

@ -177,15 +177,15 @@
&.with_pictures .message { &.with_pictures .message {
&.is_self { &.is_self {
padding-right: 54px; padding-right: 34px;
.timestamp { .timestamp {
right: 58px; right: 45px;
} }
} }
&.is_remote { &.is_remote {
padding-left: 58px; padding-left: 44px;
} }
} }
@ -378,18 +378,19 @@
.buddyPicture { .buddyPicture {
background: $actioncolor1; background: $actioncolor1;
border-radius: 2px; border-radius: 2px;
height: 46px; font-size: .7em;
height: 30px;
left: 4px; left: 4px;
overflow: hidden; overflow: hidden;
position: absolute; position: absolute;
text-align: center; text-align: center;
top: 4px; top: 4px;
width: 46px; width: 30px;
z-index: 0; z-index: 0;
.#{$fa-css-prefix} { .#{$fa-css-prefix} {
color: $actioncolor2; color: $actioncolor2;
line-height: 46px; line-height: 30px;
} }
img { img {
@ -480,7 +481,6 @@
z-index: initial; z-index: initial;
&:hover .buddyInfoActions { &:hover .buddyInfoActions {
height: 40px;
opacity: 1; opacity: 1;
} }
} }
@ -488,20 +488,23 @@
.buddyInfoActions { .buddyInfoActions {
cursor: default; cursor: default;
display: inline-block; display: inline-block;
height: 0; height: 40px;
left: 0; left: 0;
opacity: 0; opacity: 0;
overflow: hidden; overflow: hidden;
position: absolute; position: absolute;
top: 48px; top: 32px;
transition: opacity 0.1s .1s linear, height .4s .1s ease-out; transition: opacity 0.1s .1s linear;
white-space: nowrap; white-space: nowrap;
z-index: 1; z-index: 1;
.btn-group { .btn-group {
display: block; display: block;
margin: 0 auto; margin: 0 auto;
width: 55px; width: 70px;
.btn {
width:35px;
}
} }
.btn-primary { .btn-primary {

2
static/css/main.min.css vendored

File diff suppressed because one or more lines are too long
Loading…
Cancel
Save