← All changes
|
includes/extensions/Activity_Log/assets/admin.css
+88
-0
51.1.44
→
51.1.86
View file →
| @@ -75,8 +75,96 @@ | ||
| 75 | 75 | gap: 12px; |
| 76 | 76 | align-items: center; |
| 77 | 77 | } |
| 78 | 78 | |
| 79 | +/* Inputs/selects in Activity Log UI (filters + alert/settings fields) | |
| 80 | + Some templates don't use .ka-row-field, so we style them explicitly. */ | |
| 81 | +.kng-activity-admin .kng-activity-filters input[type="search"], | |
| 82 | +.kng-activity-admin .kng-activity-filters input[type="text"], | |
| 83 | +.kng-activity-admin .kng-activity-filters input[type="date"], | |
| 84 | +.kng-activity-admin .kng-activity-filters input[type="number"], | |
| 85 | +.kng-activity-admin .kng-activity-filters select, | |
| 86 | +.kng-activity-admin .kng-field input[type="text"], | |
| 87 | +.kng-activity-admin .kng-field input[type="number"], | |
| 88 | +.kng-activity-admin .kng-field input[type="email"], | |
| 89 | +.kng-activity-admin .kng-field input[type="password"], | |
| 90 | +.kng-activity-admin .kng-field textarea { | |
| 91 | + width: 100%; | |
| 92 | + max-width: 400px; | |
| 93 | + padding: 12px 16px; | |
| 94 | + border: 1px solid rgba(0, 0, 0, 0.1); | |
| 95 | + border-radius: 12px; | |
| 96 | + font-size: 15px; | |
| 97 | + font-family: inherit; | |
| 98 | + background: #fff; | |
| 99 | + color: #1d1d1f; | |
| 100 | + transition: border-color 0.2s, box-shadow 0.2s; | |
| 101 | +} | |
| 102 | + | |
| 103 | +.kng-activity-admin .kng-activity-filters input:focus, | |
| 104 | +.kng-activity-admin .kng-activity-filters select:focus, | |
| 105 | +.kng-activity-admin .kng-field input:focus, | |
| 106 | +.kng-activity-admin .kng-field textarea:focus { | |
| 107 | + outline: none; | |
| 108 | + border-color: #0071e3; | |
| 109 | + box-shadow: 0 0 0 4px rgba(0, 113, 227, 0.1); | |
| 110 | +} | |
| 111 | + | |
| 112 | +.kng-activity-admin .kng-field label { | |
| 113 | + display: block; | |
| 114 | + font-size: 13px; | |
| 115 | + font-weight: 600; | |
| 116 | + color: inherit; | |
| 117 | + margin-bottom: 8px; | |
| 118 | +} | |
| 119 | + | |
| 120 | +.kng-activity-admin .kng-field small { | |
| 121 | + display: block; | |
| 122 | + margin-top: 8px; | |
| 123 | + font-size: 12px; | |
| 124 | + color: #6e6e73; | |
| 125 | +} | |
| 126 | + | |
| 127 | +body.ka-v3-dark .kng-activity-admin .kng-activity-filters input, | |
| 128 | +body.ka-v3-dark .kng-activity-admin .kng-activity-filters select, | |
| 129 | +body.ka-v3-dark .kng-activity-admin .kng-field input, | |
| 130 | +body.ka-v3-dark .kng-activity-admin .kng-field textarea { | |
| 131 | + background: #2c2c2e; | |
| 132 | + border-color: rgba(255, 255, 255, 0.1); | |
| 133 | + color: #f5f5f7; | |
| 134 | +} | |
| 135 | + | |
| 136 | +body.ka-v3-dark .kng-activity-admin .kng-activity-filters input:focus, | |
| 137 | +body.ka-v3-dark .kng-activity-admin .kng-activity-filters select:focus, | |
| 138 | +body.ka-v3-dark .kng-activity-admin .kng-field input:focus, | |
| 139 | +body.ka-v3-dark .kng-activity-admin .kng-field textarea:focus { | |
| 140 | + border-color: #0a84ff; | |
| 141 | + box-shadow: 0 0 0 4px rgba(10, 132, 255, 0.2); | |
| 142 | +} | |
| 143 | + | |
| 144 | +body.ka-v3-dark .kng-activity-admin .kng-field small { | |
| 145 | + color: #a1a1a6; | |
| 146 | +} | |
| 147 | + | |
| 148 | +/* Select dropdown arrow (match Custom Cursor admin UI) | |
| 149 | + Keep this narrowly scoped to avoid conflicts with other select skins. */ | |
| 150 | +.kng-activity-admin .ka-row-field select:not([multiple]):not(.ka-al-select), | |
| 151 | +.kng-activity-admin .kng-activity-filters select:not([multiple]):not(.ka-al-select) { | |
| 152 | + padding-right: 44px !important; | |
| 153 | + -webkit-appearance: none !important; | |
| 154 | + -moz-appearance: none !important; | |
| 155 | + appearance: none !important; | |
| 156 | + background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 24 24' fill='none' stroke='%231d1d1f' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") !important; | |
| 157 | + background-repeat: no-repeat !important; | |
| 158 | + background-position: right 14px center !important; | |
| 159 | + background-size: 18px 18px !important; | |
| 160 | +} | |
| 161 | + | |
| 162 | +body.ka-v3-dark .kng-activity-admin .ka-row-field select:not([multiple]):not(.ka-al-select), | |
| 163 | +body.ka-v3-dark .kng-activity-admin .kng-activity-filters select:not([multiple]):not(.ka-al-select) { | |
| 164 | + background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 24 24' fill='none' stroke='%23f5f5f7' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") !important; | |
| 165 | +} | |
| 166 | + | |
| 79 | 167 | .kng-activity-filters input, |
| 80 | 168 | .kng-activity-filters select { |
| 81 | 169 | min-width: 160px; |
| 82 | 170 | } |