styles_css_file.go 7.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457
  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. .grid-products .card-product .card-footer {
  168. position: relative;
  169. }
  170. .grid-products .card-product .card-footer .badge {
  171. position: absolute;
  172. margin-top: -4px;
  173. }
  174. .product-full .price {
  175. display: inline-block;
  176. vertical-align: middle;
  177. }
  178. .product-full .btn-buy {
  179. display: inline-block;
  180. vertical-align: middle;
  181. }
  182. .product-full .product-description {
  183. font-size: 1rem;
  184. }
  185. .product-full .product-description p:last-child {
  186. margin-bottom: 0px;
  187. }
  188. .product-full .thumbnails {
  189. padding: 2px;
  190. }
  191. .product-full .thumbnails .thumbnail {
  192. width: 16.666666667%;
  193. padding: 2px;
  194. }
  195. .product-full .thumbnails .thumbnail-hidden {
  196. display: none;
  197. }
  198. .product-full .thumbnails .thumbnail img {
  199. width: 100%;
  200. border-radius: 4px;
  201. }
  202. .table-specifications .tcol-1,
  203. .table-specifications .tcol-2 {
  204. width: 100%;
  205. display: block;
  206. }
  207. .table-specifications .tcol-1 {
  208. font-weight: bold;
  209. border-bottom: none;
  210. padding-bottom: 0px;
  211. }
  212. .table-specifications .tcol-2 {
  213. border-top: none;
  214. padding-top: 0px;
  215. }
  216. @media (min-width: 768px) {
  217. .table-specifications .tcol-1,
  218. .table-specifications .tcol-2 {
  219. width: 50%;
  220. display: table-cell;
  221. font-weight: normal;
  222. border: 1px solid #dee2e6;
  223. padding: .75rem;
  224. }
  225. }
  226. @media (min-width: 992px) {
  227. .table-specifications .tcol-1,
  228. .table-specifications .tcol-2 {
  229. width: 50%;
  230. display: table-cell;
  231. font-weight: normal;
  232. border: 1px solid #dee2e6;
  233. padding: .75rem;
  234. }
  235. }
  236. @media (min-width: 1200px) {
  237. .table-specifications .tcol-1,
  238. .table-specifications .tcol-2 {
  239. width: 50%;
  240. display: table-cell;
  241. font-weight: normal;
  242. border: 1px solid #dee2e6;
  243. padding: .75rem;
  244. }
  245. }
  246. .fixed-top-bar .navbar.navbar-cats {
  247. position: static;
  248. }
  249. /* Shop basket */
  250. #sys-modal-shop-basket .data .table tbody td {
  251. vertical-align: middle;
  252. }
  253. #sys-modal-shop-basket .data .table .thc-1 {
  254. width: 75px;
  255. }
  256. #sys-modal-shop-basket .data .table .thc-4 {
  257. width: 180px;
  258. text-align: center;
  259. }
  260. #sys-modal-shop-basket .data .table .thc-4 .btn {
  261. width: 40px;
  262. }
  263. #sys-modal-shop-basket .data .table .thc-4 .btn-minus {
  264. float: left;
  265. }
  266. #sys-modal-shop-basket .data .table .thc-4 .btn-plus {
  267. float: right;
  268. }
  269. #sys-modal-shop-basket .data .table .thc-4 .form-control {
  270. width: auto;
  271. display: inline-block;
  272. text-align: center;
  273. width: 60px;
  274. }
  275. #sys-modal-shop-basket .data .table .thc-5 {
  276. width: 110px;
  277. }
  278. #sys-modal-shop-basket .data .table tbody .thc-6 {
  279. width: 40px;
  280. font-size: 1.5rem;
  281. font-weight: bold;
  282. text-align: right;
  283. vertical-align: middle;
  284. }
  285. #sys-modal-shop-basket .data .table tbody .thc-6 a:hover {
  286. text-decoration: none;
  287. }
  288. #sys-modal-shop-basket .data .total {
  289. text-align: right;
  290. font-size: 1.5rem;
  291. }
  292. #sys-modal-shop-basket .data .total span {
  293. display: inline-block;
  294. }
  295. #sys-modal-shop-basket .data .total span.value {
  296. margin-left: 1rem;
  297. }
  298. #sys-modal-shop-basket .order-form .form-group label {
  299. font-weight: 700;
  300. margin-top: .45rem;
  301. margin-bottom: .45rem;
  302. }
  303. #sys-modal-shop-basket .order-form .form-group .input-error-msg small {
  304. color: #721c24;
  305. }
  306. @media (max-width: 768px) {
  307. #sys-modal-shop-basket .data .table td {
  308. display: block;
  309. }
  310. #sys-modal-shop-basket .data .table .thc-3 {
  311. display: none;
  312. }
  313. #sys-modal-shop-basket .data .table thead {
  314. display: none;
  315. }
  316. #sys-modal-shop-basket .data .table .thc-1 {
  317. width: auto;
  318. }
  319. #sys-modal-shop-basket .data .table .thc-1 img {
  320. width: 100%;
  321. height: auto;
  322. }
  323. #sys-modal-shop-basket .data .table .thc-4,
  324. #sys-modal-shop-basket .data .table .thc-5,
  325. #sys-modal-shop-basket .data .table tbody .thc-6 {
  326. width: auto;
  327. }
  328. #sys-modal-shop-basket .data .table tbody .thc-6 {
  329. text-align: left;
  330. }
  331. #sys-modal-shop-basket .modal-footer {
  332. display: block;
  333. text-align: right;
  334. }
  335. #sys-modal-shop-basket .modal-footer>:not(:last-child) {
  336. margin-right: 0px;
  337. display: block;
  338. }
  339. #sys-modal-shop-basket .modal-footer>:not(:first-child) {
  340. margin-left: 0px;
  341. margin-top: 1rem;
  342. display: block;
  343. }
  344. }
  345. @media (min-width: 768px) {
  346. #sys-modal-shop-basket .modal-dialog {
  347. max-width: 660px
  348. }
  349. #sys-modal-shop-basket .data .table .thc-3 {
  350. display: none;
  351. }
  352. }
  353. @media (min-width: 992px) {
  354. #sys-modal-shop-basket .modal-dialog {
  355. max-width: 900px
  356. }
  357. #sys-modal-shop-basket .data .table .thc-3 {
  358. display: table-cell;
  359. }
  360. li.currency-changer {
  361. padding-right: 8px;
  362. }
  363. }
  364. @media (min-width: 1200px) {
  365. #sys-modal-shop-basket .modal-dialog {
  366. max-width: 940px
  367. }
  368. #sys-modal-shop-basket .data .table .thc-3 {
  369. display: table-cell;
  370. }
  371. li.currency-changer {
  372. padding-right: 8px;
  373. }
  374. }`)