|
| 1 | +/** |
| 2 | + * Style crud boxes admin |
| 3 | + * |
| 4 | + * @package PagBank Connect |
| 5 | + * @author Ricardo Martins |
| 6 | + */ |
| 7 | + |
| 8 | +/* Estilos para a listagem de caixas */ |
| 9 | +.wp-list-table .column-reference { |
| 10 | + width: 15%; |
| 11 | +} |
| 12 | + |
| 13 | +.wp-list-table .column-dimensions { |
| 14 | + width: 25%; |
| 15 | +} |
| 16 | + |
| 17 | +.wp-list-table .column-weight { |
| 18 | + width: 15%; |
| 19 | +} |
| 20 | + |
| 21 | +.wp-list-table .column-cost { |
| 22 | + width: 10%; |
| 23 | +} |
| 24 | + |
| 25 | +.wp-list-table .column-is_available { |
| 26 | + width: 10%; |
| 27 | +} |
| 28 | + |
| 29 | +.wp-list-table .column-created_at { |
| 30 | + width: 15%; |
| 31 | +} |
| 32 | + |
| 33 | +/* Estilos para o formulário de caixa */ |
| 34 | +.form-table th { |
| 35 | + width: 200px; |
| 36 | +} |
| 37 | + |
| 38 | +.form-table h3 { |
| 39 | + margin: 20px 0 10px 0; |
| 40 | + padding: 10px 0; |
| 41 | + border-bottom: 1px solid #ddd; |
| 42 | + color: #23282d; |
| 43 | +} |
| 44 | + |
| 45 | +.form-table h3:first-child { |
| 46 | + margin-top: 0; |
| 47 | +} |
| 48 | + |
| 49 | +/* Estilos para campos numéricos */ |
| 50 | +.form-table input[type="number"] { |
| 51 | + width: 80px; |
| 52 | +} |
| 53 | + |
| 54 | +.form-table .description { |
| 55 | + font-style: italic; |
| 56 | + color: #666; |
| 57 | + margin-left: 5px; |
| 58 | +} |
| 59 | + |
| 60 | +/* Estilos para notificações */ |
| 61 | +.notice { |
| 62 | + margin: 15px 0; |
| 63 | +} |
| 64 | + |
| 65 | +/* Estilos para botões de ação */ |
| 66 | +.page-title-action { |
| 67 | + margin-left: 10px; |
| 68 | +} |
| 69 | + |
| 70 | +/* Estilos para ícones de status */ |
| 71 | +.dashicons-yes-alt { |
| 72 | + color: #46b450 !important; |
| 73 | +} |
| 74 | + |
| 75 | +.dashicons-dismiss { |
| 76 | + color: #dc3232 !important; |
| 77 | +} |
| 78 | + |
| 79 | +/* Estilos para filtros */ |
| 80 | +.alignleft.actions { |
| 81 | + margin-bottom: 10px; |
| 82 | +} |
| 83 | + |
| 84 | +.alignleft.actions select { |
| 85 | + margin-right: 10px; |
| 86 | +} |
| 87 | + |
| 88 | +/* Estilos responsivos */ |
| 89 | +@media screen and (max-width: 782px) { |
| 90 | + .wp-list-table .column-dimensions, |
| 91 | + .wp-list-table .column-weight { |
| 92 | + display: none; |
| 93 | + } |
| 94 | + |
| 95 | + .form-table th { |
| 96 | + width: auto; |
| 97 | + } |
| 98 | + |
| 99 | + .form-table input[type="number"] { |
| 100 | + width: 100%; |
| 101 | + max-width: 120px; |
| 102 | + } |
| 103 | +} |
| 104 | + |
| 105 | +/* Estilos para validação de formulário */ |
| 106 | +.form-table input:invalid { |
| 107 | + border-color: #dc3232; |
| 108 | +} |
| 109 | + |
| 110 | +.form-table input:valid { |
| 111 | + border-color: #46b450; |
| 112 | +} |
| 113 | + |
| 114 | +/* Estilos para campos obrigatórios */ |
| 115 | +.required { |
| 116 | + color: #dc3232; |
| 117 | +} |
| 118 | + |
| 119 | +/* Estilos para seções do formulário */ |
| 120 | +.form-table tr[colspan="2"] th { |
| 121 | + background-color: #f1f1f1; |
| 122 | + font-weight: bold; |
| 123 | + padding: 15px 10px; |
| 124 | +} |
| 125 | + |
| 126 | +/* Estilos para tooltips */ |
| 127 | +[title] { |
| 128 | + cursor: help; |
| 129 | +} |
| 130 | + |
| 131 | +/* Estilos para mensagens de erro */ |
| 132 | +.notice-error p { |
| 133 | + color: #dc3232; |
| 134 | + font-weight: bold; |
| 135 | +} |
| 136 | + |
| 137 | +/* Estilos para mensagens de sucesso */ |
| 138 | +.notice-success p { |
| 139 | + color: #46b450; |
| 140 | + font-weight: bold; |
| 141 | +} |
| 142 | + |
| 143 | +/* Estilos para a tabela de listagem */ |
| 144 | +.wp-list-table tbody tr:hover { |
| 145 | + background-color: #f9f9f9; |
| 146 | +} |
| 147 | + |
| 148 | +/* Estilos para ações em lote */ |
| 149 | +.bulk-actions { |
| 150 | + margin-bottom: 10px; |
| 151 | +} |
| 152 | + |
| 153 | +/* Estilos para paginação */ |
| 154 | +.tablenav-pages { |
| 155 | + margin-top: 10px; |
| 156 | +} |
| 157 | + |
| 158 | +/* Estilos para busca */ |
| 159 | +.search-box { |
| 160 | + margin-bottom: 10px; |
| 161 | +} |
| 162 | + |
| 163 | +/* Estilos para ordenação */ |
| 164 | +.wp-list-table .sortable a { |
| 165 | + text-decoration: none; |
| 166 | +} |
| 167 | + |
| 168 | +.wp-list-table .sortable a:hover { |
| 169 | + text-decoration: underline; |
| 170 | +} |
| 171 | + |
| 172 | +/* Estilos para checkboxes */ |
| 173 | +.wp-list-table .check-column { |
| 174 | + width: 2.2em; |
| 175 | +} |
| 176 | + |
| 177 | +/* Estilos para links de ação */ |
| 178 | +.row-actions { |
| 179 | + color: #ddd; |
| 180 | + font-size: 11px; |
| 181 | + margin-left: 0; |
| 182 | + padding: 2px 0 0; |
| 183 | + visibility: hidden; |
| 184 | +} |
| 185 | + |
| 186 | +.wp-list-table tr:hover .row-actions { |
| 187 | + visibility: visible; |
| 188 | +} |
| 189 | + |
| 190 | +.row-actions span { |
| 191 | + display: inline; |
| 192 | +} |
| 193 | + |
| 194 | +.row-actions .edit a { |
| 195 | + color: #0073aa; |
| 196 | +} |
| 197 | + |
| 198 | +.row-actions .delete a { |
| 199 | + color: #a00; |
| 200 | +} |
| 201 | + |
| 202 | +.row-actions .delete a:hover { |
| 203 | + color: #dc3232; |
| 204 | +} |
0 commit comments