2015-01-21 22:18:09 +01:00
|
|
|
///
|
|
|
|
/// @filename _views.scss
|
|
|
|
/// @project SOGo
|
|
|
|
/// @version 3.alpha
|
|
|
|
/// @module views
|
|
|
|
///
|
|
|
|
///
|
2015-02-22 22:48:27 +01:00
|
|
|
@import 'LoginUI.scss';
|
2015-01-29 17:09:31 +01:00
|
|
|
@import 'MailerUI.scss';
|
2015-02-20 04:05:53 +01:00
|
|
|
@import 'ContactsUI.scss';
|
2015-02-12 03:54:06 +01:00
|
|
|
@import 'MessageEditorUI';
|
2015-03-30 21:11:20 +02:00
|
|
|
@import 'SchedulerUI';
|
2015-01-29 17:09:31 +01:00
|
|
|
|
2015-01-21 22:18:09 +01:00
|
|
|
.view[layout=row] {
|
2015-01-26 03:30:27 +01:00
|
|
|
max-height: 100%;
|
2015-03-25 21:46:06 +01:00
|
|
|
}
|
2015-03-26 14:58:09 +01:00
|
|
|
|
2015-03-25 21:46:06 +01:00
|
|
|
// We make intensive use of the list/detail view pattern, here are some base
|
|
|
|
// definitions for this
|
|
|
|
// ----------------------------------------------------------------------------
|
|
|
|
|
|
|
|
// Variables
|
|
|
|
$listView-width: grid-step(6) !global;
|
|
|
|
$detailView-width: grid-step(8) !global;
|
|
|
|
|
2015-03-25 22:00:53 +01:00
|
|
|
//[id="messagesList"] {
|
|
|
|
// flex: 0 0 $listView-width;
|
|
|
|
//
|
|
|
|
//}
|
|
|
|
//
|
|
|
|
//[id ="contactsList"] {
|
|
|
|
// flex: 0 1 $listView-width;
|
|
|
|
// min-width: ($listView-width - ($pitch * 2));
|
|
|
|
//}
|
2015-03-25 21:46:06 +01:00
|
|
|
|
2015-03-28 06:24:31 +01:00
|
|
|
[class|="view"] {
|
|
|
|
position: relative;
|
|
|
|
|
|
|
|
}
|
|
|
|
|
2015-03-25 22:00:53 +01:00
|
|
|
.view-list {
|
2015-03-28 06:24:31 +01:00
|
|
|
z-index: ($z-index-view -1);
|
2015-03-25 22:00:53 +01:00
|
|
|
min-width: ($listView-width - ($pitch * 2));
|
2015-03-26 14:58:09 +01:00
|
|
|
@include at(md){
|
|
|
|
@include flex-col(md, 7, 1, 1);
|
|
|
|
}
|
|
|
|
@include from(lg) {
|
|
|
|
@include flex-col(lg, 6, 1, 0);
|
|
|
|
}
|
|
|
|
@include to(sm) {
|
|
|
|
width: 100%;
|
|
|
|
min-width: 100%;
|
|
|
|
}
|
2015-03-25 21:46:06 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
.view-detail {
|
2015-03-26 14:58:09 +01:00
|
|
|
z-index: $z-index-view;
|
2015-03-28 02:13:39 +01:00
|
|
|
background-color: $background-base-color;
|
2015-03-26 14:58:09 +01:00
|
|
|
@include from(lg) {
|
|
|
|
@include flex-col(lg, 8, 2, 1);
|
|
|
|
margin: 0 auto $mg auto;
|
2015-03-25 21:46:06 +01:00
|
|
|
}
|
2015-03-26 14:58:09 +01:00
|
|
|
@include at(md) {
|
|
|
|
@include flex-col(md, 9);
|
|
|
|
margin: 0;
|
|
|
|
}
|
|
|
|
@include to(sm) {
|
|
|
|
width: 100%;
|
|
|
|
min-width: 100%;
|
2015-03-27 22:08:53 +01:00
|
|
|
transform: translateX(-100%) scale(1);
|
|
|
|
filter: opacity(1);
|
|
|
|
transform-origin: 50% 50%;
|
|
|
|
transition: all 0.5s $swift-ease-in-out-timing-function;
|
2015-03-26 19:39:44 +01:00
|
|
|
&.sg-close {
|
2015-03-27 22:08:53 +01:00
|
|
|
transition: all 0.35s $swift-ease-in-out-timing-function;
|
|
|
|
transition-delay: 0.15s;
|
|
|
|
transform: translateX(-100%) scale(0);
|
|
|
|
//transform: translateX(-200%);
|
2015-03-26 19:39:44 +01:00
|
|
|
&.ng-enter {
|
2015-03-27 22:08:53 +01:00
|
|
|
transform: translateX(-100%) scale(0);
|
2015-03-26 19:39:44 +01:00
|
|
|
}
|
|
|
|
}
|
|
|
|
&.ng-enter {
|
2015-03-27 22:08:53 +01:00
|
|
|
transform: translateX(-100%) scale(0);
|
|
|
|
//transform: translateX(0);
|
2015-03-26 19:39:44 +01:00
|
|
|
}
|
|
|
|
&.ng-enter.ng-enter-active,
|
|
|
|
&.ng-leave {
|
2015-03-27 22:08:53 +01:00
|
|
|
transform: translateX(-100%) scale(1);
|
2015-03-26 19:39:44 +01:00
|
|
|
filter: opacity(1);
|
2015-03-27 22:08:53 +01:00
|
|
|
//transform: translateX(-100%);
|
2015-03-26 14:58:09 +01:00
|
|
|
}
|
2015-03-26 19:39:44 +01:00
|
|
|
&.ng-leave.ng.leave-active {
|
2015-03-27 22:08:53 +01:00
|
|
|
transform: translateX(-100%) scale(0);
|
2015-03-26 19:39:44 +01:00
|
|
|
filter: opacity(1);
|
2015-03-27 22:08:53 +01:00
|
|
|
//transform: translateX(-200%);
|
2015-03-26 19:39:44 +01:00
|
|
|
}
|
2015-03-26 14:58:09 +01:00
|
|
|
[class *= md-whiteframe-] {
|
|
|
|
box-shadow: none;
|
2015-03-25 21:46:06 +01:00
|
|
|
}
|
|
|
|
}
|
2015-03-26 14:58:09 +01:00
|
|
|
}
|
|
|
|
|