- Počet cestujích: {{ personCount}}
-
-
- Vybraná místa:
-
-
- {{ seat }}
-

+
+
+
+
Objednávka
+
+ Typ cesty:
+
+ {{ travelType.text }}
+
+
+
+ Cílová destinace
+
+ {{ travelDestinaction.text }}
+
+
+
+ Počet cestujích: {{ personCount}}
+
+
+ Třída:
+
+ {{ classType.text }}
+
+
+
+
+
+ Vybraná místa:
+
+
+ {{ seat }}
+

+
+
-
+
+
+
@@ -122,6 +150,11 @@ export default {
name: 'App',
data: function() {
return {
+ travelDestinaction: "",
+ travelDestinactions: [
+ { value: "P", text: "Paris" },
+ { value: "L", text: "London" },
+ ],
travelType: "",
@@ -210,10 +243,9 @@ export default {
background-color: lightgreen;
}
.col{
- width: 70%;
+ width: 90%;
background-color: rgb(255, 255, 255);
- margin: 0 left;
- opacity: 0.8;
+ opacity: 0.99;
}
.hlavni{
@@ -225,6 +257,82 @@ export default {
.hlava{
width: 100%;
margin: 0 auto;
+ text-align: center;
+ }
+ #app{
+ background-image: url("./assets/leta.jpeg");
+ }
+ .obr{
+ width: 30px;
+ }
+ h1,h2,h3,p {
+ font-family: Arial, Helvetica, sans-serif;
+ }
+
+ .druha{
+ width: 30%;
+ float: left;
+
+ }
+ .col1{
+ width: 100%;
+ }
+ .hlavni2{
+ width: 80%;
+ margin: 0 auto;
+
+ }
+ @media (max-width: 1200px) {
+ .wrapper {
+ display: grid;
+ grid-template-columns: 1fr 1fr;
+
+ }
+
+ .seat {
+ display: inline-block;
+ width: 50px;
+ height: 50px;
+ text-align: center;
+ border: 1px solid gray;
+ margin: 2px;
+ background-color: rgb(62, 156, 53);
+
+ }
+
+ .seat div:hover {
+ cursor: pointer;
+ background-color: lightgray;
+ }
+
+ .seat .disabled {
+ color: rgb(255, 255, 255);
+ }
+
+ .seat .disabled:hover {
+ cursor: default;
+ background-color: transparent;
+ }
+
+ .seat .chosen {
+ background-color: lightgreen;
+ }
+ .col{
+ width: 80%;
+ background-color: rgb(255, 255, 255);
+ opacity: 0.99;
+ }
+
+ .hlavni{
+ width: 90%;
+ margin: 0 auto;
+ background-color: white;
+
+ }
+ .hlava{
+ width: 90%;
+ margin: 0 auto;
+ text-align: center;
}
#app{
background-image: url("./assets/leta.jpeg");
@@ -247,10 +355,176 @@ export default {
.hlavni2{
width: 80%;
margin: 0 auto;
+ }
+
+}
+
+ @media (max-width: 800px) {
+ .wrapper {
+ display: grid;
+ grid-template-columns: 1fr;
+
+ }
+
+ .seat {
+ display: inline-block;
+ width: 50px;
+ height: 50px;
+ text-align: center;
+ border: 1px solid gray;
+ margin: 2px;
+ background-color: rgb(62, 156, 53);
+
+ }
+
+ .seat div:hover {
+ cursor: pointer;
+ background-color: lightgray;
+ }
+
+ .seat .disabled {
+ color: rgb(255, 255, 255);
}
- @media (max-width: 500px) {
+ .seat .disabled:hover {
+ cursor: default;
+ background-color: transparent;
+ }
+
+ .seat .chosen {
+ background-color: lightgreen;
+ }
+ .col{
+ width: 80%;
+ background-color: rgb(255, 255, 255);
+ opacity: 0.99;
+ min-height: 100px;
+
+ }
+
+ .hlavni{
+ width: 90%;
+ margin: 0 auto;
+ background-color: white;
+
+ }
+ .hlava{
+ width: 100%;
+ margin: 0 auto;
+ text-align: center;
+ }
+ #app{
+ background-image: url("./assets/leta.jpeg");
+ }
+ .obr{
+ width: 30px;
+ }
+ h1,h2,h3,p {
+ font-family: Arial, Helvetica, sans-serif;
+ }
+
+ .druha{
+ width: 30%;
+ float: left;
+
+ }
+ .col1{
+ width: 80%;
+ background-color: rgb(255, 255, 255);
+ opacity: 0.99;
+
+ }
+ .hlavni2{
+ width: 50%;
+ margin: 0 auto;
+ background-color: white;
+
+ }
+
+
+}
+@media (max-width: 500px) {
+ .wrapper {
+ display: grid;
+ grid-template-columns: 1fr;
+
+ }
+
+ .seat {
+ display: inline-block;
+ width: 50px;
+ height: 50px;
+ text-align: center;
+ border: 1px solid gray;
+ margin: 2px;
+ background-color: rgb(62, 156, 53);
+
+ }
+
+ .seat div:hover {
+ cursor: pointer;
+ background-color: lightgray;
+ }
+
+ .seat .disabled {
+ color: rgb(255, 255, 255);
+ }
+
+ .seat .disabled:hover {
+ cursor: default;
+ background-color: transparent;
+ }
+
+ .seat .chosen {
+ background-color: lightgreen;
+ }
+ .col{
+ width: 100%;
+ background-color: rgb(255, 255, 255);
+ opacity: 0.99;
+ min-height: 100px;
+
+ }
+
+ .hlavni{
+ width: 90%;
+ margin: 0 auto;
+ background-color: white;
+
+ }
+ .hlava{
+ width: 100%;
+ margin: 0 auto;
+ text-align: center;
+ }
+ #app{
+ background-image: url("./assets/leta.jpeg");
+ }
+ .obr{
+ width: 30px;
+ }
+ h1,h2,h3,p {
+ font-family: Arial, Helvetica, sans-serif;
+ }
+
+ .druha{
+ width: 30%;
+ float: left;
+
+ }
+ .col1{
+ width: 100%;
+ background-color: rgb(255, 255, 255);
+ opacity: 0.99;
+
+ }
+ .hlavni2{
+ width: 50%;
+ margin: 0 auto;
+ background-color: white;
+
+ }
}