2015-05-01 15:52:48 +02:00
|
|
|
/// MailerUI.scss -*- Mode: scss; indent-tabs-mode: nil; basic-offset: 2 -*-
|
2014-11-25 22:09:55 +01:00
|
|
|
|
2015-12-22 03:14:39 +01:00
|
|
|
// Container for the linear progress bar of the quota
|
|
|
|
.sg-quota {
|
|
|
|
padding-bottom: $baseline-grid;
|
|
|
|
text-align: center;
|
|
|
|
}
|
|
|
|
|
2015-02-11 10:04:09 +01:00
|
|
|
// Message view header
|
|
|
|
// Could be made into a more generic component
|
|
|
|
// ----------------------------------------------------------------------------
|
2015-02-10 09:17:10 +01:00
|
|
|
.msg-header {
|
2015-02-11 10:04:09 +01:00
|
|
|
// padding-bottom: $mg; We should add a padding class to preserve genericity
|
2015-02-10 09:17:10 +01:00
|
|
|
}
|
2015-02-11 10:04:09 +01:00
|
|
|
|
2015-05-01 15:52:48 +02:00
|
|
|
[id="messagesList"] .sg-md-subheader {
|
2015-02-20 04:05:53 +01:00
|
|
|
transform: translateY(-100%); // Compensate the container top-margin
|
|
|
|
}
|
|
|
|
|
2015-05-08 18:06:52 +02:00
|
|
|
.unread {
|
2015-09-25 22:07:56 +02:00
|
|
|
.#{$md}-subhead,
|
|
|
|
.#{$md}-body {
|
2015-05-08 18:06:52 +02:00
|
|
|
font-weight: $sg-font-medium;
|
|
|
|
}
|
2015-09-25 22:07:56 +02:00
|
|
|
.sg-tile-date {
|
2015-05-08 18:06:52 +02:00
|
|
|
color: sg-color($sogoBlue, 600);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2015-02-11 10:04:09 +01:00
|
|
|
.msg-header-content {
|
2015-02-06 15:37:00 +01:00
|
|
|
display: flex;
|
2015-02-10 09:17:10 +01:00
|
|
|
flex-direction: column;
|
2015-05-01 15:52:48 +02:00
|
|
|
flex: 1 1 auto;
|
2015-02-10 09:17:10 +01:00
|
|
|
align-items: stretch;
|
|
|
|
justify-content: flex-start;
|
2015-08-27 19:37:47 +02:00
|
|
|
overflow: hidden;
|
|
|
|
[class|="sg-md-display"] {
|
|
|
|
overflow: hidden;
|
|
|
|
text-overflow: ellipsis;
|
|
|
|
}
|
2015-02-11 10:04:09 +01:00
|
|
|
}
|
2015-02-10 09:17:10 +01:00
|
|
|
|
2015-02-11 10:04:09 +01:00
|
|
|
.msg-body {
|
|
|
|
padding-top: $mg;
|
2015-02-06 15:37:00 +01:00
|
|
|
}
|
2015-02-11 10:04:09 +01:00
|
|
|
|
2015-02-06 15:37:00 +01:00
|
|
|
.msg-date {
|
2015-09-03 22:10:05 +02:00
|
|
|
font-size: $sg-font-size-2;
|
2015-12-04 21:00:58 +01:00
|
|
|
// text-align: right;
|
2015-09-03 22:10:05 +02:00
|
|
|
// margin-bottom: 10px;
|
|
|
|
// margin-bottom: ($mg/2);
|
2015-02-10 09:17:10 +01:00
|
|
|
}
|
2015-08-08 02:38:26 +02:00
|
|
|
|
2015-12-02 20:03:10 +01:00
|
|
|
md-sidenav {
|
|
|
|
md-checkbox {
|
|
|
|
&.sg-folder {
|
|
|
|
// Show checkbox as a "closed" folder when unchecked and "opened" folder when checked
|
2015-09-30 22:17:05 +02:00
|
|
|
.md-container:after {
|
2015-12-02 20:03:10 +01:00
|
|
|
color: rgba(0,0,0,0.54);
|
|
|
|
font-family: 'Material Icons';
|
|
|
|
font-size: 24px;
|
|
|
|
content: "\e2c7";
|
|
|
|
top: -4px;
|
|
|
|
left: -2px;
|
|
|
|
width: 1em;
|
|
|
|
height: 1em;
|
2015-09-30 22:17:05 +02:00
|
|
|
}
|
|
|
|
.md-icon {
|
2015-12-02 20:03:10 +01:00
|
|
|
border-width: 0;
|
|
|
|
}
|
|
|
|
&.md-checked {
|
|
|
|
.md-container:after {
|
|
|
|
content: "\e2c8";
|
|
|
|
}
|
|
|
|
.md-icon {
|
|
|
|
background-color: initial;
|
|
|
|
&:after {
|
|
|
|
border-style: none;
|
|
|
|
}
|
2015-09-30 22:17:05 +02:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2015-12-02 20:03:10 +01:00
|
|
|
.sg-item-name {
|
|
|
|
line-height: 6 * $baseline-grid; // $list-item-height, 48px
|
2015-12-04 21:00:58 +01:00
|
|
|
&:focus {
|
|
|
|
outline: none;
|
|
|
|
}
|
2015-12-02 20:03:10 +01:00
|
|
|
}
|
2015-09-30 22:17:05 +02:00
|
|
|
}
|
2015-12-02 20:03:10 +01:00
|
|
|
.msg-attachment-image,
|
|
|
|
.msg-attachment-link {
|
2015-12-07 22:41:06 +01:00
|
|
|
flex: 0 0 100%;
|
|
|
|
@include from(md) {
|
2015-12-02 20:03:10 +01:00
|
|
|
flex: 0 0 50%;
|
2015-08-08 02:38:26 +02:00
|
|
|
}
|
2015-12-07 22:41:06 +01:00
|
|
|
@include from(lg) {
|
|
|
|
flex: 0 0 33%;
|
2015-12-02 20:03:10 +01:00
|
|
|
}
|
|
|
|
> div {
|
|
|
|
max-width: 100%;
|
|
|
|
width: 100%;
|
|
|
|
}
|
|
|
|
}
|
2015-12-07 22:41:06 +01:00
|
|
|
.popup {
|
|
|
|
.msg-attachment-image,
|
|
|
|
.msg-attachment-link {
|
|
|
|
@include from(sm) {
|
|
|
|
flex: 0 0 50%;
|
|
|
|
}
|
|
|
|
@include from(md) {
|
|
|
|
flex: 0 0 33%;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2015-12-09 22:01:59 +01:00
|
|
|
// The drop zone zone is only visibile when the user is dragging a file to the browser window
|
|
|
|
.sg-dropzone {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
.sg-over-dropzone {
|
|
|
|
.sg-dropzone {
|
|
|
|
background-color: white;
|
|
|
|
border: 4px dashed black;
|
|
|
|
bottom: 0px;
|
|
|
|
display: block;
|
|
|
|
flex: 1 1 auto;
|
|
|
|
left: 0px;
|
|
|
|
opacity: 0.6;
|
|
|
|
position: absolute;
|
|
|
|
right: 0px;
|
|
|
|
top: 0px;
|
|
|
|
z-index: $z-index-toolbar + 1;
|
|
|
|
&:hover {
|
|
|
|
opacity: 0.6;
|
|
|
|
}
|
|
|
|
md-icon {
|
|
|
|
color: black;
|
|
|
|
font-size: $sg-font-size-9;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2015-12-02 20:03:10 +01:00
|
|
|
|
|
|
|
// sgZoomableImage directive
|
|
|
|
.msg-attachment-image {
|
|
|
|
transition: flex-basis $swift-ease-out-duration $swift-ease-out-timing-function;
|
|
|
|
&.sg-zoom {
|
|
|
|
flex-basis: 100%;
|
|
|
|
order: -1;
|
|
|
|
}
|
|
|
|
&:not(.sg-zoom):hover md-card {
|
|
|
|
@extend .md-whiteframe-3dp;
|
|
|
|
}
|
|
|
|
[sg-zoomable-image] img {
|
|
|
|
cursor: pointer;
|
2015-08-08 02:38:26 +02:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.msg-attachment-other {
|
|
|
|
flex: 0 0 100%;
|
|
|
|
max-width: 100%;
|
|
|
|
}
|
|
|
|
|
2015-12-02 20:03:10 +01:00
|
|
|
.sg-attachment-size {
|
|
|
|
@extend .md-caption;
|
|
|
|
padding-left: $baseline-grid;
|
|
|
|
color: $colorGrey800;
|
|
|
|
}
|
|
|
|
|
|
|
|
// sg-md title doesn't fit in message headers
|
2015-02-11 10:04:09 +01:00
|
|
|
.sg-md-title-msg {
|
|
|
|
@extend .sg-md-title;
|
|
|
|
margin: 0;
|
|
|
|
margin-bottom: $line;
|
|
|
|
white-space: normal;
|
2015-03-26 14:58:09 +01:00
|
|
|
font-weight: $sg-font-regular;
|
2015-02-11 10:04:09 +01:00
|
|
|
}
|
2015-02-10 09:17:10 +01:00
|
|
|
|
2015-02-06 15:37:00 +01:00
|
|
|
.mailer_mailcontent {
|
|
|
|
@extend .sg-md-body-multi;
|
2015-12-02 20:03:10 +01:00
|
|
|
md-card {
|
|
|
|
md-card-content {
|
|
|
|
padding: $baseline-grid;
|
|
|
|
p {
|
|
|
|
overflow: hidden;
|
|
|
|
text-overflow: ellipsis;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2015-02-06 15:37:00 +01:00
|
|
|
}
|
2015-12-02 20:03:10 +01:00
|
|
|
|
2015-12-04 21:00:58 +01:00
|
|
|
.sg-mail-editor {
|
|
|
|
.pseudo-input-container {
|
|
|
|
max-height: 400px;
|
|
|
|
overflow: hidden;
|
|
|
|
overflow-y: auto;
|
2015-12-11 21:11:53 +01:00
|
|
|
padding-bottom: 2px; // leave some space for the border
|
2015-12-04 21:00:58 +01:00
|
|
|
transition: $swift-ease-in;
|
|
|
|
&.ng-hide {
|
|
|
|
max-height: 0;
|
|
|
|
overflow: hidden;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
md-dialog-content {
|
|
|
|
padding-bottom: 0;
|
|
|
|
padding-top: 0;
|
|
|
|
}
|
|
|
|
md-chip-template {
|
|
|
|
md-icon[ng-click] {
|
|
|
|
cursor: pointer;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2015-01-29 17:09:31 +01:00
|
|
|
//$total-columns: 13;
|
|
|
|
//$column-gutter: 0;
|
2014-11-25 22:09:55 +01:00
|
|
|
|
2015-01-29 17:09:31 +01:00
|
|
|
//#pageContent {
|
|
|
|
// //@include grid-row($behavior: nest);
|
|
|
|
//
|
|
|
|
// #mailboxesList {
|
|
|
|
// position: absolute;
|
|
|
|
// top: $topbar-height;
|
|
|
|
// bottom: 0;
|
|
|
|
// background-color: #333;
|
|
|
|
// @include grid-column($columns:13); //, $collapse:true);
|
|
|
|
// @media #{$medium-up} {
|
|
|
|
// @include grid-column($columns:3);
|
|
|
|
// }
|
|
|
|
// .newItemsToolbar {
|
|
|
|
// margin-top: rem-calc(6);
|
|
|
|
// text-align: center;
|
|
|
|
// text-transform: uppercase;
|
|
|
|
// }
|
|
|
|
// .scrollView {
|
|
|
|
// position: absolute;
|
|
|
|
// overflow: auto;
|
|
|
|
// overflow-x: hidden;
|
|
|
|
// top: $topbar-height;
|
|
|
|
// bottom: 0;
|
|
|
|
// right: 0;
|
|
|
|
// left: 0;
|
|
|
|
// label {
|
|
|
|
// padding-right: 0;
|
|
|
|
// button {
|
|
|
|
// float: right;
|
|
|
|
// background-color: transparent;
|
|
|
|
// padding: 0;
|
|
|
|
// margin: 0;
|
|
|
|
// width: 32px;
|
|
|
|
// }
|
|
|
|
// }
|
|
|
|
// }
|
|
|
|
// .buttonsToolbar {
|
|
|
|
// border-top: $off-canvas-link-border-bottom;
|
|
|
|
// position: absolute;
|
|
|
|
// bottom: 0px;
|
|
|
|
// width: 100%;
|
|
|
|
// }
|
|
|
|
// }
|
|
|
|
//
|
|
|
|
// #messagesList, #messageEditor {
|
|
|
|
// position: absolute;
|
|
|
|
// overflow: auto;
|
|
|
|
// overflow-x: hidden;
|
|
|
|
// top: $topbar-height;
|
|
|
|
// bottom: 0;
|
|
|
|
// left: 23.07692%;
|
|
|
|
// }
|
|
|
|
// #messagesList {
|
|
|
|
// background-color: $f-dropdown-list-hover-bg;
|
|
|
|
// @include grid-column($columns:13);
|
|
|
|
// @media #{$medium-up} {
|
|
|
|
// @include grid-column($columns:4);
|
|
|
|
// }
|
|
|
|
// ul {
|
|
|
|
// margin: 0;
|
|
|
|
// padding: 5px 0;
|
|
|
|
// li {
|
|
|
|
// list-style-type: none;
|
|
|
|
// //border-bottom: $topbar-divider-border-bottom;
|
|
|
|
// width: 100%;
|
|
|
|
// height: 56px;
|
|
|
|
// float: left;
|
|
|
|
// clear: left;
|
|
|
|
// //border: 2px solid #fff;
|
|
|
|
// //-webkit-border-radius: 4px;
|
|
|
|
// //-moz-border-radius: 4px;
|
|
|
|
// //border-radius: 4px;
|
|
|
|
// //transition: all 300ms ease;
|
|
|
|
// background-color: $f-dropdown-list-hover-bg;
|
|
|
|
// transition: background 300ms ease;
|
|
|
|
// a {
|
|
|
|
// display: block;
|
|
|
|
// color: #666;
|
|
|
|
// //border-bottom: 1px dotted #ddd;
|
|
|
|
// //width: 100%;
|
|
|
|
// //font-size: $table-row-font-size;
|
|
|
|
// //line-height: $table-line-height;
|
|
|
|
// line-height: rem-calc(24);
|
|
|
|
// padding: $table-head-padding;
|
|
|
|
// //padding: rem-calc(8 10 18);
|
|
|
|
// //margin: 0 rem-calc(12);
|
|
|
|
// .name {
|
|
|
|
// margin: 0;
|
|
|
|
// //font-size: $table-head-font-size;
|
|
|
|
// //color: $table-head-font-color;
|
|
|
|
// font-weight: $table-head-font-weight;
|
|
|
|
// }
|
|
|
|
// div {
|
|
|
|
// overflow: hidden;
|
|
|
|
// white-space: nowrap;
|
|
|
|
// }
|
|
|
|
// span {
|
|
|
|
// font-weight: normal;
|
|
|
|
// font-size: smaller;
|
|
|
|
// }
|
|
|
|
// &._selected {
|
|
|
|
// background-color: #fff;
|
|
|
|
// }
|
|
|
|
// }
|
|
|
|
// &.unread {
|
|
|
|
// a {
|
|
|
|
// .name,
|
|
|
|
// .subject {
|
|
|
|
// color: $table-head-font-color;
|
|
|
|
// /* font-weight: $table-head-font-weight; */
|
|
|
|
// }
|
|
|
|
// }
|
|
|
|
// }
|
|
|
|
// &:hover,
|
|
|
|
// &:active {
|
|
|
|
// background-color: #fff;
|
|
|
|
// }
|
|
|
|
// }
|
|
|
|
// }
|
|
|
|
// }
|
|
|
|
// #messageView {
|
|
|
|
// position: absolute;
|
|
|
|
// top: $topbar-height;
|
|
|
|
// bottom: 0;
|
|
|
|
// left: 53.8461507692%;
|
|
|
|
// overflow: auto;
|
|
|
|
// overflow-x: hidden;
|
|
|
|
// border-left: $topbar-divider-border-bottom;
|
|
|
|
// padding: $table-head-padding;
|
|
|
|
// padding-top: 0;
|
|
|
|
// @include grid-column($columns:13);
|
|
|
|
// @media #{$medium-up} {
|
|
|
|
// @include grid-column($columns:6);
|
|
|
|
// }
|
|
|
|
// h1, h2, h3, h4, h5, h6 {
|
|
|
|
// margin: 0;
|
|
|
|
// padding-top: rem-calc(12);
|
|
|
|
// }
|
|
|
|
// h1 {
|
|
|
|
// margin-bottom: 0;
|
|
|
|
// }
|
|
|
|
// h2 {
|
|
|
|
// font-weight: lighter;
|
|
|
|
// }
|
|
|
|
// .header {
|
|
|
|
// background-color: $secondary-color;
|
|
|
|
// padding-left: rem-calc(12);
|
|
|
|
// padding-right: rem-calc(12);
|
|
|
|
// padding-bottom: 0.2em;
|
|
|
|
// h1, h2, h4, h6 {
|
|
|
|
// color: #fff;
|
|
|
|
// }
|
|
|
|
// .label {
|
|
|
|
// background-color: transparent;
|
|
|
|
// border: 1px solid $primary-color;
|
|
|
|
// border: 1px solid scale-color($primary-color, $lightness: 52%);
|
|
|
|
// color: $primary-color;
|
|
|
|
// color: scale-color($primary-color, $lightness: 52%);
|
|
|
|
// }
|
|
|
|
// .flags {
|
|
|
|
// float: right;
|
|
|
|
// }
|
|
|
|
// }
|
|
|
|
// /*
|
|
|
|
// +-----------------------------------------------+
|
|
|
|
// + .attr (13) |
|
|
|
|
// |+-------------+-------------------------------+|
|
|
|
|
// || .key (4) | .value (9) ||
|
|
|
|
// |+-------------+-------------------------------+|
|
|
|
|
// +-----------------------------------------------+
|
|
|
|
// */
|
|
|
|
// .attr {
|
|
|
|
// @include grid-row($behavior:collapse);
|
|
|
|
// .key {
|
|
|
|
// @include grid-column($columns:4);
|
|
|
|
// label {
|
|
|
|
// color: #999;
|
|
|
|
// margin-right: rem-calc(12);
|
|
|
|
// }
|
|
|
|
// }
|
|
|
|
// .value {
|
|
|
|
// @include grid-column($columns:9);
|
|
|
|
// &.single {
|
|
|
|
// @include grid-column($offset: 4, $columns:9);
|
|
|
|
// }
|
|
|
|
// div {
|
|
|
|
// a {
|
|
|
|
// color: #666;
|
|
|
|
// margin-left: 0.2em;
|
|
|
|
// &:hover {
|
|
|
|
// color: #000;
|
|
|
|
// }
|
|
|
|
// }
|
|
|
|
// }
|
|
|
|
// }
|
|
|
|
// }
|
|
|
|
// .buttonsToolbar {
|
|
|
|
// margin-bottom: rem-calc(12);
|
|
|
|
// background-color: #eee;
|
|
|
|
// border-top: 2px solid #ddd;
|
|
|
|
// .button {
|
|
|
|
// margin: 0.4em;
|
|
|
|
// &.alert {
|
|
|
|
// //display: $button-display;
|
|
|
|
// color: #fff;
|
|
|
|
// }
|
|
|
|
// }
|
|
|
|
// }
|
|
|
|
//
|
|
|
|
// .mailer_mailcontent {
|
|
|
|
// background-color: #fff;
|
|
|
|
// padding: .5em;
|
|
|
|
// overflow: auto;
|
|
|
|
// .mailer_mailcontent TABLE {
|
|
|
|
// table-layout: auto;
|
|
|
|
// }
|
|
|
|
// }
|
|
|
|
//
|
|
|
|
// }
|
|
|
|
// #messageEditor {
|
|
|
|
// right: 0;
|
|
|
|
// textarea {
|
|
|
|
// height: 20em;
|
|
|
|
// }
|
|
|
|
// }
|
|
|
|
//}
|
|
|
|
//
|
|
|
|
//h1 {
|
|
|
|
// font-weight: lighter;
|
|
|
|
//}
|
|
|
|
//
|
|
|
|
//.buttonsToolbar {
|
|
|
|
// text-align: right;
|
|
|
|
// .button {
|
|
|
|
// margin-bottom: 0;
|
|
|
|
// font-size: 1.0em;
|
|
|
|
// }
|
|
|
|
// .folders-list & {
|
|
|
|
// background-color: $tabbar-bg;
|
|
|
|
// background-color: $off-canvas-bg;
|
|
|
|
// text-align: center;
|
|
|
|
// .button {
|
|
|
|
// background-color: $tabbar-bg;
|
|
|
|
// font-size: 1.5em;
|
|
|
|
// transition: color 300ms ease;
|
|
|
|
// color: scale-color($tabbar-bg, $lightness: 52%);
|
|
|
|
// &:focus, &:hover {
|
|
|
|
// color: $primary-color;
|
|
|
|
// color: #fff;
|
|
|
|
// //background-color: scale-color($tabbar-bg, $lightness: 13%);
|
|
|
|
// }
|
|
|
|
// }
|
|
|
|
// }
|
|
|
|
//}
|