OLD | NEW |
1 /* Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 /* Copyright (c) 2012 The Chromium Authors. All rights reserved. |
2 * Use of this source code is governed by a BSD-style license that can be | 2 * Use of this source code is governed by a BSD-style license that can be |
3 * found in the LICENSE file. */ | 3 * found in the LICENSE file. */ |
4 | 4 |
5 html { | 5 html { |
6 height: 100%; | 6 height: 100%; |
7 } | 7 } |
8 | 8 |
9 html.col-resize * { | 9 html.col-resize * { |
10 cursor: col-resize !important; | 10 cursor: col-resize !important; |
(...skipping 20 matching lines...) Expand all Loading... |
31 /*display: -webkit-box;*/ | 31 /*display: -webkit-box;*/ |
32 opacity: 1; | 32 opacity: 1; |
33 } | 33 } |
34 | 34 |
35 /* Drop opacity of selected rows to give a visual feedback on copy/cut | 35 /* Drop opacity of selected rows to give a visual feedback on copy/cut |
36 * operation. */ | 36 * operation. */ |
37 .blink { | 37 .blink { |
38 opacity: 0.8; | 38 opacity: 0.8; |
39 } | 39 } |
40 | 40 |
| 41 body[new-ui] ::-webkit-scrollbar { |
| 42 height: 8px; |
| 43 width: 8px; |
| 44 } |
| 45 |
| 46 body[new-ui] ::-webkit-scrollbar-track { |
| 47 padding: 5px; |
| 48 } |
| 49 |
| 50 body[new-ui] ::-webkit-scrollbar-thumb { |
| 51 background-color: rgb(180, 180, 180); |
| 52 } |
| 53 |
41 #butter-bar-container { | 54 #butter-bar-container { |
42 -webkit-box-pack: center; | 55 -webkit-box-pack: center; |
43 display: -webkit-box; | 56 display: -webkit-box; |
44 left: 0; | 57 left: 0; |
45 pointer-events: none; | 58 pointer-events: none; |
46 position: absolute; | 59 position: absolute; |
47 top: 0; | 60 top: 0; |
48 width: 100%; | 61 width: 100%; |
49 z-index: 3; | 62 z-index: 3; |
50 } | 63 } |
(...skipping 1039 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1090 height: 61px; | 1103 height: 61px; |
1091 opacity: 1; | 1104 opacity: 1; |
1092 padding: 0 16px 0 7px; | 1105 padding: 0 16px 0 7px; |
1093 position: relative; | 1106 position: relative; |
1094 z-index: 3; | 1107 z-index: 3; |
1095 } | 1108 } |
1096 | 1109 |
1097 body[new-ui] .preview-panel { | 1110 body[new-ui] .preview-panel { |
1098 background-color: white; | 1111 background-color: white; |
1099 border-top: 1px solid #d4d4d4; | 1112 border-top: 1px solid #d4d4d4; |
| 1113 height: 51px; |
| 1114 padding: 0 12px 0 7px; |
1100 } | 1115 } |
1101 | 1116 |
1102 .preview-panel[visibility=hiding] { | 1117 .preview-panel[visibility=hiding] { |
1103 /* Using all seems to cause preview panel and checkbox flicking issue. */ | 1118 /* Using all seems to cause preview panel and checkbox flicking issue. */ |
1104 -webkit-transform: translate(0, 5px); | 1119 -webkit-transform: translate(0, 5px); |
1105 -webkit-transition: opacity 220ms ease; | 1120 -webkit-transition: opacity 220ms ease; |
1106 opacity: 0; | 1121 opacity: 0; |
1107 } | 1122 } |
1108 | 1123 |
1109 .preview-panel[visibility=hidden] { | 1124 .preview-panel[visibility=hidden] { |
1110 display: none; | 1125 display: none; |
1111 opacity: 0; | 1126 opacity: 0; |
1112 } | 1127 } |
1113 | 1128 |
1114 .preview-thumbnails { | 1129 .preview-thumbnails { |
1115 -webkit-box-orient: horizontal; | 1130 -webkit-box-orient: horizontal; |
1116 display: -webkit-box; | 1131 display: -webkit-box; |
1117 padding-left: 39px; | 1132 padding-left: 39px; |
1118 } | 1133 } |
1119 | 1134 |
| 1135 body[new-ui] .preview-thumbnails { |
| 1136 padding-left: 25px; |
| 1137 } |
| 1138 |
| 1139 |
1120 .preview-thumbnails > .thumbnail { | 1140 .preview-thumbnails > .thumbnail { |
1121 -webkit-box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2); | 1141 -webkit-box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2); |
1122 background-color: #f2f2f2; | 1142 background-color: #f2f2f2; |
1123 border: 1px solid #fff; | 1143 border: 1px solid #fff; |
1124 height: 45px; | 1144 height: 45px; |
1125 margin: 0 0 0 -39px; /* Show 7 pixels of the overlapped image */ | 1145 margin: 0 0 0 -39px; /* Show 7 pixels of the overlapped image */ |
1126 position: relative; | 1146 position: relative; |
1127 width: 45px; | 1147 width: 45px; |
1128 } | 1148 } |
1129 | 1149 |
1130 body[new-ui] .preview-thumbnails > .thumbnail { | 1150 body[new-ui] .preview-thumbnails > .thumbnail { |
| 1151 -webkit-box-shadow: 0 1px 1px rgba(80, 80, 80, 0.5); |
| 1152 border: 1px solid #fff; |
| 1153 height: 35px; |
| 1154 margin: 0 0 0 -25px; /* Overlapped images. */ |
| 1155 width: 35px; |
| 1156 } |
| 1157 |
| 1158 body[new-ui] .preview-thumbnails > .thumbnail { |
1131 background-color: white; | 1159 background-color: white; |
1132 } | 1160 } |
1133 | 1161 |
1134 .preview-thumbnails > .thumbnail > .img-container { | 1162 .preview-thumbnails > .thumbnail > .img-container { |
1135 background-size: 45px 45px; | 1163 background-size: 45px 45px; |
1136 height: 45px; | 1164 height: 45px; |
1137 overflow: hidden; | 1165 overflow: hidden; |
1138 position: relative; | 1166 position: relative; |
1139 width: 45px; | 1167 width: 45px; |
1140 } | 1168 } |
1141 | 1169 |
| 1170 body[new-ui] .preview-thumbnails > .thumbnail > .img-container { |
| 1171 -webkit-box-sizing: border-box; |
| 1172 background-size: 35px 35px; |
| 1173 border: 1px solid white; |
| 1174 height: 35px; |
| 1175 width: 35px; |
| 1176 } |
| 1177 |
1142 .preview-thumbnails > .popup { | 1178 .preview-thumbnails > .popup { |
1143 -webkit-transform: translate(0, 3px) scale(0.95); | 1179 -webkit-transform: translate(0, 3px) scale(0.95); |
1144 background-color: #f2f2f2; | 1180 background-color: #f2f2f2; |
1145 border: 2px solid #fff; | 1181 border: 2px solid #fff; |
1146 box-shadow: 0 0 0 1px #F0F0F0, | 1182 box-shadow: 0 0 0 1px #F0F0F0, |
1147 0 0 0 2px #D0D0D0, | 1183 0 0 0 2px #D0D0D0, |
1148 2px 2px 6px rgba(0, 0, 0, 0.2); | 1184 2px 2px 6px rgba(0, 0, 0, 0.2); |
1149 margin: 6px 0 0 -40px; | 1185 margin: 6px 0 0 -40px; |
1150 opacity: 0; | 1186 opacity: 0; |
1151 pointer-events: none; | 1187 pointer-events: none; |
(...skipping 742 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1894 } | 1930 } |
1895 | 1931 |
1896 list.autocomplete-suggestions[hasElementFocus] > [selected], | 1932 list.autocomplete-suggestions[hasElementFocus] > [selected], |
1897 list.autocomplete-suggestions[hasElementFocus] > [lead], | 1933 list.autocomplete-suggestions[hasElementFocus] > [lead], |
1898 list.autocomplete-suggestions:not([hasElementFocus]) > [selected], | 1934 list.autocomplete-suggestions:not([hasElementFocus]) > [selected], |
1899 list.autocomplete-suggestions:not([hasElementFocus]) > [lead] { | 1935 list.autocomplete-suggestions:not([hasElementFocus]) > [lead] { |
1900 background-color: rgb(238, 238, 238); | 1936 background-color: rgb(238, 238, 238); |
1901 background-image: none; | 1937 background-image: none; |
1902 border: 1px solid white; | 1938 border: 1px solid white; |
1903 } | 1939 } |
OLD | NEW |