Adrià Vilanova MartÃnez | f19ea43 | 2024-01-23 20:20:52 +0100 | [diff] [blame] | 1 | /* Copyright 2016 The Chromium Authors |
| 2 | * Use of this source code is governed by a BSD-style license that can be |
| 3 | * found in the LICENSE file. |
Copybara | 854996b | 2021-09-07 19:36:02 +0000 | [diff] [blame] | 4 | */ |
| 5 | |
| 6 | @media (max-width: 425px) { |
| 7 | |
| 8 | body { |
| 9 | min-width: 0; /* get rid of hardcoded width */ |
| 10 | } |
| 11 | |
| 12 | |
| 13 | /* Top navigation bar */ |
| 14 | |
| 15 | #monobar .toptabs { |
| 16 | display: none; /* hide most of the options to save some space */ |
| 17 | } |
| 18 | |
| 19 | #userbar { |
| 20 | padding: 5px; |
| 21 | } |
| 22 | |
| 23 | #userbar > span { |
| 24 | display: inline-flex; |
| 25 | flex-wrap: wrap; |
| 26 | } |
| 27 | |
| 28 | |
| 29 | /* Search toolbar */ |
| 30 | |
| 31 | .subt { |
| 32 | padding: 5px; |
| 33 | } |
| 34 | |
| 35 | .subt .inIssueEntry, .subt .inIssueList { |
| 36 | display: block; |
| 37 | margin: 10px 0 !important; |
| 38 | } |
| 39 | |
| 40 | .subt label[for="searchq"], .subt label[for="can"], #can { |
| 41 | display: none; /* hide some labels and search scope helper field to save some space */ |
| 42 | } |
| 43 | |
| 44 | |
| 45 | /* Main content */ |
| 46 | |
| 47 | #maincol > div > form > table > tbody > tr { |
| 48 | display: flex; |
| 49 | flex-direction: column; |
| 50 | } |
| 51 | |
| 52 | #maincol > div > form > table > tbody > tr > td { |
| 53 | display: block; |
| 54 | } |
| 55 | |
| 56 | #maincol table.rowmajor { |
| 57 | display: flex; |
| 58 | flex-direction: column; |
| 59 | width: auto; /* get rid of hardcoded width */ |
| 60 | max-width: 100%; |
| 61 | } |
| 62 | |
| 63 | #maincol table.rowmajor tbody { |
| 64 | flex-grow: 1; |
| 65 | } |
| 66 | |
| 67 | #maincol table.rowmajor tr { |
| 68 | display: flex; |
| 69 | flex-direction: column; |
| 70 | } |
| 71 | |
| 72 | #maincol table.rowmajor tr > th { |
| 73 | text-align: left; |
| 74 | } |
| 75 | |
| 76 | #maincol table.rowmajor tr > td { |
| 77 | display: block; |
| 78 | width: 90%; |
| 79 | } |
| 80 | |
| 81 | #maincol input[type="button"], |
| 82 | #maincol input[type="submit"], |
| 83 | #maincol select, |
| 84 | #maincol textarea { |
| 85 | font-size: 100%; |
| 86 | width: 100%; |
| 87 | margin-bottom: 16px; |
| 88 | } |
| 89 | |
| 90 | #maincol input[type="button"], |
| 91 | #maincol input[type="submit"] { |
| 92 | padding: 10px; |
| 93 | } |
| 94 | |
| 95 | #maincol .labelediting input { |
| 96 | max-width: 19%; |
| 97 | } |
| 98 | |
| 99 | #maincol div.tip { |
| 100 | display: none; |
| 101 | } |
| 102 | |
| 103 | #maincol .enum_checkbox { |
| 104 | width: 31%; |
| 105 | padding: 3px; |
| 106 | } |
| 107 | |
| 108 | |
| 109 | /* Others */ |
| 110 | |
| 111 | #footer { |
| 112 | display: flex; |
| 113 | margin: 0 5px 5px 5px ; |
| 114 | text-align: left; |
| 115 | } |
| 116 | |
| 117 | #attachprompt { |
| 118 | display: block; |
| 119 | padding: 10px 0; |
| 120 | } |
| 121 | |
| 122 | input[type="button"], |
| 123 | input[type="submit"], |
| 124 | a.buttonify { /* make all types of buttons easier to click */ |
| 125 | padding: 5px; |
| 126 | } |
| 127 | |
| 128 | table#meta-container, |
| 129 | table#meta-container > tbody > tr, |
| 130 | table#meta-container > tbody > tr> td { |
| 131 | display: block; |
| 132 | width: 100%; |
| 133 | } |
| 134 | |
| 135 | #blocked-table { |
| 136 | width: 90%; |
| 137 | } |
| 138 | |
| 139 | } |