_home.scss 7.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359
  1. /* @media (min-width: $screen-sm-min) { body { font-size:.5em; } } */
  2. body {
  3. height: 100%;
  4. }
  5. html {
  6. height: 100%;
  7. }
  8. #hero {
  9. min-height: 500px;
  10. height: 70%;
  11. background-color: $gray-transparent;
  12. background-image: url("{{ site.baseurl }}/static/img/wisplight.jpg");
  13. background-size: cover;
  14. position:relative;
  15. color:white;
  16. .row {
  17. margin-left: 0px;
  18. margin-right: 0px;
  19. }
  20. #hero_section {
  21. width:80%;
  22. max-width:730px;
  23. font-size:18px;
  24. > div {
  25. display: inline-block;
  26. }
  27. .cordova-bot {
  28. text-align: center;
  29. img {
  30. max-width: 275px;
  31. width: 100%;
  32. }
  33. }
  34. .hero_content {
  35. p {
  36. color: $gray-10;
  37. font-weight: 300;
  38. color: rgb(166, 178, 180);
  39. em {
  40. font-style: normal;
  41. font-weight: normal;
  42. color: white;
  43. }
  44. }
  45. .hero_supported_platforms {
  46. padding-bottom: 40px;
  47. img {
  48. margin-right: 15px;
  49. }
  50. }
  51. .hero_buttons {
  52. .btn {
  53. text-transform: uppercase;
  54. font-size: 13px;
  55. font-weight: bold;
  56. letter-spacing: 0.1em;
  57. border-radius: 2px;
  58. padding: 15px;
  59. margin-bottom: 10px;
  60. }
  61. }
  62. }
  63. }
  64. .hero_logo {
  65. width:100%;
  66. padding-top:40px;
  67. padding-bottom:20px;
  68. }
  69. }
  70. @media (min-width: $screen-sm-min) {
  71. #hero {
  72. #hero_section {
  73. .hero_buttons {
  74. .btn + .btn {
  75. margin-left: 15px;
  76. }
  77. }
  78. }
  79. }
  80. }
  81. @media (max-width: $screen-xs-max) {
  82. #hero {
  83. min-height: 620px;
  84. height: 100%;
  85. .hero_content p {
  86. margin-bottom: 20px;
  87. }
  88. #hero_section .cordova-bot {
  89. img {
  90. width: 60%;
  91. }
  92. }
  93. }
  94. }
  95. #hero_bottom_strip {
  96. background-color: rgb(42,42,42);
  97. color: white;
  98. width: 100%;
  99. margin: 0;
  100. .container {
  101. padding-top:30px;
  102. padding-bottom:30px;
  103. font-size: 18px;
  104. }
  105. .sprite_img {
  106. position:relative;
  107. left: 0px;
  108. margin: 0;
  109. padding: 0;
  110. top:0;
  111. width: 85px;
  112. height: 85px;
  113. background-repeat: no-repeat;
  114. background-size: 255px 85px;
  115. }
  116. }
  117. .value_prop {
  118. max-width: 146px;
  119. height: 4em;
  120. p {
  121. top:50%;
  122. position: relative;
  123. transform: translateY(-50%);
  124. padding-left: 10px;
  125. }
  126. }
  127. @media (max-width: 767px) {
  128. #hero #hero_section .hero_content { width:100%; }
  129. #hero_bottom_strip {
  130. min-height: initial;
  131. .container {
  132. padding-top: 15px;
  133. padding-bottom: 30px;
  134. font-size: 1em;
  135. text-align: center;
  136. }
  137. }
  138. .sprite_img { display:inline-block }
  139. .value_prop { max-width:initial }
  140. }
  141. @media (max-width: 550px) { /* Scrunch the icons even smaller on very small devices */
  142. .sprite_img {
  143. width:45px;
  144. height:45px;
  145. background-size:135px 45px;
  146. }
  147. }
  148. @mixin sprite-img($a, $b) {
  149. background: url("{{ site.baseurl }}/static/img/value-prop-sprite.svg") $a $b;
  150. }
  151. #sprite_shared_code { @include sprite-img(0px, 0) }
  152. #sprite_offline { @include sprite-img(50%, 0) }
  153. #sprite_apis { @include sprite-img(100%, 0) }
  154. .navbar-brand {
  155. padding: 0;
  156. position: absolute;
  157. }
  158. img#logo_top {
  159. width: 150px;
  160. padding: 10px;
  161. height: 50px;
  162. }
  163. @media (min-width: 767px) { /* Center the navs when not collapsed */
  164. .nav_bar_center {
  165. text-align: center;
  166. height: 50px;
  167. }
  168. .nav_bar_center > ul {
  169. display: inline-block;
  170. float: none;
  171. }
  172. }
  173. /*
  174. ********* Getting Started ***********
  175. */
  176. .get-started-section {
  177. margin-bottom:20px;
  178. }
  179. .number_circle {
  180. display: inline-block;
  181. width: 50px;
  182. height:50px;
  183. padding: 8px;
  184. font-size: 24px;
  185. color: #ffffff;
  186. vertical-align: middle;
  187. white-space: nowrap;
  188. text-align: center;
  189. background-color: $brand-primary-darker;
  190. border-radius: 50%;
  191. margin-top: 20px;
  192. }
  193. .well_code {
  194. @extend .well;
  195. padding-bottom:19px + 50px;
  196. position:relative;
  197. background-color: $gray-10;
  198. margin-top:25px;
  199. div {
  200. @extend .well_code;
  201. position: absolute;
  202. top: 100%;
  203. @include vendor-prefix(transform, translateY(-100%));
  204. padding: 0;
  205. margin:0;
  206. background-color: $gray-20;
  207. width: 100%;
  208. margin-left:-19px;
  209. button {
  210. background-color: $brand-primary;
  211. margin:5px;
  212. }
  213. }
  214. .copy-text {
  215. width:0px;
  216. height:0px;
  217. overflow:hidden;
  218. }
  219. }
  220. /*
  221. ********* Showcase Section ***********
  222. */
  223. .dark {
  224. background-color: $gray-90;
  225. }
  226. .dark, .dark .container-fluid { /* Fixes an overflow problem in the showcase sections */
  227. margin-left:0;
  228. margin-right:0;
  229. padding-left:0;
  230. padding-right:0;
  231. }
  232. .showcase_section_intro {
  233. margin: auto;
  234. float:none;
  235. max-width: 700px;
  236. h1 {
  237. color: $brand-gold;
  238. padding-bottom: 0;
  239. }
  240. h2 {
  241. color: white;
  242. font-size: 18px;
  243. font-weight: normal;
  244. padding: 0;
  245. margin-top: 0;
  246. }
  247. p, span { color: $gray-40; text-align: left; }
  248. padding-top: 4px;
  249. padding-bottom: 35px;
  250. }
  251. .supported_platforms {
  252. background-color: darken(white, 85%);
  253. margin-left: -15px;
  254. margin-right: -15px;
  255. margin-bottom: 40px;
  256. }
  257. .platform_logos {
  258. list-style-type: none;
  259. padding-left:0;
  260. padding-top: 20px;
  261. padding-bottom: 20px;
  262. text-align: center;
  263. img {
  264. max-width: 100%;
  265. }
  266. }
  267. .card_gallery {
  268. color:white;
  269. .card {
  270. padding:8px;
  271. .card_inner {
  272. background-color: darken(white, 85%);
  273. padding: 32px 16px 24px 16px;
  274. .card_title {
  275. color: $brand-primary;
  276. font-weight: bold;
  277. font-size: 13px;
  278. padding-top: 10px;
  279. }
  280. .img_container {
  281. height: 50px;
  282. img {
  283. max-height: 100%;
  284. max-width: 100%;
  285. }
  286. }
  287. &.tool {
  288. .text {
  289. height: 250px;
  290. }
  291. }
  292. &.app {
  293. .card_title {
  294. min-height: 46px;
  295. }
  296. .text {
  297. height: 120px;
  298. }
  299. }
  300. }
  301. .showcase_app_thumb {
  302. width: 100%;
  303. height: 100px;
  304. img {
  305. height: 100%;
  306. border-radius: 22px;
  307. }
  308. }
  309. }
  310. }
  311. /* make cards smaller on smaller screens */
  312. @media (max-width: $screen-lg-min) {
  313. .card_gallery .card .card_inner {
  314. &.tool .text {
  315. height: 120px;
  316. }
  317. &.app .text {
  318. height: 70px;
  319. }
  320. }
  321. }
  322. @media (max-width: $screen-md-min) {
  323. .card_gallery .card .card_inner {
  324. &.tool .text {
  325. height: 100px;
  326. }
  327. &.app .text {
  328. height: 50px;
  329. }
  330. }
  331. }
  332. .add_seemore_links {
  333. margin: 15px 0;
  334. a { padding-left:30px; }
  335. }