styles_css_file.go 7.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448
  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. }
  27. .navbar-expand-lg .navbar-nav {
  28. margin-right: -.5rem;
  29. }
  30. }
  31. /* Base font and colors */
  32. body {
  33. color: #444;
  34. font-size: 1.0rem;
  35. font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  36. }
  37. .h1,
  38. .h2,
  39. .h3,
  40. .h4,
  41. .h5,
  42. .h6,
  43. h1,
  44. h2,
  45. h3,
  46. h4,
  47. h5,
  48. h6,
  49. footer {
  50. color: #000;
  51. }
  52. .navbar-brand {
  53. font-weight: bold;
  54. }
  55. h1 {
  56. font-size: 250%;
  57. }
  58. /* Nice sticky footer */
  59. html,
  60. body {
  61. height: 100%;
  62. }
  63. #wrap {
  64. min-height: 100%;
  65. }
  66. #main {
  67. overflow: auto;
  68. padding-bottom: 4.5rem;
  69. }
  70. footer {
  71. position: relative;
  72. margin-top: -4.5rem;
  73. height: 4.5rem;
  74. clear: both;
  75. }
  76. /* Sticky top nav bar, body class "fixed-top-bar" */
  77. .fixed-top-bar .navbar {
  78. position: fixed;
  79. top: 0;
  80. right: 0;
  81. left: 0;
  82. z-index: 1030;
  83. }
  84. .fixed-top-bar #main {
  85. padding-top: 3.5rem;
  86. }
  87. /* Basket button */
  88. #basket-nav-btn .badge {
  89. vertical-align: top;
  90. margin-top: 3px;
  91. }
  92. /* Fave background */
  93. .bg-fave {
  94. background: #205081 url(/assets/sys/bg.png) repeat 0 0;
  95. }
  96. /* Fix content marging */
  97. .page-content p:last-child {
  98. margin-bottom: 0px;
  99. }
  100. /* Borders */
  101. .navbar {
  102. border-bottom: 1px solid rgba(0, 0, 0, .125);
  103. }
  104. footer {
  105. border-top: 1px solid rgba(0, 0, 0, .125);
  106. }
  107. /* Shop */
  108. .grid-products {
  109. display: flex;
  110. flex-flow: row wrap;
  111. padding-top: 1px;
  112. padding-left: 1px;
  113. margin-right: -4px;
  114. }
  115. .grid-products .card-product {
  116. width: 100%;
  117. border-radius: 0;
  118. margin-top: -1px;
  119. margin-left: -1px;
  120. }
  121. @media (min-width: 768px) {
  122. .grid-products .card-product {
  123. width: 50%;
  124. }
  125. }
  126. @media (min-width: 992px) {
  127. .grid-products .card-product {
  128. width: 33.33333%;
  129. }
  130. }
  131. @media (min-width: 1200px) {
  132. .grid-products .card-product {
  133. width: 33.33333%;
  134. }
  135. }
  136. .grid-products .card-product:hover {
  137. background-color: #f2f4f6;
  138. }
  139. .grid-products .card-product .card-img-link {
  140. display: block;
  141. padding: 1.25rem;
  142. padding-bottom: 0;
  143. }
  144. .grid-products .card-product .card-img-link img {
  145. display: block;
  146. border-radius: 0;
  147. }
  148. .grid-products .card-product .card-title {
  149. font-size: 1rem;
  150. }
  151. .grid-products .card-product .card-text {
  152. font-size: 0.7rem;
  153. }
  154. .grid-products .card-product .card-footer {
  155. padding-top: 0;
  156. border-radius: 0;
  157. border-top: 0;
  158. background: transparent;
  159. padding-bottom: 1.25rem;
  160. }
  161. .grid-products .card-product .price {
  162. font-weight: bold;
  163. }
  164. .grid-products .card-product .btn {
  165. float: right;
  166. }
  167. .product-full .price {
  168. display: inline-block;
  169. vertical-align: middle;
  170. }
  171. .product-full .btn-buy {
  172. display: inline-block;
  173. vertical-align: middle;
  174. }
  175. .product-full .product-description {
  176. font-size: 1rem;
  177. }
  178. .product-full .product-description p:last-child {
  179. margin-bottom: 0px;
  180. }
  181. .product-full .thumbnails {
  182. padding: 2px;
  183. }
  184. .product-full .thumbnails .thumbnail {
  185. width: 16.666666667%;
  186. padding: 2px;
  187. }
  188. .product-full .thumbnails .thumbnail-hidden {
  189. display: none;
  190. }
  191. .product-full .thumbnails .thumbnail img {
  192. width: 100%;
  193. border-radius: 4px;
  194. }
  195. .table-specifications .tcol-1,
  196. .table-specifications .tcol-2 {
  197. width: 100%;
  198. display: block;
  199. }
  200. .table-specifications .tcol-1 {
  201. font-weight: bold;
  202. border-bottom: none;
  203. padding-bottom: 0px;
  204. }
  205. .table-specifications .tcol-2 {
  206. border-top: none;
  207. padding-top: 0px;
  208. }
  209. @media (min-width: 768px) {
  210. .table-specifications .tcol-1,
  211. .table-specifications .tcol-2 {
  212. width: 50%;
  213. display: table-cell;
  214. font-weight: normal;
  215. border: 1px solid #dee2e6;
  216. padding: .75rem;
  217. }
  218. }
  219. @media (min-width: 992px) {
  220. .table-specifications .tcol-1,
  221. .table-specifications .tcol-2 {
  222. width: 50%;
  223. display: table-cell;
  224. font-weight: normal;
  225. border: 1px solid #dee2e6;
  226. padding: .75rem;
  227. }
  228. }
  229. @media (min-width: 1200px) {
  230. .table-specifications .tcol-1,
  231. .table-specifications .tcol-2 {
  232. width: 50%;
  233. display: table-cell;
  234. font-weight: normal;
  235. border: 1px solid #dee2e6;
  236. padding: .75rem;
  237. }
  238. }
  239. .fixed-top-bar .navbar.navbar-cats {
  240. position: static;
  241. }
  242. /* Shop basket */
  243. #sys-modal-shop-basket .data .table tbody td {
  244. vertical-align: middle;
  245. }
  246. #sys-modal-shop-basket .data .table .thc-1 {
  247. width: 75px;
  248. }
  249. #sys-modal-shop-basket .data .table .thc-4 {
  250. width: 180px;
  251. text-align: center;
  252. }
  253. #sys-modal-shop-basket .data .table .thc-4 .btn {
  254. width: 40px;
  255. }
  256. #sys-modal-shop-basket .data .table .thc-4 .btn-minus {
  257. float: left;
  258. }
  259. #sys-modal-shop-basket .data .table .thc-4 .btn-plus {
  260. float: right;
  261. }
  262. #sys-modal-shop-basket .data .table .thc-4 .form-control {
  263. width: auto;
  264. display: inline-block;
  265. text-align: center;
  266. width: 60px;
  267. }
  268. #sys-modal-shop-basket .data .table .thc-5 {
  269. width: 110px;
  270. }
  271. #sys-modal-shop-basket .data .table tbody .thc-6 {
  272. width: 40px;
  273. font-size: 1.5rem;
  274. font-weight: bold;
  275. text-align: right;
  276. vertical-align: middle;
  277. }
  278. #sys-modal-shop-basket .data .table tbody .thc-6 a:hover {
  279. text-decoration: none;
  280. }
  281. #sys-modal-shop-basket .data .total {
  282. text-align: right;
  283. font-size: 1.5rem;
  284. }
  285. #sys-modal-shop-basket .data .total span {
  286. display: inline-block;
  287. }
  288. #sys-modal-shop-basket .data .total span.value {
  289. margin-left: 1rem;
  290. }
  291. #sys-modal-shop-basket .order-form .form-group label {
  292. font-weight: 700;
  293. margin-top: .45rem;
  294. margin-bottom: .45rem;
  295. }
  296. #sys-modal-shop-basket .order-form .form-group .input-error-msg small {
  297. color: #721c24;
  298. }
  299. @media (max-width: 768px) {
  300. #sys-modal-shop-basket .data .table td {
  301. display: block;
  302. }
  303. #sys-modal-shop-basket .data .table .thc-3 {
  304. display: none;
  305. }
  306. #sys-modal-shop-basket .data .table thead {
  307. display: none;
  308. }
  309. #sys-modal-shop-basket .data .table .thc-1 {
  310. width: auto;
  311. }
  312. #sys-modal-shop-basket .data .table .thc-1 img {
  313. width: 100%;
  314. height: auto;
  315. }
  316. #sys-modal-shop-basket .data .table .thc-4,
  317. #sys-modal-shop-basket .data .table .thc-5,
  318. #sys-modal-shop-basket .data .table tbody .thc-6 {
  319. width: auto;
  320. }
  321. #sys-modal-shop-basket .data .table tbody .thc-6 {
  322. text-align: left;
  323. }
  324. #sys-modal-shop-basket .modal-footer {
  325. display: block;
  326. text-align: right;
  327. }
  328. #sys-modal-shop-basket .modal-footer>:not(:last-child) {
  329. margin-right: 0px;
  330. display: block;
  331. }
  332. #sys-modal-shop-basket .modal-footer>:not(:first-child) {
  333. margin-left: 0px;
  334. margin-top: 1rem;
  335. display: block;
  336. }
  337. }
  338. @media (min-width: 768px) {
  339. #sys-modal-shop-basket .modal-dialog {
  340. max-width: 660px
  341. }
  342. #sys-modal-shop-basket .data .table .thc-3 {
  343. display: none;
  344. }
  345. }
  346. @media (min-width: 992px) {
  347. #sys-modal-shop-basket .modal-dialog {
  348. max-width: 900px
  349. }
  350. #sys-modal-shop-basket .data .table .thc-3 {
  351. display: table-cell;
  352. }
  353. li.currency-changer {
  354. padding-right: 8px;
  355. }
  356. }
  357. @media (min-width: 1200px) {
  358. #sys-modal-shop-basket .modal-dialog {
  359. max-width: 940px
  360. }
  361. #sys-modal-shop-basket .data .table .thc-3 {
  362. display: table-cell;
  363. }
  364. li.currency-changer {
  365. padding-right: 8px;
  366. }
  367. }`)