styles_css_file.go 4.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252
  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. /*@media (min-width: 1200px) { .container { max-width: 100%; } }
  33. @media (min-width: 992px) { .container { max-width: 100%; } }
  34. @media (min-width: 768px) { .container { max-width: 100%; } }*/
  35. /* Base font and colors */
  36. body {
  37. color: #444;
  38. font-size: 1.0rem;
  39. font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  40. }
  41. .h1,
  42. .h2,
  43. .h3,
  44. .h4,
  45. .h5,
  46. .h6,
  47. h1,
  48. h2,
  49. h3,
  50. h4,
  51. h5,
  52. h6,
  53. footer {
  54. color: #000;
  55. }
  56. .navbar-brand {
  57. font-weight: bold;
  58. }
  59. h1 {
  60. font-size: 250%;
  61. }
  62. /* Nice sticky footer */
  63. html,
  64. body {
  65. height: 100%;
  66. }
  67. #wrap {
  68. min-height: 100%;
  69. }
  70. #main {
  71. overflow: auto;
  72. padding-bottom: 4.5rem;
  73. }
  74. footer {
  75. position: relative;
  76. margin-top: -4.5rem;
  77. height: 4.5rem;
  78. clear: both;
  79. }
  80. /* Sticky top nav bar, body class "fixed-top-bar" */
  81. .fixed-top-bar .navbar {
  82. position: fixed;
  83. top: 0;
  84. right: 0;
  85. left: 0;
  86. z-index: 1030;
  87. }
  88. .fixed-top-bar #main {
  89. padding-top: 3.5rem;
  90. }
  91. /* Fave background */
  92. .bg-fave {
  93. background: #205081 url(/assets/sys/bg.png) repeat 0 0;
  94. }
  95. /* Fix content marging */
  96. .page-content p:last-child {
  97. margin-bottom: 0px;
  98. }
  99. /* Borders */
  100. .navbar {
  101. border-bottom: 1px solid rgba(0, 0, 0, .125);
  102. }
  103. footer {
  104. border-top: 1px solid rgba(0, 0, 0, .125);
  105. }
  106. /* Shop */
  107. .grid-products {
  108. display: flex;
  109. flex-flow: row wrap;
  110. padding-top: 1px;
  111. padding-left: 1px;
  112. margin-right: -4px;
  113. }
  114. .grid-products .card-product {
  115. width: 100%;
  116. border-radius: 0;
  117. margin-top: -1px;
  118. margin-left: -1px;
  119. }
  120. @media (min-width: 768px) { .grid-products .card-product { width: 50%; } }
  121. @media (min-width: 992px) { .grid-products .card-product { width: 33.33333%; } }
  122. @media (min-width: 1200px) { .grid-products .card-product { width: 33.33333%; } }
  123. .grid-products .card-product:hover {
  124. background-color: #f2f4f6;
  125. }
  126. .grid-products .card-product .card-img-link {
  127. display: block;
  128. padding: 1.25rem;
  129. padding-bottom: 0;
  130. }
  131. .grid-products .card-product .card-img-link img {
  132. display: block;
  133. border-radius: 0;
  134. opacity: 0.8;
  135. }
  136. .grid-products .card-product .card-title {
  137. font-size: 1rem;
  138. }
  139. .grid-products .card-product .card-text {
  140. font-size: 0.7rem;
  141. }
  142. .grid-products .card-product .card-footer {
  143. padding-top: 0;
  144. border-radius: 0;
  145. border-top: 0;
  146. background: transparent;
  147. padding-bottom: 1.25rem;
  148. }
  149. .grid-products .card-product .price {
  150. font-weight: bold;
  151. }
  152. .grid-products .card-product .btn {
  153. float: right;
  154. }
  155. .product-full .price {
  156. display: inline-block;
  157. vertical-align: middle;
  158. }
  159. .product-full .btn-buy {
  160. display: inline-block;
  161. vertical-align: middle;
  162. }
  163. .product-full .product-description {
  164. font-size: 1rem;
  165. }
  166. .product-full .product-description p:last-child {
  167. margin-bottom: 0px;
  168. }
  169. .table-specifications .tcol-1,
  170. .table-specifications .tcol-2 {
  171. width: 100%;
  172. display: block;
  173. }
  174. .table-specifications .tcol-1 {
  175. font-weight: bold;
  176. border-bottom: none;
  177. padding-bottom: 0px;
  178. }
  179. .table-specifications .tcol-2 {
  180. border-top: none;
  181. padding-top: 0px;
  182. }
  183. @media (min-width: 768px) {
  184. .table-specifications .tcol-1,
  185. .table-specifications .tcol-2 {
  186. width: 50%;
  187. display: table-cell;
  188. font-weight: normal;
  189. border: 1px solid #dee2e6;
  190. padding: .75rem;
  191. }
  192. }
  193. @media (min-width: 992px) {
  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: 1200px) {
  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. }`)