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