2013-11-30 01:40:26 +00:00
|
|
|
@import "base.less";
|
2013-09-03 10:37:59 +00:00
|
|
|
@import "../bower-libs/bootstrap-tour/src/less/bootstrap-tour.less";
|
2013-12-02 00:09:39 +00:00
|
|
|
@import (less) "jquery.jgrowl.css";
|
2013-08-20 22:40:19 +00:00
|
|
|
|
|
|
|
/* Colors */
|
2013-11-30 01:40:26 +00:00
|
|
|
@logo-yellow: #FFD900;
|
2013-12-08 18:11:35 +00:00
|
|
|
@logo-blue: #53a9ff;
|
|
|
|
@logo-orange: #ff7606;
|
|
|
|
@logo-green: #a5cc0a;
|
2013-12-01 15:43:46 +00:00
|
|
|
@primary: #0080FF;
|
2013-11-30 01:40:26 +00:00
|
|
|
@secondary: @primary;
|
|
|
|
@tertiary: @primary;
|
|
|
|
@primary-desaturated: desaturate(@primary, 70%);
|
2013-12-03 00:20:16 +00:00
|
|
|
@secondary-desaturated: desaturate(@secondary, 80%);
|
2013-08-20 22:40:19 +00:00
|
|
|
@transparent: fade(#000, 0%);
|
2013-12-02 23:05:45 +00:00
|
|
|
|
|
|
|
// Navbar
|
2013-11-30 01:40:26 +00:00
|
|
|
@primary-bg: lighten(@primary-desaturated, 42%);
|
|
|
|
@primary-border-color: fade(@primary, 10%);
|
2013-12-02 23:05:45 +00:00
|
|
|
|
|
|
|
// Preview and menus
|
2014-04-21 01:12:57 +00:00
|
|
|
@secondary-bg-dark: lighten(@secondary-desaturated, 45%);
|
2014-04-06 00:59:32 +00:00
|
|
|
@secondary-bg: lighten(@secondary-desaturated, 48%);
|
2013-12-03 00:20:16 +00:00
|
|
|
@secondary-bg-light: lighten(@secondary-desaturated, 47%);
|
2013-12-02 23:05:45 +00:00
|
|
|
@secondary-bg-lighter: #fff;
|
2014-04-21 01:12:57 +00:00
|
|
|
@secondary-color: lighten(@primary-desaturated, 12%);
|
2013-12-02 23:05:45 +00:00
|
|
|
@secondary-color-dark: darken(@secondary-color, 12.5%);
|
|
|
|
@secondary-color-darker: darken(@secondary-color, 25%);
|
|
|
|
@secondary-color-darkest: darken(@secondary-color, 37.5%);
|
|
|
|
@secondary-border-color: lighten(@primary-desaturated, 40%);
|
|
|
|
@secondary-border-color-light: lighten(@primary-desaturated, 44%);
|
|
|
|
@secondary-border-color-lighter: lighten(@primary-desaturated, 46%);
|
|
|
|
|
|
|
|
// Editor
|
|
|
|
@tertiary-bg: #fff;
|
2014-03-16 02:13:42 +00:00
|
|
|
@tertiary-color-lighter: fade(@tertiary-color, 40%);
|
2013-12-27 00:01:17 +00:00
|
|
|
@tertiary-color-light: fade(@tertiary-color, 60%);
|
2014-04-21 01:12:57 +00:00
|
|
|
@tertiary-color: @secondary-desaturated;
|
2013-12-27 00:01:17 +00:00
|
|
|
@tertiary-color-dark: darken(@tertiary-color, 15%);
|
|
|
|
@tertiary-color-darker: darken(@tertiary-color, 30%);
|
2013-12-02 23:05:45 +00:00
|
|
|
|
|
|
|
// Panel buttons
|
2013-12-02 00:09:39 +00:00
|
|
|
@panel-button-bg-color: #FFF;
|
2013-12-08 18:11:35 +00:00
|
|
|
@panel-button-border-fade: 80%;
|
2014-03-09 01:50:03 +00:00
|
|
|
@panel-button-box-shadow: ~"0 0 1px rgba(0,0,0,.5)";
|
2013-11-30 01:40:26 +00:00
|
|
|
@panel-border-color: fade(@primary-desaturated, 10%);
|
2013-12-02 23:05:45 +00:00
|
|
|
|
|
|
|
@error-border: #FF6161;
|
|
|
|
@disabled-color: mix(@secondary-color, @input-bg, 33%);
|
|
|
|
@folder-color: @secondary-color-darker;
|
2013-12-02 00:09:39 +00:00
|
|
|
@jgrowl-bg-color: fade(@modal-backdrop-bg, 90%);
|
2013-08-20 22:40:19 +00:00
|
|
|
|
|
|
|
/* Sizes */
|
2014-04-19 01:09:25 +00:00
|
|
|
@title-max-width: 400px;
|
2013-08-19 20:44:13 +00:00
|
|
|
@menu-panel-width: 280px;
|
2014-03-10 23:55:13 +00:00
|
|
|
@document-panel-width: 320px;
|
2013-08-20 22:40:19 +00:00
|
|
|
@jgrowl-width: 260px;
|
2014-03-10 23:55:13 +00:00
|
|
|
@resizer-size: 32px;
|
2014-03-16 02:13:42 +00:00
|
|
|
@editor-line-weight: 1.65;
|
2013-08-19 20:44:13 +00:00
|
|
|
|
|
|
|
/* Bootstrap */
|
2013-12-02 23:05:45 +00:00
|
|
|
@body-bg: @secondary-bg-light;
|
|
|
|
@text-color: @secondary-color-darkest;
|
2014-03-10 23:55:13 +00:00
|
|
|
@link-color: desaturate(#0080FF, 20%);
|
2014-03-09 01:50:03 +00:00
|
|
|
@link-hover-color: darken(@link-color, 20%);
|
2013-12-02 23:05:45 +00:00
|
|
|
@input-bg: @secondary-bg-lighter;
|
2013-11-30 01:40:26 +00:00
|
|
|
@input-border: @secondary-border-color;
|
2014-03-12 00:53:15 +00:00
|
|
|
@input-height-base: 42px;
|
|
|
|
@input-height-slim: 38px;
|
2013-12-02 00:09:39 +00:00
|
|
|
@blockquote-border-color: fade(@secondary-desaturated, 7.5%);
|
|
|
|
@blockquote-bg: fade(@secondary-desaturated, 5%);
|
2013-12-02 23:05:45 +00:00
|
|
|
@code-color: @secondary-color-darkest;
|
2013-12-23 22:46:49 +00:00
|
|
|
@code-bg: fade(@secondary-desaturated, 7.5%);
|
2013-12-02 00:09:39 +00:00
|
|
|
@hr-border: fade(@secondary-desaturated, 10%);
|
2014-04-14 00:21:06 +00:00
|
|
|
@navbar-height: 50px;
|
2013-11-30 01:40:26 +00:00
|
|
|
@navbar-default-bg: @primary-bg;
|
|
|
|
@nav-link-hover-bg: @btn-default-hover-bg;
|
2013-08-20 22:40:19 +00:00
|
|
|
@nav-disabled-link-color: @disabled-color;
|
|
|
|
@nav-disabled-link-hover-color: @disabled-color;
|
2013-08-19 20:44:13 +00:00
|
|
|
@nav-tabs-border-color: @transparent;
|
2014-03-19 00:33:57 +00:00
|
|
|
@nav-tabs-link-hover-border-color: @transparent;
|
2013-12-02 23:05:45 +00:00
|
|
|
@dropdown-bg: @secondary-bg-lighter;
|
2013-11-30 01:40:26 +00:00
|
|
|
@dropdown-border: @secondary-border-color;
|
2013-12-02 23:05:45 +00:00
|
|
|
@dropdown-link-color: @secondary-color-darkest;
|
2013-11-30 01:40:26 +00:00
|
|
|
@dropdown-link-hover-color: darken(@primary-desaturated, 25%);
|
|
|
|
@dropdown-link-hover-bg: @btn-default-hover-bg;
|
2014-03-09 01:50:03 +00:00
|
|
|
@dropdown-header-color: fade(@secondary-color, 60%);
|
2013-12-01 15:43:46 +00:00
|
|
|
@dropdown-link-disabled-color: @disabled-color;
|
2013-12-02 00:09:39 +00:00
|
|
|
@dropdown-divider-bg: @dropdown-border;
|
2013-12-02 23:05:45 +00:00
|
|
|
@list-group-link-color: @secondary-color-darkest;
|
|
|
|
@list-group-bg: @secondary-bg-light;
|
2013-08-19 20:44:13 +00:00
|
|
|
@list-group-border: @transparent;
|
2013-11-30 01:40:26 +00:00
|
|
|
@list-group-active-color: darken(@primary-desaturated, 25%);
|
|
|
|
@list-group-active-bg: @primary-bg;
|
|
|
|
@list-group-active-border: fade(@secondary, 5%);
|
|
|
|
@list-group-hover-bg: @btn-default-hover-bg;
|
|
|
|
@list-group-hover-border-color: fade(@secondary, 10%);
|
2014-03-31 00:10:28 +00:00
|
|
|
@input-color: @secondary-color-darkest;
|
2013-08-20 22:40:19 +00:00
|
|
|
@input-color-placeholder: @disabled-color;
|
2013-12-02 23:05:45 +00:00
|
|
|
@btn-default-color: @secondary-color-darker;
|
2013-08-19 20:44:13 +00:00
|
|
|
@btn-default-bg: @transparent;
|
|
|
|
@btn-default-border: @transparent;
|
2013-11-30 01:40:26 +00:00
|
|
|
@btn-default-hover-bg: fade(@secondary-desaturated, 4%);
|
2013-12-02 23:05:45 +00:00
|
|
|
@btn-primary-color: @secondary-color-darker;
|
2013-11-30 01:40:26 +00:00
|
|
|
@btn-primary-bg: @primary-bg;
|
|
|
|
@btn-primary-border: fade(@secondary, 5%);
|
2014-03-09 01:50:03 +00:00
|
|
|
@btn-primary-hover-bg: mix(@primary-desaturated, @btn-primary-bg, 7.5%);
|
2013-11-28 01:04:41 +00:00
|
|
|
@btn-success-color: darken(@primary-desaturated, 25%);
|
2013-12-01 15:43:46 +00:00
|
|
|
@btn-success-bg: @transparent;
|
2013-08-19 20:44:13 +00:00
|
|
|
@btn-success-border: @transparent;
|
2013-12-02 23:05:45 +00:00
|
|
|
@btn-success-hover-bg: fade(@primary-desaturated, 7.5%);
|
2013-11-28 01:04:41 +00:00
|
|
|
@btn-info-color: fade(@secondary-desaturated, 35%);
|
2013-09-19 19:48:21 +00:00
|
|
|
@btn-info-bg: @transparent;
|
2013-08-19 20:44:13 +00:00
|
|
|
@btn-info-border: @transparent;
|
2014-04-20 01:13:43 +00:00
|
|
|
@btn-info-hover-border: fade(@secondary, 8%);
|
2014-04-21 01:12:57 +00:00
|
|
|
@btn-info-hover-bg: @secondary-bg-dark;
|
2013-08-19 20:44:13 +00:00
|
|
|
@gray-lighter: @body-bg;
|
2013-12-02 23:05:45 +00:00
|
|
|
@modal-header-border-color: @secondary-border-color-light;
|
|
|
|
@modal-content-bg: @secondary-bg-lighter;
|
|
|
|
@modal-content-border-color: @secondary-border-color;
|
|
|
|
@modal-footer-border-color: @secondary-border-color-light;
|
|
|
|
@modal-content-separator-color: @secondary-border-color-lighter;
|
2013-12-23 22:46:49 +00:00
|
|
|
@modal-backdrop-bg: desaturate(@tertiary, 90%);
|
2014-02-09 13:16:08 +00:00
|
|
|
@tooltip-max-width: 250px;
|
2013-12-02 23:05:45 +00:00
|
|
|
@close-color: @secondary-color-darkest;
|
|
|
|
@popover-bg: @secondary-bg;
|
2013-11-30 01:40:26 +00:00
|
|
|
@popover-border-color: @secondary-border-color;
|
2013-12-02 23:05:45 +00:00
|
|
|
@popover-arrow-color: @secondary-bg;
|
2013-11-30 01:40:26 +00:00
|
|
|
@popover-arrow-outer-color: @secondary-border-color;
|
2013-09-03 10:37:59 +00:00
|
|
|
@popover-title-bg: @transparent;
|
2014-03-14 15:00:11 +00:00
|
|
|
@alert-border-radius: 0;
|
2014-04-06 00:59:32 +00:00
|
|
|
@label-warning-bg: spin(darken(@logo-yellow, 4%), -6);
|
2014-03-27 00:20:08 +00:00
|
|
|
@label-danger-bg: spin(darken(@logo-orange, 4%), -4);
|
2014-04-07 23:19:47 +00:00
|
|
|
@state-warning-text: spin(darken(@logo-yellow, 14%), -6);
|
2014-04-06 00:59:32 +00:00
|
|
|
@state-warning-bg: fade(spin(@logo-yellow, -6), 12%);
|
|
|
|
@state-warning-border: fade(spin(@logo-yellow, -6), 24%);
|
2014-04-06 23:39:24 +00:00
|
|
|
@state-danger-text: spin(darken(@logo-orange, 18%), -4);
|
2014-04-06 00:59:32 +00:00
|
|
|
@state-danger-bg: fade(spin(@logo-orange, -4), 10%);
|
|
|
|
@state-danger-border: fade(spin(@logo-orange, -4), 20%);
|
2013-08-19 20:44:13 +00:00
|
|
|
|
2013-09-03 10:37:59 +00:00
|
|
|
|
2014-04-14 23:32:10 +00:00
|
|
|
html, body {
|
|
|
|
overflow: hidden;
|
|
|
|
}
|
|
|
|
|
2013-08-19 20:44:13 +00:00
|
|
|
body {
|
2014-04-14 23:32:10 +00:00
|
|
|
.layout-panel();
|
|
|
|
bottom: 0;
|
|
|
|
right: 0;
|
2013-08-19 20:44:13 +00:00
|
|
|
tab-size: 4;
|
|
|
|
}
|
|
|
|
|
2014-03-10 23:55:13 +00:00
|
|
|
* {
|
|
|
|
outline: none !important;
|
|
|
|
}
|
|
|
|
|
2013-08-19 20:44:13 +00:00
|
|
|
.working {
|
|
|
|
cursor: progress;
|
|
|
|
}
|
|
|
|
|
|
|
|
.btn,
|
|
|
|
.dropdown-menu {
|
2013-12-05 20:59:57 +00:00
|
|
|
.user-select(none);
|
2013-08-19 20:44:13 +00:00
|
|
|
}
|
|
|
|
|
2014-03-25 00:23:42 +00:00
|
|
|
.dropdown-menu, .modal-content, .panel-content, .search-bar, .popover {
|
|
|
|
.box-shadow(0 4px 16px rgba(0,0,0,.225));
|
2013-11-30 01:40:26 +00:00
|
|
|
}
|
|
|
|
|
2013-12-01 15:43:46 +00:00
|
|
|
.dropdown-menu {
|
|
|
|
> li > a {
|
|
|
|
padding: 5px 20px;
|
|
|
|
border-top: 1px solid transparent;
|
|
|
|
border-bottom: 1px solid transparent;
|
|
|
|
&:hover,
|
|
|
|
&:focus {
|
|
|
|
border-color: @list-group-hover-border-color;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
> .disabled > a {
|
|
|
|
&:hover,
|
|
|
|
&:focus {
|
|
|
|
border-color: transparent;
|
|
|
|
}
|
2013-11-30 01:40:26 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2014-04-13 10:45:31 +00:00
|
|
|
.collapsed > .icon-up-dir:before {
|
|
|
|
content: '\e94d';
|
|
|
|
}
|
|
|
|
|
2014-03-19 22:10:59 +00:00
|
|
|
.modal {
|
|
|
|
&.fade .modal-dialog {
|
|
|
|
.translate(0, 0);
|
|
|
|
}
|
2013-11-30 01:40:26 +00:00
|
|
|
|
2014-03-19 22:10:59 +00:00
|
|
|
.modal-content {
|
|
|
|
background-color: @secondary-bg-light;
|
|
|
|
}
|
|
|
|
|
|
|
|
.modal-body {
|
|
|
|
background-color: @secondary-bg-lighter;
|
|
|
|
padding-bottom: 30px;
|
|
|
|
}
|
2013-11-30 01:40:26 +00:00
|
|
|
|
2014-03-19 22:10:59 +00:00
|
|
|
.modal-footer {
|
|
|
|
margin-top: 0;
|
|
|
|
}
|
2013-11-30 01:40:26 +00:00
|
|
|
}
|
|
|
|
|
2013-10-11 21:47:00 +00:00
|
|
|
a {
|
|
|
|
.transition(~"background-color ease-in-out .15s, color ease-in-out .15s, border-color ease-in-out .15s");
|
|
|
|
}
|
|
|
|
|
2013-12-02 00:09:39 +00:00
|
|
|
.nav-pills > li {
|
|
|
|
> a {
|
|
|
|
border: 1px solid @transparent;
|
|
|
|
&:hover,
|
|
|
|
&:focus {
|
2014-03-10 23:55:13 +00:00
|
|
|
color: darken(@secondary, 30%);
|
2013-12-02 00:09:39 +00:00
|
|
|
border-color: @list-group-hover-border-color;
|
|
|
|
}
|
|
|
|
}
|
2014-03-10 23:55:13 +00:00
|
|
|
&.open > a .caret,
|
|
|
|
> a:hover .caret,
|
|
|
|
> a:focus .caret {
|
|
|
|
border-top-color: darken(@secondary, 30%);
|
|
|
|
border-bottom-color: darken(@secondary, 30%);
|
|
|
|
}
|
|
|
|
|
2013-12-02 00:09:39 +00:00
|
|
|
&.disabled > a {
|
|
|
|
&:hover,
|
|
|
|
&:focus {
|
|
|
|
border-color: @transparent;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
&.open > a {
|
|
|
|
&,
|
|
|
|
&:hover,
|
|
|
|
&:focus {
|
2014-03-10 23:55:13 +00:00
|
|
|
color: darken(@secondary, 30%);
|
2013-12-02 00:09:39 +00:00
|
|
|
border-color: @list-group-hover-border-color;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2013-08-19 20:44:13 +00:00
|
|
|
.list-group-item {
|
|
|
|
padding: 10px 15px;
|
2013-11-30 01:40:26 +00:00
|
|
|
margin-bottom: 0;
|
2013-08-19 20:44:13 +00:00
|
|
|
.list-group & {
|
|
|
|
border-radius: 0;
|
|
|
|
}
|
2013-11-30 01:40:26 +00:00
|
|
|
a&:hover,
|
|
|
|
a&:focus {
|
|
|
|
color: darken(@secondary, 30%);
|
|
|
|
border-top-color: @list-group-hover-border-color;
|
|
|
|
border-bottom-color: @list-group-hover-border-color;
|
|
|
|
}
|
2013-08-19 20:44:13 +00:00
|
|
|
}
|
|
|
|
|
2014-04-14 00:21:06 +00:00
|
|
|
.layout-panel() {
|
|
|
|
position: absolute;
|
|
|
|
top: 0;
|
|
|
|
left: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
.bring-to-front {
|
2013-08-19 20:44:13 +00:00
|
|
|
z-index: 1050 !important;
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
/*******************
|
|
|
|
* Buttons
|
|
|
|
*******************/
|
2014-03-19 00:33:57 +00:00
|
|
|
|
2013-08-19 20:44:13 +00:00
|
|
|
.btn {
|
|
|
|
padding: 8px 11px;
|
2013-11-28 01:04:41 +00:00
|
|
|
.transition(~"background-color ease-in-out .15s, color ease-in-out .15s, border-color ease-in-out .15s");
|
2014-03-19 00:33:57 +00:00
|
|
|
}
|
2013-08-19 20:44:13 +00:00
|
|
|
|
2013-11-30 01:40:26 +00:00
|
|
|
.btn-default {
|
|
|
|
&:hover,
|
|
|
|
&:focus,
|
|
|
|
&:active,
|
|
|
|
.open &.dropdown-toggle {
|
|
|
|
color: darken(@secondary, 30%);
|
|
|
|
border-color: fade(@secondary, 10%);
|
|
|
|
background-color: @btn-default-hover-bg !important; // important to override .nav > li > a:hover
|
|
|
|
}
|
2013-08-19 20:44:13 +00:00
|
|
|
}
|
|
|
|
|
2013-11-30 01:40:26 +00:00
|
|
|
.btn-primary {
|
|
|
|
&:hover,
|
|
|
|
&:focus,
|
|
|
|
&:active,
|
|
|
|
.open &.dropdown-toggle {
|
|
|
|
color: darken(@secondary, 30%);
|
|
|
|
border-color: fade(@secondary, 10%);
|
2014-03-09 01:50:03 +00:00
|
|
|
background-color: @btn-primary-hover-bg !important; // important to override .nav > li > a:hover
|
2013-11-30 01:40:26 +00:00
|
|
|
}
|
2013-08-19 20:44:13 +00:00
|
|
|
}
|
|
|
|
|
2013-12-02 23:05:45 +00:00
|
|
|
// Navbar buttons
|
2013-11-28 01:04:41 +00:00
|
|
|
.btn-success {
|
|
|
|
&:hover,
|
|
|
|
&:focus,
|
|
|
|
&:active,
|
2013-11-30 01:40:26 +00:00
|
|
|
.open &.dropdown-toggle {
|
2013-11-28 01:04:41 +00:00
|
|
|
color: darken(@primary, 30%);
|
2013-11-30 01:40:26 +00:00
|
|
|
border-color: @primary-border-color;
|
2013-12-02 23:05:45 +00:00
|
|
|
background-color: @btn-success-hover-bg !important; // important to override .nav > li > a:hover
|
2013-11-28 01:04:41 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2013-12-02 23:05:45 +00:00
|
|
|
// Buttons over preview
|
2013-11-28 01:04:41 +00:00
|
|
|
.btn-info {
|
|
|
|
&:hover,
|
|
|
|
&:focus,
|
|
|
|
&:active,
|
2014-04-21 01:12:57 +00:00
|
|
|
&.info-tooltip,
|
|
|
|
.info-tooltip &,
|
2013-11-30 01:40:26 +00:00
|
|
|
.open &.dropdown-toggle {
|
2013-11-28 01:04:41 +00:00
|
|
|
color: darken(@secondary, 30%);
|
2014-04-20 01:13:43 +00:00
|
|
|
border-color: @btn-info-hover-border;
|
2014-03-10 23:55:13 +00:00
|
|
|
background-color: @btn-info-hover-bg !important; // important to override .nav > li > a:hover
|
2013-11-28 01:04:41 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.btn-group {
|
|
|
|
.btn + .btn,
|
|
|
|
.btn + .btn-group,
|
|
|
|
.btn-group + .btn,
|
|
|
|
.btn-group + .btn-group {
|
|
|
|
margin-left: 0;
|
|
|
|
}
|
2013-08-19 20:44:13 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
// Last dropdown-toggle in a button-group (Bootstrap override)
|
|
|
|
.btn-group>.btn+.dropdown-toggle {
|
|
|
|
padding-right: 11px;
|
|
|
|
padding-left: 11px;
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
/********************
|
|
|
|
* Input
|
|
|
|
********************/
|
2014-03-14 15:00:11 +00:00
|
|
|
|
|
|
|
@form-control-inset-shadow: inset 0 1px 1px rgba(0,0,0,.025);
|
|
|
|
.form-control {
|
|
|
|
.box-shadow(~"@{form-control-inset-shadow}");
|
|
|
|
}
|
|
|
|
|
2013-10-12 23:10:14 +00:00
|
|
|
// Fix form-inline broken since Bootstrap v3
|
2013-08-19 20:44:13 +00:00
|
|
|
.form-inline {
|
2013-12-01 15:43:46 +00:00
|
|
|
.form-control {
|
|
|
|
display: inline-block;
|
|
|
|
}
|
2014-03-10 23:55:13 +00:00
|
|
|
.col-sm-1 { width: percentage((1 / @grid-columns)); }
|
|
|
|
.col-sm-2 { width: percentage((2 / @grid-columns)); }
|
|
|
|
.col-sm-3 { width: percentage((3 / @grid-columns)); }
|
|
|
|
.col-sm-4 { width: percentage((4 / @grid-columns)); }
|
|
|
|
.col-sm-5 { width: percentage((5 / @grid-columns)); }
|
|
|
|
.col-sm-6 { width: percentage((6 / @grid-columns)); }
|
|
|
|
.col-sm-7 { width: percentage((7 / @grid-columns)); }
|
|
|
|
.col-sm-8 { width: percentage((8 / @grid-columns)); }
|
|
|
|
.col-sm-9 { width: percentage((9 / @grid-columns)); }
|
|
|
|
.col-sm-10 { width: percentage((10/ @grid-columns)); }
|
|
|
|
.col-sm-11 { width: percentage((11/ @grid-columns)); }
|
|
|
|
.col-sm-12 { width: 100%; }
|
2013-12-01 15:43:46 +00:00
|
|
|
* {float:none;}
|
2013-08-19 20:44:13 +00:00
|
|
|
}
|
|
|
|
|
2013-11-30 01:40:26 +00:00
|
|
|
.form-control-focus(@color: @secondary-desaturated) {
|
|
|
|
@color-rgba: rgba(red(@color), green(@color), blue(@color), .6);
|
|
|
|
&:focus {
|
2014-03-19 00:33:57 +00:00
|
|
|
border-color: @input-border;
|
2013-11-30 01:40:26 +00:00
|
|
|
outline: 0;
|
2014-03-14 15:00:11 +00:00
|
|
|
.box-shadow(~"@{form-control-inset-shadow}, 0 0 12px -1px @{color-rgba}");
|
2013-11-30 01:40:26 +00:00
|
|
|
}
|
2013-08-19 20:44:13 +00:00
|
|
|
}
|
|
|
|
|
2013-08-20 22:40:19 +00:00
|
|
|
.form-control.error {
|
2013-08-19 20:44:13 +00:00
|
|
|
border-color: @error-border;
|
2014-03-24 00:22:46 +00:00
|
|
|
.box-shadow(~"@{form-control-inset-shadow}, 0 0 8px rgba(255, 0, 0, 0.6)");
|
2013-08-19 20:44:13 +00:00
|
|
|
}
|
|
|
|
|
2013-08-20 22:40:19 +00:00
|
|
|
.help-block {
|
|
|
|
font-size: 12px;
|
|
|
|
}
|
|
|
|
|
2013-08-19 20:44:13 +00:00
|
|
|
// Input add-on
|
|
|
|
.input-group-addon {
|
2014-03-14 15:00:11 +00:00
|
|
|
.box-shadow(~"@{form-control-inset-shadow}");
|
2013-12-01 15:43:46 +00:00
|
|
|
a& {
|
|
|
|
color: @link-color;
|
|
|
|
}
|
2013-08-19 20:44:13 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.input-group-btn {
|
|
|
|
.btn {
|
|
|
|
i {
|
|
|
|
font-size: 120%;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
&:first-child .btn {
|
|
|
|
margin-right: 6px;
|
|
|
|
}
|
2014-03-19 00:33:57 +00:00
|
|
|
|
2013-08-19 20:44:13 +00:00
|
|
|
&:last-child .btn {
|
|
|
|
margin-left: 6px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
/*******************
|
|
|
|
* Navbar
|
|
|
|
*******************/
|
2014-03-19 00:33:57 +00:00
|
|
|
|
2013-08-19 20:44:13 +00:00
|
|
|
.navbar {
|
2014-04-14 00:21:06 +00:00
|
|
|
.layout-panel();
|
|
|
|
width: 100%;
|
2013-08-23 23:50:14 +00:00
|
|
|
padding: 0;
|
|
|
|
border: 0;
|
2013-11-30 01:40:26 +00:00
|
|
|
border-top: 1px solid @primary-border-color;
|
2014-04-14 00:21:06 +00:00
|
|
|
border-bottom: 1px solid @primary-border-color;
|
2013-08-23 23:50:14 +00:00
|
|
|
border-radius: 0;
|
2014-04-14 00:21:06 +00:00
|
|
|
z-index: 20;
|
2013-12-01 15:43:46 +00:00
|
|
|
.left-space, .right-space {
|
2013-11-28 01:04:41 +00:00
|
|
|
width: 25px;
|
2014-03-12 00:53:15 +00:00
|
|
|
height: @input-height-slim;
|
2013-08-19 20:44:13 +00:00
|
|
|
}
|
|
|
|
.nav {
|
|
|
|
float: left;
|
2013-12-05 20:59:57 +00:00
|
|
|
margin: 5px 9px;
|
2014-03-12 00:53:15 +00:00
|
|
|
height: @input-height-slim;
|
2013-08-19 20:44:13 +00:00
|
|
|
& > li {
|
|
|
|
display: inline-block;
|
|
|
|
}
|
|
|
|
// Dropdown submenu
|
|
|
|
&.pull-right {
|
|
|
|
float: right;
|
|
|
|
& > li > .dropdown-menu {
|
|
|
|
right: 0;
|
|
|
|
left: auto;
|
|
|
|
.dropdown-menu {
|
|
|
|
right: 100%;
|
|
|
|
left: auto;
|
|
|
|
margin-right: -1px;
|
|
|
|
margin-left: 0;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2013-09-16 23:14:17 +00:00
|
|
|
.btn {
|
2014-03-12 00:53:15 +00:00
|
|
|
height: @input-height-slim;
|
|
|
|
padding: 6px 8px;
|
2013-09-16 23:14:17 +00:00
|
|
|
}
|
2013-08-19 20:44:13 +00:00
|
|
|
.btn-group > .btn {
|
|
|
|
&.disabled,
|
|
|
|
&.blocked,
|
|
|
|
&[disabled] {
|
|
|
|
* {
|
|
|
|
color: fade(@btn-success-color, 30%);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2014-03-19 00:33:57 +00:00
|
|
|
|
2014-04-06 00:59:32 +00:00
|
|
|
.button-open-discussion {
|
|
|
|
&.some {
|
2014-04-06 23:39:24 +00:00
|
|
|
color: lighten(@alert-warning-text, 8%);
|
2014-04-06 00:59:32 +00:00
|
|
|
&:hover,
|
|
|
|
&:focus {
|
2014-04-06 23:39:24 +00:00
|
|
|
//color: @alert-warning-text;
|
2014-04-06 00:59:32 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
&.replied {
|
2014-04-06 23:39:24 +00:00
|
|
|
color: lighten(@alert-danger-text, 8%);
|
2014-04-06 00:59:32 +00:00
|
|
|
&:hover,
|
|
|
|
&:focus {
|
2014-04-06 23:39:24 +00:00
|
|
|
//color: @alert-danger-text;
|
2014-04-06 00:59:32 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2013-08-19 20:44:13 +00:00
|
|
|
.file-title-navbar {
|
2013-12-02 02:38:52 +00:00
|
|
|
display: inline-block;
|
|
|
|
vertical-align: middle;
|
2014-03-12 00:53:15 +00:00
|
|
|
padding: 1px 15px;
|
|
|
|
font-size: 1.5em;
|
|
|
|
line-height: 1.4em;
|
2013-08-19 20:44:13 +00:00
|
|
|
font-weight: 200;
|
|
|
|
overflow: hidden;
|
2013-09-26 23:27:38 +00:00
|
|
|
white-space: nowrap;
|
2013-08-19 20:44:13 +00:00
|
|
|
}
|
2014-03-19 00:33:57 +00:00
|
|
|
|
2013-12-03 23:10:40 +00:00
|
|
|
.input-file-title-container {
|
|
|
|
display: inline-block;
|
|
|
|
vertical-align: middle;
|
|
|
|
.input-file-title {
|
2014-04-19 01:09:25 +00:00
|
|
|
width: @title-max-width;
|
2014-03-10 23:55:13 +00:00
|
|
|
font-size: 16px;
|
2014-03-12 00:53:15 +00:00
|
|
|
height: @input-height-slim;
|
2013-12-03 23:10:40 +00:00
|
|
|
}
|
2013-08-19 20:44:13 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.working-indicator {
|
2013-12-02 02:38:52 +00:00
|
|
|
display: inline-block;
|
|
|
|
vertical-align: middle;
|
2013-11-17 13:32:53 +00:00
|
|
|
overflow: hidden;
|
2014-03-12 00:53:15 +00:00
|
|
|
height: @input-height-slim;
|
2013-12-03 00:20:16 +00:00
|
|
|
width: 60px;
|
2014-03-14 15:00:11 +00:00
|
|
|
padding-top: 8px;
|
2013-11-17 13:32:53 +00:00
|
|
|
.bar {
|
2013-11-16 18:09:33 +00:00
|
|
|
display: inline-block;
|
2013-12-03 00:20:16 +00:00
|
|
|
width: 14px;
|
2013-12-01 15:43:46 +00:00
|
|
|
height: 6px;
|
2013-11-17 13:32:53 +00:00
|
|
|
border-radius: 1px;
|
2013-11-16 18:09:33 +00:00
|
|
|
margin: 0 2px;
|
2013-11-23 15:41:02 +00:00
|
|
|
opacity: 0.25;
|
2013-11-17 13:32:53 +00:00
|
|
|
background-color: @btn-success-color;
|
2013-08-19 20:44:13 +00:00
|
|
|
}
|
|
|
|
}
|
2014-03-19 00:33:57 +00:00
|
|
|
|
2013-12-08 18:11:35 +00:00
|
|
|
.offline-status > div {
|
|
|
|
display: inline-block;
|
|
|
|
vertical-align: middle;
|
2014-03-12 00:53:15 +00:00
|
|
|
height: @input-height-slim;
|
2013-12-08 18:11:35 +00:00
|
|
|
padding: 9px 10px;
|
|
|
|
}
|
2014-03-19 00:33:57 +00:00
|
|
|
|
2014-03-10 23:55:13 +00:00
|
|
|
.buttons-dropdown {
|
2013-12-01 15:43:46 +00:00
|
|
|
> .nav {
|
|
|
|
margin-left: 0;
|
|
|
|
margin-right: 0;
|
|
|
|
}
|
|
|
|
}
|
2014-03-19 00:33:57 +00:00
|
|
|
|
2013-12-01 15:43:46 +00:00
|
|
|
div.dropdown-menu {
|
|
|
|
top: initial;
|
|
|
|
padding: 5px;
|
2014-03-10 23:55:13 +00:00
|
|
|
margin: 10px;
|
2013-12-01 15:43:46 +00:00
|
|
|
}
|
2013-08-19 20:44:13 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
/*********************
|
|
|
|
* Menu/Document panels
|
|
|
|
*********************/
|
|
|
|
|
2014-03-19 00:33:57 +00:00
|
|
|
// Common style
|
2013-08-19 20:44:13 +00:00
|
|
|
.menu-panel, .document-panel {
|
|
|
|
height: 100%;
|
2014-04-14 00:21:06 +00:00
|
|
|
z-index: 30;
|
2013-08-19 20:44:13 +00:00
|
|
|
overflow: initial;
|
2014-04-14 00:21:06 +00:00
|
|
|
.toggle-button {
|
|
|
|
background-color: @panel-button-bg-color;
|
2014-03-12 00:53:15 +00:00
|
|
|
height: @input-height-slim;
|
2013-11-28 01:04:41 +00:00
|
|
|
border-radius: 8px;
|
2013-12-02 23:05:45 +00:00
|
|
|
position: absolute;
|
|
|
|
margin-top: 6px;
|
2014-03-09 01:50:03 +00:00
|
|
|
.transition(~"border-width ease-in-out .15s, left ease-in-out 0.15s, right ease-in-out 0.15s, background-color ease-in-out 0.15s");
|
|
|
|
.box-shadow(@panel-button-box-shadow);
|
2013-11-28 01:04:41 +00:00
|
|
|
&:active {
|
|
|
|
.box-shadow(~"inset 0 3px 5px rgba(0, 0, 0, 0.125), 0 0 1px rgba(0,0,0,.5)");
|
|
|
|
}
|
|
|
|
i {
|
|
|
|
color: #737373;
|
|
|
|
font-size: 14px;
|
|
|
|
}
|
|
|
|
}
|
2014-04-14 00:21:06 +00:00
|
|
|
& .toggle-button:hover, &.panel-open > .toggle-button {
|
2013-11-28 01:04:41 +00:00
|
|
|
border-width: 1px;
|
2013-08-19 20:44:13 +00:00
|
|
|
}
|
|
|
|
.panel-content {
|
|
|
|
overflow: auto;
|
|
|
|
padding-bottom: 30px;
|
|
|
|
height: 100%;
|
|
|
|
a > i {
|
|
|
|
color: inherit;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.menu-panel {
|
2014-04-14 00:21:06 +00:00
|
|
|
.layout-panel();
|
|
|
|
width: @menu-panel-width;
|
2014-03-14 15:00:11 +00:00
|
|
|
.alert {
|
2014-04-20 01:13:43 +00:00
|
|
|
padding: 10px 0;
|
2014-03-14 15:00:11 +00:00
|
|
|
}
|
2014-04-20 01:13:43 +00:00
|
|
|
i {
|
|
|
|
margin-right: 8px;
|
|
|
|
}
|
|
|
|
small {
|
|
|
|
color: @dropdown-header-color;
|
|
|
|
padding-left: 30px;
|
|
|
|
}
|
2014-03-10 23:55:13 +00:00
|
|
|
.nav {
|
2014-04-20 01:13:43 +00:00
|
|
|
margin: 10px 0 20px;
|
2014-03-14 15:00:11 +00:00
|
|
|
> li > * {
|
|
|
|
padding: 8px 30px;
|
|
|
|
}
|
2014-03-10 23:55:13 +00:00
|
|
|
> li > a {
|
|
|
|
&:hover,
|
|
|
|
&:focus {
|
|
|
|
background-color: @transparent;
|
2014-03-09 01:50:03 +00:00
|
|
|
}
|
|
|
|
}
|
2014-03-10 23:55:13 +00:00
|
|
|
}
|
2014-04-14 00:21:06 +00:00
|
|
|
.toggle-button {
|
2013-12-02 23:05:45 +00:00
|
|
|
border-top: 4px solid fade(@logo-yellow, @panel-button-border-fade);
|
|
|
|
border-right: 5px solid fade(@logo-blue, @panel-button-border-fade);
|
|
|
|
border-bottom: 4px solid fade(@logo-orange, @panel-button-border-fade);
|
2014-04-14 00:21:06 +00:00
|
|
|
right: -37px;
|
2013-08-19 20:44:13 +00:00
|
|
|
z-index: -1;
|
2013-12-03 23:10:40 +00:00
|
|
|
padding: 0 10px 0 50px;
|
2013-11-28 01:04:41 +00:00
|
|
|
}
|
2014-04-14 00:21:06 +00:00
|
|
|
& .toggle-button:hover, &.panel-open > .toggle-button {
|
|
|
|
right: -45px;
|
2013-08-19 20:44:13 +00:00
|
|
|
}
|
|
|
|
.panel-content {
|
2013-12-02 23:05:45 +00:00
|
|
|
background-color: @secondary-bg-light;
|
2013-08-19 20:44:13 +00:00
|
|
|
padding-top: 6px;
|
2013-12-02 23:05:45 +00:00
|
|
|
border-right: 1px solid @secondary-border-color-light;
|
2013-08-19 20:44:13 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.document-panel {
|
2014-04-14 00:21:06 +00:00
|
|
|
position: absolute;
|
|
|
|
top: 0;
|
2013-08-19 20:44:13 +00:00
|
|
|
right: 0;
|
2014-04-14 00:21:06 +00:00
|
|
|
width: @document-panel-width;
|
|
|
|
.toggle-button {
|
2013-12-02 23:05:45 +00:00
|
|
|
border-top: 4px solid fade(@logo-yellow, @panel-button-border-fade);
|
|
|
|
border-left: 5px solid fade(@logo-green, @panel-button-border-fade);
|
|
|
|
border-bottom: 4px solid fade(@logo-orange, @panel-button-border-fade);
|
2014-04-14 00:21:06 +00:00
|
|
|
left: -37px;
|
2013-12-03 23:10:40 +00:00
|
|
|
padding: 0 50px 0 3px;
|
2013-08-19 20:44:13 +00:00
|
|
|
z-index: -1;
|
|
|
|
i.icon-folder-open {
|
2013-11-28 01:04:41 +00:00
|
|
|
font-size: 19px;
|
|
|
|
padding-bottom: 1px;
|
2013-08-19 20:44:13 +00:00
|
|
|
}
|
|
|
|
}
|
2014-04-14 00:21:06 +00:00
|
|
|
& .toggle-button:hover, &.panel-open > .toggle-button {
|
|
|
|
left: -45px;
|
2013-11-28 01:04:41 +00:00
|
|
|
}
|
2013-08-19 20:44:13 +00:00
|
|
|
.panel-content {
|
|
|
|
background-color: @list-group-bg;
|
2014-03-27 00:20:08 +00:00
|
|
|
padding-top: 210px;
|
2014-03-10 23:55:13 +00:00
|
|
|
.viewer & {
|
|
|
|
padding-top: 75px;
|
|
|
|
}
|
2013-12-02 23:05:45 +00:00
|
|
|
border-left: 1px solid @secondary-border-color-light;
|
2013-08-19 20:44:13 +00:00
|
|
|
.icon-layers {
|
|
|
|
font-size: 135%;
|
2014-03-19 00:33:57 +00:00
|
|
|
}
|
2013-08-19 20:44:13 +00:00
|
|
|
}
|
|
|
|
.search-bar {
|
|
|
|
position: absolute;
|
2013-12-02 23:05:45 +00:00
|
|
|
background-color: @secondary-bg;
|
2013-08-19 20:44:13 +00:00
|
|
|
margin: -10px 25px 0;
|
2014-03-10 23:55:13 +00:00
|
|
|
padding: 15px 20px;
|
2013-08-19 20:44:13 +00:00
|
|
|
z-index: 3;
|
2013-12-02 23:05:45 +00:00
|
|
|
border: 1px solid @secondary-border-color;
|
2013-08-19 20:44:13 +00:00
|
|
|
border-top: 0;
|
|
|
|
border-radius: 6px;
|
2014-03-10 23:55:13 +00:00
|
|
|
.nav {
|
|
|
|
margin-bottom: 10px;
|
|
|
|
> li > a {
|
|
|
|
padding: 8px 15px;
|
|
|
|
&:hover,
|
|
|
|
&:focus {
|
|
|
|
background-color: @transparent;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2013-11-30 01:40:26 +00:00
|
|
|
}
|
2013-08-19 20:44:13 +00:00
|
|
|
.list-group-item {
|
|
|
|
margin: 0;
|
|
|
|
}
|
|
|
|
.folder {
|
|
|
|
font-weight: bold;
|
|
|
|
color: @folder-color;
|
2013-11-30 01:40:26 +00:00
|
|
|
border-top-color: @modal-content-separator-color;
|
2013-08-19 20:44:13 +00:00
|
|
|
}
|
|
|
|
.list-group {
|
|
|
|
margin: 0;
|
|
|
|
.nav {
|
|
|
|
border: 0;
|
2013-11-30 01:40:26 +00:00
|
|
|
margin: 0;
|
|
|
|
.file {
|
|
|
|
padding-left: 30px;
|
|
|
|
padding-right: 30px;
|
|
|
|
}
|
2014-03-19 00:33:57 +00:00
|
|
|
}
|
|
|
|
}
|
2013-08-19 20:44:13 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
// Dropdown document selector
|
|
|
|
.dropdown-file-selector {
|
|
|
|
top: 6px;
|
|
|
|
right: 30px;
|
|
|
|
left: auto;
|
|
|
|
margin: 0;
|
|
|
|
min-width: 280px;
|
|
|
|
max-width: 400px;
|
|
|
|
overflow-x: hidden;
|
|
|
|
max-height: 400px;
|
|
|
|
overflow-y: auto;
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
/**************************
|
|
|
|
* Document manager
|
|
|
|
**************************/
|
2014-03-19 00:33:57 +00:00
|
|
|
|
2013-08-19 20:44:13 +00:00
|
|
|
.modal-document-manager {
|
|
|
|
.nav-pills {
|
|
|
|
margin-bottom: 15px;
|
|
|
|
}
|
2013-11-30 01:40:26 +00:00
|
|
|
.list-group {
|
|
|
|
background-color: @list-group-bg;
|
|
|
|
.nav {
|
|
|
|
margin-bottom: 30px;
|
|
|
|
border: 0;
|
|
|
|
margin: 0;
|
|
|
|
.file {
|
|
|
|
padding-left: 20px;
|
|
|
|
}
|
|
|
|
}
|
2013-08-19 20:44:13 +00:00
|
|
|
}
|
|
|
|
.list-group-item {
|
|
|
|
padding: 3px;
|
|
|
|
margin: 0;
|
|
|
|
i {
|
|
|
|
margin-right: 3px;
|
|
|
|
}
|
|
|
|
.btn {
|
|
|
|
float: right;
|
|
|
|
i {
|
|
|
|
margin: 0;
|
|
|
|
font-size: 105%;
|
|
|
|
&.icon-pencil {
|
|
|
|
font-size: 115%;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
.file-list .list-group-item {
|
|
|
|
padding: 0 3px;
|
|
|
|
}
|
|
|
|
.folder {
|
|
|
|
font-weight: bold;
|
|
|
|
color: @folder-color;
|
|
|
|
font-size: 15px;
|
2013-11-30 01:40:26 +00:00
|
|
|
border-top-color: @modal-content-separator-color;
|
2013-08-19 20:44:13 +00:00
|
|
|
}
|
|
|
|
.checkbox {
|
|
|
|
float: right;
|
|
|
|
margin: 0;
|
|
|
|
padding: 0;
|
|
|
|
cursor: pointer;
|
|
|
|
input {
|
|
|
|
cursor: pointer;
|
|
|
|
margin: 0 16px;
|
2014-03-12 00:53:15 +00:00
|
|
|
height: @input-height-slim;
|
2013-08-19 20:44:13 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
.input-rename {
|
|
|
|
width: 220px;
|
2014-03-12 00:53:15 +00:00
|
|
|
height: @input-height-slim;
|
2013-08-19 20:44:13 +00:00
|
|
|
}
|
|
|
|
.name, .file-count {
|
2014-03-19 00:33:57 +00:00
|
|
|
padding: 9px 20px 9px 15px;
|
|
|
|
}
|
2013-08-19 20:44:13 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
/********************
|
2013-12-02 02:38:52 +00:00
|
|
|
* Extensions buttons
|
2013-08-19 20:44:13 +00:00
|
|
|
********************/
|
2013-09-12 23:25:25 +00:00
|
|
|
|
2013-12-02 02:38:52 +00:00
|
|
|
// Hack to align multiple btn-group
|
|
|
|
.extension-buttons > .btn-group,
|
2014-04-21 01:12:57 +00:00
|
|
|
.extension-preview-buttons > .btn-group {
|
2013-12-02 02:38:52 +00:00
|
|
|
& > .btn,
|
|
|
|
& > .btn {
|
|
|
|
border-radius: 0;
|
|
|
|
}
|
|
|
|
&:first-child > .btn,
|
|
|
|
&:first-child > .btn {
|
|
|
|
border-top-left-radius: 4px;
|
|
|
|
border-bottom-left-radius: 4px;
|
|
|
|
}
|
|
|
|
&:last-child > .btn,
|
|
|
|
&:last-child > .btn {
|
|
|
|
border-top-right-radius: 4px;
|
|
|
|
border-bottom-right-radius: 4px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2013-08-19 20:44:13 +00:00
|
|
|
.extension-preview-buttons {
|
2013-09-15 01:35:58 +00:00
|
|
|
position: absolute;
|
2014-04-21 01:12:57 +00:00
|
|
|
z-index: 10;
|
|
|
|
right: 45px;
|
|
|
|
bottom: 6px;
|
2014-04-20 01:13:43 +00:00
|
|
|
background-color: @btn-info-hover-bg;
|
|
|
|
border: 1px solid @btn-info-hover-border;
|
|
|
|
border-radius: @border-radius-base;
|
|
|
|
.transition-transform(350ms ease-in-out);
|
2013-08-19 20:44:13 +00:00
|
|
|
.btn-group {
|
|
|
|
.btn {
|
|
|
|
position: initial;
|
2014-04-20 01:13:43 +00:00
|
|
|
border: 0;
|
2013-08-19 20:44:13 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
.dropdown-menu {
|
2014-04-21 01:12:57 +00:00
|
|
|
margin-bottom: 6px;
|
2013-08-19 20:44:13 +00:00
|
|
|
padding-bottom: 20px;
|
|
|
|
}
|
2014-03-19 00:33:57 +00:00
|
|
|
|
2014-03-10 23:55:13 +00:00
|
|
|
hr {
|
|
|
|
margin: 0;
|
|
|
|
}
|
2014-03-19 00:33:57 +00:00
|
|
|
|
2013-08-19 20:44:13 +00:00
|
|
|
.markdown-syntax, .table-of-contents {
|
|
|
|
overflow-y: auto;
|
|
|
|
overflow-x: hidden;
|
|
|
|
padding-right: 20px;
|
|
|
|
margin-right: -20px;
|
2013-11-30 01:40:26 +00:00
|
|
|
width: 330px;
|
2013-08-19 20:44:13 +00:00
|
|
|
}
|
2014-03-19 00:33:57 +00:00
|
|
|
|
2013-08-19 20:44:13 +00:00
|
|
|
.markdown-syntax {
|
|
|
|
white-space: normal;
|
|
|
|
}
|
2014-03-19 00:33:57 +00:00
|
|
|
|
2013-08-19 20:44:13 +00:00
|
|
|
.table-of-contents {
|
2014-03-10 23:55:13 +00:00
|
|
|
padding: 20px 0 15px;
|
2013-08-19 20:44:13 +00:00
|
|
|
margin-left: -10px;
|
|
|
|
ul {
|
|
|
|
margin-left: 10px;
|
|
|
|
padding-left: 10px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2014-03-19 00:33:57 +00:00
|
|
|
|
2013-08-19 20:44:13 +00:00
|
|
|
/**************************
|
|
|
|
* Settings dialog
|
|
|
|
**************************/
|
|
|
|
|
|
|
|
.modal-settings {
|
|
|
|
.modal-header {
|
|
|
|
padding-bottom: 0;
|
|
|
|
}
|
2014-03-19 00:33:57 +00:00
|
|
|
|
2013-08-19 20:44:13 +00:00
|
|
|
textarea {
|
|
|
|
max-width: 100%;
|
|
|
|
min-height: 100px;
|
|
|
|
}
|
2014-03-19 00:33:57 +00:00
|
|
|
|
2013-08-19 20:44:13 +00:00
|
|
|
.panel {
|
|
|
|
border: 0;
|
|
|
|
border-radius: inherit;
|
|
|
|
background: @modal-content-bg;
|
2013-08-20 22:40:19 +00:00
|
|
|
border-bottom: 1px solid @modal-content-separator-color;
|
|
|
|
.box-shadow(none);
|
2013-08-19 20:44:13 +00:00
|
|
|
}
|
2014-03-19 00:33:57 +00:00
|
|
|
|
2013-08-19 20:44:13 +00:00
|
|
|
.accordion-heading {
|
|
|
|
padding: 12px 15px;
|
|
|
|
.checkbox {
|
|
|
|
margin-top: 0;
|
|
|
|
margin-bottom: 0;
|
|
|
|
}
|
|
|
|
}
|
2014-03-19 00:33:57 +00:00
|
|
|
|
2013-08-19 20:44:13 +00:00
|
|
|
.accordion-inner {
|
|
|
|
border: 0;
|
|
|
|
padding: 10px 40px 20px;
|
|
|
|
.form-horizontal {
|
|
|
|
.control-label {
|
|
|
|
text-align: left;
|
|
|
|
}
|
|
|
|
.form-inline .label-text {
|
|
|
|
margin-left: 15px
|
2014-03-19 00:33:57 +00:00
|
|
|
}
|
2013-08-19 20:44:13 +00:00
|
|
|
}
|
|
|
|
}
|
2014-03-19 00:33:57 +00:00
|
|
|
|
2013-08-19 20:44:13 +00:00
|
|
|
.tab-pane-button-container {
|
|
|
|
width: 220px;
|
|
|
|
margin: 10px auto 20px;
|
2013-11-30 01:40:26 +00:00
|
|
|
.btn {
|
|
|
|
text-align: initial;
|
|
|
|
padding-left: 15px;
|
|
|
|
}
|
2013-08-19 20:44:13 +00:00
|
|
|
}
|
2014-03-19 00:33:57 +00:00
|
|
|
|
2013-08-19 20:44:13 +00:00
|
|
|
.nav-tabs {
|
|
|
|
margin: 15px 0 0;
|
2014-03-19 00:33:57 +00:00
|
|
|
|
2013-08-19 20:44:13 +00:00
|
|
|
& > li > a {
|
|
|
|
&:hover, &:focus {
|
2013-11-30 01:40:26 +00:00
|
|
|
color: darken(@secondary, 30%);
|
|
|
|
border-color: fade(@secondary, 10%);
|
|
|
|
background-color: @btn-default-hover-bg;
|
|
|
|
border-bottom-color: @transparent;
|
2013-08-19 20:44:13 +00:00
|
|
|
}
|
|
|
|
}
|
2014-03-19 00:33:57 +00:00
|
|
|
|
2013-08-19 20:44:13 +00:00
|
|
|
& > li.active > a {
|
|
|
|
&, &:hover, &:focus {
|
2013-11-30 01:40:26 +00:00
|
|
|
color: @btn-primary-color;
|
2014-03-09 01:50:03 +00:00
|
|
|
background-color: @modal-content-bg;
|
|
|
|
border-color: @modal-header-border-color;
|
2013-11-30 01:40:26 +00:00
|
|
|
border-bottom-color: @transparent;
|
2014-03-09 01:50:03 +00:00
|
|
|
margin-bottom: -1px;
|
|
|
|
padding: 10px 15px 11px;
|
2013-08-19 20:44:13 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
/********************************
|
2013-12-01 15:43:46 +00:00
|
|
|
* Publish/Sync/Share dialogs
|
2013-08-19 20:44:13 +00:00
|
|
|
********************************/
|
2014-03-19 00:33:57 +00:00
|
|
|
|
2013-12-01 15:43:46 +00:00
|
|
|
.modal-manage-sync .sync-list,
|
|
|
|
.modal-manage-publish .publish-list,
|
|
|
|
.modal-manage-sharing .share-list {
|
2013-08-19 20:44:13 +00:00
|
|
|
margin-bottom: 20px;
|
|
|
|
.input-group {
|
|
|
|
margin-bottom: 10px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2013-12-01 15:43:46 +00:00
|
|
|
.share-list .form-control {
|
|
|
|
width: 280px
|
2013-08-19 20:44:13 +00:00
|
|
|
}
|
|
|
|
|
2013-08-22 19:10:57 +00:00
|
|
|
.publish-custom-template-collapse {
|
|
|
|
margin-bottom: 0;
|
|
|
|
textarea {
|
|
|
|
max-width: 100%;
|
|
|
|
min-height: 100px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2013-08-19 20:44:13 +00:00
|
|
|
|
2013-12-01 15:43:46 +00:00
|
|
|
|
2013-08-19 20:44:13 +00:00
|
|
|
/*********************************
|
2014-04-14 00:21:06 +00:00
|
|
|
* Layout
|
2013-08-19 20:44:13 +00:00
|
|
|
*********************************/
|
2014-03-19 00:33:57 +00:00
|
|
|
|
2014-04-14 18:00:22 +00:00
|
|
|
.layout-wrapper-l1,
|
|
|
|
.layout-wrapper-l2,
|
|
|
|
.layout-wrapper-l3 {
|
2014-04-14 00:21:06 +00:00
|
|
|
.layout-panel();
|
|
|
|
overflow: hidden;
|
|
|
|
}
|
|
|
|
|
2014-04-14 18:00:22 +00:00
|
|
|
.layout-animate {
|
2014-04-16 23:29:51 +00:00
|
|
|
.transition-transform(350ms ease-in-out);
|
2014-04-14 00:21:06 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.layout-resizer {
|
|
|
|
.layout-panel();
|
|
|
|
width: @resizer-size;
|
|
|
|
height: @resizer-size;
|
|
|
|
&.open {
|
|
|
|
cursor: e-resize;
|
2014-04-14 18:00:22 +00:00
|
|
|
.layout-vertical & {
|
|
|
|
cursor: s-resize;
|
|
|
|
}
|
2014-04-14 00:21:06 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.layout-toggler {
|
|
|
|
.layout-panel();
|
|
|
|
padding: 0;
|
|
|
|
margin: 0;
|
|
|
|
width: @resizer-size;
|
2014-04-14 18:00:22 +00:00
|
|
|
height: @resizer-size;
|
2014-04-14 00:21:06 +00:00
|
|
|
i {
|
|
|
|
font-size: 22px;
|
|
|
|
}
|
|
|
|
&.layout-toggler-preview {
|
|
|
|
.layout-animate & {
|
2014-04-16 23:29:51 +00:00
|
|
|
.transition-transform(350ms ease-in-out);
|
2014-04-14 00:21:06 +00:00
|
|
|
}
|
2014-04-14 18:00:22 +00:00
|
|
|
line-height: 55px;
|
2014-04-14 00:21:06 +00:00
|
|
|
i:before {
|
|
|
|
content: '\e87d';
|
|
|
|
}
|
|
|
|
&.open > i:before {
|
|
|
|
content: '\e87e';
|
|
|
|
}
|
2014-04-14 18:00:22 +00:00
|
|
|
.layout-vertical & {
|
|
|
|
line-height: 1.45;
|
|
|
|
i:before {
|
|
|
|
content: '\e87f';
|
|
|
|
}
|
|
|
|
&.open > i:before {
|
|
|
|
content: '\e880';
|
|
|
|
}
|
|
|
|
}
|
2014-04-14 00:21:06 +00:00
|
|
|
}
|
|
|
|
&.layout-toggler-navbar {
|
|
|
|
line-height: 0;
|
|
|
|
i {
|
|
|
|
font-size: 16px;
|
2014-04-16 23:29:51 +00:00
|
|
|
height: 12px;
|
2014-04-14 00:21:06 +00:00
|
|
|
overflow: hidden;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
2013-08-19 20:44:13 +00:00
|
|
|
.ui-layout-resizer {
|
|
|
|
overflow: visible !important;
|
|
|
|
font-size: 14px !important;
|
|
|
|
.btn {
|
|
|
|
float: none;
|
|
|
|
}
|
|
|
|
.ui-layout-toggler {
|
2013-12-01 15:43:46 +00:00
|
|
|
i {
|
|
|
|
font-size: 22px;
|
|
|
|
}
|
2013-08-19 20:44:13 +00:00
|
|
|
&.ui-layout-toggler-east {
|
|
|
|
line-height: 55px;
|
|
|
|
&.ui-layout-toggler-east-open i:before {
|
2013-09-03 10:37:59 +00:00
|
|
|
content: '\e87e';
|
2013-08-19 20:44:13 +00:00
|
|
|
}
|
|
|
|
&.ui-layout-toggler-east-closed i:before {
|
2013-09-03 10:37:59 +00:00
|
|
|
content: '\e87d';
|
2013-08-19 20:44:13 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
&.ui-layout-toggler-south {
|
|
|
|
&.ui-layout-toggler-south-open i:before {
|
2013-09-03 10:37:59 +00:00
|
|
|
content: '\e880';
|
2013-08-19 20:44:13 +00:00
|
|
|
}
|
|
|
|
&.ui-layout-toggler-south-closed i:before {
|
2013-09-03 10:37:59 +00:00
|
|
|
content: '\e87f';
|
2013-08-19 20:44:13 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
&.ui-layout-toggler-north {
|
|
|
|
left: 0 !important;
|
|
|
|
line-height: 0;
|
|
|
|
i {
|
2013-12-01 15:43:46 +00:00
|
|
|
font-size: 16px;
|
2014-03-12 00:53:15 +00:00
|
|
|
height: 10.5px;
|
2013-12-01 15:43:46 +00:00
|
|
|
overflow: hidden;
|
2013-08-19 20:44:13 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
&.ui-layout-resizer-east .ui-layout-toggler-north {
|
2013-11-28 01:04:41 +00:00
|
|
|
width: @resizer-size !important;
|
2013-08-19 20:44:13 +00:00
|
|
|
height: 60px !important;
|
|
|
|
}
|
|
|
|
&.ui-layout-resizer-south .ui-layout-toggler-north {
|
2013-11-28 01:04:41 +00:00
|
|
|
height: @resizer-size !important;
|
2013-08-19 20:44:13 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2013-11-30 01:40:26 +00:00
|
|
|
.ui-layout-resizer-north {
|
|
|
|
background-color: @navbar-default-bg;
|
|
|
|
border-bottom: 1px solid @primary-border-color;
|
|
|
|
}
|
|
|
|
|
2013-08-19 20:44:13 +00:00
|
|
|
|
2013-08-20 22:40:19 +00:00
|
|
|
/*****************************
|
|
|
|
* Editor
|
|
|
|
*****************************/
|
2014-03-19 00:33:57 +00:00
|
|
|
|
2014-03-16 02:13:42 +00:00
|
|
|
@font-face {
|
|
|
|
font-family: 'PT Sans';
|
|
|
|
font-style: normal;
|
|
|
|
font-weight: 400;
|
|
|
|
src: local('PT Sans'), local('PTSans'), url("../font/PTSans-Regular-webfont.woff") format('woff');
|
|
|
|
}
|
|
|
|
@font-face {
|
|
|
|
font-family: 'PT Sans';
|
|
|
|
font-style: normal;
|
|
|
|
font-weight: 700;
|
|
|
|
src: local('PT Sans Bold'), local('PTSans-Bold'), url("../font/PTSans-Bold-webfont.woff") format('woff');
|
|
|
|
}
|
|
|
|
@font-face {
|
|
|
|
font-family: 'PT Sans';
|
|
|
|
font-style: italic;
|
|
|
|
font-weight: 400;
|
|
|
|
src: local('PT Sans Italic'), local('PTSans-Italic'), url("../font/PTSans-Italic-webfont.woff") format('woff');
|
|
|
|
}
|
|
|
|
@font-face {
|
|
|
|
font-family: 'PT Sans';
|
|
|
|
font-style: italic;
|
|
|
|
font-weight: 700;
|
|
|
|
src: local('PT Sans Bold Italic'), local('PTSans-BoldItalic'), url("../font/PTSans-BoldItalic-webfont.woff") format('woff');
|
|
|
|
}
|
|
|
|
|
2013-08-19 20:44:13 +00:00
|
|
|
#wmd-input {
|
2014-04-14 00:21:06 +00:00
|
|
|
.layout-panel();
|
2014-03-21 00:36:28 +00:00
|
|
|
font-family: "PT Sans", sans-serif;
|
|
|
|
line-height: @editor-line-weight;
|
2014-03-16 02:13:42 +00:00
|
|
|
letter-spacing: normal;
|
2014-03-12 00:53:15 +00:00
|
|
|
border-radius: 0;
|
2013-12-23 22:46:49 +00:00
|
|
|
color: @tertiary-color-dark;
|
2013-08-20 22:40:19 +00:00
|
|
|
.box-shadow(none);
|
2013-08-19 20:44:13 +00:00
|
|
|
resize: none;
|
2013-11-28 01:04:41 +00:00
|
|
|
border: none;
|
2014-03-16 02:13:42 +00:00
|
|
|
padding: 0;
|
2014-03-21 00:36:28 +00:00
|
|
|
background-color: @tertiary-bg;
|
|
|
|
overflow: auto;
|
|
|
|
white-space: pre-wrap;
|
2014-03-30 01:44:51 +00:00
|
|
|
word-wrap: break-word;
|
2014-03-21 00:36:28 +00:00
|
|
|
> .editor-content {
|
|
|
|
padding-bottom: 230px;
|
|
|
|
}
|
|
|
|
> .editor-margin {
|
2014-04-17 23:41:35 +00:00
|
|
|
.layout-panel();
|
2014-03-30 01:44:51 +00:00
|
|
|
.discussion {
|
2014-04-06 00:59:32 +00:00
|
|
|
font-size: 17px;
|
2014-03-23 02:33:41 +00:00
|
|
|
&.new {
|
2014-04-06 00:59:32 +00:00
|
|
|
display: none;
|
2014-03-24 00:22:46 +00:00
|
|
|
&:hover, &.active, &.active:hover {
|
2014-04-06 23:39:24 +00:00
|
|
|
display: inline-block;
|
2014-03-23 02:33:41 +00:00
|
|
|
color: fade(@tertiary-color, 35%) !important;
|
|
|
|
}
|
|
|
|
}
|
2014-03-30 01:44:51 +00:00
|
|
|
&.added {
|
2014-04-02 23:35:07 +00:00
|
|
|
color: fade(@label-warning-bg, 50%);
|
2014-03-30 01:44:51 +00:00
|
|
|
&:hover, &.active, &.active:hover {
|
|
|
|
color: fade(@label-warning-bg, 80%) !important;
|
|
|
|
}
|
|
|
|
}
|
2014-03-23 02:33:41 +00:00
|
|
|
&.replied {
|
2014-04-02 23:35:07 +00:00
|
|
|
color: fade(@label-danger-bg, 70%);
|
2014-03-23 02:33:41 +00:00
|
|
|
&:hover, &.active, &.active:hover {
|
2014-04-02 23:35:07 +00:00
|
|
|
color: fade(@label-danger-bg, 100%) !important;
|
2014-03-23 02:33:41 +00:00
|
|
|
}
|
|
|
|
}
|
2014-04-02 23:35:07 +00:00
|
|
|
&.icon-split {
|
2014-03-30 01:44:51 +00:00
|
|
|
font-size: 22px;
|
2014-04-06 23:39:24 +00:00
|
|
|
&:before {
|
|
|
|
margin-right: 0;
|
|
|
|
}
|
2014-03-24 00:22:46 +00:00
|
|
|
}
|
2014-03-21 00:36:28 +00:00
|
|
|
position: absolute;
|
|
|
|
cursor: pointer;
|
2014-03-24 00:22:46 +00:00
|
|
|
&:hover, &.active {
|
2014-03-21 00:36:28 +00:00
|
|
|
text-decoration: none;
|
|
|
|
}
|
|
|
|
}
|
2014-03-16 02:13:42 +00:00
|
|
|
}
|
2014-03-22 01:57:31 +00:00
|
|
|
|
2014-04-15 23:16:08 +00:00
|
|
|
&.font-monospaced * {
|
|
|
|
font-family: @font-family-monospace !important;
|
|
|
|
line-height: @editor-line-weight !important;
|
|
|
|
font-size: 1em !important;
|
|
|
|
}
|
|
|
|
|
2014-03-22 01:57:31 +00:00
|
|
|
.comment-highlight {
|
2014-03-27 00:20:08 +00:00
|
|
|
background-color: fade(@label-warning-bg, 30%);
|
2014-03-22 01:57:31 +00:00
|
|
|
}
|
2014-03-19 00:33:57 +00:00
|
|
|
|
2014-04-02 23:35:07 +00:00
|
|
|
.conflict {
|
|
|
|
font-weight: bold;
|
|
|
|
color: @label-danger-bg;
|
|
|
|
}
|
|
|
|
|
2014-03-16 02:13:42 +00:00
|
|
|
.code,
|
|
|
|
.pre {
|
|
|
|
color: @tertiary-color-darker;
|
|
|
|
font: normal 0.9em @font-family-monospace
|
|
|
|
}
|
2014-03-19 00:33:57 +00:00
|
|
|
|
2014-03-16 02:13:42 +00:00
|
|
|
.tag {
|
|
|
|
color: @tertiary-color-darker;
|
|
|
|
font: bold 0.9em @font-family-monospace;
|
|
|
|
.punctuation,
|
|
|
|
.attr-value,
|
|
|
|
.attr-name {
|
|
|
|
font-weight: normal;
|
|
|
|
}
|
|
|
|
}
|
2014-03-19 00:33:57 +00:00
|
|
|
|
2014-03-16 02:13:42 +00:00
|
|
|
.latex, .math {
|
|
|
|
color: @tertiary-color;
|
|
|
|
}
|
2014-03-19 00:33:57 +00:00
|
|
|
|
2014-03-16 02:13:42 +00:00
|
|
|
.entity {
|
|
|
|
font: italic 0.9em @font-family-monospace;
|
|
|
|
color: @tertiary-color;
|
|
|
|
}
|
|
|
|
|
|
|
|
.comment {
|
|
|
|
font-size: 0.9em;
|
|
|
|
color: @tertiary-color-light;
|
|
|
|
}
|
2014-03-19 00:33:57 +00:00
|
|
|
|
2014-03-16 02:13:42 +00:00
|
|
|
.keyword {
|
|
|
|
color: @tertiary-color-dark;
|
|
|
|
font-weight: bold;
|
|
|
|
}
|
2014-03-19 00:33:57 +00:00
|
|
|
|
2014-03-16 02:13:42 +00:00
|
|
|
.code, .img, .imgref, .md-toc {
|
|
|
|
background-color: @code-bg;
|
|
|
|
border-radius: @border-radius-base;
|
|
|
|
padding: 0.15em 0;
|
|
|
|
}
|
2014-03-19 00:33:57 +00:00
|
|
|
|
2014-03-16 02:13:42 +00:00
|
|
|
.md-toc {
|
|
|
|
font-size: 2.5em;
|
|
|
|
padding: 0.2em;
|
|
|
|
}
|
2014-03-19 00:33:57 +00:00
|
|
|
|
2014-03-16 02:13:42 +00:00
|
|
|
.link, .linkref {
|
|
|
|
.md-underlined-text {
|
|
|
|
color: inherit;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.blockquote {
|
|
|
|
color: @tertiary-color;
|
|
|
|
padding-left: 2em;
|
|
|
|
.li {
|
|
|
|
padding-left: 0;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.h1, .h2, .h3, .h4, .h5, .h6 {
|
|
|
|
font-weight: 600;
|
|
|
|
.md-hash {
|
|
|
|
color: @tertiary-color-lighter;
|
|
|
|
}
|
|
|
|
}
|
2014-03-19 00:33:57 +00:00
|
|
|
|
2014-03-16 02:13:42 +00:00
|
|
|
.h1, .h11 { font-size: 1.4em; }
|
|
|
|
.h2, .h22 { font-size: 1.3em; }
|
|
|
|
.h3 { font-size: 1.2em; }
|
|
|
|
.h4 { font-size: 1.1em; }
|
|
|
|
.h5 { font-size: 1em; }
|
|
|
|
.h6 { font-size: 0.9em; }
|
|
|
|
|
|
|
|
|
2014-03-27 00:20:08 +00:00
|
|
|
.url,
|
|
|
|
.email {
|
2014-03-16 02:13:42 +00:00
|
|
|
color: @tertiary-color-light;
|
|
|
|
}
|
|
|
|
|
2014-03-17 02:01:46 +00:00
|
|
|
.md, .hr {
|
2014-03-16 02:13:42 +00:00
|
|
|
color: @tertiary-color-light;
|
|
|
|
font-style: normal;
|
2014-03-17 02:01:46 +00:00
|
|
|
font-weight: normal
|
2014-03-16 02:13:42 +00:00
|
|
|
}
|
|
|
|
|
2014-03-17 02:01:46 +00:00
|
|
|
.em,
|
|
|
|
.em .md {
|
|
|
|
font-style: italic;
|
2014-03-16 02:13:42 +00:00
|
|
|
}
|
|
|
|
|
2014-03-17 02:01:46 +00:00
|
|
|
.strong,
|
|
|
|
.strong .md {
|
|
|
|
font-weight: bold;
|
2014-03-16 02:13:42 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.md-strike-text {
|
|
|
|
text-decoration: line-through
|
|
|
|
}
|
|
|
|
|
|
|
|
.md-underlined-text {
|
|
|
|
text-decoration: underline;
|
|
|
|
}
|
|
|
|
|
|
|
|
.li {
|
|
|
|
padding-left: 0.8em;
|
|
|
|
.li {
|
|
|
|
padding-left: 0;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.md-li {
|
2014-03-17 02:01:46 +00:00
|
|
|
padding-left: 1.2em;
|
2014-03-16 02:13:42 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.md-li2 {
|
2014-03-17 02:01:46 +00:00
|
|
|
padding-left: 2.4em;
|
2014-03-16 02:13:42 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.md-li3 {
|
2014-03-17 02:01:46 +00:00
|
|
|
padding-left: 3.6em;
|
2014-03-16 02:13:42 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.md-li4 {
|
2014-03-17 02:01:46 +00:00
|
|
|
padding-left: 4.8em;
|
2014-03-16 02:13:42 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.md-li5 {
|
2014-03-17 02:01:46 +00:00
|
|
|
padding-left: 6em;
|
2014-03-16 02:13:42 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.md-li6 {
|
2014-03-17 02:01:46 +00:00
|
|
|
padding-left: 7.2em;
|
2014-03-16 02:13:42 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.md-li7 {
|
2014-03-17 02:01:46 +00:00
|
|
|
padding-left: 8.4em;
|
2014-03-16 02:13:42 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.md-li8 {
|
2014-03-17 02:01:46 +00:00
|
|
|
padding-left: 9.6em;
|
2014-03-16 02:13:42 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.md-li9 {
|
2014-03-17 02:01:46 +00:00
|
|
|
padding-left: 10.8em;
|
2014-03-16 02:13:42 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.md-li10 {
|
2014-03-17 02:01:46 +00:00
|
|
|
padding-left: 12em;
|
2014-03-16 02:13:42 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.md-li11 {
|
2014-03-17 02:01:46 +00:00
|
|
|
padding-left: 13.2em;
|
2014-03-16 02:13:42 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.img,
|
|
|
|
.imgref {
|
|
|
|
padding: 0.2em 0.4em;
|
2014-03-17 02:01:46 +00:00
|
|
|
padding-right: 0;
|
2014-03-16 02:13:42 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.md-bang,
|
|
|
|
.md-alt,
|
|
|
|
.md-title {
|
2014-03-17 02:01:46 +00:00
|
|
|
color: @secondary-color-dark;
|
2014-03-16 02:13:42 +00:00
|
|
|
}
|
2013-08-19 20:44:13 +00:00
|
|
|
}
|
|
|
|
|
2014-04-14 00:21:06 +00:00
|
|
|
|
|
|
|
/*****************************
|
|
|
|
* Preview
|
|
|
|
*****************************/
|
|
|
|
|
|
|
|
.preview-panel {
|
|
|
|
.layout-panel();
|
|
|
|
overflow: hidden;
|
2014-04-14 18:00:22 +00:00
|
|
|
.box-shadow(inset 1px 0 fade(@secondary, 6%));
|
2014-04-14 00:21:06 +00:00
|
|
|
background-color: @secondary-bg-light;
|
|
|
|
z-index: 10;
|
|
|
|
.layout-animate & {
|
|
|
|
.transition(350ms ease-in-out all);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
#preview-contents {
|
|
|
|
text-align: justify;
|
2013-12-05 00:25:17 +00:00
|
|
|
}
|
|
|
|
|
2013-08-19 20:44:13 +00:00
|
|
|
.preview-container {
|
2014-04-14 00:21:06 +00:00
|
|
|
position: absolute;
|
2013-08-19 20:44:13 +00:00
|
|
|
overflow: auto;
|
|
|
|
}
|
|
|
|
|
|
|
|
.wmd-prompt-background {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
div.dropdown-menu {
|
|
|
|
padding: 5px 20px;
|
2013-12-02 23:05:45 +00:00
|
|
|
background-color: @secondary-bg;
|
2013-11-30 01:40:26 +00:00
|
|
|
p,
|
|
|
|
blockquote {
|
|
|
|
margin: 10px 0;
|
|
|
|
}
|
|
|
|
.stat {
|
2014-03-10 23:55:13 +00:00
|
|
|
margin: 20px 0 10px;
|
2013-11-30 01:40:26 +00:00
|
|
|
}
|
|
|
|
i {
|
|
|
|
margin-right: 0;
|
|
|
|
}
|
|
|
|
textarea {
|
|
|
|
width: 250px;
|
|
|
|
height: 150px;
|
|
|
|
resize: none;
|
|
|
|
}
|
2013-08-19 20:44:13 +00:00
|
|
|
}
|
|
|
|
|
2013-11-30 01:40:26 +00:00
|
|
|
div.dropdown-menu, {
|
2014-03-10 23:55:13 +00:00
|
|
|
a:hover,
|
|
|
|
a:focus {
|
|
|
|
color: @link-hover-color;
|
|
|
|
}
|
2014-03-12 00:53:15 +00:00
|
|
|
h1, h2, h3, h4, h5, h6 {
|
|
|
|
margin: 1em 0;
|
2013-11-30 01:40:26 +00:00
|
|
|
}
|
2013-08-19 20:44:13 +00:00
|
|
|
}
|
2014-03-19 00:33:57 +00:00
|
|
|
|
2013-10-27 00:57:46 +00:00
|
|
|
.btn-gittip {
|
|
|
|
width: 52px;
|
|
|
|
height: 25px;
|
|
|
|
}
|
|
|
|
|
2013-10-24 20:57:42 +00:00
|
|
|
// File titles
|
|
|
|
.title-icon-category {
|
2013-10-24 22:02:03 +00:00
|
|
|
display: inline-block;
|
2014-03-10 23:55:13 +00:00
|
|
|
.opacity(0.15);
|
2013-10-27 20:27:39 +00:00
|
|
|
margin-top: -2px;
|
2013-10-24 22:02:03 +00:00
|
|
|
margin-left: -2px;
|
2013-10-27 22:39:26 +00:00
|
|
|
margin-right: 3px;
|
2014-03-12 00:53:15 +00:00
|
|
|
font-size: 1em;
|
2013-10-24 22:02:03 +00:00
|
|
|
vertical-align: top;
|
2013-10-24 20:57:42 +00:00
|
|
|
.file-title-navbar & {
|
2013-10-27 19:19:56 +00:00
|
|
|
font-size: 16px;
|
2013-10-24 20:57:42 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2013-08-19 20:44:13 +00:00
|
|
|
|
|
|
|
/* Google picker */
|
|
|
|
.picker-dialog {
|
|
|
|
z-index: 1050 !important;
|
|
|
|
}
|
|
|
|
|
2013-09-19 19:48:21 +00:00
|
|
|
.picker-dialog-bg {
|
|
|
|
z-index: 1040 !important;
|
|
|
|
}
|
|
|
|
|
2013-08-19 20:44:13 +00:00
|
|
|
.tooltip-inner {
|
|
|
|
text-align: left;
|
|
|
|
}
|
|
|
|
|
|
|
|
.tooltip li {
|
|
|
|
line-height: 1.4;
|
|
|
|
}
|
|
|
|
|
|
|
|
input[type="file"] {
|
|
|
|
line-height: inherit;
|
|
|
|
height: inherit;
|
|
|
|
border: none !important;
|
|
|
|
}
|
|
|
|
|
|
|
|
.drop-zone {
|
|
|
|
border: 2px dashed #bbb;
|
|
|
|
-moz-border-radius: 5px;
|
|
|
|
-webkit-border-radius: 5px;
|
|
|
|
border-radius: 5px;
|
|
|
|
padding: 40px;
|
|
|
|
text-align: center;
|
|
|
|
font-size: 24px;
|
|
|
|
color: #bbb;
|
|
|
|
}
|
|
|
|
|
|
|
|
.modal-import-harddrive-html textarea {
|
|
|
|
width: 530px;
|
|
|
|
max-width: 530px;
|
|
|
|
height: 120px;
|
|
|
|
}
|
|
|
|
|
2014-01-21 23:48:21 +00:00
|
|
|
.label.comment {
|
|
|
|
white-space: inherit;
|
|
|
|
}
|
|
|
|
|
2014-02-02 21:00:05 +00:00
|
|
|
.sharing-tweet {
|
|
|
|
float: left;
|
|
|
|
margin: 5px 10px 0 0;
|
|
|
|
}
|
|
|
|
|
2013-09-03 17:28:30 +00:00
|
|
|
|
|
|
|
/*********************
|
2014-04-21 01:12:57 +00:00
|
|
|
* Popovers
|
2013-09-03 17:28:30 +00:00
|
|
|
*********************/
|
|
|
|
|
|
|
|
.popover {
|
2014-04-21 01:12:57 +00:00
|
|
|
max-width: 350px;
|
|
|
|
padding: 15px;
|
2013-09-03 17:28:30 +00:00
|
|
|
.popover-title {
|
|
|
|
font-weight: @headings-font-weight;
|
|
|
|
font-size: 24px;
|
2014-04-21 01:12:57 +00:00
|
|
|
padding: 10px 15px;
|
|
|
|
}
|
|
|
|
.disabled {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
.popover-navigation {
|
|
|
|
margin-top: -40px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
// comments popover
|
|
|
|
.comments-popover .popover {
|
|
|
|
max-width: 230px;
|
|
|
|
padding: 10px 20px 0;
|
|
|
|
.popover-title {
|
2014-03-22 01:57:31 +00:00
|
|
|
padding: 5px 0 15px;
|
|
|
|
border-bottom: 1px solid @hr-border;
|
2014-03-23 02:33:41 +00:00
|
|
|
line-height: @headings-line-height;
|
2014-03-31 00:10:28 +00:00
|
|
|
overflow: hidden;
|
2014-03-24 00:22:46 +00:00
|
|
|
.action-remove-discussion {
|
|
|
|
font-size: 16px;
|
|
|
|
line-height: 22px;
|
|
|
|
}
|
2013-09-03 17:28:30 +00:00
|
|
|
}
|
2014-03-22 01:57:31 +00:00
|
|
|
.popover-content {
|
2014-04-06 00:59:32 +00:00
|
|
|
margin: 0;
|
|
|
|
padding: 0;
|
|
|
|
.scrollport {
|
|
|
|
overflow: auto;
|
|
|
|
max-height: 230px;
|
|
|
|
padding: 10px 20px 0;
|
|
|
|
margin: 0 -20px;
|
|
|
|
}
|
2014-03-22 01:57:31 +00:00
|
|
|
.btn {
|
|
|
|
padding: 6px 11px;
|
|
|
|
}
|
2014-03-24 00:22:46 +00:00
|
|
|
.comment-block {
|
|
|
|
margin-bottom: 5px;
|
|
|
|
}
|
2014-04-06 00:59:32 +00:00
|
|
|
.form-group, blockquote {
|
|
|
|
margin-bottom: 10px;
|
|
|
|
}
|
2014-03-24 00:22:46 +00:00
|
|
|
.comment-author {
|
|
|
|
font-weight: bold;
|
2014-03-31 00:10:28 +00:00
|
|
|
color: @input-color;
|
|
|
|
}
|
|
|
|
.icon-comment {
|
2014-04-08 23:20:48 +00:00
|
|
|
font-size: 15px;
|
2014-03-31 00:10:28 +00:00
|
|
|
color: fade(@label-warning-bg, 60%);
|
|
|
|
}
|
|
|
|
.reply .icon-comment {
|
|
|
|
color: fade(@label-danger-bg, 70%);
|
2014-03-24 00:22:46 +00:00
|
|
|
}
|
2014-04-08 23:20:48 +00:00
|
|
|
.new-comment-block .icon-comment {
|
|
|
|
color: fade(@tertiary-color, 35%);
|
|
|
|
}
|
2014-03-22 01:57:31 +00:00
|
|
|
.input-comment-author {
|
|
|
|
border: none;
|
|
|
|
background: none;
|
|
|
|
.box-shadow(none);
|
|
|
|
font-weight: bold;
|
2014-03-31 00:10:28 +00:00
|
|
|
height: 28px;
|
|
|
|
padding: 0 0 5px;
|
2014-04-06 00:59:32 +00:00
|
|
|
width: 140px;
|
2014-03-31 00:10:28 +00:00
|
|
|
display: inline-block;
|
2014-03-22 01:57:31 +00:00
|
|
|
}
|
2014-04-06 00:59:32 +00:00
|
|
|
hr {
|
|
|
|
margin: 0 0 10px;
|
|
|
|
}
|
2014-03-22 01:57:31 +00:00
|
|
|
}
|
|
|
|
|
2014-04-21 01:12:57 +00:00
|
|
|
&.top,
|
|
|
|
&.bottom {
|
|
|
|
.arrow {
|
|
|
|
margin-right: 1px;
|
|
|
|
border-right-width: 0;
|
|
|
|
&:after {
|
|
|
|
margin-left: -11px;
|
2014-03-22 01:57:31 +00:00
|
|
|
border-right-width: 0;
|
|
|
|
}
|
|
|
|
}
|
2014-04-21 01:12:57 +00:00
|
|
|
}
|
|
|
|
&.top .arrow:after {
|
|
|
|
bottom: 2px;
|
|
|
|
}
|
|
|
|
&.bottom .arrow:after {
|
|
|
|
top: 2px;
|
2014-03-22 01:57:31 +00:00
|
|
|
}
|
2013-09-03 17:28:30 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
|
2014-03-22 01:57:31 +00:00
|
|
|
|
2013-08-20 22:40:19 +00:00
|
|
|
/********************
|
|
|
|
* jGrowl
|
|
|
|
********************/
|
2013-08-19 20:44:13 +00:00
|
|
|
|
2013-08-20 22:40:19 +00:00
|
|
|
div.jGrowl {
|
|
|
|
z-index: 1040;
|
|
|
|
font-size: inherit;
|
2013-10-13 15:52:00 +00:00
|
|
|
&.bottom-right {
|
|
|
|
right: 30px;
|
|
|
|
}
|
2013-08-20 22:40:19 +00:00
|
|
|
div.jGrowl-notification, div.jGrowl-closer {
|
|
|
|
background-color: @jgrowl-bg-color;
|
|
|
|
width: @jgrowl-width;
|
2013-10-13 15:52:00 +00:00
|
|
|
margin: 20px 0;
|
2013-08-20 22:40:19 +00:00
|
|
|
padding: 15px 20px;
|
|
|
|
-ms-filter: none;
|
|
|
|
filter: none;
|
|
|
|
border-radius: 5px;
|
|
|
|
}
|
|
|
|
div.jGrowl-notification {
|
|
|
|
min-height: 80px;
|
|
|
|
}
|
2013-08-19 20:44:13 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
|
2013-08-20 22:40:19 +00:00
|
|
|
/*******************
|
|
|
|
* Viewer
|
|
|
|
*******************/
|
2014-03-19 00:33:57 +00:00
|
|
|
|
2013-08-20 22:40:19 +00:00
|
|
|
.viewer {
|
2013-08-21 00:16:10 +00:00
|
|
|
.document-panel .search-bar {
|
|
|
|
padding: 20px 20px 10px;
|
|
|
|
.input-group-btn {
|
|
|
|
display: none;
|
|
|
|
}
|
2013-08-20 22:40:19 +00:00
|
|
|
}
|
2014-03-19 00:33:57 +00:00
|
|
|
|
2013-09-26 23:27:38 +00:00
|
|
|
.navbar .file-title-navbar {
|
2013-12-02 00:09:39 +00:00
|
|
|
cursor: initial;
|
|
|
|
.box-shadow(none);
|
2013-09-26 23:27:38 +00:00
|
|
|
}
|
2013-08-19 20:44:13 +00:00
|
|
|
}
|