Files
Lentolaskuri/app/styles/main.less

216 lines
2.9 KiB
Plaintext

@import 'bootstrap/less/bootstrap';
@import 'bootstrap/less/responsive';
@import 'font-awesome/less/font-awesome';
@import (less) 'select2/select2.css';
html {
height: 100%;
background-color: #f5f5f5;
}
body {
background-image: url('../images/bg.png');
background-position: center center;
background-attachment: fixed;
background-color: #f9f9f9;
}
.calculator {
background-color: rgba(255, 255, 255, 0.9);
padding: 20px 20px;
.inactive {
opacity: 0.5;
}
.nav-tabs {
a {
font-size: 21px;
}
}
}
.donationtarget {
display: block;
margin-bottom: 15px;
border: 1px solid #999;
overflow: auto;
a {
display: block;
padding: 15px 10px;
img {
float: right;
width: auto;
height: 90px;
margin: 0px 15px 0px 0px;
}
span {
display: block;
padding: 35px 0px;
}
}
:hover {
background: #efefef;
}
}
.no-js .js-enabled-content {
opacity: 0.2;
}
.textcontent {
.nav {
margin-bottom: 0px !important;
}
.tab-content {
padding: 20px 13px !important;
background: #fff;
}
}
.select2-container {
display: block;
.select2-choice {
display: none;
}
}
.select2-result {
abbr {
display: block;
width: 3em;
float: left;
color: #1657A1;
}
}
.select2-drop {
border-top: 1px solid #aaa;
.select2-search input {
margin-top: 4px;
}
&.select2-drop-above {
border-bottom: 1px solid #aaa;
}
}
.leg {
text-align: left;
position: relative;
border-bottom: 1px solid #e5e5e5;
padding: 10px 40px 10px 0;
margin: 0 0;
& > div {
& > div {
padding-left: 24px;
}
}
i.icon-sort, .delete {
position: absolute;
top: 50%;
margin-top: -7px;
float: right;
}
i.icon-sort {
left: 0;
}
.delete {
right: 0;
margin-top: -15px;
}
h2 {
font-size: 18px;
margin: 0;
line-height: 22px;
}
abbr {
float: right;
font-weight: normal;
}
i {
margin-top: -7px;
}
}
.route {
position: relative;
.leg {
position: relative;
left: 0 !important;
&:last-child {
border-bottom: 0;
}
}
}
.roundtripWidget {
.btn-group {
width: 100%;
}
button {
width: 50%;
}
}
.resultsWidget {
position: relative;
}
.legInputWidget {
.btn {
text-align: left;
span {
padding-left: 12px;
}
}
}
.totalWidget {
margin: 20px 0 0 0;
padding: 20px 0;
border-top: 1px solid #e5e5e5;
font-size: 28px;
font-weight: bold;
line-height: 28px;
text-align: center;
.distance {
display: block;
}
.raw {
font-size: 20px;
line-height: 20px;
}
.co2 {
font-size: 48px;
line-height: 48px;
}
}
input[type=number] {
text-align: right;
}
.map {
height: 300px;
margin-bottom: 20px;
}
footer {
text-align: center;
margin-top: 50px;
padding: 20px 0 40px;
background: #f5f5f5;
border-top: 1px solid #e5e5e5;
a:hover {
text-decoration: none;
}
i {
font-size: 87px;
}
}