Advertisement
Guest User

Untitled

a guest
Jan 17th, 2019
88
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
CSS 6.56 KB | None | 0 0
  1. /* New CSS */
  2. @media (min-width: 41.25em) {
  3.     /** Background Image or Pattern **/
  4.     html {
  5.         background: url("https://acb0a5d73b67fccd4bbe-c2d8138f0ea10a18dd4c43ec3aa4240a.ssl.cf5.rackcdn.com/10036/capitol_2.jpg?v=1547577873000") repeat center center fixed;
  6.     }
  7. }
  8. @font-face {
  9.     font-family: PilcrowSoft-Medium;
  10.     src: url(https://acb0a5d73b67fccd4bbe-c2d8138f0ea10a18dd4c43ec3aa4240a.ssl.cf5.rackcdn.com/10036/PilcrowSoft-Medium-webfont.ttf?v=1535392782000), url(https://acb0a5d73b67fccd4bbe-c2d8138f0ea10a18dd4c43ec3aa4240a.ssl.cf5.rackcdn.com/10036/PilcrowSoft-Medium-webfont.eot?v=1535471629000), url(https://acb0a5d73b67fccd4bbe-c2d8138f0ea10a18dd4c43ec3aa4240a.ssl.cf5.rackcdn.com/10036/PilcrowSoft-Medium-webfont.otf?v=1535471627000), url(https://acb0a5d73b67fccd4bbe-c2d8138f0ea10a18dd4c43ec3aa4240a.ssl.cf5.rackcdn.com/10036/PilcrowSoft-Medium-webfont.svg?v=1535471625000), url(https://acb0a5d73b67fccd4bbe-c2d8138f0ea10a18dd4c43ec3aa4240a.ssl.cf5.rackcdn.com/10036/PilcrowSoft-Medium-webfont.woff?v=1535471621000), url(https://acb0a5d73b67fccd4bbe-c2d8138f0ea10a18dd4c43ec3aa4240a.ssl.cf5.rackcdn.com/10036/PilcrowSoft-Medium-webfont.woff2?v=1535471620000);
  11. }
  12. body {
  13.     background-color: initial;
  14. }
  15. /** Align page to left **/
  16.  
  17. #main-content-wrapper {
  18.     float: left;
  19. }
  20. /** Red * for Mandatory Fields **/
  21.  
  22. .en__mandatory label.en__field__label:not(.en__field__label--item)::after {
  23.     content: "*";
  24.     color: red;
  25. }
  26. /** STYLES and COLORS **/
  27.  
  28. #main-content .en__submit button {
  29.     background: #dd061a;
  30. }
  31. /** Disable this to align page to center **/
  32.  
  33. #main-content-wrapper {
  34.     margin: initial;
  35. }
  36. #main-content {
  37.     font-family: 'Roboto', sans-serif;
  38.     color: inherit;
  39. }
  40. #main-content h1 {
  41.     font-family: PilcrowSoft-Medium;
  42.     color: #000000;
  43.     font-size: 35px;
  44.     font-weight: normal;
  45. }
  46. #main-content h2 {
  47.     font-family: PilcrowSoft-Medium;
  48.     color: #000000;
  49.     font-size: 26px;
  50. }
  51. #main-content h3 {
  52.     font-family: PilcrowSoft-Medium;
  53. }
  54. #main-content a {
  55.     color: #dd061a;
  56. }
  57. #main-content-inner .en__field__input--radio:checked+.en__field__label:before, #main-content-inner .en__field__input--checkbox:checked+.en__field__label:before {
  58.     border-color: #dd061a;
  59.     background-color: #dd061a;
  60. }
  61. .en__hidden {
  62.     display: none !important;
  63. }
  64. /* RECURRING DONATION - changing to buttons */
  65.  
  66. /*change the color of the recurring label */
  67.  
  68. .en__field--recurrpay label.en__field__label.en__field__label--item {
  69.     display: block;
  70.     width: 100%;
  71.     margin: 0 0 1rem 0;
  72.     font-family: 'Roboto', sans-serif;
  73.     padding: 0.85rem 1rem;
  74.     -webkit-appearance: none;
  75.     border-radius: 30px;
  76.     -webkit-transition: background-color 0.25s ease-out, color 0.25s ease-out;
  77.     transition: background-color 0.25s ease-out, color 0.25s ease-out;
  78.     font-size: 1rem;
  79.     text-align: center;
  80.     cursor: pointer;
  81.     color: #4a4f55;
  82.     border: 1px solid #a6a6a6;
  83. }
  84. /* change the hover or active behavior of the recurring label */
  85.  
  86. .en__field--recurrpay label.en__field__label.en__field__label--item:hover, .en__field--recurrpay input[type='radio']:checked+label {
  87.     background-color: #d2252b;
  88.     color: #ffffff;
  89.     border: 1px solid transparent;
  90. }
  91. /* remove the radio button */
  92.  
  93. .en__field--recurrpay .en__field__label:before {
  94.     display: none !important;
  95. }
  96. .en__field--recurrpay .en__field__input--radio+.en__field__label {
  97.     margin-left: 0px !important;
  98.     margin: 0 auto;
  99. }
  100. /*Split to 2 buttons */
  101.  
  102. .en__field--recurrpay {
  103.     display: block;
  104. }
  105. @media (min-width: 41.25em) {
  106.     #main-content .en__field--recurrpay .en__field__item {
  107.         width: 49% !important;
  108.     }
  109. }
  110. /* DONATION AMOUNTS - changing to buttons */
  111.  
  112. /* change the color of the donation amount label */
  113.  
  114. .en__field--donationAmt label.en__field__label.en__field__label--item {
  115.     display: block;
  116.     width: 100%;
  117.     margin: 0 0 1rem 0;
  118.     font-family: 'Roboto', sans-serif;
  119.     padding: 0.85rem 1rem;
  120.     -webkit-appearance: none;
  121.     border-radius: 30px;
  122.     -webkit-transition: background-color 0.25s ease-out, color 0.25s ease-out;
  123.     transition: background-color 0.25s ease-out, color 0.25s ease-out;
  124.     font-size: 1rem;
  125.     text-align: center;
  126.     cursor: pointer;
  127.     color: #4a4f55;
  128.     border: 1px solid #a6a6a6;
  129. }
  130. /* change the hover or active behavior of the donation amount label */
  131.  
  132. .en__field--donationAmt label.en__field__label.en__field__label--item:hover, .en__field--donationAmt input[type='radio']:checked+label {
  133.     background-color: #d2252b;
  134.     border: 1px solid transparent;
  135.     color: #fefefe;
  136. }
  137. /* remove the radio button */
  138.  
  139. .en__field--donationAmt .en__field__label:before {
  140.     display: none !important;
  141. }
  142. .en__field--donationAmt .en__field__input--radio+.en__field__label {
  143.     margin-left: 0px !important;
  144.     margin-right: .5em;
  145. }
  146. /*Split to 3 buttons */
  147.  
  148. @media (min-width: 41.25em) {
  149.     #main-content .en__field--donationAmt .en__field__item {
  150.         width: 32.5%;
  151.     }
  152. }
  153. .en__field__item--hidden {
  154.     width: 32.5%;
  155. }
  156. /* Adding Other to the label */
  157.  
  158. .en__field__item--other-radio label.en__field__label.en__field__label--item:after {
  159.     content: "Other";
  160. }
  161. /* Updating textarea height */
  162.  
  163. #main-content textarea {
  164.     height: 5rem !important;
  165. }
  166. /* Hides Recurring Pay label */
  167.  
  168. .en__field--recurrpay label.en__field__label {
  169.     display: none;
  170. }
  171. /* Fixes the error alert for donation amount */
  172.  
  173. #main-content .en__field--donationAmt .en__field__error {
  174.     top: -0.5rem !important;
  175.     position: relative !important;
  176. }
  177. /* Add red star for required */
  178.  
  179. .en__mandatory label.en__field__label:not(.en__field__label--item)::after {
  180.     content: "*";
  181.     color: red;
  182. }
  183. /*Update the submit button color to red */
  184.  
  185. #main-content button {
  186.     background-color: #d2252b;
  187. }
  188. #main-content button:hover, #main-content button:focus {
  189.     background-color: #d2252b;
  190. }
  191. #main-content .en__field__input--radio:checked+.en__field__label:before, #main-content .en__field__input--checkbox:checked+.en__field__label:before {
  192.     border-color: #d2252b;
  193.     background-color: #d2252b;
  194. }
  195. #main-content .en__field__input--checkbox:checked+.en__field__label:before {
  196.     border-color: #d2252b;
  197.     background-color: #d2252b;
  198. }
  199. .en__hidden {
  200.     display: none !important;
  201. }
  202. #main-content .en__component .en__field__error {
  203.     position: relative;
  204. }
  205. .en__field--donationAmt .en__field__input--other {
  206.     background-image: url(https://acb0a5d73b67fccd4bbe-c2d8138f0ea10a18dd4c43ec3aa4240a.ssl.cf5.rackcdn.com/10036/dollar-sign.png?v=1542217169000);
  207.     background-repeat: no-repeat;
  208.     background-position: 10px center;
  209.     color: #0a96e5;
  210.     font-weight: 700;
  211.     padding: 12px 10px 10px 40px!important;
  212.     margin-left: 0px!important;
  213.     width: 100%!important;
  214.     background-color: #ffffff;
  215.     border: solid 1px #ee5100;
  216.     font-size: 1em;
  217.     border-radius: 30px;
  218. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement