Nevar pievienot vairāk kā 25 tēmas Tēmai ir jāsākas ar burtu vai ciparu, tā var saturēt domu zīmes ('-') un var būt līdz 35 simboliem gara.
 
 
 
 
 

152 rindas
2.7 KiB

  1. /*
  2. * This is a manifest file that'll be compiled into application.css, which will include all the files
  3. * listed below.
  4. *
  5. * Any CSS and SCSS file within this directory, lib/assets/stylesheets, vendor/assets/stylesheets,
  6. * or any plugin's vendor/assets/stylesheets directory can be referenced here using a relative path.
  7. *
  8. * You're free to add application-wide styles to this file and they'll appear at the bottom of the
  9. * compiled file so the styles you ad=d here take precedence over styles defined in any other CSS/SCSS
  10. * files in this directory. Styles in this file should be added after the last require_* statement.
  11. * It is generally better to create a new file per style scope.
  12. *
  13. *= require_tree .
  14. *= require_self
  15. */
  16. body, body > p, body > ol, body > ul, body > td {margin: 8px !important}
  17. #banner {
  18. position: relative;
  19. min-height: 40px;
  20. background: #9c9;
  21. padding: 10px;
  22. border-bottom: 2px solid;
  23. font: small-caps 40px/40px "Times New Roman", serif;
  24. color: #282;
  25. text-align: center;
  26. img {
  27. position: absolute;
  28. top: 0;
  29. left: 0;
  30. width: 192px;
  31. }
  32. }
  33. #notice {
  34. color: #000 !important;
  35. border: 2px solid red;
  36. padding: 1em;
  37. margin-bottom: 2em;
  38. background-color: #f0f0f0;
  39. font: bold smaller sans-serif;
  40. }
  41. #notice:empty {
  42. display: none
  43. }
  44. #columns {
  45. background: #141;
  46. display: flex;
  47. #main {
  48. padding: 1em;
  49. background: white;
  50. flex: 1;
  51. }
  52. #side {
  53. padding: 1em 2em;
  54. background: #141;
  55. form, div {
  56. display: inline;
  57. }
  58. input {
  59. font-size: small;
  60. }
  61. #cart {
  62. font-size: smaller;
  63. color: white;
  64. table {
  65. border-top: 1px dotted #595;
  66. border-bottom: 1px dotted #595;
  67. margin-bottom: 10px;
  68. }
  69. }
  70. ul {
  71. padding: 0;
  72. li {
  73. list-style: none;
  74. a {
  75. color: #bfb;
  76. font-size: small;
  77. }
  78. }
  79. }
  80. }
  81. }
  82. @media all and (max-width: 800px) {
  83. #columns {
  84. flex-direction: column-reverse;
  85. }
  86. }
  87. @media all and (max-width: 500px) {
  88. #banner {
  89. height: 1em;
  90. }
  91. #banner .title {
  92. display: none;
  93. }
  94. }
  95. .depot_form {
  96. fieldset {
  97. background: #efe;
  98. legend {
  99. color: #dfd;
  100. background: #141;
  101. font-family: sans-serif;
  102. padding: 0.2em 1em;
  103. }
  104. div {
  105. margin-bottom: 0.3em;
  106. }
  107. }
  108. form {
  109. label {
  110. width: 5em;
  111. float: left;
  112. text-align: right;
  113. padding-top: 0.2em;
  114. margin-right: 0.1em;
  115. display: block;
  116. }
  117. select, textarea, input {
  118. margin-left: 0.5em;
  119. }
  120. .submit {
  121. margin-left: 4em;
  122. }
  123. br {
  124. display: none
  125. }
  126. }
  127. }