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