Format less files

pull/581/head
Dennis Neufeld 2015-07-12 15:42:26 +02:00
parent 9fae8c8a00
commit 3f81b24501
47 changed files with 131 additions and 131 deletions

View File

@ -33,4 +33,4 @@
}
display: block;
}
}
}

View File

@ -8,8 +8,8 @@
h4 {
font-weight: 600;
}
.icon {
margin-right: 10px;
.icon {
margin-right: 10px;
}
.close {
color: #000;

View File

@ -441,10 +441,10 @@
max-width: 200px;
}
//A fix for panels body text color when placed within
//A fix for panels body text color when placed within
// a modal
.modal {
.panel-body {
color: #444;
}
}
}

View File

@ -44,13 +44,13 @@
min-height: 100%;
font-size: 100px;
text-align: right;
.opacity(0);
.opacity(0);
outline: none;
background: white;
cursor: inherit;
display: block;
}
}
}
}
//Button color variations
@ -122,7 +122,7 @@
padding: 15px 5px;
margin: 0 0 10px 10px;
min-width: 80px;
height: 60px;
height: 60px;
text-align: center;
color: #666;
border: 1px solid #ddd;
@ -154,4 +154,4 @@
font-size: 10px;
font-weight: 400;
}
}
}

View File

@ -45,4 +45,4 @@
&:extend(.bg-green);
border-color: darken(@green, 10%);
}
}
}

View File

@ -12,4 +12,4 @@
display: inline-block;
margin-top: -20px;
}
}
}

View File

@ -6,20 +6,20 @@
.control-sidebar-bg {
position: fixed;
z-index: 1000;
bottom: 0;
bottom: 0;
}
//Transitions
.control-sidebar-bg,
.control-sidebar {
top: 0;
right: -@control-sidebar-width;
width: @control-sidebar-width;
width: @control-sidebar-width;
.transition(right @transition-speed ease-in-out);
}
//The sidebar
.control-sidebar {
position: absolute;
padding-top: @navbar-height;
.control-sidebar {
position: absolute;
padding-top: @navbar-height;
z-index: 1010;
//Fix position after header collapse
@media (max-width: @screen-sm) {
@ -33,12 +33,12 @@
&.control-sidebar-open {
&,
+ .control-sidebar-bg {
right: 0;
right: 0;
}
}
}
//Open without slide over content
.control-sidebar-open {
.control-sidebar-open {
.control-sidebar-bg,
.control-sidebar {
right: 0;
@ -59,7 +59,7 @@
&,
&:hover {
border-left-width: 0!important;
}
}
}
> a {
.border-radius(0)!important;
@ -98,7 +98,7 @@
}
}
//Headings in the sidebar content
.control-sidebar-heading {
.control-sidebar-heading {
font-weight: 400;
font-size: 16px;
padding: 10px 0;
@ -118,7 +118,7 @@
> li > a {
.clearfix();
display: block;
padding: 10px 15px;
padding: 10px 15px;
> .control-sidebar-subheading {
margin-top: 0;
}
@ -138,7 +138,7 @@
margin: 0;
}
> p {
margin: 0;
margin: 0;
font-size: 11px;
}
}
@ -148,7 +148,7 @@
}
//Dark skin
.control-sidebar-dark {
color: @sidebar-dark-color;
color: @sidebar-dark-color;
// Background
&,
+ .control-sidebar-bg {
@ -210,7 +210,7 @@
}
//Light skin
.control-sidebar-light {
color: lighten(@sidebar-light-color, 10%);
color: lighten(@sidebar-light-color, 10%);
// Background
&,
+ .control-sidebar-bg {
@ -271,4 +271,4 @@
}
}
}
}
}

View File

@ -10,7 +10,7 @@ body {
}
}
body {
body {
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
font-family: 'Source Sans Pro', 'Helvetica Neue', Helvetica, Arial, sans-serif;
@ -42,20 +42,20 @@ body {
* Content Wrapper - contains the main content
* ```.right-side has been deprecated as of v2.0.0 in favor of .content-wrapper ```
*/
.content-wrapper,
.content-wrapper,
.right-side,
.main-footer {
.main-footer {
//Using disposable variable to join statements with a comma
@transition-rule: @transition-speed @transition-fn,
margin @transition-speed @transition-fn;
.transition-transform(@transition-rule);
margin-left: @sidebar-width;
z-index: 820;
z-index: 820;
//Top nav layout
.layout-top-nav & {
margin-left: 0;
}
@media (max-width: @screen-xs-max) {
@media (max-width: @screen-xs-max) {
margin-left: 0;
}
//When opening the sidebar on large screens
@ -72,11 +72,11 @@ body {
}
}
.content-wrapper,
.content-wrapper,
.right-side {
min-height: 100%;
background-color: @body-bg;
z-index: 800;
z-index: 800;
}
.main-footer {
background: #fff;
@ -155,4 +155,4 @@ a:focus {
display: block;
margin-top: 5px;
}
}
}

View File

@ -169,4 +169,4 @@
}
.direct-chat-success {
.direct-chat-variant(@green);
}
}

View File

@ -99,7 +99,7 @@
.navbar-nav > .notifications-menu {
> .dropdown-menu > li .menu {
// Links inside the menu
> li > a {
> li > a {
color: #444444;
overflow: hidden;
text-overflow: ellipsis;
@ -183,11 +183,11 @@
//User menu
.navbar-nav > .user-menu {
> .dropdown-menu {
.border-top-radius(0);
.border-top-radius(0);
padding: 1px 0 0 0;
border-top-width: 0;
width: 280px;
&,
> .user-body {
.border-bottom-radius(4px);

View File

@ -3,7 +3,7 @@
* ---------------
*/
.form-control {
.border-radius(@input-radius)!important;
.border-radius(@input-radius)!important;
box-shadow: none;
border-color: @gray;
&:focus {

View File

@ -85,4 +85,4 @@
&:hover {
box-shadow: inset 0 0 90px rgba(0,0,0,0.2);
}
}
}

View File

@ -18,7 +18,7 @@
.layout-top-nav & {
margin-left: 0!important;
}
}
}
//Navbar search text input
#navbar-search-input {
background: rgba(255,255,255,.2);
@ -126,7 +126,7 @@
}
.logo-mini {
display: none;
}
}
}
//Navbar Brand. Alternative logo with layout-top-nav
.navbar-brand {
@ -232,18 +232,18 @@
}
.main-sidebar,
.left-side {
padding-top: 100px!important;
padding-top: 100px!important;
}
}
.navbar-collapse.pull-left {
@media(max-width: @screen-sm-max) {
float: none!important;
+ .navbar-custom-menu {
+ .navbar-custom-menu {
display: block;
position: absolute;
top: 0;
right: 40px;
}
}
}
}
}

View File

@ -66,4 +66,4 @@
.progress-description {
margin: 0;
}
}

View File

@ -13,4 +13,4 @@
.invoice-title {
margin-top: 0;
}
}

View File

@ -20,4 +20,4 @@
}
.label-success {
&:extend(.bg-green);
}
}

View File

@ -23,7 +23,7 @@
/* User name [optional] */
.lockscreen .lockscreen-name {
text-align: center;
font-weight: 600;
font-weight: 600;
}
/* Will contain the image and the sign in form */
.lockscreen-item {
@ -41,12 +41,12 @@
left: -10px;
top: -25px;
background: #fff;
padding: 5px;
padding: 5px;
z-index: 10;
> img {
.border-radius(50%);
width: 70px;
height: 70px;
height: 70px;
}
}
@ -65,4 +65,4 @@
.lockscreen-footer {
margin-top: 10px;
}
}

View File

@ -30,7 +30,7 @@
}
.login-box-body,
.register-box-body {
.register-box-body {
background: #fff;
padding: 20px;
color: #444;
@ -43,9 +43,9 @@
.login-box-msg,
.register-box-msg {
margin: 0;
text-align: center;
padding: 0 20px 20px 20px;
text-align: center;
padding: 0 20px 20px 20px;
}
.social-auth-links {
margin: 10px 0;
}
}

View File

@ -74,4 +74,4 @@
}
.mailbox-attachment-close {
&:extend(.close);
}
}

View File

@ -351,4 +351,4 @@
canvas {
width: 100%!important;
}
}
}

View File

@ -125,7 +125,7 @@
}
//links
> a {
border-left: 3px solid transparent;
border-left: 3px solid transparent;
}
//Hover and active states
&:hover > a, &.active > a {
@ -216,27 +216,27 @@
}
//links
> a {
border-left: 3px solid transparent;
font-weight: 600;
border-left: 3px solid transparent;
font-weight: 600;
}
//Hover and active states
&:hover > a,
&.active > a {
color: @sidebar-light-hover-color;
background: @sidebar-light-hover-bg;
background: @sidebar-light-hover-bg;
}
&:hover > a {
}
&.active {
&.active {
border-left-color: @icon-active-color;
> a {
font-weight: 600;
font-weight: 600;
}
}
//First Level Submenu
> .treeview-menu {
background: @sidebar-light-submenu-bg;
> .treeview-menu {
background: @sidebar-light-submenu-bg;
}
}
//All links within the sidebar menu
@ -291,11 +291,11 @@
.border-radius(0, 2px, 0, 2px) !important;
}
}
@media(min-width: @screen-sm-min) {
@media(min-width: @screen-sm-min) {
&.sidebar-mini.sidebar-collapse {
.sidebar-menu > li > .treeview-menu {
border-left: 1px solid @gray;
}
}
}
}
}
}

View File

@ -23,7 +23,7 @@
//Modal variants
.modal-primary {
.modal-body {
&:extend(.bg-light-blue);
&:extend(.bg-light-blue);
}
.modal-header,
.modal-footer {
@ -33,7 +33,7 @@
}
.modal-warning {
.modal-body {
&:extend(.bg-yellow);
&:extend(.bg-yellow);
}
.modal-header,
.modal-footer {
@ -43,7 +43,7 @@
}
.modal-info {
.modal-body {
&:extend(.bg-aqua);
&:extend(.bg-aqua);
}
.modal-header,
.modal-footer {
@ -63,11 +63,11 @@
}
.modal-danger {
.modal-body {
&:extend(.bg-red);
&:extend(.bg-red);
}
.modal-header,
.modal-footer {
&:extend(.bg-red-active);
border-color: darken(@red, 10%);
}
}
}

View File

@ -171,4 +171,4 @@
.border-radius(0)!important;
}
}
}

View File

@ -20,7 +20,7 @@
.main-footer {
margin-left: 0!important;
min-height: 0!important;
.translate(0,0)!important;
.translate(0,0)!important;
}
.fixed .content-wrapper,
.fixed .right-side {
@ -45,4 +45,4 @@
white-space: normal!important;
}
}
}
}

View File

@ -11,7 +11,7 @@
.box-shadow(@box-boxshadow);
.clearfix();
padding: 10px 0;
background: #fff;
background: #fff;
}
.product-img {
float: left;
@ -21,7 +21,7 @@
}
}
.product-info {
margin-left: 60px;
margin-left: 60px;
}
.product-title {
font-weight: 600;
@ -41,4 +41,4 @@
&:last-of-type {
border-bottom-width: 0;
}
}
}

View File

@ -4,7 +4,7 @@
*/
//General CSS
.progress,
.progress,
.progress > .progress-bar {
.box-shadow(none);
&, .progress-bar {
@ -42,7 +42,7 @@
display: inline-block;
margin-right: 10px;
> .progress-bar {
width: 100%!important;
width: 100%!important;
position: absolute;
bottom: 0;
}
@ -104,4 +104,4 @@
.progress-bar-red,
.progress-bar-danger {
.progress-bar-variant(@red);
}
}

View File

@ -97,4 +97,4 @@
&:hover {
color: #fff;
}
}
}

View File

@ -29,7 +29,7 @@
> li {
position: relative;
> a {
margin-right: 0;
margin-right: 0;
}
> a > span {
border-top-right-radius: 4px;
@ -135,4 +135,4 @@
right: 10px;
margin-top: -7px;
}
}
}

View File

@ -55,11 +55,11 @@
max-width: 45px;
height: auto;
}
> .info {
> .info {
padding: 5px 5px 5px 15px;
line-height: 1;
position: absolute;
left: 55px;
left: 55px;
> p {
font-weight: 600;
margin-bottom: 9px;
@ -151,4 +151,4 @@
}
}
}
}
}

View File

@ -10,4 +10,4 @@
@import "skin-yellow.less";
@import "skin-yellow-light.less";
@import "skin-purple.less";
@import "skin-purple-light.less";
@import "skin-purple-light.less";

View File

@ -9,7 +9,7 @@
/* skin-black navbar */
.skin-black-light {
//Navbar & Logo
//Navbar & Logo
.main-header {
.box-shadow(0px 1px 1px rgba(0, 0, 0, 0.05));
.navbar-toggle {
@ -60,5 +60,5 @@
box-shadow: none;
}
//Create the sidebar skin
.skin-light-sidebar(#fff);
}
.skin-light-sidebar(#fff);
}

View File

@ -9,7 +9,7 @@
/* skin-black navbar */
.skin-black {
//Navbar & Logo
//Navbar & Logo
.main-header {
.box-shadow(0px 1px 1px rgba(0, 0, 0, 0.05));
.navbar-toggle {
@ -61,4 +61,4 @@
}
//Create the sidebar skin
.skin-dark-sidebar(#fff);
}
}

View File

@ -58,4 +58,4 @@
.skin-blue.layout-top-nav .main-header > .logo {
.logo-variant(@light-blue);
}
}

View File

@ -36,7 +36,7 @@
}
//Logo
.logo {
.logo-variant(darken(@light-blue, 5%));
.logo-variant(darken(@light-blue, 5%));
}
li.user-header {
@ -55,4 +55,4 @@
.skin-blue.layout-top-nav .main-header > .logo {
.logo-variant(@light-blue);
}
}

View File

@ -53,4 +53,4 @@
//Create the sidebar skin
.skin-light-sidebar(@green);
}
}

View File

@ -37,9 +37,9 @@
}
//Logo
.logo {
.logo-variant(darken(@green, 5%));
.logo-variant(darken(@green, 5%));
}
li.user-header {
background-color: @green;
}
@ -49,8 +49,8 @@
.content-header {
background: transparent;
}
//Create the sidebar skin
.skin-dark-sidebar(@green);
}
}

View File

@ -52,4 +52,4 @@
//Create the sidebar skin
.skin-light-sidebar(@purple);
}
}

View File

@ -37,9 +37,9 @@
}
//Logo
.logo {
.logo-variant(darken(@purple, 5%));
.logo-variant(darken(@purple, 5%));
}
li.user-header {
background-color: @purple;
}
@ -52,4 +52,4 @@
//Create the sidebar skin
.skin-dark-sidebar(@purple);
}
}

View File

@ -37,9 +37,9 @@
}
//Logo
.logo {
.logo-variant(@red);
.logo-variant(@red);
}
li.user-header {
background-color: @red;
}
@ -52,4 +52,4 @@
//Create the sidebar skin
.skin-light-sidebar(@red);
}
}

View File

@ -37,9 +37,9 @@
}
//Logo
.logo {
.logo-variant(darken(@red, 5%));
.logo-variant(darken(@red, 5%));
}
li.user-header {
background-color: @red;
}
@ -52,4 +52,4 @@
//Create the sidebar skin
.skin-dark-sidebar(@red);
}
}

View File

@ -37,9 +37,9 @@
}
//Logo
.logo {
.logo-variant(@yellow);
.logo-variant(@yellow);
}
li.user-header {
background-color: @yellow;
}
@ -52,4 +52,4 @@
//Create the sidebar skin
.skin-light-sidebar(@yellow);
}
}

View File

@ -37,9 +37,9 @@
}
//Logo
.logo {
.logo-variant(darken(@yellow, 5%));
.logo-variant(darken(@yellow, 5%));
}
li.user-header {
background-color: @yellow;
}
@ -52,4 +52,4 @@
//Create the sidebar skin
.skin-dark-sidebar(@yellow);
}
}

View File

@ -86,4 +86,4 @@
font-size: 12px;
}
}
}
}

View File

@ -22,7 +22,7 @@
//progress bars in tables
tr td .progress {
margin-top: 5px;
}
}
}
//Bordered Table
@ -68,4 +68,4 @@ table.text-center {
td {
text-align: right;
}
}
}

View File

@ -73,7 +73,7 @@
padding: 5px;
display: inline-block;
background-color: #fff;
.border-radius(4px);
}
}
@ -95,4 +95,4 @@
top: 0;
}
}
}
}

View File

@ -13,27 +13,27 @@
.border-radius(50%);
max-width: 100%;
height: auto;
}
}
> a:hover {
&,
.users-list-name {
color: #999;
color: #999;
}
}
}
}
.users-list-name,
.users-list-date {
display: block;
display: block;
}
.users-list-name {
font-weight: 600;
color: #444;
overflow: hidden;
white-space: nowrap;
text-overflow: ellipsis;
text-overflow: ellipsis;
}
.users-list-date {
color: #999;
font-size: 12px;
}
}

View File

@ -102,7 +102,7 @@
//DIRECT CHAT
//--------------------------------------------------------
@direct-chat-height: 250px;
@direct-chat-height: 250px;
@direct-chat-default-msg-bg: @gray;
@direct-chat-default-font-color: #444;
@direct-chat-default-msg-border-color: @gray;
@ -117,4 +117,4 @@
//Transition global options
@transition-speed: .3s;
@transition-fn: ease-in-out;//cubic-bezier(0.32,1.25,0.375,1.15);
@transition-fn: ease-in-out;//cubic-bezier(0.32,1.25,0.375,1.15);