style.css 2.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899
  1. .bg-azul {
  2. background-color: #00a6CE;
  3. }
  4. .azul {
  5. color: #00a6CE;
  6. }
  7. /* for sm */
  8. .custom-switch.custom-switch-sm .custom-control-label {
  9. padding-left: 1rem;
  10. padding-bottom: 1rem;
  11. }
  12. .custom-switch.custom-switch-sm .custom-control-label::before {
  13. height: 1rem;
  14. width: calc(1rem + 0.75rem);
  15. border-radius: 2rem;
  16. }
  17. .custom-switch.custom-switch-sm .custom-control-label::after {
  18. width: calc(1rem - 4px);
  19. height: calc(1rem - 4px);
  20. border-radius: calc(1rem - (1rem / 2));
  21. }
  22. .custom-switch.custom-switch-sm .custom-control-input:checked ~ .custom-control-label::after {
  23. transform: translateX(calc(1rem - 0.25rem));
  24. }
  25. /* for md */
  26. .custom-switch.custom-switch-md .custom-control-label {
  27. padding-left: 2rem;
  28. padding-bottom: 1.5rem;
  29. }
  30. .custom-switch.custom-switch-md .custom-control-label::before {
  31. height: 1.5rem;
  32. width: calc(2rem + 0.75rem);
  33. border-radius: 3rem;
  34. }
  35. .custom-switch.custom-switch-md .custom-control-label::after {
  36. width: calc(1.5rem - 4px);
  37. height: calc(1.5rem - 4px);
  38. border-radius: calc(2rem - (1.5rem / 2));
  39. }
  40. .custom-switch.custom-switch-md .custom-control-input:checked ~ .custom-control-label::after {
  41. transform: translateX(calc(1.5rem - 0.25rem));
  42. }
  43. /* for lg */
  44. .custom-switch.custom-switch-lg .custom-control-label {
  45. padding-left: 3rem;
  46. padding-bottom: 2rem;
  47. }
  48. .custom-switch.custom-switch-lg .custom-control-label::before {
  49. height: 2rem;
  50. width: calc(3rem + 0.75rem);
  51. border-radius: 4rem;
  52. }
  53. .custom-switch.custom-switch-lg .custom-control-label::after {
  54. width: calc(2rem - 4px);
  55. height: calc(2rem - 4px);
  56. border-radius: calc(3rem - (2rem / 2));
  57. }
  58. .custom-switch.custom-switch-lg .custom-control-input:checked ~ .custom-control-label::after {
  59. transform: translateX(calc(2rem - 0.25rem));
  60. }
  61. /* for xl */
  62. .custom-switch.custom-switch-xl .custom-control-label {
  63. padding-left: 4rem;
  64. padding-bottom: 2.5rem;
  65. }
  66. .custom-switch.custom-switch-xl .custom-control-label::before {
  67. height: 2.5rem;
  68. width: calc(4rem + 0.75rem);
  69. border-radius: 5rem;
  70. }
  71. .custom-switch.custom-switch-xl .custom-control-label::after {
  72. width: calc(2.5rem - 4px);
  73. height: calc(2.5rem - 4px);
  74. border-radius: calc(4rem - (2.5rem / 2));
  75. }
  76. .custom-switch.custom-switch-xl .custom-control-input:checked ~ .custom-control-label::after {
  77. transform: translateX(calc(2.5rem - 0.25rem));
  78. }