| 1 |
/* |
| 2 |
Copyright 2019 The Go Cloud Development Kit Authors |
| 3 |
|
| 4 |
Licensed under the Apache License, Version 2.0 (the "License"); |
| 5 |
you may not use this file except in compliance with the License. |
| 6 |
You may obtain a copy of the License at |
| 7 |
|
| 8 |
https://www.apache.org/licenses/LICENSE-2.0 |
| 9 |
|
| 10 |
Unless required by applicable law or agreed to in writing, software |
| 11 |
distributed under the License is distributed on an "AS IS" BASIS, |
| 12 |
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| 13 |
See the License for the specific language governing permissions and |
| 14 |
limitations under the License. |
| 15 |
*/ |
| 16 |
|
| 17 |
html { |
| 18 |
font: 20px/1.2 'Roboto', sans-serif; |
| 19 |
margin: 0; |
| 20 |
padding: 0; |
| 21 |
} |
| 22 |
body { |
| 23 |
background: #555759; |
| 24 |
color: #000; |
| 25 |
margin: 0; |
| 26 |
padding: 0; |
| 27 |
} |
| 28 |
#PageHeader { |
| 29 |
background: #00add8; |
| 30 |
margin: 0; |
| 31 |
padding: 0; |
| 32 |
} |
| 33 |
@media (max-width: 1024px) { |
| 34 |
/* Don't use a backdrop effect on smaller screen. */ |
| 35 |
body { |
| 36 |
background: white; |
| 37 |
} |
| 38 |
} |
| 39 |
#PageHeader { |
| 40 |
padding: 1rem; |
| 41 |
} |
| 42 |
#PageTitle { |
| 43 |
color: white; |
| 44 |
font-size: 2.5rem; |
| 45 |
margin: 0 2rem; |
| 46 |
padding: 0; |
| 47 |
} |
| 48 |
.PageTitle-link { |
| 49 |
text-decoration: none; |
| 50 |
} |
| 51 |
#PageContent { |
| 52 |
background: white; |
| 53 |
border-radius: 3px; |
| 54 |
box-sizing: border-box; |
| 55 |
margin: 1rem auto; |
| 56 |
min-height: 10rem; |
| 57 |
max-width: 50rem; |
| 58 |
padding: 0.5rem 2rem 1rem; |
| 59 |
} |
| 60 |
@media (max-width: 1024px) { |
| 61 |
/* Don't use a backdrop effect on smaller screen. */ |
| 62 |
#PageContent { |
| 63 |
background: none; |
| 64 |
border-radius: 0; |
| 65 |
margin: 0 auto 1rem; |
| 66 |
} |
| 67 |
} |
| 68 |
.FrontPageActions { |
| 69 |
margin-top: 2rem; |
| 70 |
text-align: center; |
| 71 |
vertical-align: middle; |
| 72 |
} |
| 73 |
.FrontPageActions-button { |
| 74 |
font: 1.5rem 'Roboto', sans-serif; |
| 75 |
padding: 0.3rem; |
| 76 |
width: 15rem; |
| 77 |
} |
| 78 |
input { |
| 79 |
font: 20px/1.2 'Roboto', sans-serif; |
| 80 |
} |
| 81 |
#OrderForm { |
| 82 |
width: 50%; |
| 83 |
} |
| 84 |
.OrderForm-label { |
| 85 |
display: block; |
| 86 |
font-weight: bold; |
| 87 |
margin: 0 0 0.2rem; |
| 88 |
} |
| 89 |
.OrderForm-widget { |
| 90 |
margin: 0 0 0.5rem; |
| 91 |
width: 100%; |
| 92 |
} |
| 93 |
.OrderForm-input { |
| 94 |
margin: 0; |
| 95 |
width: 100%; |
| 96 |
} |
| 97 |
.OrderForm-actions { |
| 98 |
margin: 1rem 0; |
| 99 |
text-align: right; |
| 100 |
} |
| 101 |
.OrderForm-button { |
| 102 |
padding: 0.25rem 1rem; |
| 103 |
} |
| 104 |
#OrderList { |
| 105 |
border-collapse: collapse; |
| 106 |
} |
| 107 |
.OrderList-heading { |
| 108 |
padding: 0.25rem 0.5rem; |
| 109 |
} |
| 110 |
.OrderList-cell { |
| 111 |
border-bottom: 1px solid black; |
| 112 |
border-top: 1px solid black; |
| 113 |
padding: 0.25rem 0.5rem; |
| 114 |
} |