home.scss 18 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714
  1. @import '../app.scss';
  2. // Fonts
  3. @import '../fonts/awesome/awesome-font.css';
  4. @import '../fonts/iransans/iransans-font.css';
  5. body {
  6. font-family: iransans;
  7. }
  8. h1 {
  9. font-size: 1.5rem;
  10. }
  11. h2 {
  12. font-size: 1.4rem;
  13. }
  14. h3 {
  15. font-size: 1.3rem;
  16. }
  17. h4 {
  18. font-size: 1.2rem;
  19. }
  20. h5 {
  21. font-size: 1.1rem;
  22. }
  23. h6 {
  24. font-size: 1rem;
  25. }
  26. .fs-8 {
  27. font-size: 0.8rem;
  28. }
  29. a {
  30. transition: all 0.3s ease-in-out;
  31. text-decoration: none;
  32. &:hover {
  33. text-decoration: none;
  34. }
  35. }
  36. // navbar
  37. .navbar {
  38. min-height: 80px;
  39. .nav-link {
  40. transition: all 0.3s ease-in-out;
  41. font-weight: 600;
  42. padding: 0 0.875rem;
  43. @media screen and (max-width: 991px){
  44. padding: 0.375rem 0;
  45. font-weight: 500;
  46. //border-top: 1px solid #eee;
  47. border-top: 1px dashed #eee;
  48. }
  49. }
  50. .navbar-toggler{
  51. height: 64px;
  52. border: none;
  53. padding: 0;
  54. outline: none;
  55. &:focus{
  56. box-shadow: none;
  57. }
  58. .hamburger-toggle{
  59. position: relative;
  60. display: inline-block;
  61. width: 50px;
  62. height: 50px;
  63. z-index: 11;
  64. float: right;
  65. .hamburger {
  66. position: absolute;
  67. transform: translate(-50%, -50%) rotate(0deg);
  68. //left: 50%;
  69. left: 25px;
  70. top: 50%;
  71. width: 50%;
  72. height: 50%;
  73. pointer-events: none;
  74. span {
  75. width: 100%;
  76. height: 4px;
  77. position: absolute;
  78. background: $secondary;
  79. border-radius: 2px;
  80. z-index: 1;
  81. transition: transform 0.2s cubic-bezier(0.77,0.2,0.05,1.0), background 0.2s cubic-bezier(0.77,0.2,0.05,1.0), all 0.2s ease-in-out;
  82. left: 0px;
  83. &:first-child{
  84. top: 10%;
  85. transform-origin: 50% 50%;
  86. transform: translate(0% -50%) !important;
  87. }
  88. &:nth-child(2){
  89. top: 50%;
  90. transform: translate(0,-50%);
  91. }
  92. &:last-child{
  93. left: 0px;
  94. top: auto;
  95. bottom: 10%;
  96. transform-origin: 50% 50%;
  97. }
  98. }
  99. &.active{
  100. span {
  101. position: absolute;
  102. margin: 0;
  103. &:first-child{
  104. top: 45%;
  105. transform: rotate(45deg);
  106. }
  107. &:nth-child(2){
  108. left: 50%;
  109. width: 0px;
  110. }
  111. &:last-child{
  112. top: 45%;
  113. transform: rotate(-45deg);
  114. }
  115. }
  116. }
  117. }
  118. }
  119. }
  120. .navbar-nav {
  121. //padding-right: 1.25rem;
  122. padding: 0 1rem;
  123. }
  124. }
  125. .navbar-light .navbar-nav .show > .nav-link, .navbar-light .navbar-nav .nav-link.active,
  126. .navbar-light .navbar-nav .nav-link:hover, .navbar-light .navbar-nav .nav-link:focus {
  127. color: $secondary;
  128. }
  129. // footer
  130. footer {
  131. line-height: 2;
  132. text-align: justify;
  133. background-color: #212529;
  134. color: $white;
  135. padding: 2rem 0;
  136. .about {
  137. text-align: justify;
  138. line-height: 2;
  139. }
  140. hr {
  141. background-color: $white;
  142. opacity: 1;
  143. }
  144. .menu-footer_menu {
  145. list-style: none;
  146. line-height: 2;
  147. padding-right: 0;
  148. padding-left: 0;
  149. display: flex;
  150. flex-wrap: wrap;
  151. @media screen and (max-width: 991px) {
  152. justify-content: center;
  153. }
  154. .menu-item {
  155. margin-left: 1.25rem;
  156. @media screen and (max-width: 991px) {
  157. margin: 0 0.75rem;
  158. }
  159. a {
  160. color: $white;
  161. }
  162. }
  163. }
  164. .social {
  165. a {
  166. color: $white;
  167. }
  168. }
  169. .newsletter-subscription {
  170. .input-group {
  171. max-width: 300px;
  172. @media screen and (max-width: 320px) {
  173. max-width: 100%;
  174. }
  175. }
  176. .input-subscription {
  177. text-align: right;
  178. }
  179. }
  180. }
  181. // style for content single article page
  182. .container-article-width {
  183. @media screen and (min-width: 1400px){
  184. max-width: 1200px;
  185. }
  186. @media screen and (min-width: 1200px) and (max-width: 1399px){
  187. max-width: 750px;
  188. }
  189. @media screen and (min-width: 992px) and (max-width: 1199px){
  190. max-width: 800px;
  191. }
  192. .article-content-holder {
  193. margin: 3rem 0;
  194. .title {
  195. margin-bottom: 1.5rem;
  196. line-height: 2;
  197. color: $primary;
  198. }
  199. .author-published-holder {
  200. display: flex;
  201. align-items: center;
  202. margin-bottom: 1.5rem;
  203. .author-avatar {
  204. width: 3rem;
  205. height: 3rem;
  206. border-radius: 50%;
  207. }
  208. .author-published-text {
  209. margin-right: 0.75rem;
  210. .author-name {
  211. margin-bottom: 0.625rem;
  212. }
  213. .published-at {
  214. color: lighten($gray, 20);
  215. font-size: 80%;
  216. }
  217. }
  218. }
  219. .content-text {
  220. h1, h2, h3, h4,h5, h6 {
  221. margin-top: 2em;
  222. margin-bottom: 1em;
  223. &:first-child {
  224. margin-top: 0;
  225. }
  226. }
  227. div {
  228. text-align: justify;
  229. line-height: 2;
  230. margin-bottom: 0.75rem;
  231. }
  232. ul {
  233. list-style-type: none;
  234. padding-right: 1.2rem;
  235. padding-left: 1.2rem;
  236. li {
  237. line-height: 2;
  238. &:before {
  239. content: '✓';
  240. color: $primary;
  241. padding: 2px 0 2px 2px;
  242. font-weight: 600;
  243. }
  244. }
  245. }
  246. ol {
  247. counter-reset: item;
  248. padding-right: 1.2rem;
  249. padding-left: 1.2rem;
  250. li {
  251. display: block;
  252. line-height: 2;
  253. &:before {
  254. content: counter(item) ". ";
  255. counter-increment: item;
  256. color: $primary;
  257. font-weight: 600;
  258. }
  259. }
  260. }
  261. div {
  262. img {
  263. margin: 1rem 0;
  264. @media screen and (max-width: 992px){
  265. max-width: 100%;
  266. }
  267. }
  268. }
  269. video {
  270. margin: 1rem 0;
  271. width: 100%;
  272. }
  273. table {
  274. margin: 1rem 0;
  275. thead {
  276. background-color: $primary;
  277. color: $white;
  278. }
  279. }
  280. blockquote{
  281. background: #f9f9f9;
  282. border-right: 0.625rem solid $info;
  283. margin: 0.5rem 1.2rem;
  284. padding: 10px 20px;
  285. &:before {
  286. content: '\201D';
  287. line-height: 0;
  288. right: -11px;
  289. position: relative;
  290. top: 30px;
  291. color: $info;
  292. font-size: 3em;
  293. }
  294. }
  295. }
  296. }
  297. .article-button {
  298. display: flex;
  299. justify-content: space-between;
  300. align-items: center;
  301. margin-bottom: 3rem;
  302. }
  303. }
  304. // comments
  305. .comment-customers {
  306. .parent-reply-body {
  307. .reply-post {
  308. border-left: 1px solid;
  309. color: lighten($gray, 20);
  310. height: 22px;
  311. padding-left: 0.625rem;
  312. .reply-post-icon {
  313. transition: all 0.5s ease;
  314. &:hover {
  315. cursor: pointer;
  316. }
  317. }
  318. }
  319. .reply-post-like-button {
  320. padding-right: 0.625rem;
  321. font-size: 15px;
  322. display: inline-block;
  323. color: #afb6bc;
  324. }
  325. .user-description {
  326. display: flex;
  327. justify-content: space-between;
  328. align-items: center;
  329. margin-bottom: 0.5rem;
  330. @media screen and (max-width: 576px){
  331. align-items: baseline;
  332. }
  333. .user-description-holder {
  334. display: flex;
  335. align-items: flex-end;
  336. @media screen and (max-width: 576px){
  337. align-items: flex-start;
  338. flex-direction: column;
  339. }
  340. }
  341. .user-name {
  342. color: $primary;
  343. font-weight: 600;
  344. padding-left: 0.625rem;
  345. @media screen and (max-width: 576px){
  346. margin-bottom: 0.5rem;
  347. }
  348. }
  349. .item-details {
  350. display: flex;
  351. align-items: baseline;
  352. color: lighten($gray, 20);
  353. font-size: 80%;
  354. .item-details-clock {
  355. margin-left: 0.25rem;
  356. }
  357. .item-details-time {
  358. border-right: 1px solid;
  359. padding-right: 0.25rem;
  360. }
  361. .item-details-date {
  362. padding-left: 0.25rem;
  363. }
  364. }
  365. }
  366. .user-comment-text {
  367. margin: 1rem 0;
  368. text-align: justify;
  369. }
  370. }
  371. .form-reply-opinion {
  372. margin: 0.5rem 0 1.5rem;
  373. }
  374. }
  375. // latest article in single bolg page
  376. .latest-article {
  377. .card {
  378. background: transparent;
  379. border: none
  380. }
  381. .card-title {
  382. line-height: 2;
  383. text-align: justify;
  384. color: $primary;
  385. }
  386. .card-text {
  387. text-align: justify;
  388. }
  389. .author-published-holder {
  390. display: flex;
  391. align-items: center;
  392. margin-bottom: 1.5rem;
  393. margin-top: 1rem
  394. }
  395. .author-avatar {
  396. width: 3rem;
  397. height: 3rem;
  398. border-radius: 50%;
  399. }
  400. .author-published-text {
  401. margin-right: 0.75rem;
  402. }
  403. .author-name {
  404. margin-bottom: 0.625rem;
  405. }
  406. .published-at {
  407. color: lighten($gray, 20);
  408. font-size: 80%;
  409. }
  410. }
  411. // pagination
  412. .pagination-holder {
  413. margin-top: 2rem;
  414. .pagination {
  415. padding-right: 0;
  416. }
  417. .page-item:first-child .page-link {
  418. border-top-left-radius: 0;
  419. border-bottom-left-radius: 0;
  420. border-top-right-radius: 0.25rem;
  421. border-bottom-right-radius: 0.25rem;
  422. }
  423. .page-item:last-child .page-link {
  424. border-top-right-radius: 0;
  425. border-bottom-right-radius: 0;
  426. border-top-left-radius: 0.25rem;
  427. border-bottom-left-radius: 0.25rem;
  428. }
  429. }
  430. // style for category blog page
  431. .article-category-title-holder {
  432. color: $primary;
  433. line-height: 2;
  434. }
  435. .article-category-content-holder {
  436. .article-content {
  437. position: relative;
  438. padding: 32px 32px;
  439. transition: all 0.3s ease-in-out;
  440. border-bottom: 1px solid #e8eaf1;
  441. &:hover {
  442. background-color: #e8eaf1;
  443. border-bottom: 1px solid #e8eaf1;
  444. border-radius: 0.25rem;
  445. }
  446. .sub-title {
  447. color: lighten($gray, 20);
  448. font-size: 80%;
  449. display: flex;
  450. justify-content: space-between;
  451. margin-bottom: 0.25rem;
  452. @media screen and (max-width: 576px) {
  453. flex-direction: column;
  454. }
  455. .fa {
  456. color: $info;
  457. }
  458. .published-at {
  459. margin-left: 0.625rem;
  460. }
  461. }
  462. .title {
  463. font-size: 1.1rem;
  464. font-weight: 500;
  465. line-height: 2;
  466. }
  467. .lead-text {
  468. margin-top: 0.625rem;
  469. color: $gray;
  470. line-height: 2;
  471. text-align: justify;
  472. }
  473. .category {
  474. margin-top: 0.75rem;
  475. }
  476. .article-footer {
  477. margin-top: 1.2rem;
  478. display: flex;
  479. align-items: center;
  480. justify-content: space-between;
  481. .author-published-holder {
  482. display: flex;
  483. align-items: center;
  484. .author-avatar {
  485. width: 3rem;
  486. height: 3rem;
  487. border-radius: 50%;
  488. }
  489. .author-name {
  490. margin-right: 0.75rem;
  491. }
  492. }
  493. /*.duration-of-study {
  494. color: lighten($gray, 20);
  495. font-size: 80%;
  496. @media screen and (max-width: 576px) {
  497. margin-top: 0.75rem;
  498. }
  499. }*/
  500. }
  501. }
  502. }
  503. // -----------------------home
  504. //banner home page
  505. .banner-holder {
  506. min-height: 520px;
  507. position: relative;
  508. background-size: cover !important;
  509. background-position: center center !important;
  510. display: flex;
  511. align-items: center;
  512. }
  513. // services home page
  514. .services-holder {
  515. text-align: center;
  516. padding: 2.5rem 0 ;
  517. .feature-box-holder {
  518. background-color: $white;
  519. border-radius: 0.93rem;
  520. padding: 1.5rem 1.8rem;
  521. position: relative;
  522. filter: drop-shadow(0px 0px 20px rgba(0, 0, 0, 0.099));
  523. border-bottom-width: 4px;
  524. border-bottom-style: solid;
  525. border-bottom-color: $secondary;
  526. transition: all .4s ease;
  527. border-top-width: 4px;
  528. border-top-style: solid;
  529. border-top-color: transparent;
  530. box-sizing: border-box;
  531. @media screen and (max-width: 991px){
  532. margin-bottom: 3rem;
  533. }
  534. &:hover {
  535. border-top-width: 4px;
  536. border-top-style: solid;
  537. border-top-color: $secondary;
  538. }
  539. .featured-icon-holder {
  540. position: absolute;
  541. top: -38px;
  542. right: 25px;
  543. .featured-icon {
  544. height: 63px;
  545. width: 63px;
  546. line-height: 63px;
  547. background-color: $secondary;
  548. border-radius: 50%;
  549. display: flex;
  550. align-items: center;
  551. justify-content: center;
  552. i {
  553. color: $white;
  554. font-size: 1.2rem;
  555. }
  556. }
  557. }
  558. .feature-content {
  559. .feature-title {
  560. text-align: justify;
  561. font-size: 1.04rem;
  562. line-height: 2;
  563. font-weight: 500;
  564. margin: 0.5rem 0 0.35rem 0;
  565. }
  566. .sub-title {
  567. text-align: justify;
  568. line-height: 2;
  569. color: lighten($gray , 10);
  570. }
  571. .link-holder {
  572. font-size: 85%;
  573. text-align: justify;
  574. font-weight: 500;
  575. margin-top: 0.625rem;
  576. a {
  577. &:hover {
  578. color: $secondary;
  579. }
  580. }
  581. }
  582. }
  583. }
  584. .end-button {
  585. display: inline-block;
  586. width: 100%;
  587. position: relative;
  588. margin-top: 2.75rem;
  589. @media screen and (max-width: 991px){
  590. margin-top: 0;
  591. }
  592. &:before, &:after {
  593. position: absolute;
  594. content: "";
  595. right: auto;
  596. left: 50%;
  597. top: 20px;
  598. height: 1px;
  599. width: 30%;
  600. margin: 0 40px;
  601. background-color: lighten($gray, 40);
  602. transition: all .4s;
  603. }
  604. &:before {
  605. right: auto;
  606. left: 50%;
  607. }
  608. &:after {
  609. right: 50%;
  610. left: 0;
  611. }
  612. span {
  613. display: flex;
  614. align-items: center;
  615. justify-content: center;
  616. position: relative;
  617. height: 40px;
  618. width: 40px;
  619. line-height: 37px;
  620. font-size: 1.25rem;
  621. font-weight: 400;
  622. border-radius: 50%;
  623. border: 1px solid;
  624. margin: 0 auto;
  625. transition: all .4s;
  626. }
  627. }
  628. .end-button-text {
  629. margin-top: 0.6rem;
  630. }
  631. }
  632. // title section for home page
  633. .title {
  634. font-weight: 600;
  635. font-size: 1.4rem;
  636. line-height: 2;
  637. margin-bottom: 0.5rem;
  638. text-align: center;
  639. }
  640. .title-desc {
  641. width: 70%;
  642. margin: 0 auto 72px;
  643. font-size: 0.875rem;
  644. line-height: 2;
  645. color: lighten($gray , 10);
  646. @media screen and (max-width: 768px) {
  647. width: 95%;
  648. }
  649. }
  650. // customer home page
  651. .customer-holder {
  652. background-color: $white;
  653. text-align: center;
  654. padding: 2.5rem 0;
  655. .title-desc {
  656. margin-bottom: 2.5rem;
  657. }
  658. .owl-carousel {
  659. .item {
  660. img {
  661. display: block;
  662. width: 100%;
  663. opacity: 0.2;
  664. transition: ease opacity 500ms;
  665. &:hover {
  666. opacity: 1;
  667. }
  668. }
  669. }
  670. }
  671. }
  672. // contact-us home page
  673. .contact-us-holder {
  674. text-align: center;
  675. padding: 2.5rem 0;
  676. .submit-holder {
  677. text-align: right;
  678. }
  679. .contact-info-holder {
  680. .contact-info {
  681. display: flex;
  682. margin-bottom: 1rem;
  683. .fa {
  684. color: $secondary;
  685. }
  686. }
  687. .contact-info-content {
  688. text-align: right;
  689. margin-right: 0.75rem;
  690. .contact-title {
  691. color: $secondary;
  692. }
  693. }
  694. }
  695. }