Basis of rails-driven app for local business
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
This repo is archived. You can view files and clone it, but cannot push or open issues/pull-requests.

333 lines
3.8 KiB

  1. html {
  2. overflow-y: scroll;
  3. }
  4. body {
  5. background-color: #fcfcf8;
  6. font-family: Verdana, sans-serif;
  7. padding: 0.75em;
  8. line-height: 1.333;
  9. }
  10. h1, h2, h3, h4, h5, h6 {
  11. font-weight: bold;
  12. margin-bottom: 0.5em;
  13. }
  14. h1 {
  15. font-size: 175%;
  16. }
  17. h2 {
  18. font-size: 150%;
  19. }
  20. h3 {
  21. font-size: 125%;
  22. }
  23. h4 {
  24. font-size: 113%;
  25. }
  26. h5, h6 {
  27. font-size: 100%;
  28. }
  29. a {
  30. color: #338;
  31. text-decoration: none;
  32. }
  33. a:hover {
  34. color: #33f;
  35. text-decoration: underline;
  36. }
  37. p {
  38. font-size: 75%;
  39. margin-bottom: 0.375em;
  40. }
  41. strong {
  42. font-weight: bold;
  43. }
  44. em {
  45. font-style: italic;
  46. }
  47. p.nav {
  48. margin-top: 1.5em;
  49. font-size: 56%;
  50. text-transform: uppercase;
  51. }
  52. .clear {
  53. clear: both;
  54. height: 0;
  55. overflow: hidden;
  56. }
  57. #container {
  58. width: 50em;
  59. margin: 0.5em auto;
  60. background-color: #fff;
  61. padding: 0.75em 1.5em;
  62. border: outset 1px;
  63. }
  64. #flash_notice, #flash_error {
  65. font-size: 75%;
  66. padding: 0.375em 1.5em;
  67. margin: 0.5em 0;
  68. }
  69. #flash_notice {
  70. background-color: #cfc;
  71. border: solid 1px #6c6;
  72. }
  73. #flash_error {
  74. background-color: #fcc;
  75. border: solid 1px #c66;
  76. }
  77. .fieldWithErrors {
  78. display: inline;
  79. }
  80. #errorExplanation {
  81. width: 25em;
  82. border: 2px solid #cf0000;
  83. padding: 0;
  84. padding-bottom: 0.75em;
  85. margin-bottom: 1.25em;
  86. background-color: #f0f0f0;
  87. }
  88. #errorExplanation h2 {
  89. text-align: left;
  90. font-weight: bold;
  91. padding: 0.375em 0.375em 0.375em 1.0em;
  92. font-size: 75%;
  93. margin: 0;
  94. background-color: #c00;
  95. color: #fff;
  96. }
  97. #errorExplanation p {
  98. color: #333;
  99. margin-bottom: 0;
  100. padding: 0.5em;
  101. }
  102. #errorExplanation ul {
  103. margin: 0.125em 1.5em;
  104. }
  105. #errorExplanation ul li {
  106. font-size: 75%;
  107. list-style: disc;
  108. }
  109. .left {
  110. text-align: left;
  111. }
  112. .right {
  113. text-align: right;
  114. }
  115. .center {
  116. text-align: center;
  117. }
  118. .light {
  119. background-color: #fcfcf8;
  120. }
  121. .dark {
  122. background-color: #f4f2ee;
  123. }
  124. .listing {
  125. width: 100%;
  126. }
  127. .listing th,
  128. .listing td {
  129. font-size: 69%;
  130. }
  131. .listing tr:hover {
  132. background-color: #b4cfe7;
  133. cursor: pointer;
  134. }
  135. .listing th,
  136. .listing td {
  137. border: 1px solid #fff;
  138. padding: 0.125em 0.375em;
  139. }
  140. .listing th {
  141. background-color: #ebe9e5;
  142. }
  143. .listing .number {
  144. width: 2em;
  145. text-align: right;
  146. }
  147. fieldset .label {
  148. font-size: 56%;
  149. font-weight: bold;
  150. text-transform: uppercase;
  151. padding-left: 0.25em;
  152. }
  153. fieldset .date {
  154. width: 8em;
  155. }
  156. fieldset {
  157. width: 18em;
  158. border: solid 1px #aaa;
  159. padding: 0 0.5em 0.875em 0.5em;
  160. margin-bottom: 1.25em;
  161. }
  162. fieldset.loads {
  163. width: 28.5em;
  164. }
  165. legend {
  166. color: #000;
  167. border: solid 1px #ccc;
  168. font-size: 81%;
  169. font-weight: bold;
  170. padding: 0 0.5em;
  171. }
  172. table input {
  173. border: none;
  174. }
  175. .border {
  176. border: 1px solid #ccc;
  177. }
  178. .listing .name {
  179. width: 6em;
  180. }
  181. .listing .street {
  182. width: 12em;
  183. }
  184. .listing .city {
  185. width: 7em;
  186. }
  187. .listing .state {
  188. width: 1.5em;
  189. }
  190. .listing .zip {
  191. width: 3em;
  192. }
  193. .listing .date {
  194. width: 5em;
  195. }
  196. .listing .payrate {
  197. width: 2.5em;
  198. }
  199. fieldset input {
  200. border: none;
  201. }
  202. fieldset label {
  203. font-size: 56%;
  204. font-weight: bold;
  205. text-transform: uppercase;
  206. margin-top: 0.25em;
  207. }
  208. fieldset table {
  209. margin-top: 0.5em;
  210. width: 100%;
  211. }
  212. table {
  213. table-layout: fixed;
  214. }
  215. #employee_data {
  216. width: 19em;
  217. float: left;
  218. }
  219. #employee_data col {
  220. width: 10%;
  221. }
  222. #employee_firstname,
  223. #employee_lastname {
  224. width: 10em;
  225. }
  226. #employee_street {
  227. width: 21em;
  228. }
  229. #employee_city {
  230. width: 12em;
  231. }
  232. #employee_state,
  233. #employee_dl_state {
  234. width: 1.5em;
  235. }
  236. #employee_zip {
  237. width: 5.5em;
  238. }
  239. #employee_dob,
  240. #employee_hired,
  241. #employee_dl_expire {
  242. width: 6em;
  243. text-align: center;
  244. }
  245. #employee_phone,
  246. #employee_ssn {
  247. width: 8em;
  248. }
  249. #employee_payrate {
  250. width: 3.5em;
  251. text-align: right;
  252. }
  253. #employee_tax_status,
  254. #employee_dependents {
  255. width: 1.5em;
  256. text-align: center;
  257. }
  258. #employee_dl_number {
  259. width: 10em;
  260. }
  261. #employee_truck,
  262. #employee_trailer {
  263. width: 5.5em;
  264. }
  265. #driver_loads {
  266. float: right;
  267. }