Consolodate less files

This commit is contained in:
Robert Marshall 2019-04-28 08:39:12 +01:00
parent fd398246f8
commit 32eef104fb
2 changed files with 338 additions and 351 deletions

View file

@ -16,12 +16,19 @@ html{
height: 100%; height: 100%;
} }
html,body,h1,h2, button { html,
body,
h1,
h2,
button {
padding: 0; padding: 0;
margin: 0; margin: 0;
} }
html, button, input, textarea{ html,
button,
input,
textarea {
font-family: 'Roboto', sans-serif; font-family: 'Roboto', sans-serif;
} }
@ -42,8 +49,11 @@ nav {
margin-right: 5px; margin-right: 5px;
} }
dt, dd{ dt,
&:hover, &.active{ dd {
&:hover,
&.active {
background: @control; background: @control;
cursor: pointer; cursor: pointer;
cursor: hand; cursor: hand;
@ -67,6 +77,7 @@ nav {
h2 { h2 {
margin-bottom: 10px; margin-bottom: 10px;
a { a {
color: inherit; color: inherit;
} }
@ -87,7 +98,8 @@ hr{
table { table {
border-collapse: collapse; border-collapse: collapse;
input[type=text], textarea{ input[type=text],
textarea {
width: 100%; width: 100%;
} }
} }
@ -96,7 +108,8 @@ th{
text-align: left; text-align: left;
} }
td, th{ td,
th {
padding: 0 10px 5px 0; padding: 0 10px 5px 0;
vertical-align: top; vertical-align: top;
} }
@ -107,7 +120,9 @@ button{
} }
form { form {
button, input[type=submit]{
button,
input[type=submit] {
border: none; border: none;
background: @control; background: @control;
@ -201,7 +216,8 @@ p{
} }
#buttons-left,#buttons-right{ #buttons-left,
#buttons-right {
position: absolute; position: absolute;
padding: 10px; padding: 10px;
bottom: 0px; bottom: 0px;
@ -325,7 +341,8 @@ p{
overflow: hidden; overflow: hidden;
} }
.go, .expand{ .go,
.expand {
display: none; display: none;
float: right; float: right;
} }
@ -367,25 +384,33 @@ p{
float: left; float: left;
} }
&.col-lg-1, &.col-md-1, &.col-sm-1{ &.col-lg-1,
&.col-md-1,
&.col-sm-1 {
>.col { >.col {
width: 100%; width: 100%;
} }
} }
&.col-lg-2, &.col-md-2, &.col-sm-2{ &.col-lg-2,
&.col-md-2,
&.col-sm-2 {
>.col { >.col {
width: 50%; width: 50%;
} }
} }
&.col-lg-3, &.col-md-3, &.col-sm-3{ &.col-lg-3,
&.col-md-3,
&.col-sm-3 {
>.col { >.col {
width: 33.3333%; width: 33.3333%;
} }
} }
&.col-lg-4, &.col-md-4, &.col-sm-4{ &.col-lg-4,
&.col-md-4,
&.col-sm-4 {
>.col { >.col {
width: 25%; width: 25%;
} }
@ -404,7 +429,8 @@ table.alternatingRows{
} }
} }
td, th{ td,
th {
padding: 3px; padding: 3px;
&.number { &.number {
@ -424,3 +450,6 @@ div.percentageBar{
transition: all 500ms ease-in-out; transition: all 500ms ease-in-out;
} }
} }
@import "blog.less";
@import "gallery.less";

View file

@ -1,42 +0,0 @@
@import "colours.less";
@gaugeHeight:200px;
@gaugeWidth:200px;
.currentTemp{
background:@Red-100;
height:@gaugeHeight;
width:@gaugeWidth;
position:relative;
//border:1px solid @Grey-900;
display:inline-block;
.background{
position: absolute;
bottom: 0;
left:0;
right:0;
top: 20%;
transition: all 500ms ease-in-out;
}
.reading{
position: relative;
height:@gaugeHeight;
width:@gaugeWidth;
vertical-align:middle;
display:table-cell;
text-align:center;
font-size: 250%;
}
.shadow{
box-shadow: inset 0px 0px 5px 1px rgba(0,0,0,0.75);
border:2px solid @Grey-900;
position: absolute;
bottom: 0;
left:0;
right:0;
top: 0;
}
}