_protect.scss 1.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990
  1. /* 'Pages' is a temporary location for these styles, until we can break them up into their proper atmoic locations */
  2. // ==========================================================================
  3. // Jetpack Protect Config Page
  4. //==========================================================================
  5. .configure-module p {
  6. font-size: 14px;
  7. &.success, &.error {
  8. color: $white;
  9. padding: 10px;
  10. }
  11. &.success {
  12. background-color: $green;
  13. }
  14. &.error {
  15. background-color: $red;
  16. }
  17. }
  18. .protect-status {
  19. p {
  20. font-size: 16px;
  21. }
  22. strong {
  23. display: inline-block;
  24. margin-top: 10px;
  25. background: #fff;
  26. padding: 10px;
  27. border: 1px #ddd solid;
  28. font-size: 16px;
  29. color: #000;
  30. max-width: 100%;
  31. }
  32. &.attn {
  33. color: $red;
  34. }
  35. &.working {
  36. color: $green;
  37. }
  38. } // .protect-status
  39. .protect-whitelist {
  40. textarea {
  41. width: 100%;
  42. min-height: 150px;
  43. }
  44. }
  45. /* btns + inputs */
  46. .configure-module {
  47. input[disabled] {
  48. opacity: .5;
  49. }
  50. input.button-primary {
  51. font-weight: bold;
  52. }
  53. }
  54. /* whitelist table */
  55. @media only screen and (min-width : 1100px) {
  56. .protect-whitelist {
  57. width: 65%;
  58. float: left;
  59. }
  60. } /* end > 1065px */
  61. @media only screen and (max-width : 400px) {
  62. .protect-status strong {
  63. font-size: 12px;
  64. overflow: auto;
  65. }
  66. } /* end < 400px */