onion/sass/main.scss

392 lines
6.9 KiB
SCSS
Raw Normal View History

// If you import a new .scss file, make sure to restart gulp
// otherwise it will not be included
2015-06-09 17:53:44 +02:00
$BASE_URL: '<%= BASE_URL %>';
2015-09-22 14:46:32 +02:00
@import 'mixins';
@import 'ascribe_variables';
@import 'variables';
@import '../node_modules/bootstrap-sass/assets/stylesheets/bootstrap';
2015-08-10 15:23:13 +02:00
@import '../node_modules/react-star-rating/dist/css/react-star-rating.min';
2015-06-03 10:45:23 +02:00
@import '../node_modules/react-datepicker/dist/react-datepicker';
2015-07-02 15:41:17 +02:00
@import 'glyphicons-social';
2015-06-30 16:24:41 +02:00
@import 'ascribe_theme';
@import './ascribe-fonts/ascribe-fonts';
2015-10-08 20:26:29 +02:00
@import 'ascribe_navbar';
2015-06-20 16:43:18 +02:00
@import 'ascribe_login';
2018-09-03 11:37:39 +02:00
@import 'ascribe_eol';
2015-06-12 15:42:43 +02:00
@import 'ascribe_table';
@import 'ascribe_accordion_list';
@import 'ascribe_piece_list_bulk_modal';
2015-06-02 10:10:09 +02:00
@import 'ascribe_piece_list_toolbar';
2015-06-05 14:22:02 +02:00
@import 'ascribe_edition';
2015-06-09 13:29:22 +02:00
@import 'ascribe_textarea';
2015-06-04 16:15:59 +02:00
@import 'ascribe_media_player';
2015-06-23 10:27:19 +02:00
@import 'ascribe_uploader';
2015-07-02 15:41:17 +02:00
@import 'ascribe_footer';
2015-08-28 15:24:32 +02:00
@import 'ascribe_global_action';
2015-07-17 15:41:09 +02:00
@import 'ascribe_global_notification';
2015-09-01 14:45:14 +02:00
@import 'ascribe_notification_list';
@import 'ascribe_notification_page';
2015-06-22 10:50:22 +02:00
@import 'ascribe_piece_register';
2015-06-02 10:10:09 +02:00
@import 'offset_right';
2015-06-17 19:50:52 +02:00
@import 'ascribe_settings';
@import 'ascribe_slides_container';
2015-11-09 19:01:27 +01:00
@import 'ascribe_social_share';
2015-10-12 15:34:06 +02:00
@import 'ascribe_property';
2015-07-08 14:37:20 +02:00
@import 'ascribe_form';
2015-08-06 13:56:37 +02:00
@import 'ascribe_panel';
2015-09-01 14:00:06 +02:00
@import 'ascribe_collapsible';
2015-10-20 15:10:18 +02:00
@import 'ascribe_acl_information';
@import 'lib/buttons';
2015-10-20 15:13:34 +02:00
@import 'lib/modals';
@import 'ascribe_custom_style';
2015-10-08 11:12:15 +02:00
@import 'ascribe_spinner';
2015-06-17 19:50:52 +02:00
2015-07-13 14:29:20 +02:00
@import 'whitelabel/index';
2015-12-23 09:32:15 +01:00
@import 'ascribe_print';
2015-07-13 14:29:20 +02:00
2015-08-31 19:04:44 +02:00
html,
body {
background-color: #fdfdfd;
font-family: 'Source Sans Pro';
2015-07-13 14:29:20 +02:00
height: 100%;
2015-06-17 19:50:52 +02:00
}
2015-05-20 17:32:06 +02:00
2015-07-01 19:05:47 +02:00
html {
overflow-y: scroll;
}
2015-07-16 13:50:19 +02:00
.ascribe-default-app {
overflow-x: hidden;
2015-08-31 19:04:44 +02:00
padding-top: 70px;
padding-bottom: 10px;
2015-07-16 13:50:19 +02:00
}
2015-07-08 14:37:20 +02:00
hr {
margin-bottom: 15px;
}
2015-07-13 14:29:20 +02:00
#main {
height: 100%;
}
2015-05-27 15:49:12 +02:00
.hidden {
display: none;
}
2015-08-31 19:04:44 +02:00
.no-margin {
2015-06-25 23:25:03 +02:00
margin: 0;
}
2015-08-31 19:04:44 +02:00
.no-padding {
2015-06-25 23:25:03 +02:00
padding: 0;
}
2015-08-31 19:04:44 +02:00
.inline {
2015-07-14 11:42:09 +02:00
display: inline;
}
2015-10-14 12:12:06 +02:00
.ascribe-powered-by {
font-size: 11px!important;
text-transform: none!important;
font-weight: normal!important;
2015-06-12 15:42:43 +02:00
}
2015-06-02 11:40:55 +02:00
.clear-paddings {
2015-08-31 19:04:44 +02:00
padding-left: 0;
padding-right: 0;
}
2015-07-10 15:56:54 +02:00
.clear-margins {
2015-08-31 19:04:44 +02:00
margin-bottom: 0;
margin-top: 0;
}
.ascribe-color {
color: $ascribe-dark-blue;
2015-06-29 15:58:47 +02:00
}
.add-overflow-ellipsis {
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
}
2015-08-31 19:04:44 +02:00
.ascribe-subheader {
2015-06-29 15:58:47 +02:00
padding-bottom: 10px;
margin-top: -10px;
2015-08-31 19:04:44 +02:00
2015-06-29 15:58:47 +02:00
a {
color: #222;
2015-08-31 19:04:44 +02:00
cursor: pointer;
font-size: .8em;
2015-06-29 15:58:47 +02:00
}
}
2015-08-31 19:04:44 +02:00
.tooltip-inner {
background-color: #fcfafa;
border: 1px solid;
border-radius: 0;
color: #000;
2015-06-20 16:43:18 +02:00
max-width: 300px;
padding: 3px 8px;
text-align: center;
text-decoration: none;
}
2015-08-31 19:04:44 +02:00
// Taken from http://stackoverflow.com/a/20548578
2015-05-20 17:32:06 +02:00
.vcenter {
display: inline-block;
float: none;
2015-08-31 19:04:44 +02:00
vertical-align: middle;
2015-05-20 17:32:06 +02:00
}
2015-08-31 19:04:44 +02:00
.filter-glyph {
2015-07-01 19:05:47 +02:00
color: white;
}
2015-08-31 19:04:44 +02:00
.btn-delete {
2015-10-14 12:12:06 +02:00
background-color: rgba(0, 0, 0, 0)!important;
border: 1px solid rgba(0, 0, 0, 0)!important;
2015-07-01 11:21:43 +02:00
color: #888;
2015-08-31 19:04:44 +02:00
&:hover {
background-color: $ascribe-red-error !important;
border: 1px solid $ascribe-red-error !important;
2015-07-01 11:43:33 +02:00
}
2015-07-01 11:21:43 +02:00
}
2015-09-28 22:09:25 +02:00
2015-05-26 13:33:35 +02:00
.ascribe-detail-title {
font-size: 2em;
2015-07-27 18:19:55 +02:00
margin-top: 0;
2015-05-26 13:33:35 +02:00
}
2015-05-27 09:34:49 +02:00
.ascribe-detail-property {
2015-08-31 19:04:44 +02:00
padding-bottom: .4em;
2015-05-27 09:34:49 +02:00
}
2015-05-26 15:31:28 +02:00
.ascribe-detail-property-label {
2015-10-23 10:37:23 +02:00
vertical-align: top;
2015-08-31 19:04:44 +02:00
font-size: .8em;
2015-09-29 10:31:13 +02:00
}
.ascribe-detail-property-value {
text-overflow: ellipsis;
}
2015-08-31 19:04:44 +02:00
::-webkit-input-placeholder { // WebKit browsers
font-size: .9em;
2015-07-07 10:28:39 +02:00
font-style: italic;
}
2015-08-31 19:04:44 +02:00
:-moz-placeholder { // Mozilla Firefox 4 to 18
font-size: .9em;
2015-07-07 10:28:39 +02:00
font-style: italic;
}
2015-08-31 19:04:44 +02:00
::-moz-placeholder { // Mozilla Firefox 19+
font-size: .9em;
2015-07-07 10:28:39 +02:00
font-style: italic;
}
2015-08-31 19:04:44 +02:00
:-ms-input-placeholder { // Internet Explorer 10+
font-size: .9em;
2015-07-07 10:28:39 +02:00
font-style: italic;
}
2015-05-27 09:34:49 +02:00
.textarea-ascribe-message {
height: 13em !important;
}
2015-06-01 13:02:53 +02:00
.input-checkbox-ascribe {
line-height: 1.6;
2015-07-07 10:28:39 +02:00
margin-left: 1.6em;
2015-06-01 13:02:53 +02:00
margin-right: auto;
2015-08-31 19:04:44 +02:00
text-align: left;
width: 90%;
2015-06-01 13:02:53 +02:00
}
2015-08-31 19:04:44 +02:00
// columns of same height styles
// http://www.minimit.com/articles/solutions-tutorials/bootstrap-3-responsive-columns-of-same-height
2015-05-26 13:33:35 +02:00
.row-full-height {
height: 100%;
}
.col-full-height {
height: 100%;
vertical-align: middle;
}
.row-same-height {
display: table;
2015-08-31 19:04:44 +02:00
// fix overflow
2015-05-26 13:33:35 +02:00
table-layout: fixed;
2015-08-31 19:04:44 +02:00
width: 100%;
2015-05-26 13:33:35 +02:00
}
.col-xs-height {
display: table-cell;
float: none !important;
}
@media (min-width: 768px) {
.col-sm-height {
display: table-cell;
float: none !important;
}
}
@media (min-width: 992px) {
.col-md-height {
display: table-cell;
float: none !important;
}
}
@media (min-width: 1200px) {
.col-lg-height {
display: table-cell;
float: none !important;
}
}
2015-08-31 19:04:44 +02:00
// vertical alignment styles
2015-05-26 13:33:35 +02:00
.col-top {
vertical-align: top;
}
.col-middle {
vertical-align: middle;
}
.col-bottom {
vertical-align: bottom;
}
2015-06-30 17:12:13 +02:00
2015-07-01 19:05:47 +02:00
.ascribe-button-list button, .ascribe-margin-1px {
2015-06-30 17:57:20 +02:00
margin-right: 1px;
2015-07-01 10:53:40 +02:00
margin-top: 1px;
}
2015-07-06 18:29:27 +02:00
.margin-left-2px {
margin-left: 2px;
}
2015-07-06 18:29:27 +02:00
.spin {
-moz-animation: spin 1s infinite linear;
-ms-animation: spin 1s infinite linear;
2015-08-31 19:04:44 +02:00
-o-animation: spin 1s infinite linear;
-webkit-animation: spin 1s infinite linear;
2015-07-06 18:29:27 +02:00
animation: spin 1s infinite linear;
-moz-transform-origin: 55% 70%;
-o-transform-origin: 55% 70%;
2015-08-31 19:04:44 +02:00
-webkit-transform-origin: 55% 70%;
display: inline-block;
2015-07-06 18:29:27 +02:00
transform-origin: 55% 70%;
width: 10px;
height: 10px;
}
@-webkit-keyframes spin {
2015-08-31 19:04:44 +02:00
0% { -webkit-transform: rotate(0deg);}
100% { -webkit-transform: rotate(360deg);}
2015-07-06 18:29:27 +02:00
}
2015-08-31 19:04:44 +02:00
2015-07-06 18:29:27 +02:00
@-moz-keyframes spin {
2015-08-31 19:04:44 +02:00
0% { -moz-transform: rotate(0deg); }
100% { -moz-transform: rotate(360deg);}
2015-07-06 18:29:27 +02:00
}
2015-08-31 19:04:44 +02:00
2015-07-06 18:29:27 +02:00
@-o-keyframes spin {
2015-08-31 19:04:44 +02:00
0% { -o-transform: rotate(0deg);}
100% { -o-transform: rotate(360deg);}
2015-07-06 18:29:27 +02:00
}
2015-09-28 22:09:25 +02:00
2015-07-06 18:29:27 +02:00
@-ms-keyframes spin {
2015-08-31 19:04:44 +02:00
0% { -ms-transform: rotate(0deg);}
100% { -ms-transform: rotate(360deg);}
2015-07-06 18:29:27 +02:00
}
2015-09-28 22:09:25 +02:00
2015-07-06 18:29:27 +02:00
@-keyframes spin {
2015-08-31 19:04:44 +02:00
0% { transform: rotate(0deg); }
100% { transform: rotate(360deg);}
}
2015-07-13 10:11:25 +02:00
.btn-default {
.glyph-ascribe-spool {
color: white;
}
2015-07-13 15:00:12 +02:00
}
.fullpage-spinner {
padding-bottom: 30%;
2015-08-31 19:04:44 +02:00
padding-top: 30%;
2015-07-13 15:00:12 +02:00
text-align: center;
> span {
font-size: 2em;
}
2015-08-10 15:23:13 +02:00
}
.disable-select {
2015-08-31 19:04:44 +02:00
-moz-user-select: none;
-ms-user-select: none;
-webkit-user-select: none;
user-select: none;
}
.link-ascribe {
color: #666;
2015-08-31 19:04:44 +02:00
&:hover {
color: #000;
}
}
.ascribe-loading-position {
padding-bottom: 30%;
2015-08-31 19:04:44 +02:00
padding-top: 30%;
text-align: center;
}
.ascribe-piece-list-filter-display {
2015-09-16 23:36:21 +02:00
padding-left: 10px;
padding-right: 10px;
> span {
font-size: 1.1em;
font-weight: normal;
color: #616161;
padding-left: .3em;
}
> hr {
margin-top: .15em;
margin-bottom: .1em;
border-color: #ccc;
}
2015-09-22 14:46:32 +02:00
}
2015-09-30 10:44:38 +02:00
.error-wrapper {
width: 100%;
text-align: center;
padding: 5% 20% 5% 20%;
> h1 {
font-size: 10em;
font-weight: 600;
margin-bottom: .25em;
}
> p {
font-size: 2em;
}
}