blob: 0855bd65c7aec281b5a37123293fe888d78650f5 [file] [log] [blame]
Blink Reformat4c46d092018-04-07 15:32:371/*
2 * Copyright (c) 2014 The Chromium Authors. All rights reserved.
3 * Use of this source code is governed by a BSD-style license that can be
4 * found in the LICENSE file.
5 */
6
7:host {
8 padding: 0;
9 margin: 0;
10 display: inline-flex;
11 flex-shrink: 0;
12 align-items: center !important;
13}
14
15input {
16 height: 12px;
17 width: 12px;
18 flex-shrink: 0;
19}
20
Jan Schefflercc933082020-01-15 10:04:2021input.inside-datagrid {
22 height: 10px;
23 width: 10px;
24}
25
Blink Reformat4c46d092018-04-07 15:32:3726input:focus {
27 outline: auto 5px -webkit-focus-ring-color;
28}
29
30input.dt-checkbox-themed {
31 -webkit-appearance: none;
32 margin: auto 5px auto 2px;
33 border: 1px solid rgb(45, 45, 45);
34 border-radius: 3px;
35 background-color: rgb(102, 102, 102);
36}
37
38input.dt-checkbox-themed:after {
39 content: '';
40 line-height: 10px;
41 position: absolute;
42 cursor: pointer;
43 width: 12px;
44 height: 12px;
45 background: none;
46}
47
48input.dt-checkbox-themed:checked:after {
49 background-color: #333;
50}
51
52input.dt-checkbox-themed:after {
Joel Einbinderf6f86b62019-06-10 23:19:1253 -webkit-mask-image: url(Images/checkboxCheckmark.svg);
Blink Reformat4c46d092018-04-07 15:32:3754 -webkit-mask-size: 11px 11px;
55 -webkit-mask-position: 0 0;
56}
57
58:host-context(.-theme-with-dark-background) input:not(.dt-checkbox-themed) {
59 filter: invert(80%);
60}
61
Blink Reformat4c46d092018-04-07 15:32:3762.dt-checkbox-text {
63 margin-left: 3px;
64 overflow: hidden;
65 text-overflow: ellipsis;
66}
67
68.dt-checkbox-subtitle {
69 color: gray;
70}