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