blob: 7abbfb77e1d4eb39d3dd2401b72c1901c636d013 [file] [log] [blame]
[email protected]3fffc762012-01-12 19:03:141/* Copyright (c) 2012 The Chromium Authors. All rights reserved.
[email protected]27708aa2011-05-26 17:40:222 * Use of this source code is governed by a BSD-style license that can be
[email protected]66e4705d2012-02-07 04:33:293 * found in the LICENSE file. */
[email protected]27708aa2011-05-26 17:40:224
5/* TODO(estade): handle overflow better? I tried overflow-x: hidden and
dbeamf2ac2d3d2016-08-12 03:24:006 * overflow-y: visible (for the new dot animation), but this makes a scroll
7 * bar appear */
[email protected]27708aa2011-05-26 17:40:228#dot-list {
[email protected]66e4705d2012-02-07 04:33:299 /* Expand to take up all available horizontal space. */
10 -webkit-box-flex: 1;
11 /* Center child dots. */
12 -webkit-box-pack: center;
[email protected]1f114852014-01-13 12:03:4213 display: -webkit-flex;
[email protected]27708aa2011-05-26 17:40:2214 height: 100%;
15 list-style-type: none;
16 margin: 0;
17 padding: 0;
[email protected]27708aa2011-05-26 17:40:2218}
19
[email protected]d70bbed2011-09-13 02:57:1220html.starting-up #dot-list {
21 display: none;
22}
23
[email protected]27708aa2011-05-26 17:40:2224.dot {
[email protected]c80491f2011-06-13 18:43:0525 box-sizing: border-box;
[email protected]27708aa2011-05-26 17:40:2226 cursor: pointer;
[email protected]3fffc762012-01-12 19:03:1427 /* max-width: Set in new_tab.js. See measureNavDots() */
Oriol Brufauc6c32fb2018-07-24 20:53:0628 margin-inline-end: 10px;
[email protected]70ffba2f2011-08-04 03:56:3329 outline: none;
Oriol Brufauc6c32fb2018-07-24 20:53:0630 padding-inline-start: 2px;
[email protected]27708aa2011-05-26 17:40:2231 text-align: left;
Oriol Brufauc6c32fb2018-07-24 20:53:0632 transition: margin-inline-end 250ms, max-width 250ms, opacity 250ms;
[email protected]e8e8ca92011-07-29 01:30:4633}
34
35.dot:last-child {
Oriol Brufauc6c32fb2018-07-24 20:53:0636 margin-inline-end: 0;
[email protected]27708aa2011-05-26 17:40:2237}
38
[email protected]93f19992013-03-22 00:44:4039.dot:only-of-type {
[email protected]597ad6942013-03-26 09:05:3840 cursor: default;
[email protected]93f19992013-03-22 00:44:4041 opacity: 0;
[email protected]597ad6942013-03-26 09:05:3842 pointer-events: none;
[email protected]93f19992013-03-22 00:44:4043}
44
[email protected]40ad92352011-06-20 20:43:0645.dot.small {
Oriol Brufauc6c32fb2018-07-24 20:53:0646 margin-inline-end: 0;
[email protected]66e4705d2012-02-07 04:33:2947 max-width: 0;
[email protected]27708aa2011-05-26 17:40:2248}
49
[email protected]ba9c9da2011-07-15 01:44:5850.dot .selection-bar {
[email protected]ba9c9da2011-07-15 01:44:5851 border-bottom: 5px solid;
52 border-color: rgba(0, 0, 0, 0.1);
53 height: 10px;
ericwilligers63f826afd22017-02-17 23:47:0254 transition: border-color 200ms;
[email protected]ba9c9da2011-07-15 01:44:5855}
56
[email protected]9a504542011-06-02 23:45:3557.dot input {
Kent Tamurad5301f7f2019-03-25 01:09:5158 -webkit-appearance: none;
[email protected]9a504542011-06-02 23:45:3559 background-color: transparent;
Kent Tamurad5301f7f2019-03-25 01:09:5160 border: none;
[email protected]9a504542011-06-02 23:45:3561 cursor: inherit;
[email protected]3fcff0d2012-02-17 02:15:2162 font: inherit;
[email protected]ede6bb862012-03-20 05:04:2463 height: auto;
Oriol Brufauc6c32fb2018-07-24 20:53:0664 margin-inline-start: 2px;
[email protected]ede6bb862012-03-20 05:04:2465 margin-top: 2px;
Kent Tamurad5301f7f2019-03-25 01:09:5166 padding: 2px 1px;
ericwilligers63f826afd22017-02-17 23:47:0267 transition: color 200ms;
[email protected]e8e8ca92011-07-29 01:30:4668 width: 90%;
[email protected]27708aa2011-05-26 17:40:2269}
70
[email protected]9a504542011-06-02 23:45:3571.dot input:focus {
72 cursor: auto;
[email protected]27708aa2011-05-26 17:40:2273}
[email protected]c80491f2011-06-13 18:43:0574
75/* Everything below here should be themed but we don't have appropriate colors
dbeamf2ac2d3d2016-08-12 03:24:0076 * yet. */
[email protected]c80491f2011-06-13 18:43:0577.dot input {
[email protected]eb569962011-12-16 23:23:4478 color: #b2b2b2;
[email protected]c80491f2011-06-13 18:43:0579}
80
[email protected]5ce7cd42012-02-03 08:23:3481.dot:focus input,
82.dot:hover input,
83.dot.selected input {
[email protected]eb569962011-12-16 23:23:4484 color: #7f7f7f;
[email protected]c80491f2011-06-13 18:43:0585}
86
[email protected]6493026c2011-08-30 19:51:3787.dot:focus .selection-bar,
88.dot:hover .selection-bar,
89.dot.drag-target .selection-bar {
[email protected]ba9c9da2011-07-15 01:44:5890 border-color: #b2b2b2;
91}
92
93.dot.selected .selection-bar {
94 border-color: #7f7f7f;
95}