| @@ -37,88 +37,80 @@ | ||
| 37 | 37 | fieldset.bogo-locale-options label.bogo-locale-option input[type="checkbox"] { |
| 38 | 38 | width: 16px; |
| 39 | 39 | } |
| 40 | 40 | |
| 41 | -/* Language Packs */ | |
| 41 | +/* Available Languages */ | |
| 42 | 42 | |
| 43 | -#bogo-language-packs td { | |
| 43 | +#bogo-languages-table { | |
| 44 | + margin-top: 20px; | |
| 45 | +} | |
| 46 | + | |
| 47 | +#bogo-languages-table tbody th, | |
| 48 | +#bogo-languages-table tbody td { | |
| 44 | 49 | box-shadow: 0 -1px 0 rgba(0, 0, 0, 0.1) inset; |
| 45 | 50 | padding: 10px; |
| 46 | 51 | } |
| 47 | 52 | |
| 48 | -#bogo-language-packs td:first-child { | |
| 53 | +#bogo-languages-table tbody th { | |
| 54 | + width: 2em; | |
| 49 | 55 | border-left: 0; |
| 50 | 56 | padding-left: 16px; |
| 51 | 57 | } |
| 52 | 58 | |
| 53 | -#bogo-language-packs tr.active td { | |
| 59 | +#bogo-languages-table tbody tr.active th, | |
| 60 | +#bogo-languages-table tbody tr.active td { | |
| 54 | 61 | background-color: #f7fcfe; |
| 55 | 62 | } |
| 56 | 63 | |
| 57 | -#bogo-language-packs tr.active td:first-child { | |
| 64 | +#bogo-languages-table tbody tr.active th { | |
| 58 | 65 | border-left: 4px solid #00a0d2; |
| 59 | 66 | padding-left: 12px; |
| 60 | 67 | } |
| 61 | 68 | |
| 62 | -#bogo-language-packs td.status ul { | |
| 63 | - margin: 0; | |
| 69 | +#bogo-languages-table tbody tr:last-child td, | |
| 70 | +#bogo-languages-table tbody tr:last-child th { | |
| 71 | + border-bottom: none; | |
| 72 | + box-shadow: none; | |
| 64 | 73 | } |
| 65 | 74 | |
| 66 | -#bogo-language-packs td.status li.post-count, | |
| 67 | -#bogo-language-packs td.status li.page-count { | |
| 68 | - float: left; | |
| 69 | - margin: 6px 16px 0 0; | |
| 75 | +#bogo-languages-table tbody td strong { | |
| 76 | + font-size: 110%; | |
| 70 | 77 | } |
| 71 | 78 | |
| 72 | -#bogo-language-packs td.status li.post-count a::before, | |
| 73 | -#bogo-language-packs td.status li.page-count a::before { | |
| 74 | - font: normal 20px/1 dashicons; | |
| 75 | - color: #82878c; | |
| 76 | - content: '\f159'; | |
| 77 | - display: inline-block; | |
| 78 | - vertical-align: top; | |
| 79 | - padding-right: 4px; | |
| 79 | +#bogo-languages-table tbody a.install, | |
| 80 | +#bogo-languages-table tbody a.activate { | |
| 81 | + border: 1px solid #0074a2; | |
| 82 | + background: #d4eefe; | |
| 83 | + border-radius: 4px; | |
| 84 | + padding: 0 4px; | |
| 80 | 85 | text-decoration: none; |
| 86 | + font-size: 90%; | |
| 87 | + margin-left: .4em; | |
| 81 | 88 | } |
| 82 | 89 | |
| 83 | -#bogo-language-packs td.status li.post-count a::before { | |
| 84 | - content: '\f109'; | |
| 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 { | |
| 94 | + border: 1px solid #2ea2cc; | |
| 85 | 95 | } |
| 86 | 96 | |
| 87 | -#bogo-language-packs td.status li.page-count a::before { | |
| 88 | - content: '\f105'; | |
| 97 | +#bogo-languages-table tbody div.status { | |
| 98 | + color: #ddd; | |
| 89 | 99 | } |
| 90 | 100 | |
| 91 | -/* Terms Translation */ | |
| 92 | - | |
| 93 | -#bogo-terms-translation .large-text { | |
| 94 | - background: transparent; | |
| 101 | +#bogo-languages-table tbody div.status span.status { | |
| 95 | 102 | color: #555; |
| 96 | - font-size: 13px; | |
| 97 | - border: none; | |
| 98 | - box-shadow: none; | |
| 99 | - padding-left: 0; | |
| 100 | - margin-left: 0; | |
| 101 | 103 | } |
| 102 | 104 | |
| 103 | -#bogo-terms-translation .large-text:hover { | |
| 104 | - background: #fff; | |
| 105 | - color: #32373c; | |
| 106 | - font-size: 14px; | |
| 107 | - border: 1px solid #ddd; | |
| 108 | - box-shadow: 0 1px 2px rgba(0, 0, 0, 0.07) inset; | |
| 109 | - padding-left: 5px; | |
| 110 | - margin-left: 1px; | |
| 105 | +#bogo-languages-table tbody div.status a.delete, | |
| 106 | +#bogo-languages-table tbody div.status a.deactivate { | |
| 107 | + color: #a00; | |
| 111 | 108 | } |
| 112 | 109 | |
| 113 | -#bogo-terms-translation .large-text:focus { | |
| 114 | - background: #fff; | |
| 115 | - color: #32373c; | |
| 116 | - font-size: 14px; | |
| 117 | - border: 1px solid #5b9dd9; | |
| 118 | - box-shadow: 0 0 2px rgba(30, 140, 190, 0.8); | |
| 119 | - padding-left: 5px; | |
| 120 | - margin-left: 1px; | |
| 110 | +#bogo-languages-table tbody div.status a.delete:hover, | |
| 111 | +#bogo-languages-table tbody div.status a.deactivate:hover { | |
| 112 | + color: #f00; | |
| 121 | 113 | } |
| 122 | 114 | |
| 123 | 115 | /* Post */ |
| 124 | 116 | |
| @@ -124,8 +116,17 @@ | ||
| 124 | 116 | |
| 125 | 117 | ul#bogo-translations li { |
| 126 | 118 | list-style-type: disc; |
| 127 | 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; | |
| 128 | 129 | } |
| 129 | 130 | |
| 130 | 131 | /* Admin Bar */ |
| 131 | 132 | |