Advertisement
Guest User

Untitled

a guest
Feb 17th, 2019
475
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
CSS 9.35 KB | None | 0 0
  1. /* ---------------------------------- */
  2. /* Message Vendor
  3. ------------------------------------- */
  4. .message-vendor .fa-envelope-o {
  5.     font-size: 20px;
  6.     line-height: 0;
  7.     top: -1px;
  8.     position: relative;
  9. }
  10.  
  11. .message-vendor textarea,
  12. .message-vendor textarea:focus,
  13. .message-vendor input:focus,
  14. .message-vendor select,
  15. .message-vendor select:focus,
  16. .message-vendor input {
  17.     border: none;
  18.     border-radius: 5px;
  19.     box-shadow: 0 1px 6px 0px rgba(0, 0, 0, 0.1);
  20.     font-size: 15px;
  21.     font-weight: 600;
  22.     height: auto;
  23.     padding: 10px 16px;
  24.     line-height: 30px;
  25.     margin: 0 0 15px 0 !important;
  26.     position: relative;
  27.     background-color: #fff;
  28.     text-align: left;
  29.     color: #888;
  30.     transition: color 0.3s !important;
  31. }
  32.  
  33. .message-vendor select,
  34. .message-vendor select:focus {
  35.     height: 48px;
  36. }
  37.  
  38. /* Prefered Contat Method */
  39. .preferred-contact-method {
  40.     display: block;
  41.     margin: 12px 0;
  42. }
  43.  
  44. .preferred-contact-method h5 {
  45.     font-size: 14px;
  46.     color: #777;
  47.     font-weight: 600;
  48.     text-align: center;
  49.     display: block;
  50.     margin: 0;
  51.     padding: 0;
  52.     margin-bottom: 5px;
  53. }
  54.  
  55. .preferred-contact-radios  {
  56.     display: block;
  57.     text-align: center;
  58.     align-items: center;
  59. }
  60.  
  61. .preferred-contact-radios .radio {
  62.     display: inline-block;
  63. }
  64.  
  65. .preferred-contact-radios .radio label {
  66.     display: inline-block;
  67.     padding-left: 24px;
  68.     line-height: 23px;
  69.     margin-right: 15px;
  70. }
  71. .preferred-contact-radios .radio:last-child label {
  72.     margin-right: 0;
  73. }
  74.  
  75. #add-review input:focus,
  76. #add-review textarea:focus,
  77. #add-review select:focus,
  78. #add-review input,
  79. #add-review textarea,
  80. #add-review select {
  81.     border: none;
  82.     box-shadow: 0 1px 4px rgba(0,0,0,0.12);
  83. }
  84.  
  85.  
  86. /* Captcha Holder */
  87. .captcha-holder {
  88.     max-height: 0;
  89.     height: 0;
  90.     opacity: 0;
  91.     visibility: hidden;
  92.     transition: 0.5s;
  93.     display: block;
  94. }
  95.  
  96. .captcha-holder.visible {
  97.     max-height: 200px;
  98.     height: auto;
  99.     opacity: 1;
  100.     visibility: visible;
  101. }
  102.  
  103. .captcha-holder .g-recaptcha {
  104.     margin: 5px 0 15px 0;
  105. }
  106. @media (min-width: 1366px) {
  107.     .captcha-holder .g-recaptcha {
  108.         text-align: center;
  109.     }
  110.     .captcha-holder .g-recaptcha div {
  111.         width: auto !important;
  112.     }
  113. }
  114.  
  115.  
  116. @media (min-width: 1240px) and (max-width: 1366px) {
  117.     .g-recaptcha {
  118.         transform: scale(0.89);
  119.         transform-origin: 0 0;
  120.     }
  121. }
  122.  
  123. @media (min-width: 992px) and (max-width: 1240px) {
  124.     .g-recaptcha {
  125.         transform: scale(0.76);
  126.         transform-origin: 0 0;
  127.     }
  128. }
  129.  
  130. /* Radio Button
  131. ------------------------------------- */
  132.  
  133. .radio {
  134.     display: inline-block;
  135.     vertical-align: top;
  136. }
  137.  
  138. .radio label {
  139.     margin: 3px 0;
  140.     cursor: pointer;
  141.     position: relative;
  142.     padding-left: 29px;
  143.     line-height: 25px;
  144. }
  145.  
  146. .radio input[type="radio"] {
  147.     position: absolute;
  148.     opacity: 0;
  149. }
  150.  
  151. .radio input[type="radio"] + label .radio-label {
  152.     content: '';
  153.     background: #fff;
  154.     border-radius: 100%;
  155.     border: 2px solid #b4b4b4;
  156.     display: inline-block;
  157.     width: 18px;
  158.     height: 18px;
  159.     position: relative;
  160.     margin-right: 5px;
  161.     vertical-align: top;
  162.     cursor: pointer;
  163.     text-align: center;
  164.     transition: all 250ms ease;
  165.     background-color: #fff;
  166.     box-shadow: inset 0 0 0 8px #fff;
  167.     z-index: 100;
  168.     position: absolute;
  169.     top: 2px;
  170.     left: 0;
  171. }
  172.  
  173. .radio input[type="radio"] + label .radio-label:after {
  174.     background-color: #f91942;
  175.     content: "";
  176.     top: 3px;
  177.     left: 0;
  178.     right: 0;
  179.     margin: 0 auto;
  180.     position: absolute;
  181.     opacity: 1;
  182.     transition: 0.3s;
  183.     border-radius: 50%;
  184.     transform: scale(0);
  185.     position: absolute;
  186.     top: 0;
  187.     left: 0;
  188.     box-sizing: border-box;
  189.     width: 100%;
  190.     height: 100%;
  191.     z-index: 99;
  192. }
  193.  
  194. .radio input[type="radio"]:checked + label .radio-label {
  195.     background-color: #f91942;
  196.     border-color: #f91942;
  197.     box-shadow: inset 0 0 0 3px #fff;
  198. }
  199.  
  200. .radio-label:before {
  201.     content: "";
  202.     position: absolute;
  203.     top: 0;
  204.     left: 0;
  205.     height: 100%;
  206.     width: 100%;
  207.     border-radius: 50%;
  208.     background-color: transparent;
  209.     display: block
  210. }
  211.  
  212. .interactive-effect label .radio-label:before {
  213.     animation: radius-shadow 0.4s;
  214. }
  215.  
  216. @keyframes radius-shadow {
  217.   0% { box-shadow: 0 0 0 0 rgba(102,103,107,0.4); }
  218.   100% { box-shadow: 0 0 0 10px rgba(0,0,0,0); }
  219. }
  220.  
  221. .small-label {
  222.     border-radius: 4px;
  223.     display: inline-block;
  224.     background: #e0f5d7;
  225.     color: #449626;
  226.     padding: 0 8px;
  227.     line-height: 27px;
  228.     height: 26px;
  229.     margin-left: 5px;
  230.     position: relative;
  231.     top: -1px;
  232. }
  233.  
  234.  
  235. /* ---------------------------------- */
  236. /* Reviews Overview
  237. ------------------------------------- */
  238. .rating-bars-rating {
  239.     display: inline-block;
  240.     vertical-align: baseline;
  241.     background: #efefef;
  242.     width: 100%;
  243.     height: 6px;
  244.     margin-right: 10px;
  245.     border-radius: 3px;
  246.     overflow: hidden;
  247.     background-color: #eee;
  248.     align-self: center;
  249. }
  250.  
  251. .rating-bars-rating-inner {
  252.     height: 6px;
  253.     display: block;
  254.     background-color: #eee;
  255.     position: relative;
  256.     width: 0;
  257.     transition: width 0.5s;
  258. }
  259.  
  260. .rating-bars-rating.low .rating-bars-rating-inner { background-color: #ee3535; }
  261. .rating-bars-rating.mid .rating-bars-rating-inner { background-color: #c0c52a; }
  262. .rating-bars-rating.high .rating-bars-rating-inner { background-color: #64bc36; }
  263.  
  264.  
  265. .rating-bars-item {
  266.     margin: 10px 15px;
  267.     width: calc(50% - 30px);
  268.     justify-content: flex-end;
  269.     align-items: flex-start;
  270.     display: flex;
  271.     flex-direction: column;
  272. }
  273.  
  274. .rating-bars-name {
  275.     font-weight: 600;
  276.     color: #333;
  277.     display: block;
  278.     font-size: 14px;
  279.     line-height: 22px;
  280. }
  281.  
  282. .rating-bars-item strong {
  283.     color: #777;
  284.     font-size: 12px;
  285.     font-weight: 600;
  286.     align-self: center;
  287.     background: #f4f4f4;
  288.     border-radius: 50px;
  289.     width: 46px;
  290.     height: 22px;
  291.     text-align: center;
  292.     line-height: 21px;
  293.     font-family: "Open Sans";
  294. }
  295.  
  296.  
  297. .rating-overview {
  298.     display: flex;
  299.     margin: 35px 0 25px 0;
  300.     background: #fff;
  301.     border-radius: 4px;
  302.     padding: 30px;
  303.     padding-right: 20px;
  304.     border: 1px solid #e8e8e8;
  305. }
  306.  
  307. .rating-overview-box {
  308.     display: flex;
  309.     flex-direction: column;
  310.     justify-content: center;
  311.     align-items: center;
  312.     flex-shrink: 0;
  313.     border: navajowhite;
  314.     width: 135px;
  315.     margin-right: 20px;
  316.     text-align: center;
  317.     border-radius: 0;
  318.     border-right: 1px solid #e8e8e8;
  319.     padding-right: 27px;
  320. }
  321.  
  322. .rating-overview-box-total {
  323.     font-size: 44px;
  324.     font-weight: 400;
  325.     line-height: 1em;
  326.     display: block;
  327.     color: #333;
  328. }
  329.  
  330. .rating-overview-box-percent {
  331.     font-size: 15px;
  332.     margin-bottom: 0;
  333.     color: #888;
  334.     display: block;
  335. }
  336.  
  337. .rating-overview-box .star-rating{
  338.     font-size: 16px;
  339.     margin: 0;
  340.     display: block;
  341.     letter-spacing: -0.5px;
  342. }
  343.  
  344. .rating-bars {
  345.     display: flex;
  346.     flex-direction: row;
  347.     flex-wrap: wrap;
  348.     flex-basis: 100%;
  349.     margin: 0;
  350.     padding: 0;
  351.     margin-top: 0;
  352.     align-items: center;
  353. }
  354.  
  355. .rating-bars-inner {
  356.     display: flex;
  357.     width: 100%;
  358. }
  359.  
  360.  
  361. /* Media Queries */
  362. @media (max-width: 1366px) {
  363.     .rating-bars-item {
  364.         width: calc(50% - 30px);
  365.     }
  366. }
  367.  
  368. @media (max-width: 768px) {
  369.     .rating-bars-item {
  370.         width: 100%;
  371.         margin: 5px 0;
  372.     }
  373.     .rating-overview {
  374.         width: 100%;
  375.         display: block;
  376.         padding: 20px 25px;
  377.     }
  378.     .rating-overview-box {
  379.         border-right: none;
  380.         border-bottom: 1px solid #e8e8e8;
  381.         width: 100%;
  382.         margin-bottom: 20px;
  383.         padding-bottom: 25px;
  384.         padding-right: 0;
  385.         margin-right: 0;
  386.     }
  387. }
  388.  
  389.  
  390.  
  391. /* Add Sub Ratings
  392. ------------------------------------- */
  393. .sub-ratings-container {
  394.     margin: 25px 0 30px 0;
  395.     display: block;
  396.     border: 1px solid #e6e6e6;
  397.     background-color: transparent;
  398.     padding: 18px 30px;
  399.     border-radius: 4px;
  400.     display: flex;
  401.     flex-wrap: wrap;
  402.     border-left: 0;
  403.     border-right: 0;
  404.     border-radius: 0;
  405.     padding: 20px 0;
  406.     border-radius: 0;
  407. }
  408.  
  409. .add-sub-rating {
  410.     display: inline-block;
  411.     margin: 7px 0;
  412.     width: 50%;
  413. }
  414.  
  415. @media (min-width: 1367px) {
  416.     .add-sub-rating { width: 25%; }
  417. }
  418.  
  419. @media (max-width: 768px) {
  420.     .add-sub-rating { width: 100%; }
  421. }
  422.  
  423. .sub-rating-title {
  424.     font-weight: 600;
  425.     font-size: 14px;
  426.     color: #444;
  427.     display: block;
  428.     margin: 0 0 4px 0;
  429. }
  430.  
  431.  
  432. /* Sub Ratings Stars */
  433. .sub-ratings-container .leave-rating label {
  434.     position: relative;
  435.     font-size: 21px;
  436.     letter-spacing: 3.5px;
  437. }
  438.  
  439. .sub-ratings-container .leave-rating label:before {
  440.     content: "\f006";
  441.     color: #ffc600;
  442. }
  443.  
  444. .sub-ratings-container .leave-rating input[type="radio"]:hover ~ label:before,
  445. .sub-ratings-container .leave-rating input[type="radio"]:checked ~ label:before {
  446.     content: "\f006";
  447. }
  448.  
  449. .sub-ratings-container .leave-rating input[type="radio"] ~ label:after {
  450.     content: "\f005";
  451.     position: absolute;
  452.     left: 0;
  453.     color: #ffc600;
  454.     opacity: 0;
  455.     transition: 0.2s;
  456. }
  457.  
  458. .sub-ratings-container .leave-rating input[type="radio"]:hover ~ label:after,
  459. .sub-ratings-container .leave-rating input[type="radio"]:checked ~ label:after {
  460.     opacity: 1;
  461. }
  462.  
  463. .rating-bars i.tip,
  464. .sub-ratings-container i.tip {
  465.     background: #eaeaea;
  466.     color: #888;
  467.     height: 17px;
  468.     width: 17px;
  469.     display: inline-block;
  470.     font-size: 11px;
  471. }
  472.  
  473. .rating-bars i .tip-content,
  474. .sub-ratings-container i .tip-content {
  475.     min-width: 220px;
  476.     max-width: 220px;
  477. }
  478.  
  479. .rating-bars  i.tip:after,
  480. .sub-ratings-container i.tip:after {
  481.     line-height: 18px;
  482. }
  483.  
  484.  
  485. /* Verified Review Badge */
  486. .comment-by .tip {
  487.     background: #19b453;
  488.     position: relative;
  489.     cursor: help;
  490. }
  491.  
  492. .comment-by .tip:after {
  493.     color: #fff;
  494.     content: "\f00c";
  495. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement