styles_css_file.go 7.4 KB

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