Files
sogo/UI/WebServerResources/scss/views/_view.scss
2015-06-12 11:35:52 -04:00

69 lines
1.3 KiB
SCSS

///
/// @filename _views.scss
/// @project SOGo
/// @version 3.alpha
/// @module views
///
///
@import 'LoginUI.scss';
@import 'MailerUI.scss';
@import 'ContactsUI.scss';
@import 'MessageEditorUI';
.view[layout=row] {
max-height: 100%;
}
// 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;
//[id="messagesList"] {
// flex: 0 0 $listView-width;
//
//}
//
//[id ="contactsList"] {
// flex: 0 1 $listView-width;
// min-width: ($listView-width - ($pitch * 2));
//}
.view-list {
flex: 0 1 $listView-width;
min-width: ($listView-width - ($pitch * 2));
}
.view-detail {
flex: 1 2 $detailView-width;
min-width: ($detailView-width - $pitch);
max-width: ($detailView-width + $pitch);
margin: 0 auto;
}
[ui-view="message"] {
&.ng-enter {
border: 4px solid red;
transition: all 1s linear;
&.ng-enter-active {
border: 4px solid green;
transition: all 1s linear;
}
}
&.ng-leave {
border: 4px solid blue;
transition: all 1s linear;
&.ng-leave-active {
border: 4px solid blue;
transition: all 1s linear;
filter: opacity(0);
}
}
}