2014-05-07 17:01:02 +02:00
|
|
|
/*
|
|
|
|
* Bootstrap
|
|
|
|
*/
|
2014-03-14 18:14:45 +01:00
|
|
|
@import "../bootstrap/less/bootstrap.less";
|
|
|
|
|
2014-05-07 17:01:02 +02:00
|
|
|
// Bootstrap variables override
|
2014-05-07 16:24:17 +02:00
|
|
|
@font-size-h1: floor((@font-size-base * 2.15)); // ~30px
|
|
|
|
@font-size-h2: ceil((@font-size-base * 1.7)); // ~24px
|
|
|
|
@font-size-h3: ceil((@font-size-base * 1.25)); // ~18px
|
|
|
|
@font-size-h4: @font-size-base;
|
|
|
|
@font-size-h5: ceil((@font-size-base * 0.85)); // ~12px
|
|
|
|
@font-size-h6: ceil((@font-size-base * 0.7)); // ~10px
|
|
|
|
|
2014-05-07 17:01:02 +02:00
|
|
|
/*
|
|
|
|
* FontAwesome
|
|
|
|
*/
|
|
|
|
@import "../fonts/font-awesome-4.0.3/less/font-awesome.less";
|
|
|
|
|
|
|
|
// variables override
|
|
|
|
@fa-font-path: "../fonts/font-awesome-4.0.3/fonts";
|
|
|
|
|
|
|
|
// Fixes
|
|
|
|
[class*="fa-"] {.fa;}
|
|
|
|
a[class*="fa-"]:hover {text-decoration:none;}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/*
|
|
|
|
* YNH Fonts
|
|
|
|
*/
|
|
|
|
@import "fonts.css";
|
|
|
|
|
|
|
|
|
2014-05-07 16:24:17 +02:00
|
|
|
|
2014-03-14 18:56:03 +01:00
|
|
|
/* Comments:
|
|
|
|
*
|
|
|
|
* 1. we need to rationalise the use of width and max widths. they seem to be
|
|
|
|
* completely arbitrarily chosen. May not allow for a lot of flexibility…
|
|
|
|
* especially on different screens size.
|
|
|
|
*
|
|
|
|
*/
|
2014-03-14 18:14:45 +01:00
|
|
|
|
2014-03-14 18:33:37 +01:00
|
|
|
html, body {
|
|
|
|
width:100%;
|
|
|
|
}
|
2014-05-07 15:22:17 +02:00
|
|
|
html {
|
|
|
|
/* Force vertical scrollbar to prevent centering jumps. */
|
|
|
|
overflow-y: scroll;
|
|
|
|
}
|
|
|
|
body {
|
|
|
|
max-width: @container-md;
|
|
|
|
margin: auto;
|
2014-05-07 15:52:41 +02:00
|
|
|
padding: 0 10px;
|
|
|
|
@media (min-width: @screen-sm-min) {
|
|
|
|
padding: 0 20px;
|
|
|
|
}
|
2014-05-07 15:22:17 +02:00
|
|
|
}
|
2014-03-14 18:14:45 +01:00
|
|
|
|
2014-03-14 18:56:03 +01:00
|
|
|
.block {
|
|
|
|
float:left;
|
|
|
|
height: 100%;
|
2014-05-07 15:22:17 +02:00
|
|
|
/*max-width: 750px;*/
|
2014-03-14 18:56:03 +01:00
|
|
|
width: 50%;
|
|
|
|
height: 100%;
|
|
|
|
padding: 5px;
|
|
|
|
}
|
|
|
|
|
2014-05-07 15:22:17 +02:00
|
|
|
/* Fix bootstrap use of width. We prefer max-width. */
|
|
|
|
.container {
|
|
|
|
@media (min-width: @screen-sm-min) {
|
|
|
|
width: auto;
|
|
|
|
max-width: @container-sm;
|
|
|
|
}
|
|
|
|
@media (min-width: @screen-md-min) {
|
|
|
|
width: auto;
|
|
|
|
max-width: @container-md;
|
|
|
|
}
|
|
|
|
@media (min-width: @screen-lg-min) {
|
|
|
|
width: auto;
|
|
|
|
max-width: @container-lg;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
2014-03-14 18:56:03 +01:00
|
|
|
.move {
|
|
|
|
-webkit-transition: margin-left 0.4s ease-in-out;
|
|
|
|
-moz-transition: margin-left 0.4s ease-in-out;
|
|
|
|
-o-transition: margin-left 0.4s ease-in-out;
|
|
|
|
-ms-transition: margin-left 0.4s ease-in-out;
|
|
|
|
transition: margin-left 0.4s ease-in-out;
|
|
|
|
}
|
|
|
|
|
|
|
|
.placehold {
|
|
|
|
font-size: 0.0001em;
|
|
|
|
color: transparent;
|
|
|
|
}
|
|
|
|
|
2014-03-14 18:33:37 +01:00
|
|
|
/*
|
|
|
|
* The top heading of the doc
|
|
|
|
*
|
|
|
|
*/
|
2014-03-14 18:14:45 +01:00
|
|
|
|
2014-03-14 18:33:37 +01:00
|
|
|
#masthead {
|
|
|
|
.hidden-xs;
|
2014-05-07 15:22:17 +02:00
|
|
|
}
|
|
|
|
.page-header {
|
|
|
|
.clearfix;
|
2014-03-14 18:33:37 +01:00
|
|
|
.make-row(12);
|
2014-03-14 18:56:03 +01:00
|
|
|
margin-top: 0;
|
|
|
|
padding: 0 10px;
|
|
|
|
|
|
|
|
.app.title, .logout-button {
|
|
|
|
margin-top: 20px;
|
|
|
|
}
|
2014-03-14 18:33:37 +01:00
|
|
|
|
|
|
|
.app.title {
|
2014-05-07 15:22:17 +02:00
|
|
|
.make-xs-column(10);
|
2014-05-07 15:52:41 +02:00
|
|
|
padding-left: 0;
|
2014-03-14 18:33:37 +01:00
|
|
|
.desc {
|
|
|
|
.small;
|
2014-03-14 19:20:35 +01:00
|
|
|
color: @gray-light;
|
2014-03-14 18:33:37 +01:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.logout-button {
|
2014-05-07 15:22:17 +02:00
|
|
|
.make-xs-column(2);
|
2014-03-19 11:21:37 +01:00
|
|
|
.btn;
|
|
|
|
.btn-link;
|
2014-03-19 11:43:19 +01:00
|
|
|
text-align: right;
|
2014-03-19 11:31:04 +01:00
|
|
|
a.fa-sign-out {
|
|
|
|
.fa-2x;
|
2014-03-14 18:33:37 +01:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2014-03-14 18:56:03 +01:00
|
|
|
/*
|
|
|
|
* The “slider”
|
|
|
|
*
|
|
|
|
*/
|
|
|
|
|
2014-03-14 18:33:37 +01:00
|
|
|
#slider {
|
|
|
|
.center-block;
|
|
|
|
padding: 5px;
|
|
|
|
width: 100%;
|
|
|
|
height: 100%;
|
|
|
|
position: relative;
|
|
|
|
overflow: hidden;
|
|
|
|
text-align: left;
|
|
|
|
}
|
|
|
|
|
|
|
|
#slider-container {
|
2014-05-07 15:22:17 +02:00
|
|
|
/*[RFC] why the max-width? */
|
|
|
|
/*max-width: 1500px;*/
|
|
|
|
/*width: 1500px; */
|
|
|
|
width: 100%;
|
2014-03-14 18:33:37 +01:00
|
|
|
height: 100%;
|
|
|
|
}
|
|
|
|
|
2014-03-14 18:56:03 +01:00
|
|
|
#slideBack, #slideTo, #main {
|
|
|
|
.block;
|
|
|
|
}
|
|
|
|
|
|
|
|
/*
|
|
|
|
* The main part of the app
|
|
|
|
*
|
|
|
|
*/
|
|
|
|
|
2014-03-14 18:33:37 +01:00
|
|
|
#main {
|
2014-05-07 15:22:17 +02:00
|
|
|
/*float: left;*/
|
|
|
|
/*overflow: hidden;*/
|
2014-05-07 15:52:41 +02:00
|
|
|
padding-left: 0;
|
|
|
|
padding-right: 0;
|
2014-03-14 18:33:37 +01:00
|
|
|
}
|
|
|
|
|
2014-03-14 18:56:03 +01:00
|
|
|
.ajax-loader {
|
|
|
|
.placehold;
|
|
|
|
background: url(/img/ajax-loader.gif) 50% 50% no-repeat transparent;
|
|
|
|
width: 24px;
|
|
|
|
height: 24px;
|
2014-03-14 18:33:37 +01:00
|
|
|
}
|
|
|
|
|
2014-03-14 18:56:03 +01:00
|
|
|
/*
|
|
|
|
* The pop up dialog
|
|
|
|
*
|
|
|
|
*/
|
|
|
|
|
|
|
|
#popup {
|
|
|
|
.modal;
|
|
|
|
.fade;
|
2014-05-15 15:12:04 +02:00
|
|
|
overflow-y: auto;
|
2014-03-14 18:56:03 +01:00
|
|
|
|
2014-05-16 12:37:24 +02:00
|
|
|
& > div {
|
|
|
|
.modal-dialog;
|
|
|
|
.modal-content;
|
|
|
|
}
|
|
|
|
|
2014-03-14 18:56:03 +01:00
|
|
|
#popup-title {
|
|
|
|
.modal-header;
|
|
|
|
.modal-title;
|
|
|
|
}
|
|
|
|
#popup-body {
|
|
|
|
.modal-body;
|
|
|
|
}
|
2014-03-14 18:33:37 +01:00
|
|
|
}
|
|
|
|
|
2014-03-14 18:56:03 +01:00
|
|
|
/*
|
|
|
|
* Various styles
|
|
|
|
*
|
|
|
|
*/
|
|
|
|
|
2014-03-14 18:33:37 +01:00
|
|
|
body .form-control {
|
|
|
|
padding: 6px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.view-title {
|
|
|
|
text-align: center;
|
2014-05-07 19:02:19 +02:00
|
|
|
margin: 20px auto 0;
|
|
|
|
@media (min-width: @screen-xs-min) {
|
|
|
|
margin: -35px 120px 0 120px;
|
|
|
|
}
|
2014-03-14 18:33:37 +01:00
|
|
|
}
|
|
|
|
|
2014-05-07 16:24:17 +02:00
|
|
|
// Preserve font-size in panel titles.
|
|
|
|
h1.panel-title {font-size: @font-size-h1;}
|
|
|
|
h2.panel-title {font-size: @font-size-h2;}
|
|
|
|
h3.panel-title {font-size: @font-size-h3;}
|
|
|
|
h4.panel-title {font-size: @font-size-h4;}
|
|
|
|
h5.panel-title {font-size: @font-size-h5;}
|
|
|
|
h6.panel-title {font-size: @font-size-h6;}
|
|
|
|
|
2014-03-14 18:33:37 +01:00
|
|
|
div.br {
|
|
|
|
height: 30px;
|
|
|
|
}
|
|
|
|
|
2014-05-16 18:38:46 +02:00
|
|
|
.loader {
|
|
|
|
display: block;
|
|
|
|
z-index: 2000;
|
|
|
|
text-align: center;
|
|
|
|
background: rgba(255, 255, 255, 0.5) url(../img/ajax-loader.gif) center 15% no-repeat;
|
|
|
|
}
|
2014-03-14 18:33:37 +01:00
|
|
|
.loader-content {
|
|
|
|
position: fixed;
|
|
|
|
top: 0;
|
|
|
|
bottom: 0;
|
|
|
|
left: 0;
|
|
|
|
right: 0;
|
|
|
|
z-index: 2000;
|
|
|
|
}
|
2014-05-16 18:38:46 +02:00
|
|
|
.loader-popup {
|
|
|
|
margin: auto;
|
|
|
|
height: 24px;
|
|
|
|
width: 24px;
|
|
|
|
background-position: center top;
|
2014-03-14 18:33:37 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
.help-block {
|
|
|
|
text-align: right;
|
|
|
|
}
|
|
|
|
|
|
|
|
th h3,
|
|
|
|
th h4 {
|
|
|
|
margin-bottom: 5px;
|
|
|
|
font-weight: bold;
|
|
|
|
}
|
|
|
|
th h4 {font-size: 16px;}
|
|
|
|
th h4 small {font-size: 12px;}
|
|
|
|
|
|
|
|
|
|
|
|
select option[default] {
|
|
|
|
color: #999;
|
|
|
|
font-style: italic;
|
|
|
|
}
|
2014-03-14 18:14:45 +01:00
|
|
|
|
2014-03-19 11:50:30 +01:00
|
|
|
|
2014-05-09 13:52:42 +02:00
|
|
|
.list-group-item .pull-right.fa-chevron-right {
|
|
|
|
position: absolute;
|
|
|
|
right: 1em;
|
|
|
|
top: 50%;
|
|
|
|
margin-top: -0.5em;
|
|
|
|
}
|