style.scss 8.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476
  1. $font-primary: 'Source Sans Pro', Arial, sans-serif;
  2. // Overrides
  3. $grid-gutter-width: 40px !default;
  4. $border-radius-base: 4px !default;
  5. $padding-base-vertical: 14px !default;
  6. $brand-primary: #17e7a4 !default;
  7. $brand-secondary: #3f95ea !default;
  8. $brand-white: #fff;
  9. $brand-black: #000;
  10. $brand-darker: #444;
  11. $brand-gray: #ccc;
  12. $brand-lighter: #e9e9e9;
  13. $brand-body-color: #818892;
  14. $brand-selection-color: #f9f6f0;
  15. $brand-overlay-color: #3b3d40;
  16. $brand-bg-color: $brand-white;
  17. $input-border-focus: $brand-primary !default;
  18. $form-group-margin-bottom: 30px !default;
  19. // Mixin
  20. @mixin transition($transition) {
  21. -moz-transition: all $transition ease;
  22. -o-transition: all $transition ease;
  23. -webkit-transition: all $transition ease;
  24. -ms-transition: all $transition ease;
  25. transition: all $transition ease;
  26. }
  27. @mixin inline-block() {
  28. display:-moz-inline-stack;
  29. display:inline-block;
  30. zoom:1;
  31. *display:inline;
  32. }
  33. @mixin border-radius($radius) {
  34. -webkit-border-radius: $radius;
  35. -moz-border-radius: $radius;
  36. -ms-border-radius: $radius;
  37. border-radius: $radius;
  38. }
  39. @mixin flex() {
  40. display: -webkit-box;
  41. display: -moz-box;
  42. display: -ms-flexbox;
  43. display: -webkit-flex;
  44. display: flex;
  45. }
  46. @mixin flexwrap() {
  47. flex-wrap: wrap;
  48. -webkit-flex-wrap: wrap;
  49. -moz-flex-wrap: wrap;
  50. }
  51. @font-face {
  52. font-family: 'icomoon';
  53. src:url('../fonts/icomoon/icomoon.eot?srf3rx');
  54. src:url('../fonts/icomoon/icomoon.eot?srf3rx#iefix') format('embedded-opentype'),
  55. url('../fonts/icomoon/icomoon.ttf?srf3rx') format('truetype'),
  56. url('../fonts/icomoon/icomoon.woff?srf3rx') format('woff'),
  57. url('../fonts/icomoon/icomoon.svg?srf3rx#icomoon') format('svg');
  58. font-weight: normal;
  59. font-style: normal;
  60. }
  61. @mixin icomoon() {
  62. font-family: 'icomoon';
  63. speak: none;
  64. font-style: normal;
  65. font-weight: normal;
  66. font-variant: normal;
  67. text-transform: none;
  68. line-height: 1;
  69. /* Better Font Rendering =========== */
  70. -webkit-font-smoothing: antialiased;
  71. -moz-osx-font-smoothing: grayscale;
  72. }
  73. // Import
  74. @import 'bootstrap/mixins';
  75. @import 'bootstrap/variables';
  76. /* =======================================================
  77. *
  78. * Template Style
  79. * Edit this section
  80. *
  81. * ======================================================= */
  82. // Template Base
  83. body {
  84. font-family: $font-primary;
  85. font-weight: 300;
  86. font-size: 20px;
  87. line-height: 1.5;
  88. color: #7f7f7f;
  89. color: rgba(255,255,255,.7);
  90. background: $brand-bg-color;
  91. height: 100%;
  92. position: relative;
  93. background-size: cover;
  94. background-attachment: fixed;
  95. background-repeat: no-repeat;
  96. @media screen and (max-width: $screen-sm) {
  97. background-position: center center;
  98. background-repeat: no-repeat;
  99. }
  100. }
  101. a {
  102. color: $brand-primary;
  103. @include transition(.5s);
  104. &:hover, &:active, &:focus {
  105. color: $brand-primary;
  106. outline: none;
  107. }
  108. }
  109. p {
  110. margin-bottom: 1.5em;
  111. }
  112. h1, h2, h3, h4, h5, h6 {
  113. color: $brand-white;
  114. font-family: $font-primary;
  115. font-weight: 400;
  116. margin: 0 0 30px 0;
  117. }
  118. ::-webkit-selection {
  119. color: $brand-white;
  120. background: $brand-primary;
  121. }
  122. ::-moz-selection {
  123. color: $brand-white;
  124. background: $brand-primary;
  125. }
  126. ::selection {
  127. color: $brand-white;
  128. background: $brand-primary;
  129. }
  130. #fh5co-main {
  131. max-width: 760px;
  132. min-height: 600px;
  133. margin: 5em auto 5em auto;
  134. position: relative;
  135. background: rgba(0, 0, 0, .85);
  136. overflow: hidden;
  137. @include border-radius(7px);
  138. @include transition(.5s);
  139. @media screen and (max-width: $screen-sm) {
  140. margin: 2em .5em 5em .5em;
  141. }
  142. }
  143. .fh5co-tab-wrap {
  144. position: relative;
  145. .fh5co-tab-menu {
  146. list-style: none;
  147. text-align: center;
  148. margin-bottom: 2em;
  149. position: relative;
  150. top: -.5em;
  151. padding: 0;
  152. margin: 0;
  153. @media screen and (max-width: $screen-sm) {
  154. top: -7px;
  155. }
  156. li {
  157. @include inline-block;
  158. text-align: center;
  159. padding: 0;
  160. margin: 0;
  161. a {
  162. padding: 2em 1em 1em 1em;
  163. position: relative;
  164. color: rgba(255,255,255,.5);
  165. z-index: 10;
  166. @include inline-block;
  167. @include transition(.3s);
  168. .icon {
  169. display: block;
  170. position: relative;
  171. font-size: 22px;
  172. bottom: 0;
  173. @include transition(.3s);
  174. }
  175. .menu-text {
  176. display: block;
  177. @include transition(.5s);
  178. @media screen and (max-width: $screen-sm) {
  179. display: none;
  180. }
  181. }
  182. @media screen and (max-width: $screen-sm) {
  183. padding: 1em .5em .5em .5em;
  184. }
  185. &:after {
  186. position: absolute;
  187. content: "";
  188. height: 0;
  189. background: $brand-primary;
  190. z-index: -1;
  191. top: 0;
  192. left: 0;
  193. width: 100%;
  194. -webkit-transition: all .5s cubic-bezier(.175, .885, .32, 1.275);
  195. -moz-transition: all .5s cubic-bezier(.175, .885, .32, 1.275);
  196. -ms-transition: all .5s cubic-bezier(.175, .885, .32, 1.275);
  197. -o-transition: all .5s cubic-bezier(.175, .885, .32, 1.275);
  198. transition: all .5s cubic-bezier(.175, .885, .32, 1.275);
  199. @include border-radius(7px);
  200. }
  201. &:hover {
  202. color: $brand-white;
  203. text-decoration: none;
  204. .icon {
  205. bottom: 10px;
  206. @media screen and (max-width: $screen-sm) {
  207. bottom: 0px;
  208. }
  209. }
  210. &:after {
  211. height: 100%;
  212. }
  213. }
  214. }
  215. &.active {
  216. .icon {
  217. bottom: 10px;
  218. @media screen and (max-width: $screen-sm) {
  219. bottom: 0px;
  220. }
  221. }
  222. > a {
  223. color: $brand-white;
  224. text-decoration: none;
  225. &:after {
  226. height: 100%;
  227. }
  228. }
  229. }
  230. }
  231. }
  232. .fh5co-tab-content {
  233. padding-left: 4em;
  234. padding-right: 4em;
  235. position: absolute;
  236. top: 0;
  237. opacity: 0;
  238. visibility: hidden;
  239. width: 100%;
  240. @media screen and (max-width: $screen-sm) {
  241. padding-left: .5em;
  242. padding-right: .5em;
  243. }
  244. &.active {
  245. opacity: 1;
  246. visibility: visible;
  247. }
  248. .fh5co-content-inner {
  249. padding: 7em 2em 5em 2em;
  250. float: left;
  251. width: 100%;
  252. position: relative;
  253. @media screen and (max-width: $screen-sm) {
  254. padding: 4em .5em 5em .5em;
  255. }
  256. }
  257. }
  258. }
  259. figure {
  260. margin-bottom: 1.5em;
  261. }
  262. .fh5co-counter {
  263. .fh5co-number {
  264. font-size: 100px;
  265. color: $brand-primary;
  266. font-weight: 400;
  267. margin: 0;
  268. padding: 0;
  269. line-height: .7;
  270. &.fh5co-left {
  271. float: left;
  272. width: 30%;
  273. @media screen and (max-width: $screen-sm) {
  274. width: 100%;
  275. line-height: 1.2;
  276. }
  277. }
  278. }
  279. .fh5co-text {
  280. float: right;
  281. text-align: left;
  282. width: 70%;
  283. @media screen and (max-width: $screen-sm) {
  284. width: 100%;
  285. text-align: center;
  286. }
  287. h3 {
  288. margin: 0;
  289. padding: 0;
  290. position: relative;
  291. &.border-bottom {
  292. &:after {
  293. content: "";
  294. width: 50px;
  295. }
  296. }
  297. }
  298. }
  299. }
  300. .fh5co-social {
  301. padding: 0;
  302. margin: 0;
  303. text-align: center;
  304. li {
  305. padding: 0;
  306. margin: 0;
  307. list-style: none;
  308. @include inline-block;
  309. a {
  310. font-size: 22px;
  311. color: $brand-white;
  312. // background: $brand-primary;
  313. padding: 10px 20px;
  314. @include inline-block;
  315. @include border-radius(7px);
  316. @media screen and (max-width: $screen-sm) {
  317. padding: 10px 8px;
  318. }
  319. &:hover {
  320. color: $brand-primary;
  321. }
  322. &:hover, &:active, &:focus {
  323. outline: none;
  324. text-decoration: none;
  325. }
  326. }
  327. }
  328. }
  329. .fh5co-feature {
  330. text-align: left;
  331. width: 100%;
  332. float: left;
  333. .fh5co-icon {
  334. float: left;
  335. width: 10%;
  336. display: block;
  337. margin-top: 5px;
  338. i {
  339. color: $brand-primary;
  340. font-size: 40px;
  341. }
  342. }
  343. .fh5co-text {
  344. float: right;
  345. width: 82%;
  346. @media screen and (max-width: $screen-sm) {
  347. width: 82%;
  348. }
  349. @media screen and (max-width: $screen-xs) {
  350. width: 72%;
  351. }
  352. h2, h3 {
  353. margin: 0;
  354. padding: 0;
  355. }
  356. h3 {
  357. font-weight: 300;
  358. margin-bottom: 10px;
  359. color: rgba(255,255,255,.8);
  360. font-size: 20px;
  361. }
  362. h2 {
  363. font-size: 16px;
  364. letter-spacing: 2px;
  365. font-weight: bold;
  366. text-transform: uppercase;
  367. }
  368. }
  369. }
  370. // Chart
  371. .chart {
  372. width: 160px;
  373. height: 160px;
  374. margin: 0 auto 30px auto;
  375. position: relative;
  376. text-align: center;
  377. span {
  378. strong {
  379. display: block;
  380. }
  381. position: absolute;
  382. top: 50%;
  383. left: 0;
  384. margin-top: -30px;
  385. width: 100%;
  386. }
  387. canvas{
  388. position: absolute;
  389. left: 0;
  390. top: 0;
  391. }
  392. }
  393. #fh5co-footer {
  394. margin-top: 50px;
  395. background: rgba(0,0,0,1);
  396. clear: both;
  397. color: rgba(255,255,255,.6);
  398. font-size: 14px;
  399. position: absolute;
  400. bottom: 0;
  401. width: 100%;
  402. padding: 20px 20px;
  403. line-height: 1.2;
  404. small {
  405. font-size: 14px;
  406. }
  407. .fh5co-author {
  408. display: block;
  409. @media screen and (max-width: $screen-sm) {
  410. @include inline-block;
  411. }
  412. }
  413. }
  414. // Helper Class
  415. .col-xxs-12 {
  416. @media screen and (max-width: 480px) {
  417. float: none;
  418. width: 100%;
  419. }
  420. }
  421. .row-bottom-padded-lg {
  422. padding-bottom: 7em;
  423. @media screen and (max-width: $screen-sm ) {
  424. padding-bottom: 1em;
  425. }
  426. }
  427. .row-bottom-padded-md {
  428. padding-bottom: 4em;
  429. @media screen and (max-width: $screen-sm ) {
  430. padding-bottom: 1em;
  431. }
  432. }
  433. .row-bottom-padded-sm {
  434. padding-bottom: 1em;
  435. @media screen and (max-width: $screen-sm ) {
  436. padding-bottom: 1em;
  437. }
  438. }