styles_css_file.go 4.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251
  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. }
  135. .grid-products .card-product .card-title {
  136. font-size: 1rem;
  137. }
  138. .grid-products .card-product .card-text {
  139. font-size: 0.7rem;
  140. }
  141. .grid-products .card-product .card-footer {
  142. padding-top: 0;
  143. border-radius: 0;
  144. border-top: 0;
  145. background: transparent;
  146. padding-bottom: 1.25rem;
  147. }
  148. .grid-products .card-product .price {
  149. font-weight: bold;
  150. }
  151. .grid-products .card-product .btn {
  152. float: right;
  153. }
  154. .product-full .price {
  155. display: inline-block;
  156. vertical-align: middle;
  157. }
  158. .product-full .btn-buy {
  159. display: inline-block;
  160. vertical-align: middle;
  161. }
  162. .product-full .product-description {
  163. font-size: 1rem;
  164. }
  165. .product-full .product-description p:last-child {
  166. margin-bottom: 0px;
  167. }
  168. .table-specifications .tcol-1,
  169. .table-specifications .tcol-2 {
  170. width: 100%;
  171. display: block;
  172. }
  173. .table-specifications .tcol-1 {
  174. font-weight: bold;
  175. border-bottom: none;
  176. padding-bottom: 0px;
  177. }
  178. .table-specifications .tcol-2 {
  179. border-top: none;
  180. padding-top: 0px;
  181. }
  182. @media (min-width: 768px) {
  183. .table-specifications .tcol-1,
  184. .table-specifications .tcol-2 {
  185. width: 50%;
  186. display: table-cell;
  187. font-weight: normal;
  188. border: 1px solid #dee2e6;
  189. padding: .75rem;
  190. }
  191. }
  192. @media (min-width: 992px) {
  193. .table-specifications .tcol-1,
  194. .table-specifications .tcol-2 {
  195. width: 50%;
  196. display: table-cell;
  197. font-weight: normal;
  198. border: 1px solid #dee2e6;
  199. padding: .75rem;
  200. }
  201. }
  202. @media (min-width: 1200px) {
  203. .table-specifications .tcol-1,
  204. .table-specifications .tcol-2 {
  205. width: 50%;
  206. display: table-cell;
  207. font-weight: normal;
  208. border: 1px solid #dee2e6;
  209. padding: .75rem;
  210. }
  211. }`)