Fix trailing whitespace and empty selectors in less
This commit is contained in:
parent
62c5bbd9b6
commit
9af941741d
@ -29,7 +29,5 @@
|
|||||||
// These rules are really good rules to have around IMO (Caleb) but they're not being honored.
|
// These rules are really good rules to have around IMO (Caleb) but they're not being honored.
|
||||||
"duplicateProperty": false,
|
"duplicateProperty": false,
|
||||||
"trailingSemicolon": false,
|
"trailingSemicolon": false,
|
||||||
"emptyRule": false,
|
"maxCharPerLine": false
|
||||||
"maxCharPerLine": false,
|
|
||||||
"trailingWhitespace": false
|
|
||||||
}
|
}
|
||||||
|
|||||||
@ -152,16 +152,13 @@
|
|||||||
|
|
||||||
input:not(.form-control), textarea {
|
input:not(.form-control), textarea {
|
||||||
background-color: @alertify-input-bg;
|
background-color: @alertify-input-bg;
|
||||||
color: @alertify-input-fg;
|
color: @alertify-input-fg;
|
||||||
border: 0px;
|
border: 0px;
|
||||||
|
|
||||||
margin-bottom: 15px;
|
margin-bottom: 15px;
|
||||||
width: 100%;
|
width: 100%;
|
||||||
font-size: 100%;
|
font-size: 100%;
|
||||||
padding: @alertify_padding-base;
|
padding: @alertify_padding-base;
|
||||||
&:focus {
|
|
||||||
//outline-offset: -2px;
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
input[type="checkbox"] {
|
input[type="checkbox"] {
|
||||||
@ -244,7 +241,7 @@
|
|||||||
|
|
||||||
&.bottom, &:not(.top) {
|
&.bottom, &:not(.top) {
|
||||||
bottom: 16px;
|
bottom: 16px;
|
||||||
// Bottom left placement. Default. Use for transitions.
|
/* // Bottom left placement. Default. Use for transitions.
|
||||||
&.left, &:not(.right) {
|
&.left, &:not(.right) {
|
||||||
> * {
|
> * {
|
||||||
|
|
||||||
@ -255,7 +252,7 @@
|
|||||||
> * {
|
> * {
|
||||||
|
|
||||||
}
|
}
|
||||||
}
|
}*/
|
||||||
}
|
}
|
||||||
|
|
||||||
// All left positions.
|
// All left positions.
|
||||||
@ -293,7 +290,7 @@
|
|||||||
|
|
||||||
&.top {
|
&.top {
|
||||||
top: 0;
|
top: 0;
|
||||||
// Top left placement, use for transitions.
|
/* // Top left placement, use for transitions.
|
||||||
&.left, &:not(.right) {
|
&.left, &:not(.right) {
|
||||||
> * {
|
> * {
|
||||||
|
|
||||||
@ -304,7 +301,7 @@
|
|||||||
> * {
|
> * {
|
||||||
|
|
||||||
}
|
}
|
||||||
}
|
}*/
|
||||||
}
|
}
|
||||||
|
|
||||||
> * {
|
> * {
|
||||||
|
|||||||
@ -103,7 +103,7 @@
|
|||||||
@colortheme_sidebar-button-red-bg: #e54e4e;
|
@colortheme_sidebar-button-red-bg: #e54e4e;
|
||||||
@colortheme_sidebar-button-alt-bg: #fff;
|
@colortheme_sidebar-button-alt-bg: #fff;
|
||||||
|
|
||||||
@cryptpad_color_blue: #4591C4;
|
@cryptpad_color_blue: #4591C4;
|
||||||
@cryptpad_color_grey: #999999;
|
@cryptpad_color_grey: #999999;
|
||||||
@cryptpad_header_col: #1E1F1F;
|
@cryptpad_header_col: #1E1F1F;
|
||||||
@cryptpad_text_col: #3F4141;
|
@cryptpad_text_col: #3F4141;
|
||||||
|
|||||||
@ -89,7 +89,6 @@
|
|||||||
color: #fff;
|
color: #fff;
|
||||||
padding-top: 30%;
|
padding-top: 30%;
|
||||||
margin-bottom: 0;
|
margin-bottom: 0;
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
@ -152,8 +151,8 @@
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
// navigation top bar
|
// navigation top bar
|
||||||
.navbar {
|
.navbar {
|
||||||
background: #fff;
|
background: #fff;
|
||||||
.navbar-brand {
|
.navbar-brand {
|
||||||
display: block;
|
display: block;
|
||||||
|
|||||||
@ -112,4 +112,4 @@
|
|||||||
}
|
}
|
||||||
.cp-margin-bot {
|
.cp-margin-bot {
|
||||||
margin-bottom: 1.5em;
|
margin-bottom: 1.5em;
|
||||||
}
|
}
|
||||||
|
|||||||
@ -1,9 +1,6 @@
|
|||||||
//@import (once) "./variables.less";
|
|
||||||
|
|
||||||
@import (once) "../include/infopages.less";
|
@import (once) "../include/infopages.less";
|
||||||
@import (once) "../include/colortheme-all.less";
|
@import (once) "../include/colortheme-all.less";
|
||||||
|
|
||||||
|
|
||||||
.infopages_main();
|
.infopages_main();
|
||||||
.infopages_topbar();
|
.infopages_topbar();
|
||||||
|
|
||||||
@ -139,10 +136,7 @@ h4 {
|
|||||||
.bs-callout:hover {
|
.bs-callout:hover {
|
||||||
//color: white;
|
//color: white;
|
||||||
transform: scale(1.05);
|
transform: scale(1.05);
|
||||||
cursor: pointer;
|
cursor: pointer;
|
||||||
}
|
|
||||||
.bs-callout:hover .fa {
|
|
||||||
//width: 100%;
|
|
||||||
}
|
}
|
||||||
.bs-callout:hover.cp-callout-more {
|
.bs-callout:hover.cp-callout-more {
|
||||||
transform: none !important;
|
transform: none !important;
|
||||||
|
|||||||
@ -12,15 +12,12 @@
|
|||||||
display: flex;
|
display: flex;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
justify-content: space-between;
|
justify-content: space-between;
|
||||||
|
|
||||||
width: 100%;
|
width: 100%;
|
||||||
.login {
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
.cp-container {
|
.cp-container {
|
||||||
#data {
|
#data {
|
||||||
background: #4591C4;
|
background: #4591C4;
|
||||||
padding-top: 3em;
|
padding-top: 3em;
|
||||||
padding-bottom: 7em;
|
padding-bottom: 7em;
|
||||||
padding-left: 30px;
|
padding-left: 30px;
|
||||||
@ -61,7 +58,7 @@
|
|||||||
border-radius: 0;
|
border-radius: 0;
|
||||||
&:hover {
|
&:hover {
|
||||||
transform: scale(1.05);
|
transform: scale(1.05);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user