styles_css_file.go 4.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269
  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. /* Fave background */
  89. .bg-fave {
  90. background: #205081 url(/assets/sys/bg.png) repeat 0 0;
  91. }
  92. /* Fix content marging */
  93. .page-content p:last-child {
  94. margin-bottom: 0px;
  95. }
  96. /* Borders */
  97. .navbar {
  98. border-bottom: 1px solid rgba(0, 0, 0, .125);
  99. }
  100. footer {
  101. border-top: 1px solid rgba(0, 0, 0, .125);
  102. }
  103. /* Shop */
  104. .grid-products {
  105. display: flex;
  106. flex-flow: row wrap;
  107. padding-top: 1px;
  108. padding-left: 1px;
  109. margin-right: -4px;
  110. }
  111. .grid-products .card-product {
  112. width: 100%;
  113. border-radius: 0;
  114. margin-top: -1px;
  115. margin-left: -1px;
  116. }
  117. @media (min-width: 768px) { .grid-products .card-product { width: 50%; } }
  118. @media (min-width: 992px) { .grid-products .card-product { width: 33.33333%; } }
  119. @media (min-width: 1200px) { .grid-products .card-product { width: 33.33333%; } }
  120. .grid-products .card-product:hover {
  121. background-color: #f2f4f6;
  122. }
  123. .grid-products .card-product .card-img-link {
  124. display: block;
  125. padding: 1.25rem;
  126. padding-bottom: 0;
  127. }
  128. .grid-products .card-product .card-img-link img {
  129. display: block;
  130. border-radius: 0;
  131. }
  132. .grid-products .card-product .card-title {
  133. font-size: 1rem;
  134. }
  135. .grid-products .card-product .card-text {
  136. font-size: 0.7rem;
  137. }
  138. .grid-products .card-product .card-footer {
  139. padding-top: 0;
  140. border-radius: 0;
  141. border-top: 0;
  142. background: transparent;
  143. padding-bottom: 1.25rem;
  144. }
  145. .grid-products .card-product .price {
  146. font-weight: bold;
  147. }
  148. .grid-products .card-product .btn {
  149. float: right;
  150. }
  151. .product-full .price {
  152. display: inline-block;
  153. vertical-align: middle;
  154. }
  155. .product-full .btn-buy {
  156. display: inline-block;
  157. vertical-align: middle;
  158. }
  159. .product-full .product-description {
  160. font-size: 1rem;
  161. }
  162. .product-full .product-description p:last-child {
  163. margin-bottom: 0px;
  164. }
  165. .product-full .thumbnails {
  166. padding: 2px;
  167. }
  168. .product-full .thumbnails .thumbnail {
  169. width: 16.666666667%;
  170. padding: 2px;
  171. }
  172. .product-full .thumbnails .thumbnail-hidden {
  173. display: none;
  174. }
  175. .product-full .thumbnails .thumbnail img {
  176. width: 100%;
  177. border-radius: 4px;
  178. }
  179. .table-specifications .tcol-1,
  180. .table-specifications .tcol-2 {
  181. width: 100%;
  182. display: block;
  183. }
  184. .table-specifications .tcol-1 {
  185. font-weight: bold;
  186. border-bottom: none;
  187. padding-bottom: 0px;
  188. }
  189. .table-specifications .tcol-2 {
  190. border-top: none;
  191. padding-top: 0px;
  192. }
  193. @media (min-width: 768px) {
  194. .table-specifications .tcol-1,
  195. .table-specifications .tcol-2 {
  196. width: 50%;
  197. display: table-cell;
  198. font-weight: normal;
  199. border: 1px solid #dee2e6;
  200. padding: .75rem;
  201. }
  202. }
  203. @media (min-width: 992px) {
  204. .table-specifications .tcol-1,
  205. .table-specifications .tcol-2 {
  206. width: 50%;
  207. display: table-cell;
  208. font-weight: normal;
  209. border: 1px solid #dee2e6;
  210. padding: .75rem;
  211. }
  212. }
  213. @media (min-width: 1200px) {
  214. .table-specifications .tcol-1,
  215. .table-specifications .tcol-2 {
  216. width: 50%;
  217. display: table-cell;
  218. font-weight: normal;
  219. border: 1px solid #dee2e6;
  220. padding: .75rem;
  221. }
  222. }
  223. .fixed-top-bar .navbar.navbar-cats {
  224. position: static;
  225. }`)