freelancer.less 8.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490
  1. @import "variables.less";
  2. @import "mixins.less";
  3. body {
  4. overflow-x: hidden;
  5. }
  6. p {
  7. font-size: 20px;
  8. }
  9. p.small {
  10. font-size: 16px;
  11. }
  12. a,
  13. a:hover,
  14. a:focus,
  15. a:active,
  16. a.active {
  17. color: @brand-success;
  18. outline: none;
  19. }
  20. h1, h2, h3, h4, h5, h6 {
  21. font-family: "Montserrat", "Helvetica Neue", Helvetica, Arial, sans-serif;
  22. text-transform: uppercase;
  23. font-weight: 700;
  24. }
  25. hr.star-light,
  26. hr.star-primary {
  27. padding: 0;
  28. border: none;
  29. border-top: solid 5px;
  30. text-align: center;
  31. max-width: 250px;
  32. margin: 25px auto 30px;
  33. }
  34. hr.star-light:after,
  35. hr.star-primary:after {
  36. content: "\f005";
  37. font-family: FontAwesome;
  38. display: inline-block;
  39. position: relative;
  40. top: -0.8em;
  41. font-size: 2em;
  42. padding: 0 0.25em;
  43. }
  44. hr.star-light {
  45. border-color: white;
  46. }
  47. hr.star-light:after {
  48. background-color: @brand-success;
  49. color: white;
  50. }
  51. hr.star-primary {
  52. border-color: @brand-primary;
  53. }
  54. hr.star-primary:after {
  55. background-color: white;
  56. color: @brand-primary;
  57. }
  58. .img-centered {
  59. margin: 0 auto;
  60. }
  61. header {
  62. text-align: center;
  63. background: @brand-success;
  64. color: white;
  65. .container {
  66. padding-top: 100px;
  67. padding-bottom: 50px;
  68. }
  69. img {
  70. display: block;
  71. margin: 0 auto 20px;
  72. }
  73. .intro-text {
  74. .name {
  75. display: block;
  76. font-family: "Montserrat", "Helvetica Neue", Helvetica, Arial, sans-serif;
  77. text-transform: uppercase;
  78. font-weight: 700;
  79. font-size: 2em;
  80. }
  81. .skills {
  82. font-size: 1.25em;
  83. font-weight: 300;
  84. }
  85. }
  86. }
  87. @media(min-width:768px) {
  88. header {
  89. .container {
  90. padding-top: 200px;
  91. padding-bottom: 100px;
  92. }
  93. .intro-text {
  94. .name {
  95. font-size: 4.75em;
  96. }
  97. .skills {
  98. font-size: 1.75em;
  99. }
  100. }
  101. }
  102. }
  103. @media(min-width:768px) {
  104. .navbar-fixed-top {
  105. padding: 25px 0;
  106. -webkit-transition: padding 0.3s;
  107. -moz-transition: padding 0.3s;
  108. transition: padding 0.3s;
  109. .navbar-brand {
  110. font-size: 2em;
  111. -webkit-transition: all 0.3s;
  112. -moz-transition: all 0.3s;
  113. transition: all 0.3s;
  114. }
  115. }
  116. .navbar-fixed-top.navbar-shrink {
  117. padding: 10px 0;
  118. .navbar-brand {
  119. font-size: 1.5em;
  120. }
  121. }
  122. }
  123. .navbar {
  124. font-family: "Montserrat", "Helvetica Neue", Helvetica, Arial, sans-serif;
  125. text-transform: uppercase;
  126. font-weight: 700;
  127. a:focus {
  128. outline: none;
  129. }
  130. .navbar-nav {
  131. letter-spacing: 1px;
  132. li {
  133. a:focus {
  134. outline: none;
  135. }
  136. }
  137. }
  138. }
  139. .navbar-default,
  140. .navbar-inverse {
  141. border: none;
  142. }
  143. section {
  144. padding: 100px 0;
  145. h2 {
  146. margin: 0;
  147. font-size: 3em;
  148. }
  149. }
  150. section.success {
  151. background: @brand-success;
  152. color: white;
  153. a,
  154. a:hover,
  155. a:focus,
  156. a:active,
  157. a.active {
  158. color: @brand-primary;
  159. outline: none;
  160. }
  161. }
  162. @media(max-width:767px) {
  163. section {
  164. padding: 75px 0;
  165. }
  166. section.first {
  167. padding-top: 75px;
  168. }
  169. }
  170. #portfolio {
  171. .portfolio-item {
  172. margin: 0 0 15px;
  173. right: 0;
  174. .portfolio-link {
  175. display: block;
  176. position: relative;
  177. max-width: 400px;
  178. margin: 0 auto;
  179. .caption {
  180. background: fade(white, 100%);
  181. position: absolute;
  182. width: 360px;
  183. height: 260px;
  184. opacity: 0;
  185. transition: all ease 0.5s;
  186. -webkit-transition: all ease 0.5s;
  187. -moz-transition: all ease 0.5s;
  188. &:hover {
  189. opacity: 1;
  190. }
  191. .caption-content {
  192. position: absolute;
  193. width: 100%;
  194. height: 20px;
  195. font-size: 20px;
  196. text-align: center;
  197. top: 50%;
  198. margin-top: -12px;
  199. color: @brand-primary;
  200. i {
  201. margin-top: -12px;
  202. }
  203. h3,
  204. h4 {
  205. margin: 0;
  206. }
  207. }
  208. }
  209. .description {
  210. width: 360px;
  211. height: 260px;
  212. font-size: 30px;
  213. display: table-cell;
  214. text-align: center;
  215. vertical-align: middle;
  216. background: @brand-success;
  217. .description-content {
  218. color: white;
  219. }
  220. }
  221. }
  222. }
  223. * {
  224. z-index: 2;
  225. }
  226. }
  227. @media(min-width:767px) {
  228. #portfolio {
  229. .portfolio-item {
  230. margin: 0 0 30px;
  231. }
  232. }
  233. }
  234. .vcenter {
  235. display: flex;
  236. align-items: center;
  237. }
  238. #topfeature {
  239. .content {
  240. }
  241. }
  242. .btn-outline {
  243. color: white;
  244. font-size: 20px;
  245. border: solid 2px white;
  246. background: transparent;
  247. transition: all 0.3s ease-in-out;
  248. margin-top: 15px;
  249. &:hover,
  250. &:focus,
  251. &:active,
  252. &.active {
  253. color: @brand-success;
  254. background: white;
  255. border: solid 2px white;
  256. }
  257. }
  258. .floating-label-form-group {
  259. position: relative;
  260. margin-bottom: 0;
  261. padding-bottom: 0.5em;
  262. border-bottom: 1px solid @gray-lighter;
  263. input,
  264. textarea {
  265. z-index: 1;
  266. position: relative;
  267. padding-right: 0;
  268. padding-left: 0;
  269. border: none;
  270. border-radius: 0;
  271. font-size: 1.5em;
  272. background: none;
  273. box-shadow: none !important;
  274. resize: none;
  275. }
  276. label {
  277. display: block;
  278. z-index: 0;
  279. position: relative;
  280. top: 2em;
  281. margin: 0;
  282. font-size: 0.85em;
  283. line-height: 1.764705882em;
  284. vertical-align: middle;
  285. vertical-align: baseline;
  286. opacity: 0;
  287. -webkit-transition: top 0.3s ease,opacity 0.3s ease;
  288. -moz-transition: top 0.3s ease,opacity 0.3s ease;
  289. -ms-transition: top 0.3s ease,opacity 0.3s ease;
  290. transition: top 0.3s ease,opacity 0.3s ease;
  291. }
  292. &::not(:first-child) {
  293. padding-left: 14px;
  294. border-left: 1px solid @gray-lighter;
  295. }
  296. }
  297. .floating-label-form-group-with-value {
  298. label {
  299. top: 0;
  300. opacity: 1;
  301. }
  302. }
  303. .floating-label-form-group-with-focus {
  304. label {
  305. color: @brand-success;
  306. }
  307. }
  308. form .row:first-child .floating-label-form-group {
  309. border-top: 1px solid @gray-lighter;
  310. }
  311. footer {
  312. color: white;
  313. h3 {
  314. margin-bottom: 30px;
  315. }
  316. .footer-above {
  317. padding-top: 50px;
  318. background-color: @brand-primary;
  319. }
  320. .footer-col {
  321. margin-bottom: 50px;
  322. }
  323. .footer-below {
  324. padding: 25px 0;
  325. background-color: darken(@brand-primary, 5%);
  326. }
  327. }
  328. .btn-social {
  329. display: inline-block;
  330. height: 50px;
  331. width: 50px;
  332. border: 2px solid white;
  333. border-radius: 100%;
  334. text-align: center;
  335. font-size: 20px;
  336. line-height: 45px;
  337. }
  338. .btn:focus,
  339. .btn:active,
  340. .btn.active {
  341. outline: none;
  342. }
  343. .scroll-top {
  344. position: fixed;
  345. right: 2%;
  346. bottom: 2%;
  347. width: 50px;
  348. height: 50px;
  349. z-index: 1049;
  350. .btn {
  351. font-size: 20px;
  352. width: 50px;
  353. height: 50px;
  354. border-radius: 100%;
  355. line-height: 28px;
  356. &:focus {
  357. outline: none;
  358. }
  359. }
  360. }
  361. .portfolio-modal {
  362. .modal-content {
  363. border-radius: 0;
  364. background-clip: border-box;
  365. -webkit-box-shadow: none;
  366. box-shadow: none;
  367. border: none;
  368. min-height: 100%;
  369. padding: 100px 0;
  370. text-align: center;
  371. h2 {
  372. margin: 0;
  373. font-size: 3em;
  374. }
  375. img {
  376. margin-bottom: 30px;
  377. }
  378. .item-details {
  379. margin: 30px 0;
  380. }
  381. }
  382. .close-modal {
  383. position: absolute;
  384. width:75px;
  385. height:75px;
  386. background-color:transparent;
  387. top: 25px;
  388. right: 25px;
  389. cursor: pointer;
  390. &:hover {
  391. opacity: 0.3;
  392. }
  393. .lr {
  394. height:75px;
  395. width:1px;
  396. margin-left:35px;
  397. background-color:@brand-primary;
  398. transform: rotate(45deg);
  399. -ms-transform: rotate(45deg);
  400. /* IE 9 */
  401. -webkit-transform: rotate(45deg);
  402. /* Safari and Chrome */
  403. z-index:1051;
  404. .rl {
  405. height:75px;
  406. width:1px;
  407. background-color:@brand-primary;
  408. transform: rotate(90deg);
  409. -ms-transform: rotate(90deg);
  410. /* IE 9 */
  411. -webkit-transform: rotate(90deg);
  412. /* Safari and Chrome */
  413. z-index:1052;
  414. }
  415. }
  416. }
  417. .modal-backdrop {
  418. opacity: 0;
  419. display: none;
  420. }
  421. }
  422. .shadow {
  423. -webkit-box-shadow: 0 0px 16px 0px black;
  424. -moz-box-shadow: 0 0px 16px 0px black;
  425. box-shadow: 0 0px 16px 0px black;
  426. }
  427. #install {
  428. background-color: #aaa;
  429. padding: 150px 0;
  430. h2 {
  431. color: white;
  432. }
  433. }
  434. .no-wrap {
  435. text-overflow: ellipsis;
  436. white-space: nowrap;
  437. }
  438. .brand-icon {
  439. display: inline-block !important;
  440. width: 0;
  441. height: 32px;
  442. transition: width 250ms;
  443. }
  444. .navbar-shrink {
  445. .brand-icon {
  446. width: 32px;
  447. }
  448. }