Fix trailing whitespace and empty selectors in less

This commit is contained in:
Caleb James DeLisle 2017-12-08 17:30:45 +01:00
parent 62c5bbd9b6
commit 9af941741d
7 changed files with 13 additions and 28 deletions

View File

@ -29,7 +29,5 @@
// These rules are really good rules to have around IMO (Caleb) but they're not being honored.
"duplicateProperty": false,
"trailingSemicolon": false,
"emptyRule": false,
"maxCharPerLine": false,
"trailingWhitespace": false
"maxCharPerLine": false
}

View File

@ -152,16 +152,13 @@
input:not(.form-control), textarea {
background-color: @alertify-input-bg;
color: @alertify-input-fg;
color: @alertify-input-fg;
border: 0px;
margin-bottom: 15px;
width: 100%;
font-size: 100%;
padding: @alertify_padding-base;
&:focus {
//outline-offset: -2px;
}
}
input[type="checkbox"] {
@ -244,7 +241,7 @@
&.bottom, &:not(.top) {
bottom: 16px;
// Bottom left placement. Default. Use for transitions.
/* // Bottom left placement. Default. Use for transitions.
&.left, &:not(.right) {
> * {
@ -255,7 +252,7 @@
> * {
}
}
}*/
}
// All left positions.
@ -293,7 +290,7 @@
&.top {
top: 0;
// Top left placement, use for transitions.
/* // Top left placement, use for transitions.
&.left, &:not(.right) {
> * {
@ -304,7 +301,7 @@
> * {
}
}
}*/
}
> * {

View File

@ -103,7 +103,7 @@
@colortheme_sidebar-button-red-bg: #e54e4e;
@colortheme_sidebar-button-alt-bg: #fff;
@cryptpad_color_blue: #4591C4;
@cryptpad_color_blue: #4591C4;
@cryptpad_color_grey: #999999;
@cryptpad_header_col: #1E1F1F;
@cryptpad_text_col: #3F4141;

View File

@ -89,7 +89,6 @@
color: #fff;
padding-top: 30%;
margin-bottom: 0;
}
}
@ -152,8 +151,8 @@
}
}
// navigation top bar
.navbar {
// navigation top bar
.navbar {
background: #fff;
.navbar-brand {
display: block;

View File

@ -112,4 +112,4 @@
}
.cp-margin-bot {
margin-bottom: 1.5em;
}
}

View File

@ -1,9 +1,6 @@
//@import (once) "./variables.less";
@import (once) "../include/infopages.less";
@import (once) "../include/colortheme-all.less";
.infopages_main();
.infopages_topbar();
@ -139,10 +136,7 @@ h4 {
.bs-callout:hover {
//color: white;
transform: scale(1.05);
cursor: pointer;
}
.bs-callout:hover .fa {
//width: 100%;
cursor: pointer;
}
.bs-callout:hover.cp-callout-more {
transform: none !important;

View File

@ -12,15 +12,12 @@
display: flex;
align-items: center;
justify-content: space-between;
width: 100%;
.login {
}
}
}
.cp-container {
#data {
background: #4591C4;
background: #4591C4;
padding-top: 3em;
padding-bottom: 7em;
padding-left: 30px;
@ -61,7 +58,7 @@
border-radius: 0;
&:hover {
transform: scale(1.05);
}
}
}
}
}