Add new certificateProvider extension API.
[chromium-blink-merge.git] / chrome / browser / resources / md_downloads / toolbar.css
blobaeaf578d399db197dabbc08c7c874515ab651442
1 /* Copyright 2015 The Chromium Authors. All rights reserved.
2 * Use of this source code is governed by a BSD-style license that can be
3 * found in the LICENSE file. */
5 :host {
6 align-items: center;
7 background: rgb(63, 85, 102);
8 color: white;
9 content-sizing: padding-box;
10 display: flex;
11 height: 56px;
14 #title,
15 #search {
16 flex: 1 0 var(--downloads-side-column-basis);
19 #title h1 {
20 -webkit-margin-end: 0;
21 -webkit-margin-start: 24px;
22 font-size: 107.7%;
23 font-weight: normal;
24 margin-bottom: 0;
25 margin-top: 0;
28 #actions {
29 display: flex;
30 flex: none;
31 width: var(--downloads-item-width);
34 :host(:not([downloads-showing])) #actions {
35 justify-content: center;
38 #actions paper-button {
39 -webkit-margin-end: 8px;
42 #actions,
43 #search-term {
44 color: rgb(192, 199, 205);
47 #search {
48 -webkit-padding-end: 10px;
49 box-sizing: border-box;
50 display: flex;
51 justify-content: flex-end;
54 #search paper-input-container {
55 margin-top: 2px;
56 max-width: 200px;
57 padding: 2px 0;
58 width: 100%;
61 #search-term {
62 --paper-input-container-color: rgb(192, 199, 205);
63 --paper-input-container-focus-color: rgb(192, 199, 205);
64 --paper-input-container-input: {
65 color: inherit;
66 font-family: inherit;
67 font-size: inherit;
69 --paper-input-container-input-color: rgb(192, 199, 205);
70 z-index: 0;
73 #search-term input[type='search']::-webkit-search-decoration,
74 #search-term input[type='search']::-webkit-search-cancel-button,
75 #search-term input[type='search']::-webkit-search-results-button {
76 -webkit-appearance: none;
79 paper-icon-button {
80 --iron-icon-height: 20px;
81 --iron-icon-width: 20px;
82 --paper-icon-button: {
83 height: 20px;
84 padding: 6px;
85 width: 20px;
89 #search-term paper-icon-button {
90 --iron-icon-height: 16px;
91 --iron-icon-width: 16px;
92 --paper-icon-button: {
93 -webkit-margin-end: -8px;
94 height: 16px;
95 padding: 8px;
96 width: 16px;
98 position: absolute;
99 right: 0;
100 top: -4px;
101 z-index: 1;
104 :host-context([dir='rtl']) #search-term paper-icon-button {
105 left: 0;
106 right: auto;
109 #more {
110 --paper-menu-button: {
111 padding: 0;
113 -webkit-margin-start: 16px;
116 paper-item {
117 -webkit-user-select: none;
118 cursor: pointer;
119 font: inherit;
122 paper-item:hover {
123 background: #eaeaea; /* TODO(dbeam): real color? */
126 @media not all and (max-width: 1024px) {
127 /* Hide vertical dot menu when there's enough room for #actions. */
128 paper-menu-button {
129 display: none;
133 @media all and (max-width: 1024px) {
134 /* Hide #actions for narrow windows; they're shown in a vertical dot menu. */
135 #actions {
136 display: none;