2015-02-03 16:52:27 +01:00
|
|
|
////
|
|
|
|
/// SOGo
|
|
|
|
/// Version: #{$Version}
|
|
|
|
/// Module: autoScrollList
|
|
|
|
/// Main definitions for autoScrollList
|
|
|
|
////
|
|
|
|
@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-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-02-04 03:22:12 +01:00
|
|
|
z-index: 10;
|
2015-02-03 22:03:36 +01:00
|
|
|
|
2015-02-06 15:37:00 +01:00
|
|
|
// In use in MAILER messages list but re-usable
|
|
|
|
// --------------------------------------------
|
2015-02-03 16:52:27 +01:00
|
|
|
md-item-content {
|
2015-02-06 15:37:00 +01:00
|
|
|
padding: 0 0 0 $mg;
|
|
|
|
margin: $mg 0;
|
2015-02-11 10:04:09 +01:00
|
|
|
transition: all 0.20s $swift-ease-in-timing-function 0.12s;
|
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,
|
|
|
|
&._selected {
|
2015-02-06 15:37:00 +01:00
|
|
|
background-color: sg-color($sogoBlue, 100);
|
|
|
|
}
|
2015-02-03 16:52:27 +01:00
|
|
|
}
|
2015-02-03 22:03:36 +01:00
|
|
|
.sg-md-subhead-solo {
|
|
|
|
margin: 0;
|
|
|
|
}
|
2015-02-03 16:52:27 +01:00
|
|
|
}
|
2015-02-06 15:37:00 +01:00
|
|
|
|
|
|
|
.sg {
|
|
|
|
&-tile-content {
|
|
|
|
@extend .md-tile-content;
|
2015-02-20 04:05:53 +01:00
|
|
|
.name,
|
|
|
|
.contact-email {
|
2015-02-06 15:37:00 +01:00
|
|
|
font-weight: $sg-font-light;
|
|
|
|
margin-top: 0;
|
|
|
|
margin-bottom: 0;
|
|
|
|
}
|
2015-02-20 04:05:53 +01:00
|
|
|
.subject,
|
|
|
|
.contact-name {
|
2015-02-06 15:37:00 +01:00
|
|
|
font-weight: $sg-font-medium;
|
|
|
|
// dirty fix for vs-repeat damages
|
|
|
|
max-width: 75%;
|
|
|
|
text-overflow: ellipsis;
|
|
|
|
overflow: hidden;
|
|
|
|
white-space: nowrap;
|
|
|
|
}
|
|
|
|
p {
|
|
|
|
margin: $list-p-margin;
|
|
|
|
font-size: sg-size(body);
|
|
|
|
}
|
|
|
|
.msg-date {
|
|
|
|
font-size: sg-size(body);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2015-02-03 16:52:27 +01:00
|
|
|
.sg-tile-content {
|
2015-02-03 17:22:50 +01:00
|
|
|
padding: 0 0 0 $layout-gutter-width;
|
2015-02-03 22:03:36 +01:00
|
|
|
.sg-md-subhead-multi,
|
|
|
|
.sg-md-subhead-solo {
|
2015-02-03 16:52:27 +01:00
|
|
|
margin: 0;
|
|
|
|
}
|
|
|
|
.sg-md-body-multi {
|
|
|
|
margin: 0;
|
|
|
|
}
|
|
|
|
a {
|
|
|
|
display: flex;
|
|
|
|
flex-direction: row;
|
2015-02-06 15:37:00 +01:00
|
|
|
align-items: baseline;
|
2015-02-03 16:52:27 +01:00
|
|
|
justify-content: space-between;
|
|
|
|
flex-wrap: wrap;
|
|
|
|
}
|
2015-02-03 22:03:36 +01:00
|
|
|
}
|
2015-02-10 09:17:10 +01:00
|
|
|
.sg-avatar {
|
|
|
|
@extend .md-tile-left;
|
|
|
|
margin-right: 0;
|
2015-02-24 03:33:47 +01:00
|
|
|
margin-left: 0;
|
2015-02-10 09:17:10 +01:00
|
|
|
}
|