Advertisement
Guest User

Untitled

a guest
Feb 8th, 2016
63
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 5.93 KB | None | 0 0
  1. //minor template mods
  2. #folderNav ul, #categoryNav ul {
  3. padding:0 0 20px;
  4. }
  5. #folderNav ul li, #categoryNav ul li {
  6. margin:0;
  7. }
  8. .header-hidden #header h1 {
  9. font-size: 2.5em;
  10. }
  11. .footer-nav {
  12. position:absolute;
  13. width:100%;
  14. bottom:0;
  15. left:0;
  16. }
  17. #footer{display:none;}
  18. // full width elements
  19. .outer-wrapper, #header, .main-image-wrapper {width:100%;}
  20.  
  21. // variables
  22. @main-colour: #000;
  23. @light-colour: #FFF;
  24. @grey: #4d4d4d;
  25. @lightgrey: #d3d3d3;
  26. @main-font-family: "proxima-nova", "Open Sans", Helvetica, Arial, sans serif;
  27. @main-font-size: 0.9em;
  28. @main-font-weight:500;
  29. @title-font-size: 1.3em;
  30. //// end variables
  31. html {
  32. height:101%;
  33. }
  34. html, body {
  35. overflow-x:hidden;
  36. }
  37. // basic grid structure
  38. .main-content-wrapper {
  39. overflow:hidden;
  40. #sidebar.left_col {
  41. width:200px;
  42. padding-right:50px;
  43. position:relative;
  44. overflow:hidden;
  45. float:left;
  46. padding-bottom:100px;
  47. @media (max-width:760px){
  48. height:240px;
  49. }
  50. &.fixed {
  51. position: fixed;
  52. top: 210px;
  53. }
  54. @media (max-width:650px){
  55. display:none;
  56. }
  57. #controls {
  58. width:200px;
  59. float:left;
  60. margin:0;
  61. clear:none;
  62. @media (max-width:740px){
  63. height:240px;
  64. padding-right:20px;
  65. overflow-y: scroll;
  66. -webkit-overflow-scrolling: touch;
  67. }
  68. // filter title
  69. .main-control-header {
  70. padding-bottom:8px;
  71. p.title {
  72. width:100%;
  73. padding-top:0;
  74. padding-bottom:5px;
  75. margin:0px;
  76. font-size:@title-font-size;
  77. text-transform:uppercase;
  78. font-family: @main-font-family;
  79. border-bottom:2px solid @main-colour;
  80. } // p.title
  81. } // first .refine-control-header
  82. .refine-control-header {
  83. background:@main-colour;
  84. display:block;
  85. width:auto;
  86. clear:both;
  87. overflow:hidden;
  88. cursor:pointer;
  89. }
  90. p.sub-title {
  91. padding:4px;
  92. margin:0;
  93. float:left;
  94. text-transform:capitalize;
  95. font-weight:400;
  96. font-size:@main-font-size;
  97. display:inline-block;
  98. a.toggleControl {
  99. color:@light-colour;
  100. &:focus {
  101. outline:0;
  102. }
  103. }
  104. } // p.sub-title
  105. } // #controls
  106. } // #sidebar.left-col
  107.  
  108. #productList {
  109. width: ~"calc(100% - 250px)";
  110. margin-left:-250px;
  111. float:right;
  112. clear:none;
  113. overflow:hidden;
  114. @media (max-width:1020px){
  115. width: ~"calc(100% - 280px)";
  116. margin-left: -280px;
  117. }
  118. @media (max-width:840px){
  119. width: ~"calc(100% - 250px)";
  120. margin-left:-250px;
  121. }
  122. @media (max-width:650px){
  123. width:100%;
  124. }
  125. a.product {
  126. &:last-of-type{margin-bottom:50px;}
  127. @media (max-width:1200px) {
  128. width:25%;
  129. }
  130. @media (max-width:850px) {
  131. width:98%;
  132. }
  133. @media (max-width:650px) {
  134. width:100%;
  135. }
  136. }
  137. }
  138. } // main-content wrapper
  139.  
  140. // utils – arrows
  141. .arrow-right {
  142. display:inline-block;
  143. float:left;
  144. margin-top:10px;
  145. height:0;
  146. width:0;
  147. line-height: 5px;
  148. margin-left:8px;
  149. margin-right:3px;
  150. border-top: 5px solid transparent;
  151. border-bottom: 5px solid transparent;
  152. border-left: 5px solid @light-colour;
  153. }
  154. .arrow-down {
  155. display:inline-block;
  156. float:left;
  157. height:0;
  158. width:0;
  159. margin-top:14px;
  160. line-height: 5px;
  161. margin-left:6px;
  162. border-left: 5px solid transparent;
  163. border-right: 5px solid transparent;
  164. border-top: 5px solid @light-colour;
  165. }
  166. // checkbox input/label styles
  167. .attribute-items {
  168. // checkbox
  169. .checkbox_options {
  170. width:50%;
  171. float:left;
  172. &:last-of-type {padding-bottom:5px;}
  173. input {
  174. &:hover {
  175. border-color:@lightgrey;
  176. }
  177. }
  178. &.disabled {
  179. color:@lightgrey;
  180. cursor: default;
  181. &:hover {color:@lightgrey;}
  182. input:disabled, label {
  183. cursor: default;
  184. }
  185. label:before {
  186. border-color: @lightgrey;
  187. }
  188. } // disabled
  189. }
  190. .checkbox-custom, .radio-custom {
  191. opacity: 0;
  192. position: absolute;
  193. }
  194.  
  195. .checkbox-custom, .checkbox-custom-label, .radio-custom, .radio-custom-label {
  196. display: inline-block;
  197. vertical-align: middle;
  198. margin: 3px;
  199. cursor: pointer;
  200. }
  201.  
  202. .checkbox-custom-label, .radio-custom-label {
  203. position: relative;
  204. }
  205.  
  206. .checkbox-custom + .checkbox-custom-label:before,
  207. .radio-custom + .radio-custom-label:before {
  208. content: '';
  209. background: @light-colour;
  210. border: 0.14em solid @main-colour;
  211. display: inline-block;
  212. vertical-align: text-top;
  213. width: 5px;
  214. height: 5px;
  215. padding:2px;
  216. margin-top:2px;
  217. margin-right: 4px;
  218. text-align: center;
  219. }
  220.  
  221. .checkbox-custom:checked + .checkbox-custom-label:before {
  222. background: @main-colour;
  223. }
  224.  
  225. .radio-custom + .radio-custom-label:before {
  226. border-radius: 50%;
  227. }
  228.  
  229. .radio-custom:checked +
  230. .radio-custom-label:before {
  231. background: @main-colour;
  232. }
  233.  
  234. .checkbox-custom:focus + .checkbox-custom-label,
  235. .radio-custom:focus + .radio-custom-label {
  236. outline: 0; /* focus style */
  237. }
  238.  
  239. label.checkbox-custom-label:hover::before {
  240. transition:all 200ms ease;
  241. border-color:@lightgrey;
  242. }
  243.  
  244. label {
  245. font-weight:@main-font-weight;
  246. text-transform:uppercase;
  247. font-size:@main-font-size;
  248. font-family:@main-font-family;
  249. transition:all 200ms ease;
  250. &:hover {
  251. color: @lightgrey;
  252. }
  253. }
  254. &:not(.size) {
  255. label {
  256. font-weight:@main-font-weight;
  257. text-transform:capitalize;
  258. transition:all 300ms ease;
  259. font-size:@main-font-size;
  260. font-family:@main-font-family;
  261. }
  262. }
  263. // checked styling
  264. label.checked::before {
  265. &:hover {
  266. border-color:@main-colour;
  267. }}
  268. } // attr items
  269. /// *** END of filter menu styling ****
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement