| @@ -37,43 +37,48 @@ | ||
| 37 | 37 | fieldset.bogo-locale-options label.bogo-locale-option input[type="checkbox"] { |
| 38 | 38 | width: 16px; |
| 39 | 39 | } |
| 40 | 40 | |
| 41 | -/* Bogo Tools */ | |
| 41 | +/* Available Languages */ | |
| 42 | 42 | |
| 43 | -#translations th, | |
| 44 | -#translations td { | |
| 43 | +#bogo-languages-table { | |
| 44 | + margin-top: 20px; | |
| 45 | +} | |
| 46 | + | |
| 47 | +#bogo-languages-table tbody th, | |
| 48 | +#bogo-languages-table tbody td { | |
| 45 | 49 | box-shadow: 0 -1px 0 rgba(0, 0, 0, 0.1) inset; |
| 46 | 50 | padding: 10px; |
| 47 | 51 | } |
| 48 | 52 | |
| 49 | -#translations th { | |
| 53 | +#bogo-languages-table tbody th { | |
| 50 | 54 | width: 2em; |
| 51 | 55 | border-left: 0; |
| 52 | 56 | padding-left: 16px; |
| 53 | 57 | } |
| 54 | 58 | |
| 55 | -#translations tr.active th, | |
| 56 | -#translations tr.active td { | |
| 59 | +#bogo-languages-table tbody tr.active th, | |
| 60 | +#bogo-languages-table tbody tr.active td { | |
| 57 | 61 | background-color: #f7fcfe; |
| 58 | 62 | } |
| 59 | 63 | |
| 60 | -#translations tr.active th { | |
| 64 | +#bogo-languages-table tbody tr.active th { | |
| 61 | 65 | border-left: 4px solid #00a0d2; |
| 62 | 66 | padding-left: 12px; |
| 63 | 67 | } |
| 64 | 68 | |
| 65 | -#translations tr:last-child td, | |
| 66 | -#translations tr:last-child th { | |
| 69 | +#bogo-languages-table tbody tr:last-child td, | |
| 70 | +#bogo-languages-table tbody tr:last-child th { | |
| 67 | 71 | border-bottom: none; |
| 68 | 72 | box-shadow: none; |
| 69 | 73 | } |
| 70 | 74 | |
| 71 | -#translations td strong { | |
| 75 | +#bogo-languages-table tbody td strong { | |
| 72 | 76 | font-size: 110%; |
| 73 | 77 | } |
| 74 | 78 | |
| 75 | -#translations a.install, #translations a.activate { | |
| 79 | +#bogo-languages-table tbody a.install, | |
| 80 | +#bogo-languages-table tbody a.activate { | |
| 76 | 81 | border: 1px solid #0074a2; |
| 77 | 82 | background: #d4eefe; |
| 78 | 83 | border-radius: 4px; |
| 79 | 84 | padding: 0 4px; |
| @@ -81,26 +86,51 @@ | ||
| 81 | 86 | font-size: 90%; |
| 82 | 87 | margin-left: .4em; |
| 83 | 88 | } |
| 84 | 89 | |
| 85 | -#translations a.install:active, #translations a.install:hover, | |
| 86 | -#translations a.activate:active, #translations a.activate:hover { | |
| 90 | +#bogo-languages-table tbody a.install:active, | |
| 91 | +#bogo-languages-table tbody a.install:hover, | |
| 92 | +#bogo-languages-table tbody a.activate:active, | |
| 93 | +#bogo-languages-table tbody a.activate:hover { | |
| 87 | 94 | border: 1px solid #2ea2cc; |
| 88 | 95 | } |
| 89 | 96 | |
| 90 | -#translations div.status { | |
| 97 | +#bogo-languages-table tbody div.status { | |
| 91 | 98 | color: #ddd; |
| 92 | 99 | } |
| 93 | 100 | |
| 94 | -#translations div.status span.status { | |
| 101 | +#bogo-languages-table tbody div.status span.status { | |
| 95 | 102 | color: #555; |
| 96 | 103 | } |
| 97 | 104 | |
| 98 | -#translations div.status a.delete, | |
| 99 | -#translations div.status a.deactivate { | |
| 105 | +#bogo-languages-table tbody div.status a.delete, | |
| 106 | +#bogo-languages-table tbody div.status a.deactivate { | |
| 100 | 107 | color: #a00; |
| 101 | 108 | } |
| 102 | 109 | |
| 103 | -#translations div.status a.delete:hover, | |
| 104 | -#translations div.status a.deactivate:hover { | |
| 110 | +#bogo-languages-table tbody div.status a.delete:hover, | |
| 111 | +#bogo-languages-table tbody div.status a.deactivate:hover { | |
| 105 | 112 | color: #f00; |
| 113 | +} | |
| 114 | + | |
| 115 | +/* Post */ | |
| 116 | + | |
| 117 | +ul#bogo-translations li { | |
| 118 | + list-style-type: disc; | |
| 119 | + margin-left: 1.4em; | |
| 120 | +} | |
| 121 | + | |
| 122 | +#bogo-translations-to-add { | |
| 123 | + width: 100%; | |
| 124 | +} | |
| 125 | + | |
| 126 | +#bogo-add-translation-actions span.spinner, | |
| 127 | +#bogo-add-translation-actions button { | |
| 128 | + float: left; | |
| 129 | +} | |
| 130 | + | |
| 131 | +/* Admin Bar */ | |
| 132 | + | |
| 133 | +#wpadminbar #wp-admin-bar-bogo-user-locale .ab-icon::before { | |
| 134 | + content: "\f326"; | |
| 135 | + top: 2px; | |
| 106 | 136 | } |