2015-04-20 17:56:30 +02:00
|
|
|
/// autoScrollList.scss -*- Mode: scss; indent-tabs-mode: nil; basic-offset: 2 -*-
|
2015-02-03 16:52:27 +01:00
|
|
|
@import 'extends';
|
|
|
|
|
|
|
|
// The only selector for vs-repeat lists is this id, we use attributes selector to
|
|
|
|
// avoid overspecifying
|
|
|
|
// todo: create new classes and refactor templates markup
|
2015-02-06 15:37:00 +01:00
|
|
|
// ----------------------------------------------------------------------------
|
2015-03-28 02:13:39 +01:00
|
|
|
.vs-repeat-repeated-element {
|
|
|
|
width: 100%;
|
|
|
|
}
|
|
|
|
|
2015-02-20 04:05:53 +01:00
|
|
|
[id='messagesList'],
|
|
|
|
[id='contactsList'] {
|
2015-02-03 22:03:36 +01:00
|
|
|
border-top: 44px solid transparent; // padding for the header.subheader,
|
|
|
|
border-bottom: 2px solid transparent; //close to a hack
|
2015-04-20 17:56:30 +02:00
|
|
|
md-list-item {
|
|
|
|
// dirty fix for vs-repeat damages
|
|
|
|
position: absolute;
|
|
|
|
}
|
2015-02-03 22:03:36 +01:00
|
|
|
|
2015-05-08 18:06:52 +02:00
|
|
|
md-list-item {
|
|
|
|
transition: background-color $swift-ease-in-duration $swift-ease-in-timing-function,
|
|
|
|
color 0.12s linear;
|
2015-02-06 15:37:00 +01:00
|
|
|
&:hover {
|
|
|
|
background-color: sg-color($sogoPaper, 300);
|
|
|
|
color: sg-color($sogoBlue, 800);
|
|
|
|
cursor: pointer;
|
|
|
|
}
|
|
|
|
&:active {
|
|
|
|
color: sg-color($sogoBlue, 800);
|
|
|
|
}
|
2015-02-27 04:32:22 +01:00
|
|
|
&:focus,
|
2015-05-08 18:06:52 +02:00
|
|
|
&.sg-active {
|
2015-02-06 15:37:00 +01:00
|
|
|
background-color: sg-color($sogoBlue, 100);
|
|
|
|
}
|
2015-02-03 16:52:27 +01:00
|
|
|
}
|
|
|
|
}
|
2015-02-06 15:37:00 +01:00
|
|
|
|
|
|
|
.sg {
|
|
|
|
&-tile-content {
|
2015-05-08 18:06:52 +02:00
|
|
|
align-items: baseline;
|
|
|
|
flex-direction: row;
|
|
|
|
flex-wrap: wrap;
|
2015-04-02 16:07:57 +02:00
|
|
|
flex: 1;
|
2015-05-08 18:06:52 +02:00
|
|
|
justify-content: space-between;
|
2015-02-06 15:37:00 +01:00
|
|
|
p {
|
|
|
|
margin: $list-p-margin;
|
|
|
|
font-size: sg-size(body);
|
|
|
|
}
|
|
|
|
.msg-date {
|
2015-05-08 18:06:52 +02:00
|
|
|
float: right;
|
2015-02-06 15:37:00 +01:00
|
|
|
font-size: sg-size(body);
|
2015-05-08 18:06:52 +02:00
|
|
|
font-weight: $sg-font-light;
|
|
|
|
line-height: $sg-line-height-2;
|
|
|
|
margin-left: 1em;
|
|
|
|
}
|
|
|
|
.#{$md}-subhead-multi,
|
|
|
|
.#{$md}-subhead-solo,
|
|
|
|
.#{$md}-body-multi {
|
|
|
|
overflow: hidden;
|
|
|
|
text-overflow: ellipsis;
|
|
|
|
white-space: nowrap;
|
|
|
|
}
|
|
|
|
.#{$md}-subhead-multi {
|
|
|
|
@extend .#{$md}-body-1;
|
|
|
|
font-size: initial;
|
|
|
|
}
|
|
|
|
.#{$md}-body-multi {
|
|
|
|
@extend .#{$md}-caption;
|
2015-02-06 15:37:00 +01:00
|
|
|
}
|
2015-02-03 16:52:27 +01:00
|
|
|
}
|
2015-02-03 22:03:36 +01:00
|
|
|
}
|
2015-02-10 09:17:10 +01:00
|
|
|
.sg-avatar {
|
2015-04-23 17:02:11 +02:00
|
|
|
@extend .md-tile-left-card;
|
|
|
|
margin-right: 0;
|
|
|
|
margin-left: 0;
|
|
|
|
}
|
|
|
|
.sg-list-avatar {
|
|
|
|
@extend .md-tile-left-list;
|
2015-02-10 09:17:10 +01:00
|
|
|
margin-right: 0;
|
2015-02-24 03:33:47 +01:00
|
|
|
margin-left: 0;
|
2015-04-10 21:37:00 +02:00
|
|
|
}
|