_site-elements.scss 5.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353
  1. .custom-block {
  2. margin-bottom: 30px;
  3. .section-title {
  4. font-size: 18px;
  5. font-weight: 700;
  6. }
  7. }
  8. // accordion
  9. .custom-accordion {
  10. .accordion-item {
  11. background-color: lighten(#efefef, 4%);
  12. margin-bottom: 0px;
  13. position: relative;
  14. border-radius: 0px;
  15. overflow: hidden;
  16. .btn-link {
  17. display: block;
  18. width: 100%;
  19. padding: 15px 0;
  20. text-decoration: none;
  21. text-align: left;
  22. color: #999;
  23. border: none;
  24. padding-left: 40px;
  25. border-radius: 0;
  26. position: relative;
  27. background: $white;
  28. &:before {
  29. font-family: 'icomoon';
  30. content: "\f067";
  31. position: absolute;
  32. top: 50%;
  33. transform: translateY(-50%);
  34. left: 15px;
  35. }
  36. &[aria-expanded="true"] {
  37. font-weight: 700;
  38. color: $primary;
  39. &:before {
  40. font-family: 'icomoon';
  41. content: "\f068";
  42. position: absolute;
  43. color: $primary;
  44. top: 50%;
  45. transform: translateY(-50%);
  46. left: 15px;
  47. }
  48. }
  49. }
  50. &.active {
  51. z-index: 2;
  52. .btn-link {
  53. color: $primary;
  54. box-shadow: 0 1px 10px 0 rgba($black, .1);
  55. }
  56. }
  57. .accordion-body {
  58. padding: 20px 20px 20px 20px;
  59. color: #888;
  60. }
  61. }
  62. }
  63. //checkbox
  64. .control {
  65. display: block;
  66. position: relative;
  67. padding-left: 30px;
  68. margin-bottom: 15px;
  69. cursor: pointer;
  70. font-size: 18px;
  71. .caption {
  72. position: relative;
  73. top: -3px;
  74. font-size: 16px;
  75. }
  76. }
  77. .control input {
  78. position: absolute;
  79. z-index: -1;
  80. opacity: 0;
  81. }
  82. .control__indicator {
  83. position: absolute;
  84. top: 2px;
  85. left: 0;
  86. height: 20px;
  87. width: 20px;
  88. background: #e6e6e6;
  89. border-radius: 4px;
  90. }
  91. .control--radio .control__indicator {
  92. border-radius: 50%;
  93. }
  94. .control:hover input ~ .control__indicator,
  95. .control input:focus ~ .control__indicator {
  96. background: #ccc;
  97. }
  98. .control input:checked ~ .control__indicator {
  99. background: $primary;
  100. }
  101. .control:hover input:not([disabled]):checked ~ .control__indicator,
  102. .control input:checked:focus ~ .control__indicator {
  103. background: lighten($primary, 5%);
  104. }
  105. .control input:disabled ~ .control__indicator {
  106. background: #e6e6e6;
  107. opacity: 0.9;
  108. pointer-events: none;
  109. }
  110. .control__indicator:after {
  111. font-family: 'icomoon';
  112. content: '\e5ca';
  113. position: absolute;
  114. display: none;
  115. font-size: 14px;
  116. transition: .3s all ease;
  117. }
  118. .control input:checked ~ .control__indicator:after {
  119. display: block;
  120. color: #fff;
  121. }
  122. .control--checkbox .control__indicator:after {
  123. top: 50%;
  124. left: 50%;
  125. transform: translate(-50%, -50%);
  126. }
  127. .control--checkbox input:disabled ~ .control__indicator:after {
  128. border-color: #7b7b7b;
  129. }
  130. .control--checkbox input:disabled:checked ~ .control__indicator {
  131. background-color: $primary;
  132. opacity: .2;
  133. }
  134. // gallery
  135. .gal-item {
  136. display: block;
  137. margin-bottom: 8px;
  138. img {
  139. border-radius: 4px;
  140. transition: .3s all ease;
  141. opacity: 1;
  142. }
  143. &:hover {
  144. img {
  145. opacity: .5;
  146. }
  147. }
  148. }
  149. // social
  150. .social-icons {
  151. li {
  152. display: inline-block;
  153. a {
  154. color: rgba($white, .5%);
  155. display: inline-block;
  156. width: 40px;
  157. height: 40px;
  158. position: relative;
  159. border-radius: 50%;
  160. background: #303030;
  161. span {
  162. position: absolute;
  163. top: 50%;
  164. left: 50%;
  165. transform: translate(-50%, -50%);
  166. }
  167. &:hover {
  168. color: $white;
  169. }
  170. }
  171. &:first-child {
  172. a {
  173. padding-left: 0;
  174. }
  175. }
  176. }
  177. &.light {
  178. li {
  179. a {
  180. color: $black;
  181. display: inline-block;
  182. width: 40px;
  183. height: 40px;
  184. position: relative;
  185. border-radius: 50%;
  186. background: $light;
  187. }
  188. }
  189. }
  190. }
  191. // video
  192. .video-wrap {
  193. position: relative;
  194. display: block;
  195. .play-wrap {
  196. position: absolute;
  197. top: 50%;
  198. left: 50%;
  199. transform: translate(-50%, -50%);
  200. width: 50px;
  201. height: 50px;
  202. background: rgba($black, .2);
  203. border-radius: 50%;
  204. transition: .3s all ease;
  205. > span {
  206. position: absolute;
  207. top: 50%;
  208. left: 50%;
  209. color: $white;
  210. transform: translate(-50%, -50%);
  211. }
  212. }
  213. &:hover {
  214. .play-wrap {
  215. width: 60px;
  216. height: 60px;
  217. }
  218. }
  219. }
  220. // testimonial
  221. .owl-single, .owl-carousel {
  222. &.dots-absolute {
  223. .owl-dots {
  224. bottom: 40px;
  225. .owl-dot {
  226. span {
  227. background: rgba($white, .5);
  228. }
  229. }
  230. }
  231. }
  232. .owl-dots {
  233. text-align: center;
  234. position: absolute;
  235. width: 100%;
  236. left: 50%;
  237. transform: translateX(-50%);
  238. .owl-dot {
  239. display: inline-block;
  240. margin: 5px;
  241. span {
  242. display: inline-block;
  243. width: 8px;
  244. height: 8px;
  245. border-radius: 50%;
  246. background: rgba($black, .2);
  247. }
  248. &.active {
  249. span {
  250. background: $primary;
  251. }
  252. }
  253. }
  254. }
  255. &.no-dots {
  256. .owl-dots {
  257. display: none;
  258. }
  259. }
  260. &.no-nav {
  261. .owl-nav {
  262. display: none;
  263. }
  264. }
  265. }
  266. .testimonial {
  267. max-width: 500px;
  268. text-align: center;
  269. margin-bottom: 30px;
  270. .name {
  271. font-size: 18px;
  272. color: $black;
  273. }
  274. .img-wrap {
  275. img {
  276. margin: 0 auto;
  277. width: 70px;
  278. border-radius: 50%;
  279. }
  280. }
  281. }
  282. .list-check {
  283. li {
  284. display: block;
  285. padding-left: 30px;
  286. position: relative;
  287. &:before {
  288. content: "\e5ca";
  289. font-family: 'icomoon';
  290. position: absolute;
  291. top: -.3rem;
  292. font-size: 20px;
  293. left: 0;
  294. }
  295. }
  296. }
  297. .owl-single {
  298. .owl-nav {
  299. position: absolute;
  300. top: 50%;
  301. width: 100%;
  302. transform: translateY(-50%);
  303. @include media-breakpoint-down(sm) {
  304. display: none;
  305. }
  306. .owl-prev, .owl-next {
  307. position: absolute;
  308. top: 0;
  309. span {
  310. display: block;
  311. background: $white;
  312. padding: 15px;
  313. }
  314. }
  315. .owl-prev {
  316. left: -30px;
  317. }
  318. .owl-next {
  319. right: -30px;
  320. > span {
  321. position: relative;
  322. transform: rotate(-180deg);
  323. }
  324. }
  325. }
  326. }
  327. .team {
  328. h3 {
  329. font-size: 20px;
  330. }
  331. }