Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(2814)

Unified Diff: chrome/browser/resources/options2/app_cookies_view.css

Issue 10636019: Adding Application Data dialog for isolated apps (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fixes based on reviews by Thiago and Markus. Created 8 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: chrome/browser/resources/options2/app_cookies_view.css
diff --git a/chrome/browser/resources/options2/app_cookies_view.css b/chrome/browser/resources/options2/app_cookies_view.css
new file mode 100644
index 0000000000000000000000000000000000000000..cf77ef439b911c6bd617e0b166abb13d367cf44f
--- /dev/null
+++ b/chrome/browser/resources/options2/app_cookies_view.css
@@ -0,0 +1,161 @@
+/* Copyright (c) 2012 The Chromium Authors. All rights reserved.
+ * Use of this source code is governed by a BSD-style license that can be
+ * found in the LICENSE file. */
+
+/* Styles for the cookies list page. */
+#app-cookies-view-page {
+ height: 90%;
+ margin-left: -15px;
+ width: 720px;
+}
+
+/* Styles for the cookies list elements in cookies_view.html. */
+#app-cookies-list {
+ -webkit-box-flex: 1;
+ /* This property overrides the |min-height: 192px;| property above due to
+ * special behavior of the cookies list. */
+ min-height: 0;
+}
+
+#app-cookies-list-content-area {
+ -webkit-box-orient: vertical;
+ display: -webkit-box;
+ overflow-y: hidden;
+}
+
+#app-cookies-column-headers {
+ -webkit-box-align: baseline;
+ -webkit-box-orient: horizontal;
+ display: -webkit-box;
+ position: relative;
+ width: 100%;
+}
+
+#app-cookies-column-headers > * {
+ display: block;
+}
+
+#app-cookies-column-headers h3 {
+ font-size: 105%;
+ font-weight: bold;
+ margin: 10px 0;
+}
+
+/* Notice the width and padding for these columns match up with those below. */
+#app-cookies-site-column {
+ -webkit-padding-start: 7px;
+ width: 20em;
+}
+
+#app-cookies-data-column {
+ -webkit-box-flex: 1;
+ -webkit-padding-start: 7px;
+}
+
+#app-cookies-header-controls > * {
+ margin-bottom: 5px;
+}
+
+#app-cookies-list {
+ border: 1px solid #D9D9D9;
+ margin: 0;
+}
+
+/* Styles for the site (aka origin) and its summary. */
+.app-cookie-site {
+ /* Notice that the width, margin, and padding match up with those above. */
+ -webkit-margin-end: 2px;
+ -webkit-padding-start: 5px;
+ display: inline-block;
+ overflow: hidden;
+ text-overflow: ellipsis;
+ width: 20em;
+}
+
+list.cookie-list > .deletable-item[selected] .app-cookie-site {
+ -webkit-user-select: text;
+}
+
+.app-cookie-data {
+ display: inline-block;
+ max-width: 410px;
+ overflow: hidden;
+ text-overflow: ellipsis;
+}
+
+.app-cookie-size {
+ display: inline-block;
+ float: right;
+ margin-right: 0;
+}
+
+list.cookie-list > .deletable-item[selected] .app-cookie-data {
+ -webkit-user-select: text;
+}
+
+
+/* Styles for the individual items (cookies, etc.). */
+.app-cookie-items {
+ /* Notice that the margin and padding match up with those above. */
+ -webkit-margin-start: 20em;
+ -webkit-padding-start: 7px;
+ -webkit-transition: 150ms ease-in-out;
+ height: 0;
+ opacity: 0;
+ /* Make the cookie items wrap correctly. */
+ white-space: normal;
+}
+
+.measure-items .app-cookie-items {
+ -webkit-transition: none;
+ height: auto;
+ visibility: hidden;
+}
+
+.show-items .app-cookie-items {
+ opacity: 1;
+}
+
+.app-cookie-items .cookie-item {
+ background: rgb(224, 233, 245);
+ border: 1px solid rgb(131, 146, 174);
+ border-radius: 5px;
+ display: inline-block;
+ font-size: 85%;
+ height: auto;
+ margin: 2px 4px 2px 0;
+ max-width: 100px;
+ min-width: 40px;
+ overflow: hidden;
+ padding: 0 3px;
+ text-align: center;
+ text-overflow: ellipsis;
+}
+
+.app-cookie-items .cookie-item:hover {
+ background: rgb(238, 243, 249);
+ border-color: rgb(100, 113, 135);
+}
+
+.app-cookie-items .cookie-item[selected] {
+ background: rgb(245, 248, 248);
+ border-color: #B2B2B2;
+}
+
+.app-cookie-items .cookie-item[selected]:hover {
+ background: rgb(245, 248, 248);
+ border-color: rgb(100, 113, 135);
+}
+
+/* Styles for the cookie details box. */
+.app-cookie-details {
+ background: rgb(245, 248, 248);
+ border: 1px solid #B2B2B2;
+ border-radius: 5px;
+ margin-top: 2px;
+ padding: 5px;
+}
+
+list.cookie-list > .deletable-item[selected] .app-cookie-details {
+ -webkit-user-select: text;
+}

Powered by Google App Engine
This is Rietveld 408576698