update seatchart css

This commit is contained in:
Olga 2019-12-13 19:01:01 +01:00
parent 5f4d411096
commit afd066fe00
3 changed files with 50 additions and 33 deletions

View File

@ -1,6 +1,8 @@
/*
div.seatCharts-container { div.seatCharts-container {
/*min-width: 700px;*/ min-width: 700px;
} }
*/
div.seatCharts-cell { div.seatCharts-cell {
height: 16px; height: 16px;
@ -29,11 +31,12 @@ div.seatCharts-seat:focus {
.seatCharts-seat:focus { .seatCharts-seat:focus {
outline: none; outline: none;
} }
*/
div.seatCharts-space { div.seatCharts-space {
background-color: white; background-color: white;
} }
*/
div.seatCharts-row { div.seatCharts-row {
height: 50px; height: 50px;
} }
@ -56,13 +59,19 @@ div.seatCharts-seat.available {
div.seatCharts-seat.unavailable { div.seatCharts-seat.unavailable {
background-color: red; background-color: red;
cursor: not-allowed;
} }
ul.seatCharts-legendList { ul.seatCharts-legendList {
list-style: none; list-style: none;
cursor: default;
} }
li.seatCharts-legendItem { li.seatCharts-legendItem {
margin-top: 10px; margin-top: 10px;
line-height: 2; line-height: 2;
} }
li.seatCharts-legendItem > .seatCharts-cell {
cursor: default;
}

View File

@ -1,15 +1,19 @@
body { body {
font-family: 'Lato', sans-serif; background-color: #f8fafc;
font-family: 'Nunito', sans-serif;
font-weight: 600;
font-style: #b71a4c; font-style: #b71a4c;
} }
a { a {
color: #b71a4c; color: #b71a4c;
} }
.front-indicator { .front-indicator {
width: 90%; width: 90%;
margin: 5px 32px 5px 32px; margin: 5px 32px 5px 32px;
background-color: #f6f6f6; background-color: #ececec;
color: #adadad; color: #a1a1a1;
text-align: center; text-align: center;
padding: 15px; padding: 15px;
border-radius: 5px; border-radius: 5px;
@ -19,60 +23,64 @@ a {
margin: 0 auto; margin: 0 auto;
text-align: left; text-align: left;
} }
.seat-stat-wrapper { .seat-stat-wrapper {
display: inline; display: inline;
} }
#legend { #legend {
width: 49%; width: 49%;
margin: 0 auto; margin: 0 auto;
float: left; float: left;
font-family: monospace;
font-size: 16px; font-size: 16px;
} }
.booking-details { .booking-details {
display: inline-block; display: inline-block;
text-align: right; text-align: right;
font-size: 12px; font-size: 12px;
width: 49%; width: 49%;
margin: 0 auto; margin: 0 auto;
} }
@media screen and (max-width: 550px) { @media screen and (max-width: 550px) {
#legend { #legend {
width: 100%; width: 100%;
} }
.booking-details { .booking-details {
width: 100%; width: 100%;
text-align: left; text-align: left;
} }
} }
.booking-details h2 { .booking-details h2 {
margin: 25px 0 20px 0; margin: 25px 0 20px 0;
font-size: 35px; font-size: 40px;
color: #333333; color: #333333;
font-family: monospace; letter-spacing: 0.1em;
letter-spacing: 0.15em;
font-weight: bold; font-weight: bold;
} }
.booking-details h3 { .booking-details h3 {
margin: 5px 5px 0 0; margin: 5px 5px 0 0;
font-size: 18px; font-size: 22px;
color: #333333; color: #333333;
font-family: monospace;
font-display: bold; font-display: bold;
} }
div.seatCharts-cell { div.seatCharts-cell {
color: #182C4E; color: #182C4E;
height: 90px; height: 90px;
width: 90px; width: 90px;
line-height: 90px; line-height: 90px;
} }
div.seatCharts-seat { div.seatCharts-seat {
color: #FFFFFF; color: #FFFFFF;
cursor: pointer; cursor: pointer;
} }
div.seatCharts-row { div.seatCharts-row {
height: 100px; height: 100px;
width: 90%; width: 90%;
@ -80,21 +88,25 @@ div.seatCharts-row {
/*align-items: center;*/ /*align-items: center;*/
justify-content: center; justify-content: center;
} }
div.seatCharts-seat.available {
background-color: #a8b9bd;
div.seatCharts-seat.available {
background-color: #649a24;
} }
div.seatCharts-seat.available.student-class { div.seatCharts-seat.available.student-class {
background-color: #a8b9bd; background-color: #a8b9bd;
} }
div.seatCharts-seat.focused { div.seatCharts-seat.focused {
background-color: #758184; background-color: #1F5684;
} }
div.seatCharts-seat.selected { div.seatCharts-seat.selected {
background-color: rgb(216, 196, 230); background-color: #1b4d76;
} }
div.seatCharts-seat.unavailable { div.seatCharts-seat.unavailable {
background-color: #caaa41; background-color: #6F7881;
} }
div.seatCharts-container { div.seatCharts-container {
@ -102,8 +114,8 @@ div.seatCharts-container {
padding: 20px 0; padding: 20px 0;
margin: 0 auto; margin: 0 auto;
text-align: center; text-align: center;
} }
div.seatCharts-legend { div.seatCharts-legend {
display: inline-block; display: inline-block;
} }
@ -115,6 +127,7 @@ div.seatCharts-legend li {
ul.seatCharts-legendList { ul.seatCharts-legendList {
padding-left: 0px; padding-left: 0px;
} }
span.seatCharts-legendDescription { span.seatCharts-legendDescription {
margin-left: 5px; margin-left: 5px;
line-height: 100px; line-height: 100px;
@ -123,30 +136,24 @@ span.seatCharts-legendDescription {
.checkout-button { .checkout-button {
margin: 10px 0; margin: 10px 0;
font-size: 14px; font-size: 14px;
background-color: #5d7cd3; color: #fff;
background-color: #3490dc;
border-color: #3490dc;
border-radius: 3px; border-radius: 3px;
border: 0; border: 0;
padding: 15px 40px; padding: 15px 40px;
display: inline-block; display: inline-block;
text-align: center; text-align: center;
box-shadow:0px 4px 0px #1e3572;
font-family: monospace;
} }
.checkout-button:hover { .checkout-button:hover {
box-shadow: 0 0 rgb(103, 88, 184); box-shadow: 0 0 rgb(103, 88, 184);
background-color: #3654c9; background-color: #227dc7;
} border-color: #2176bd;
.checkout-button:active {
top: 4px;
box-shadow: 0 0 #b85a5b;
background-color: #3654ff;
} }
#selected-seats { #selected-seats {
list-style-type: none; list-style-type: none;
font-family: 'Gill Sans', 'Gill Sans MT', Calibri;
font-size: 14px; font-size: 14px;
margin-left: 0; margin-left: 0;
padding-left: 0; padding-left: 0;

View File

@ -9,6 +9,7 @@
<script type="text/javascript" src="jquery.seat-charts.min.js"></script> <script type="text/javascript" src="jquery.seat-charts.min.js"></script>
<link rel="stylesheet" type="text/css" href="seatchart.css"> <link rel="stylesheet" type="text/css" href="seatchart.css">
<script type="text/javascript" src="seatchart.js"></script> <script type="text/javascript" src="seatchart.js"></script>
<link href="https://fonts.googleapis.com/css?family=Nunito:200,600" rel="stylesheet">
<title>@CHECK</title> <title>@CHECK</title>
</head> </head>