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;
121 /* Make the cookie items wrap correctly. */
125 .measure-items .cookie-items {
126 -webkit-transition: none;
131 .show-items .cookie-items {
135 .cookie-items .cookie-item {
136 background: rgb(224, 233, 245);
137 border: 1px solid rgb(131, 146, 174);
139 display: inline-block;
142 margin: 2px 4px 2px 0;
148 text-overflow: ellipsis;
151 .cookie-items .cookie-item:hover {
152 background: rgb(238, 243, 249);
153 border-color: rgb(100, 113, 135);
156 .cookie-items .cookie-item[selected] {
157 background: rgb(245, 248, 248);
158 border-color: #B2B2B2;
161 .cookie-items .cookie-item[selected]:hover {
162 background: rgb(245, 248, 248);
163 border-color: rgb(100, 113, 135);
166 .cookie-items .cookie-item .protecting-app,
167 .cookie-data .protecting-app {
172 /* Styles for the cookie details box. */
174 background: rgb(245, 248, 248);
175 border: 1px solid #B2B2B2;
181 list.cookie-list > .deletable-item[selected] .cookie-details {
182 -webkit-user-select: text;
185 .cookie-details-table {
190 .cookie-details-label {
196 .cookie-details-value {
197 word-wrap: break-word;