main.less 15 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790
  1. html {
  2. position:relative;
  3. min-height:100%;
  4. -ms-text-size-adjust: 100%;
  5. -ms-overflow-style: scrollbar;
  6. }
  7. html, body {
  8. height: auto;
  9. letter-spacing: -.01em;
  10. }
  11. svg:not(:root){overflow:hidden;}
  12. svg { vertical-align: middle; border-style: none;}
  13. body {
  14. color: @baseFontcolor;
  15. overflow-x: hidden;
  16. &.login {
  17. min-height: 100%;
  18. }
  19. @media only screen and (max-width:992px) {
  20. margin-top: 57px;
  21. &.pre-header-enabled {
  22. margin-top: 97px;
  23. }
  24. }
  25. &.left-layout {
  26. margin-top: 57px;
  27. &.pre-header-enabled {
  28. margin-top: 97px;
  29. }
  30. }
  31. &.spc {
  32. margin-top: 0;
  33. @media only screen and (max-width:992px) {
  34. #order-standard_cart {
  35. padding: 0 0 90px 0;
  36. }
  37. }
  38. }
  39. &.spcnofooter {
  40. @media only screen and (max-width:992px) {
  41. #order-standard_cart {
  42. padding: 0 0 90px 0;
  43. }
  44. }
  45. }
  46. &.top-nav-collapse {
  47. .navbar-side {
  48. top: 57px;
  49. }
  50. &.pre-header-enabled {
  51. .navbar-side {
  52. top: 97px;
  53. }
  54. }
  55. &.left-layout {
  56. &.pre-header-enabled {
  57. .navbar-side {
  58. top: 103px;
  59. }
  60. }
  61. }
  62. }
  63. &.pre-header-enabled {
  64. .cros-navbar {
  65. flex-direction: column;
  66. @media (min-width: 992px) {
  67. .user_icon {
  68. a {
  69. span {
  70. display: flex;
  71. align-items: center;
  72. justify-content: center;
  73. &.user-info {
  74. display: flex;
  75. align-items: center;
  76. margin-left: 4px;
  77. &:after {
  78. content: "";
  79. margin-left: 2px;
  80. vertical-align: middle;
  81. border-top: 4px dashed;
  82. border-right: 4px solid transparent;
  83. border-left: 4px solid transparent;
  84. }
  85. }
  86. }
  87. }
  88. }
  89. }
  90. }
  91. }
  92. @media (max-width:633px) {
  93. &.pre-header-enabled {
  94. .cros-navbar {
  95. .navbar-header {
  96. flex-direction: row;
  97. .top {
  98. background-color: transparent;
  99. border: 0 none;
  100. .secondary-menu-mobile.nav li .dropdown-toggle{
  101. background-color: transparent!important;
  102. }
  103. }
  104. }
  105. &.primary, &.dark {
  106. .navbar-header {
  107. .top {
  108. li {
  109. .dropdown-toggle {
  110. color: @navbarDarklink;
  111. }
  112. }
  113. }
  114. }
  115. }
  116. }
  117. }
  118. }
  119. &.c-depth {
  120. .TM-card, .table-container, .panel.panel-default, .panel.panel-warning, .tiles .tile a, .kbcat .kb-article, .ticket-departments a, .ticket-departments.list, #promotions-slider, .alert-lg, .card, .sidebar.default .panel-sidebar, #order-standard_cart .product, #order-standard_cart .domain-selection-options .option-selected, #order-standard_cart .cc-input-container, .landing-page.ssl .validation-levels .item {
  121. box-shadow: @box-shadow;
  122. }
  123. }
  124. &.h-depth {
  125. .cros-navbar {
  126. box-shadow: @box-shadow;
  127. }
  128. }
  129. &.f-depth {
  130. .block-footer {
  131. .cros-partners, .payment-icons ul {
  132. box-shadow: @box-shadow;
  133. }
  134. }
  135. }
  136. &.card-nobg {
  137. .TM-card {
  138. background-color: @white;
  139. }
  140. }
  141. &.no-radius {
  142. .cros-pricing-table, .cros-team-member, .cros-box.s4,
  143. .cros-team-member .profile-card, .TM-card, .panel, .card, .btn,
  144. section.testimonials .testimonials-carousel .owl-stage-outer .owl-stage .owl-item .testimonial-item,
  145. .product-details .product-holder, .product-details .product-info.cpanel-usage-stats .cPanelExtrasPurchasePanel,
  146. .product-details .product-info.cpanel-usage-stats,
  147. .TM-card.annoucements .annuncement-item.latest,
  148. .cros-navbar .navbar-nav li ul.dropdown-menu,
  149. .table-container, .domains-section .domain-hero .serach-form,
  150. .landing-page .pricing-item, .landing-page.weebly .weebly-lite-plan,
  151. .landing-page.ssl .validation-levels .item,
  152. .landing-page .faq .panel-group .panel,
  153. .landing-page .faqs .panel-group .panel,
  154. .landing-page.mail-services .product-options .item,
  155. .landing-page.sitelock .plans .plan,
  156. .landing-page.sitelock .emergency .emergency-buy-banner,
  157. .tiles .tile a, .tiles .tile .no-link, .rounded, .onepage_cart .ajaxcart_cont .coupon_cont .form-group .input-group,
  158. #order-standard_cart .domain-selection-options .option-selected, .ticket-departments.list,
  159. .kbcat .kb-article, .kbarticles, .kbsuggestions, .sticker-wrapper.s1 .sticker, .block-footer .payment-icons ul, .alert-lg, .ticket-departments a, .login-box, .login-container .social-or-login :first-child,
  160. .cros-checkbox[type=checkbox] + span.pcb, .cros-checkbox[type=radio] + span.pcb, .signups[type=radio] + span.pcb, .no-radio[type=radio] + span.pcb, .nocheck[type=checkbox] + span.pcb
  161. {
  162. border-radius: 0;
  163. }
  164. }
  165. &.dark-mode {
  166. .SwicthtoLight {
  167. display: none;
  168. }
  169. .SwicthtoDark {
  170. display: inline-block;
  171. }
  172. .logo-light {
  173. display: none;
  174. }
  175. .logo-dark {
  176. display: block;
  177. }
  178. }
  179. .SwicthtoLight {
  180. display: inline-block;
  181. }
  182. .SwicthtoDark {
  183. display: none;
  184. }
  185. .logo-light {
  186. display: block;
  187. }
  188. .logo-dark {
  189. display: none;
  190. }
  191. }
  192. @media (max-width:991px) {
  193. .container {
  194. width: 100%!important;
  195. max-width: 100%!important;
  196. }
  197. }
  198. @media (min-width:1320px) {
  199. \%responsive-container, .container, .container-sm, .container-md, .container-lg, .container-xl {
  200. max-width: 1288px;
  201. }
  202. }
  203. #page-wrapper, .body-container {
  204. display: flex;
  205. flex-direction: column;
  206. min-height: 100vh;
  207. }
  208. @media (min-width:992px) {
  209. #page-wrapper {
  210. margin: 0 0 0 @navSideWidth;
  211. &.collapsed {
  212. margin: 50px 0 0 @sidebar-min;
  213. }
  214. &.no-sidebar {
  215. margin: 50px 0 0 0;
  216. }
  217. &.fixed {
  218. &.collapsed {
  219. margin: 0 0 0 @sidebar-min;
  220. }
  221. &.no-sidebar {
  222. margin: 0;
  223. }
  224. }
  225. .container {
  226. max-width: 100%;
  227. }
  228. }
  229. }
  230. @media (min-width:768px) {
  231. #page-wrapper {
  232. .container {
  233. padding-left: 40px;
  234. padding-right: 40px;
  235. }
  236. }
  237. }
  238. @media (min-width: 1200px) {
  239. #page-wrapper {
  240. .container {
  241. max-width: 1350px;
  242. width: 100%!important;
  243. }
  244. }
  245. }
  246. @media (max-width: 1199px) {
  247. #page-wrapper {
  248. .panel-sidebar, .card-sidebar {
  249. &.panel-client-details, &.panel-client-details, &.panel-by-month {
  250. display: none!important;
  251. }
  252. &.panel-actions {
  253. .list-group {
  254. display: flex;
  255. flex-wrap: wrap;
  256. flex-direction: row;
  257. }
  258. }
  259. }
  260. }
  261. }
  262. .fa, .fab, .fad, .fal, .far, .fas {
  263. &:before {
  264. -moz-osx-font-smoothing: grayscale;
  265. -webkit-font-smoothing: antialiased;
  266. display: inline-block;
  267. font-style: normal;
  268. font-variant: normal;
  269. text-rendering: auto;
  270. line-height: 1;
  271. }
  272. }
  273. a {
  274. color: @link-color;
  275. }
  276. a:hover, a:active, a:focus {
  277. color: @link-hover-color;
  278. }
  279. a, a:focus, a:active, a:hover {
  280. outline:0 none !important;
  281. }
  282. ::-moz-focus-inner {
  283. border:0 none;
  284. -moz-outline-style: none;
  285. }
  286. h1, h2, h3, h4, .h1, .h2, .h3, .h4 {
  287. color: @baseHeadingcolor;
  288. }
  289. h4, .h4 {
  290. font-size: 1.25rem;
  291. }
  292. h5, .h5 {
  293. font-size: 1rem;
  294. }
  295. .page-header {
  296. margin: 30px 0 15px;
  297. border-bottom: 1px solid @default-border-color;
  298. h1 {
  299. margin: 0;
  300. font-size: 26px;
  301. :before {
  302. content: "\f101";
  303. margin-right: 4px;
  304. font-family: FontAwesome;
  305. color: @themeColor;
  306. }
  307. }
  308. .sub-title {
  309. font-size: 60%;
  310. text-transform: none;
  311. color: @gray-light;
  312. }
  313. &.title {
  314. margin: 0 -15px 25px;
  315. border-bottom: 1px solid @default-border-color;
  316. color: @gray-dark;
  317. padding: 15px;
  318. background-color: @white;
  319. @media (max-width: 639px) {
  320. h1 {
  321. font-size: 21px;
  322. }
  323. }
  324. }
  325. }
  326. .owl-carousel, .swiper-container .swiper-slide, .swiper .swiper-slide, .swiper [class*=" col-"], .plans_slider__nav .btn__text {
  327. box-sizing: border-box;
  328. -webkit-user-select: none;
  329. -moz-user-select: none;
  330. -ms-user-select: none;
  331. user-select: none;
  332. -webkit-touch-callout: none;
  333. -ms-touch-action: pan-y;
  334. touch-action: pan-y;
  335. -webkit-tap-highlight-color: transparent;
  336. }
  337. // Bootstrap Overrides
  338. // -------------------------
  339. // Blockquotes
  340. blockquote, .blockquote {
  341. padding: 0.625rem 1.25rem;
  342. margin-bottom: @spacer;
  343. #font-size(@blockquote-font-size);
  344. border-left: 5px solid @themeColor;
  345. font-weight: 300;
  346. }
  347. blockquote.text-right, .blockquote.text-right {
  348. border-left: 0 none;
  349. border-right: 5px solid @themeColor;
  350. }
  351. blockquote.text-center, .blockquote.text-center {
  352. border: 0 none;
  353. }
  354. .dropdown-menu > li > a:hover, .dropdown-menu > li > a:focus, .modal, .accordion-toggle:focus, .btn:focus {
  355. outline: none;
  356. }
  357. [class*=" fa-"], [class^="fa-"] {
  358. text-align: center;
  359. }
  360. [role=button] {
  361. cursor: pointer;
  362. }
  363. .popover {
  364. width: auto;
  365. border-radius:0;
  366. }
  367. .dropdown-menu > .active > a, .dropdown-menu > .active > a:hover, .dropdown-menu > .active > a:focus {
  368. background-color: @themeColor;
  369. color: @white;
  370. }
  371. .nav-tabs, .nav-pills {
  372. .open > a, .open > a:hover, .open > a:focus {
  373. border-color: @themeColor;
  374. }
  375. }
  376. .nav-tabs > li > a:hover, .nav-tabs > li > a:focus, .nav-pills > li > a:hover, .nav-pills > li > a:focus, .nav-tabs .open > a, .nav-tabs .open > a:hover, .nav-tabs .open > a:focus, .nav-pills .open > a, .nav-pills .open > a:hover, .nav-pills .open > a:focus, .nav-tabs ul.dropdown-menu > li > a:hover, .nav-tabs ul.dropdown-menu > li > a:focus, .nav-pills ul.dropdown-menu > li > a:hover, .nav-pills ul.dropdown-menu > li > a:focus {
  377. background-color: @gray-lighter;
  378. }
  379. button.close, .close {
  380. outline: none!important;
  381. }
  382. .modal-content {
  383. .modal-header {
  384. background-color: @gray-lighter;
  385. border-radius: 6px 6px 0 0;
  386. .modal-title {
  387. margin: 0;
  388. font-size: 1.25rem;
  389. }
  390. .close {
  391. font-size: 27px;
  392. outline:0 none !important;
  393. }
  394. }
  395. .modal-footer {
  396. justify-content: flex-start;
  397. text-align: left;
  398. border-top-color: @default-border-color;
  399. }
  400. }
  401. .dropdown-toggle::after {
  402. margin-left: 2px;
  403. vertical-align: middle;
  404. border-top: 4px dashed;
  405. border-right: 4px solid transparent;
  406. border-left: 4px solid transparent;
  407. }
  408. .table > caption + thead > tr:first-child > th, .table > colgroup + thead > tr:first-child > th, .table > thead:first-child > tr:first-child > th, .table > caption + thead > tr:first-child > td, .table > colgroup + thead > tr:first-child > td, .table > thead:first-child > tr:first-child > td {
  409. border-top: 0;
  410. }
  411. .nav-pills {
  412. .nav-link {
  413. &:hover {
  414. background-color: transparent;
  415. }
  416. &.active {
  417. &:hover {
  418. background-color: @themeColor;
  419. }
  420. }
  421. }
  422. }
  423. // WHMCS Overrides
  424. // -------------------------
  425. .adminreturndiv {
  426. display: none !important;
  427. }
  428. .TM-card {
  429. background-color: @gray-lighter;
  430. }
  431. .TM-card {
  432. &.annoucements {
  433. box-shadow: none !important;
  434. }
  435. }
  436. .panel {
  437. &.panel-default {
  438. .panel-heading {
  439. background-color: @white;
  440. border-color: @default-border-color;
  441. }
  442. &.cart-item {
  443. .panel-body {
  444. .row {
  445. margin-left: 0;
  446. margin-right: 0;
  447. align-items: center;
  448. }
  449. }
  450. .item-group, .addon-item-group {
  451. font-size: 90%;
  452. color: #999999;
  453. }
  454. .item-configoption {
  455. margin-top: 8px;
  456. }
  457. .item-addons {
  458. margin: 0.5rem 0;
  459. font-size: 80%;
  460. .prod-addons-container {
  461. border-left: 2px solid rgba(0,0,0,.1);
  462. &.configuration {
  463. padding-left: 15px;
  464. }
  465. }
  466. }
  467. .item-domain {
  468. font-size: 85%;
  469. color: @themeColor!important;
  470. padding-bottom: 4px;
  471. }
  472. .panel-body {
  473. border-bottom: 1px solid @default-border-color;
  474. span:not(.caret):not(.renewal-price) {
  475. display: block;
  476. }
  477. }
  478. .panel-footer {
  479. margin-top: -1px;
  480. }
  481. .item-price, .addon-item-price {
  482. strong, .strong {
  483. font-weight: 500;
  484. }
  485. small, .small {
  486. font-size: 80%;
  487. }
  488. .cycle {
  489. &.renewal {
  490. .renewal-price {
  491. font-size: 85%;
  492. }
  493. }
  494. }
  495. }
  496. .item-actions {
  497. display: flex;
  498. justify-content: flex-end;
  499. flex-wrap: nowrap;
  500. }
  501. .item-qty, .addon-item-qty {
  502. margin: 4px 0;
  503. .form-control {
  504. height: 28px!important;
  505. margin-bottom: 4px;
  506. padding: 0.375rem 0;
  507. max-width: 100px;
  508. }
  509. @media (min-width: 576px) {
  510. text-align: center;
  511. margin-top: 0;
  512. }
  513. }
  514. @media (max-width: 991px) {
  515. border: 0 none;
  516. box-shadow: none!important;
  517. .panel-heading {
  518. display: none;
  519. }
  520. .panel-footer {
  521. border: 1px solid @default-border-color;
  522. border-radius: 4px;
  523. }
  524. .panel-body {
  525. padding: 0;
  526. box-shadow: @box-shadow;
  527. border: 1px solid @default-border-color;
  528. margin-bottom: 1rem;
  529. border-radius: 4px;
  530. .row {
  531. position: relative;
  532. margin-left: 0;
  533. margin-right: 0;
  534. }
  535. }
  536. .items {
  537. order: 1;
  538. min-width: 70%;
  539. flex-basis: 70%;
  540. width: 70%;
  541. }
  542. .item-title {
  543. padding: 1rem 0;
  544. }
  545. .item-actions {
  546. order: 2;
  547. min-width: 30%;
  548. flex-basis: 30%;
  549. width: 30%;
  550. padding: 1rem;
  551. }
  552. .item-price, .item-qty {
  553. position: relative;
  554. min-width: 100%;
  555. flex-basis: 100%;
  556. width: 100%;
  557. min-height: 56px;
  558. padding: 1rem;
  559. &:after {
  560. position: absolute;
  561. top: 0;
  562. left: 0;
  563. right: 0;
  564. display: block;
  565. content: "";
  566. height: 1px;
  567. background-color: @default-border-color;
  568. }
  569. }
  570. .item-addons {
  571. order: 2;
  572. }
  573. .item-qty {
  574. order: 3;
  575. }
  576. .item-price {
  577. order: 4;
  578. }
  579. .prod-qty-empty, .addon-qty-empty {
  580. display: none;
  581. }
  582. }
  583. @media (min-width: 992px) {
  584. .pricing-heading, .item-heading {
  585. display: none!important;
  586. }
  587. }
  588. }
  589. }
  590. }
  591. .md-editor .md-footer, .md-editor>.md-header {
  592. background-color: @gray-lighter!important;
  593. }
  594. .landing-page {
  595. .panel {
  596. &.panel-default {
  597. box-shadow: none!important;
  598. }
  599. }
  600. }
  601. .landing-page {
  602. &.mail-services {
  603. .content-block {
  604. .item {
  605. p {
  606. font-size: @baseFontSize - 1!important;
  607. }
  608. }
  609. }
  610. .benefits {
  611. font-size: @baseFontSize!important;
  612. }
  613. }
  614. }
  615. .landing-page.mail-services .product-options .item {
  616. box-shadow: @box-shadow;
  617. }
  618. #registration .field, #registration .form-control, #registration .prepend-icon .field-icon {
  619. height: 43px!important;
  620. }
  621. #registration .prepend-icon .field-icon {
  622. line-height: 43px!important;
  623. }
  624. .table-container {
  625. .listtable {
  626. .table {
  627. &.table-hover {
  628. tbody {
  629. tr {
  630. &:hover, &:focus {
  631. background-color: @gray-lighter;
  632. }
  633. }
  634. }
  635. }
  636. }
  637. }
  638. }
  639. .header-lined .search-group {
  640. min-width: 260px;
  641. }
  642. .iradio_square-blue, .icheckbox_square-blue {
  643. background: none!important;
  644. width:auto!important; height:auto!important;
  645. &:before {
  646. display: inline-block;
  647. z-index: 2;
  648. font-family: "Font Awesome 5 Pro";
  649. font-size: 21px;
  650. font-weight: 300;
  651. color: @themeColor;
  652. }
  653. &.checked {
  654. &:before {
  655. font-weight: 900;
  656. }
  657. &.hover {
  658. &:before {
  659. font-weight: 900;
  660. }
  661. }
  662. }
  663. &.hover {
  664. &:before {
  665. font-weight: 400;
  666. }
  667. }
  668. }
  669. .iradio_square-blue {
  670. &:before {
  671. content: "\f111";
  672. }
  673. &.checked {
  674. &:before {
  675. content: "\f192";
  676. }
  677. }
  678. }
  679. .icheckbox_square-blue {
  680. &:before {
  681. content: "\f0c8";
  682. }
  683. &.checked {
  684. &:before {
  685. content: "\f14a";
  686. }
  687. }
  688. }
  689. .card {
  690. border-color: @default-border-color;
  691. .card-header, .card-footer {
  692. background-color: @gray-lighter;
  693. border-color: @default-border-color;
  694. }
  695. }
  696. .modal-backdrop.show {
  697. opacity: 0.9;
  698. }