1 /* Copyright (c) 2013 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 /* Globals ********************************************************************/
8 -webkit-app-region: drag;
11 padding: 15px 4px 4px;
21 /* White with a vertically centered one pixel horizontal black line. */
22 background: -webkit-linear-gradient(white, white 59%,
25 font: normal 16px 'Arimo', 'Gill Sans', 'Open Sans',
26 'Helvetica Neue', 'Helvetica', 'Arial', sans-serif;
42 border: 1px solid white;
48 display: none !important;
51 /* Template section (invisible) ***********************************************/
58 /* Priority section ***********************************************************/
61 font-size: 0; /* To collapse the spaces between buttons. */
64 #priority .priority:first-of-type {
65 margin: 0 0 0 96px; /* Leftmost button is 96 pixels in. */
69 font: normal 14px 'Arimo', 'Gill Sans', 'Open Sans',
70 'Helvetica Neue', 'Helvetica', 'Arial', sans-serif;
75 /* Notification sections ******************************************************/
90 /* Events section *************************************************************/
106 -webkit-user-select: text;
110 background: -webkit-linear-gradient(rgba(255, 255, 255, 1),
111 rgba(255, 255, 255, 1) 50%,
112 rgba(255, 255, 255, 0));
115 pointer-events: none;
123 font: 11px 'Arimo', 'Gill Sans', 'Open Sans',
124 'Helvetica Neue', 'Helvetica', 'Arial', sans-serif;
129 font: bold 16px 'Arimo', 'Gill Sans', 'Open Sans',
130 'Helvetica Neue', 'Helvetica', 'Arial', sans-serif;
134 /* Menu ***********************************************************************/
136 body[data-active="menu"] #popup,
137 body[data-popup="true"] #popup {
145 body:not([data-active="menu"]):not([data-popup="true"]) #popup {
146 left: -9999px !important;
147 position: absolute !important;
148 top: -9999px !important;
171 box-shadow: 0px 8px 24px rgba(0, 0, 0, 0.7);
183 /* TODO(dharcourt): Add a settings panel and make this open it. */
184 display: none !important;
188 border-bottom: 7px solid white;
189 border-left: 7px solid transparent;
190 border-right: 7px solid transparent;
197 /* Menu and close buttons *****************************************************/
201 border: 1px solid transparent;
210 background: url("/images/menu-14x14.png");
215 background: url("/images/close-14x14.png");
224 body[data-active="close"] #close,
225 body[data-active="menu"] #show-menu {
229 /* Highlighting ***************************************************************/
231 body[data-active=""] button[data-hover="true"],
232 body[data-active="close"] button.close[data-hover="true"],
233 body[data-active="menu"] button.menu[data-hover="true"],
234 body[data-active="notification"] button.notification[data-hover="true"],
235 body[data-active="priority"] button.priority[data-hover="true"] {
236 border: 1px solid black !important;
239 body[data-active="notification"] button.notification[data-hover="true"],
240 body[data-active="priority"] button.priority[data-hover="true"] {
244 body[data-priority="-2"] button.priority[data-priority="-2"],
245 body[data-priority="-1"] button.priority[data-priority="-1"],
246 body[data-priority="0"] button.priority[data-priority="0"],
247 body[data-priority="1"] button.priority[data-priority="1"],
248 body[data-priority="2"] button.priority[data-priority="2"] {
249 background: rgb(255, 255, 85);
250 -webkit-box-shadow: inset 3px 3px 0 white, inset -3px -3px 0 white;
253 /* Cursor and dragging control ************************************************/
255 body:not([data-active=""]),
256 body:not([data-active="menu"]):not([data-popup="true"]) button,
259 -webkit-app-region: no-drag;
263 body:not([data-active="menu"]):not([data-popup="true") #events {
264 -webkit-app-region: no-drag;
268 /* That's all folks! **********************************************************/