content.css
3 months ago
docs.css
3 months ago
header.css
3 months ago
our-dashboard.css
3 months ago
post-type-help-doc-imports.css
3 months ago
post-type-help-docs.css
3 months ago
post-types.css
3 months ago
pt-tax.css
3 months ago
taxonomies.css
3 months ago
post-type-help-doc-imports.css
126 lines
| 1 | |
| 2 | .column-helpdocs_status { |
| 3 | width: 100px; |
| 4 | } |
| 5 | |
| 6 | .helpdocs_status { |
| 7 | vertical-align: top !important; |
| 8 | } |
| 9 | |
| 10 | .helpdocs-status-toggle { |
| 11 | display: flex; |
| 12 | align-items: center; |
| 13 | border-radius: .75rem; |
| 14 | border: 1px solid #e4e9eb; |
| 15 | gap: .25rem; |
| 16 | padding-block: 0.0625rem; |
| 17 | padding-inline: 0.375rem 0.5rem; |
| 18 | transition: all ease-in-out .2s; |
| 19 | white-space: nowrap; |
| 20 | width: auto; |
| 21 | cursor: pointer; |
| 22 | color: #000; |
| 23 | } |
| 24 | |
| 25 | .helpdocs-status-toggle.is-active { |
| 26 | background: #eefcf0; |
| 27 | border-color: #57c091; |
| 28 | } |
| 29 | |
| 30 | .helpdocs-status-toggle.is-active:hover { |
| 31 | background: #d1f3db; |
| 32 | border-color: #57c091; |
| 33 | } |
| 34 | |
| 35 | .helpdocs-status-toggle.is-inactive { |
| 36 | background: #fbeaea; |
| 37 | border-color: #dc3545; |
| 38 | } |
| 39 | |
| 40 | .helpdocs-status-toggle.is-inactive:hover { |
| 41 | background: #f5d6d6; |
| 42 | border-color: #dc3545; |
| 43 | } |
| 44 | |
| 45 | .helpdocs-status-toggle:before { |
| 46 | background: #dc3545; |
| 47 | block-size: 0.375rem; |
| 48 | border-radius: 50%; |
| 49 | content: ""; |
| 50 | display: inline-block; |
| 51 | inline-size: 0.375rem; |
| 52 | transition: all ease-in-out .2s; |
| 53 | } |
| 54 | |
| 55 | .helpdocs-status-toggle.is-active:before { |
| 56 | background: #57c091; |
| 57 | } |
| 58 | |
| 59 | .helpdocs-status-toggle.is-inactive:before { |
| 60 | background: #dc3545; |
| 61 | } |
| 62 | |
| 63 | .helpdocs-post-status { |
| 64 | font-weight: 500; |
| 65 | font-size: .75rem; |
| 66 | line-height: 1.5; |
| 67 | } |
| 68 | |
| 69 | /* Processing state */ |
| 70 | .helpdocs-status-toggle.updating { |
| 71 | opacity: 0.8 !important; |
| 72 | cursor: wait; |
| 73 | pointer-events: none; |
| 74 | } |
| 75 | |
| 76 | .helpdocs-status-toggle.updating:before { |
| 77 | background: transparent !important; |
| 78 | border: 2px solid #ccd0d4; |
| 79 | border-top-color: #2271b1; |
| 80 | border-radius: 50%; |
| 81 | animation: helpdocs-spin 0.8s linear infinite; |
| 82 | inline-size: 0.5rem; |
| 83 | block-size: 0.5rem; |
| 84 | } |
| 85 | |
| 86 | @keyframes helpdocs-spin { |
| 87 | to { transform: rotate( 360deg ); } |
| 88 | } |
| 89 | |
| 90 | /* Active animation */ |
| 91 | .helpdocs-success-pulse { |
| 92 | position: relative; |
| 93 | overflow: hidden; |
| 94 | } |
| 95 | |
| 96 | .helpdocs-success-pulse::after { |
| 97 | content: ""; |
| 98 | position: absolute; |
| 99 | top: 0; |
| 100 | left: -100%; |
| 101 | width: 100%; |
| 102 | height: 100%; |
| 103 | background: linear-gradient( |
| 104 | 90deg, |
| 105 | transparent, |
| 106 | rgba( 255, 255, 255, 0.6 ), |
| 107 | transparent |
| 108 | ); |
| 109 | transition: none; |
| 110 | animation: helpdocs-sweep 0.5s ease-out; |
| 111 | } |
| 112 | |
| 113 | .helpdocs-success-pulse.is-active:before { |
| 114 | animation: helpdocs-dot-flash 0.5s ease-out; |
| 115 | } |
| 116 | |
| 117 | @keyframes helpdocs-sweep { |
| 118 | 0% { left: -100%; } |
| 119 | 100% { left: 100%; } |
| 120 | } |
| 121 | |
| 122 | @keyframes helpdocs-dot-flash { |
| 123 | 0% { transform: scale( 1 ); filter: brightness( 1 ); } |
| 124 | 50% { transform: scale( 1.5 ); filter: brightness( 1.5 ); } |
| 125 | 100% { transform: scale( 1 ); filter: brightness( 1 ); } |
| 126 | } |