Advertisement
Guest User

Untitled

a guest
Nov 28th, 2014
144
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 9.96 KB | None | 0 0
  1. .front {
  2. font-size: $rem-base;
  3.  
  4. .page-wrapper {
  5. max-width: 9999px;
  6. }
  7.  
  8. #block-system-main > .content section.main-section {
  9. .header {
  10. padding: .5rem 0;
  11. }
  12.  
  13. h2 {
  14. text-align: center;
  15. margin: 0 .5em 1em;
  16.  
  17. span {
  18. padding-bottom: .3em;
  19. line-height: 2em;
  20. }
  21. }
  22.  
  23. &.hero-unit {
  24. $hero-bg: #26b6ce;
  25. background-image: url(../img/plus-intro-bg.jpg);
  26. background-color: $hero-bg;
  27. background-repeat: repeat;
  28. background-position: bottom center;
  29. text-align: center;
  30. padding: 2rem 0;
  31. color: white;
  32. position: relative;
  33. @include background-size(cover);
  34.  
  35. h1, h2, h3, h4, h5, h6 {
  36. color: white;
  37. }
  38.  
  39. .header-wrapper {
  40. background: none;
  41. display: table;
  42. width: 100%;
  43.  
  44. h2 {
  45. font-size: 4rem;
  46. font-weight: bold;
  47. text-align: center;
  48. padding: 0;
  49. margin: .5rem 0 0;
  50. line-height: .85em;
  51. color: white;
  52. background: none;
  53. }
  54.  
  55. h3 {
  56. background: none;
  57. padding: 0 10%;
  58. font-size: 1.1em;
  59. margin-bottom: 0;
  60. }
  61. }
  62.  
  63. @media #{$medium-up} {
  64. h2 {
  65. font-size: 2.3rem;
  66. }
  67.  
  68. .header-wrapper {
  69. h3 {
  70. padding: 0 25%;
  71. font-size: 1.5em;
  72. }
  73.  
  74. h2 {
  75. font-size: 8rem;
  76. }
  77. }
  78. }
  79.  
  80. .offer {
  81. display: none;
  82. position: absolute;
  83. right: 1rem;
  84. bottom: 1rem;
  85. @include animation(nudge .8s 1.5s 1);
  86.  
  87. &:hover {
  88. @include animation(spin-nudge .5s 1);
  89. }
  90.  
  91. @media (min-width: 1500px) {
  92. display: block;
  93. }
  94. }
  95.  
  96. .video-slide {
  97. h3 {
  98. font-size: $h3-font-size;
  99. margin-bottom: 2rem;
  100. }
  101.  
  102. @media (min-width: 560px) {
  103. padding-top: 0;
  104. }
  105. }
  106.  
  107. .video {
  108. width: 100%;
  109. margin: 0 auto;
  110. position: relative;
  111. max-width: 540px;
  112. margin-top: 1rem;
  113.  
  114. img {
  115. width: 100%;
  116. }
  117.  
  118. .video-player {
  119. position: absolute;
  120. width: 100%;
  121. height: 100%;
  122. max-width: 100%;
  123. top: 0;
  124.  
  125. iframe {
  126. max-width: 100%;
  127. }
  128.  
  129. .video-controller {
  130. position: absolute;
  131. bottom: 3%;
  132. text-align: center;
  133. margin: 0 auto;
  134. width: 100%;
  135.  
  136. @media (max-width: 500px) {
  137. bottom: 1.5%;
  138. }
  139.  
  140. .play-button {
  141. color: white;
  142. z-index: 101;
  143. border-color: white;
  144. padding: .7rem 4rem;
  145. }
  146. }
  147.  
  148. .video-view {
  149. display: none;
  150. background: black;
  151. margin: 0 auto;
  152. }
  153. }
  154. }
  155. }
  156.  
  157. &.material {
  158. .panel-pane {
  159. padding-bottom: 3rem;
  160.  
  161. &.pane-products {
  162. margin-top: 0;
  163. }
  164.  
  165. &.pane-product-ads {
  166. padding-bottom: 0;
  167. padding-top: 0;
  168. }
  169. }
  170.  
  171. .material-pane {
  172. $material-bg-image: 'img/varnish-bg-material.jpg';
  173. @include background-cover($material-bg-image, $theme-url);
  174.  
  175. h2 {
  176. color: white;
  177. }
  178.  
  179. li {
  180. position: relative;
  181. padding-left: 2rem;
  182. padding-right: 2rem;
  183.  
  184. h3 {
  185. font-size: 1.2rem;
  186. font-weight: 400;
  187.  
  188. a {
  189. color: white;
  190. }
  191. }
  192.  
  193. .cta {
  194. color: black;
  195. background: white;
  196. padding: 0.5rem 1.5rem;
  197. font-size: 0.95rem;
  198. margin-top: .75rem;
  199. border: none;
  200. bottom: 0;
  201. width: 80%;
  202.  
  203. &:hover {
  204. background: $red;
  205. color: white;
  206. }
  207. }
  208. }
  209.  
  210. .material-description {
  211. color: rgba(#fff, .9);
  212. font-size: .95rem;
  213. line-height: 1.5em;
  214. }
  215. }
  216. }
  217.  
  218. &.social {
  219. @include background-cover('img/social-bg.jpg', $theme-url);
  220. min-height: 400px;
  221. overflow: visible;
  222. position: relative;
  223.  
  224. .inner {
  225. width: 100%;
  226. height: 100%;
  227. position: absolute;
  228. }
  229.  
  230. h2 {
  231. color: white;
  232. }
  233.  
  234. #social-feed {
  235. width: 100%;
  236. height: 100%;
  237. position: absolute;
  238. bottom: 0;
  239. color: white;
  240.  
  241. .panel-pane, .pane-content, .view-social-media-posts {
  242. position: absolute;
  243. width: 100%;
  244. height: 100%;
  245. }
  246.  
  247. .view-content {
  248. position: relative;
  249. height: 100%;
  250. width: 100%;
  251. bottom: 0;
  252.  
  253. .views-row {
  254. position: absolute !important;
  255. top: auto !important;
  256. width: 80%;
  257. bottom: 60%;
  258. left: 10% !important;
  259. padding-bottom: 1rem;
  260.  
  261. // Animations for the active slides.
  262. &.cycle-slide-active {
  263. img {
  264. @include animation(bounceIn .5s .5s 1, showForever 7s 1s);
  265. }
  266.  
  267. .message {
  268. @include animation(bounceIn .5s 1s 1, showForever 6.5s 1.5s);
  269. }
  270.  
  271. &.visible {
  272. opacity: 1 !important;
  273. }
  274.  
  275. &:after {
  276. content: "";
  277. display: block;
  278. position: absolute;
  279. right: 0;
  280. bottom: 0;
  281. width: 93%;
  282. height: 1px;
  283. background: white;
  284. @include animation(expand-social-left 1s 0s 1);
  285. }
  286.  
  287. &.views-row-even:after {
  288. left: 0;
  289. }
  290. }
  291.  
  292. &.views-row-odd {
  293. }
  294.  
  295. &.views-row-even {
  296. text-align: right;
  297.  
  298. img {
  299. float: right;
  300. margin-left: 2rem;
  301. }
  302. }
  303.  
  304. img {
  305. @include border-radius(50%);
  306. opacity: 0;
  307. float: left;
  308. margin-right: 2rem;
  309. width: 20%;
  310. max-width: 100px;
  311. }
  312.  
  313. .message {
  314. font-size: .9rem;
  315. overflow: hidden;
  316. opacity: 0;
  317. padding-top: .5rem;
  318.  
  319. p {
  320. font-size: .9rem;
  321. color: white;
  322. }
  323.  
  324. a {
  325. color: white;
  326. }
  327.  
  328. .username {
  329. font-style: italic;
  330. opacity: .8;
  331. }
  332. }
  333. }
  334. }
  335. }
  336. }
  337.  
  338. &.trial {
  339. text-align: center;
  340. padding-bottom: 4rem;
  341. overflow: hidden;
  342.  
  343. .button {
  344. margin-top: 0;
  345. }
  346.  
  347. p {
  348. margin-top: 1.5rem;
  349. font-size: 1rem;
  350. text-align: left;
  351. margin-left: 1rem;
  352. }
  353.  
  354. ul {
  355. width: 70%;
  356. margin: 0 auto;
  357.  
  358. li {
  359. text-align: center;
  360. display: table-cell;
  361. vertical-align: middle;
  362.  
  363. &.plus {
  364. font-size: 5em;
  365. color: lighten(black, 25%);
  366. font-weight: 700;
  367. }
  368.  
  369. img {
  370. height: 140px;
  371. display: inline;
  372. margin-bottom: .5em;
  373. }
  374. }
  375. }
  376. }
  377.  
  378. &.contact {
  379. border-top: 1px solid #ccc;
  380. text-align: center;
  381.  
  382. .contact-buttons {
  383. margin-top: 4rem;
  384. margin-bottom: 2rem;
  385.  
  386. .button {
  387. width: 90%;
  388. }
  389. }
  390.  
  391. h3 {
  392. strong {
  393. }
  394. }
  395. }
  396. }
  397.  
  398. #footer {
  399. margin-top: 0;
  400. }
  401.  
  402. .pane-product-ads {
  403. background-color: white;
  404. background-repeat: repeat;
  405. background-position: bottom center;
  406. @include background-size(cover);
  407.  
  408. .view-product-ads {
  409. .view-content {
  410. .views-row {
  411. text-align: center;
  412.  
  413. img {
  414. padding: 3rem 0;
  415. }
  416. }
  417.  
  418. @media #{$medium-up} {
  419. display: table;
  420.  
  421. .views-row {
  422. display: table-cell;
  423. }
  424. }
  425. }
  426. }
  427. }
  428. }
  429.  
  430.  
  431. @media #{$medium-up} {
  432. .front {
  433. #block-system-main > .content section.main-section {
  434. h2 {
  435. padding-right: 2em;
  436. padding-left: 2em;
  437. }
  438.  
  439. &.hero-unit {
  440. @include transition(height .5s);
  441. min-height: 510px;
  442.  
  443. .video {
  444. .video-player {
  445. .video-controller {
  446. bottom: 9%;
  447. }
  448. }
  449. }
  450. }
  451.  
  452. &.social {
  453. min-height: 400px;
  454.  
  455. #social-feed {
  456. .view-content {
  457. .views-row {
  458. width: 60%;
  459. bottom: 60%;
  460. right: auto;
  461.  
  462. &.views-row-odd {
  463. left: 6% !important;
  464. }
  465.  
  466. &.views-row-even {
  467. right: 6% !important;
  468. left: auto !important;
  469. }
  470. }
  471. }
  472. }
  473. }
  474. }
  475. }
  476. }
  477.  
  478. @media #{$large-up} {
  479. .front {
  480. #block-system-main > .content section.main-section {
  481. &.social {
  482. min-height: 500px;
  483.  
  484. #social-feed {
  485. .view-content {
  486. .views-row {
  487. width: 30%;
  488. bottom: 65%;
  489. }
  490. }
  491. }
  492. }
  493.  
  494. &.material {
  495. .material-pane {
  496. li {
  497. .cta {
  498. width: 70%;
  499. }
  500. }
  501. }
  502. }
  503. }
  504. }
  505. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement