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
3 * found in the LICENSE file. */
5 /* Styles for the cookies list page. */
12 /* Styles for the cookies list elements in cookies_view.html. */
15 /* This property overrides the |min-height: 192px;| property above due to
16 * special behavior of the cookies list. */
17 border: 1px solid
#D9D9D9;
23 .cookies-list-content-area {
24 -webkit-box-orient: vertical
;
29 .cookies-column-headers {
30 -webkit-box-align: baseline
;
31 -webkit-box-orient: horizontal
;
37 .cookies-column-headers > * {
41 .cookies-column-headers h3 {
47 /* Notice the width and padding for these columns match up with those below. */
48 .cookies-site-column {
49 -webkit-padding-start: 7px;
53 .cookies-data-column {
55 -webkit-padding-start: 7px;
58 /* Enable animating the height of items. */
59 list
.cookie-list
.deletable-item
{
60 -webkit-transition: height
150ms ease-in-out
;
63 /* Disable webkit-box display. */
64 list
.cookie-list
.deletable-item
> :first-child
{
68 /* Force the X for deleting an origin to stay at the top. */
69 list
.cookie-list
> .deletable-item
> .close-button
{
75 html
[dir
=rtl
] list
.cookie-list
> .deletable-item
> .close-button
{
80 /* Styles for the site (aka origin) and its summary. */
82 /* Notice that the width, margin, and padding match up with those above. */
83 -webkit-margin-end: 2px;
84 -webkit-padding-start: 5px;
85 display: inline-block
;
87 text-overflow: ellipsis
;
91 list
.cookie-list
> .deletable-item
[selected
] .cookie-site
{
92 -webkit-user-select: text
;
96 display: inline-block
;
99 text-overflow: ellipsis
;
103 display: inline-block
;
108 list
.cookie-list
> .deletable-item
[selected
] .cookie-data
{
109 -webkit-user-select: text
;
113 /* Styles for the individual items (cookies, etc.). */
115 /* Notice that the margin and padding match up with those above. */
116 -webkit-margin-start: 14em;
117 -webkit-padding-start: 7px;
118 -webkit-transition: 150ms ease-in-out
;
122 /* Make the cookie items wrap correctly. */
126 .measure-items .cookie-items {
127 -webkit-transition: none
;
132 .show-items .cookie-items {
137 .cookie-items .cookie-item {
138 background: rgb
(224, 233, 245);
139 border: 1px solid rgb
(131, 146, 174);
141 display: inline-block
;
144 margin: 2px 4px 2px 0;
150 text-overflow: ellipsis
;
153 .cookie-items .cookie-item:hover {
154 background: rgb
(238, 243, 249);
155 border-color: rgb
(100, 113, 135);
158 .cookie-items .cookie-item[selected] {
159 background: rgb
(245, 248, 248);
160 border-color: #B2B2B2;
163 .cookie-items .cookie-item[selected]:hover {
164 background: rgb
(245, 248, 248);
165 border-color: rgb
(100, 113, 135);
168 .cookie-items
.cookie-item
.protecting-app
,
169 .cookie-data .protecting-app {
174 /* Styles for the cookie details box. */
176 background: rgb
(245, 248, 248);
177 border: 1px solid
#B2B2B2;
183 list
.cookie-list
> .deletable-item
[selected
] .cookie-details
{
184 -webkit-user-select: text
;
187 .cookie-details-table {
192 .cookie-details-label {
198 .cookie-details-value {
199 word-wrap: break-word
;