styles_css_file.go 4.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290
  1. package template
  2. var VarStylesCssFile = []byte(`/* Fix bootstrap */
  3. @media (max-width: 991.98px) {
  4. .navbar-expand-lg>.container,
  5. .navbar-expand-lg>.container-fluid {
  6. padding-right: 15px;
  7. padding-left: 15px;
  8. }
  9. }
  10. @media (max-width: 575px) {
  11. .navbar-expand-lg>.container,
  12. .navbar-expand-lg>.container-fluid {
  13. padding-right: 0px;
  14. padding-left: 0px;
  15. }
  16. }
  17. @media (min-width: 992px) {
  18. .navbar-expand-lg .navbar-nav {
  19. margin-right: -.5rem;
  20. }
  21. }
  22. /* Set base bootstrap width */
  23. @media (min-width: 1200px) {
  24. .container {
  25. max-width: 1000px;
  26. /*background: red;*/
  27. }
  28. .navbar-expand-lg .navbar-nav {
  29. margin-right: -.5rem;
  30. }
  31. }
  32. /* Base font and colors */
  33. body {
  34. color: #444;
  35. font-size: 1.0rem;
  36. font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  37. }
  38. .h1,
  39. .h2,
  40. .h3,
  41. .h4,
  42. .h5,
  43. .h6,
  44. h1,
  45. h2,
  46. h3,
  47. h4,
  48. h5,
  49. h6,
  50. footer {
  51. color: #000;
  52. }
  53. .navbar-brand {
  54. font-weight: bold;
  55. }
  56. h1 {
  57. font-size: 250%;
  58. }
  59. /* Nice sticky footer */
  60. html,
  61. body {
  62. height: 100%;
  63. }
  64. #wrap {
  65. min-height: 100%;
  66. }
  67. #main {
  68. overflow: auto;
  69. padding-bottom: 4.5rem;
  70. }
  71. footer {
  72. position: relative;
  73. margin-top: -4.5rem;
  74. height: 4.5rem;
  75. clear: both;
  76. }
  77. /* Sticky top nav bar, body class "fixed-top-bar" */
  78. .fixed-top-bar .navbar {
  79. position: fixed;
  80. top: 0;
  81. right: 0;
  82. left: 0;
  83. z-index: 1030;
  84. }
  85. .fixed-top-bar #main {
  86. padding-top: 3.5rem;
  87. }
  88. /* Basket button */
  89. #basket-nav-btn .badge {
  90. vertical-align: top;
  91. margin-top: 3px;
  92. }
  93. /* Fave background */
  94. .bg-fave {
  95. background: #205081 url(/assets/sys/bg.png) repeat 0 0;
  96. }
  97. /* Fix content marging */
  98. .page-content p:last-child {
  99. margin-bottom: 0px;
  100. }
  101. /* Borders */
  102. .navbar {
  103. border-bottom: 1px solid rgba(0, 0, 0, .125);
  104. }
  105. footer {
  106. border-top: 1px solid rgba(0, 0, 0, .125);
  107. }
  108. /* Shop */
  109. .grid-products {
  110. display: flex;
  111. flex-flow: row wrap;
  112. padding-top: 1px;
  113. padding-left: 1px;
  114. margin-right: -4px;
  115. }
  116. .grid-products .card-product {
  117. width: 100%;
  118. border-radius: 0;
  119. margin-top: -1px;
  120. margin-left: -1px;
  121. }
  122. @media (min-width: 768px) {
  123. .grid-products .card-product {
  124. width: 50%;
  125. }
  126. }
  127. @media (min-width: 992px) {
  128. .grid-products .card-product {
  129. width: 33.33333%;
  130. }
  131. }
  132. @media (min-width: 1200px) {
  133. .grid-products .card-product {
  134. width: 33.33333%;
  135. }
  136. }
  137. .grid-products .card-product:hover {
  138. background-color: #f2f4f6;
  139. }
  140. .grid-products .card-product .card-img-link {
  141. display: block;
  142. padding: 1.25rem;
  143. padding-bottom: 0;
  144. }
  145. .grid-products .card-product .card-img-link img {
  146. display: block;
  147. border-radius: 0;
  148. }
  149. .grid-products .card-product .card-title {
  150. font-size: 1rem;
  151. }
  152. .grid-products .card-product .card-text {
  153. font-size: 0.7rem;
  154. }
  155. .grid-products .card-product .card-footer {
  156. padding-top: 0;
  157. border-radius: 0;
  158. border-top: 0;
  159. background: transparent;
  160. padding-bottom: 1.25rem;
  161. }
  162. .grid-products .card-product .price {
  163. font-weight: bold;
  164. }
  165. .grid-products .card-product .btn {
  166. float: right;
  167. }
  168. .product-full .price {
  169. display: inline-block;
  170. vertical-align: middle;
  171. }
  172. .product-full .btn-buy {
  173. display: inline-block;
  174. vertical-align: middle;
  175. }
  176. .product-full .product-description {
  177. font-size: 1rem;
  178. }
  179. .product-full .product-description p:last-child {
  180. margin-bottom: 0px;
  181. }
  182. .product-full .thumbnails {
  183. padding: 2px;
  184. }
  185. .product-full .thumbnails .thumbnail {
  186. width: 16.666666667%;
  187. padding: 2px;
  188. }
  189. .product-full .thumbnails .thumbnail-hidden {
  190. display: none;
  191. }
  192. .product-full .thumbnails .thumbnail img {
  193. width: 100%;
  194. border-radius: 4px;
  195. }
  196. .table-specifications .tcol-1,
  197. .table-specifications .tcol-2 {
  198. width: 100%;
  199. display: block;
  200. }
  201. .table-specifications .tcol-1 {
  202. font-weight: bold;
  203. border-bottom: none;
  204. padding-bottom: 0px;
  205. }
  206. .table-specifications .tcol-2 {
  207. border-top: none;
  208. padding-top: 0px;
  209. }
  210. @media (min-width: 768px) {
  211. .table-specifications .tcol-1,
  212. .table-specifications .tcol-2 {
  213. width: 50%;
  214. display: table-cell;
  215. font-weight: normal;
  216. border: 1px solid #dee2e6;
  217. padding: .75rem;
  218. }
  219. }
  220. @media (min-width: 992px) {
  221. .table-specifications .tcol-1,
  222. .table-specifications .tcol-2 {
  223. width: 50%;
  224. display: table-cell;
  225. font-weight: normal;
  226. border: 1px solid #dee2e6;
  227. padding: .75rem;
  228. }
  229. }
  230. @media (min-width: 1200px) {
  231. .table-specifications .tcol-1,
  232. .table-specifications .tcol-2 {
  233. width: 50%;
  234. display: table-cell;
  235. font-weight: normal;
  236. border: 1px solid #dee2e6;
  237. padding: .75rem;
  238. }
  239. }
  240. .fixed-top-bar .navbar.navbar-cats {
  241. position: static;
  242. }`)