Index: chrome/browser/resources/ntp4/bookmarks_page.css |
=================================================================== |
--- chrome/browser/resources/ntp4/bookmarks_page.css (revision 112258) |
+++ chrome/browser/resources/ntp4/bookmarks_page.css (working copy) |
@@ -1,178 +0,0 @@ |
-/* Copyright (c) 2011 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. |
- */ |
- |
-/* Bookmark Tiles ************************************************************/ |
- |
-.bookmark { |
- display: -webkit-box; |
- position: absolute; |
- -webkit-box-orient: vertical; |
-} |
- |
-.bookmark-fills-parent { |
- bottom: 0; |
- display: -webkit-box; |
- left: 0; |
- position: absolute; |
- right: 0; |
- top: 0; |
-} |
- |
-.bookmark.removable .close-button { |
- display: block; |
- opacity: 0; |
- position: absolute; |
- right: 0; |
- top: 0; |
- z-index: 5; |
- -webkit-transition: opacity 150ms; |
-} |
- |
-.bookmark .close-button { |
- display: none; |
-} |
- |
-html[dir=rtl] .bookmark .close-button { |
- left: 0; |
- right: auto; |
-} |
- |
-.bookmark:hover .close-button { |
- opacity: 1; |
- -webkit-transition-delay: 500ms; |
-} |
- |
-.bookmark .favicon { |
- background: no-repeat 5% 90%; |
-} |
- |
-.bookmark .color-stripe { |
- border-bottom-left-radius: 3px 3px; |
- border-bottom-right-radius: 3px 3px; |
- /* Matches height of title. */ |
- bottom: 23px; |
- height: 3px; |
- /* Matches padding-top of the title. */ |
- margin-bottom: 8px; |
- position: absolute; |
- width: 100%; |
- z-index: 100; |
-} |
- |
-.bookmark .title { |
- cursor: pointer; |
- display: block; |
- height: 23px; |
- overflow: hidden; |
- padding-top: 8px; |
- text-align: center; |
- text-decoration: none; |
- text-overflow: ellipsis; |
- white-space: nowrap; |
-} |
- |
-.bookmark .button { |
- cursor: pointer; |
- background-color: rgba(0, 0, 0, 0.15); |
- border: 1px solid transparent; |
- border-radius: 5px; |
- bottom: 70px; |
- position: relative; |
- z-index: 5; |
- -webkit-box-flex: 1; |
- -webkit-transition: background-color 150ms; |
-} |
- |
-.bookmark:hover .button { |
- background-color: rgba(0, 0, 0, 0.3); |
-} |
- |
-.bookmark .button-frame { |
- background-color: #fff; |
- border-radius: 5px; |
-} |
- |
-.bookmark:hover .button-frame { |
- background-color: #f7f7f7; |
-} |
- |
-/* The bookmark gets a shadow when clicked, but not when the click is on the |
- * close button. */ |
-.bookmark:active .close-button:not(:active) + .button-frame { |
- -webkit-box-shadow: inset 0 1px 10px rgba(0, 0, 0, 0.2); |
-} |
- |
-/* Bookmark Titles ************************************************************/ |
- |
-#bookmarks-title-wrapper { |
- /* this color matches the gradiant end color for the #footer element. */ |
- background-color: rgba(242, 242, 242, 0.9); |
- border-bottom: 1px solid; |
- color: #777; |
- display: -webkit-box; |
- font-size: 16px; |
- height: 48px; |
- line-height: 48px; |
- overflow: hidden; |
- white-space: nowrap; |
-} |
- |
-#bookmarks-title-wrapper .title-crumb { |
- cursor: pointer; |
- margin: 0 25px; |
-} |
- |
-#bookmarks-title-wrapper .title-crumb-active { |
- color: #7f7f7f; |
- cursor: default; |
- font-weight: bold; |
- -webkit-margin-end: 0; |
- -webkit-padding-end: 10px; |
-} |
- |
-.section-title { |
- display: -webkit-box; |
- left: 0; |
- overflow: hidden; |
- position: absolute; |
- right: 0; |
- top: 0; |
- -webkit-box-flex: 1; |
- -webkit-box-orient: horizontal; |
-} |
- |
-.bookmark-separator { |
- background: -webkit-canvas(bookmark-chevron) center center no-repeat; |
- border: 0; |
- height: 44px; |
- margin: 2px 0; |
- width: 10px; |
-} |
- |
-html[dir="rtl"] .bookmark-separator { |
- -webkit-transform: scale(-1, 1); |
-} |
- |
-#bookmarks-top-link-wrapper { |
- left: 10px; |
- position: absolute; |
- right: 10px; |
- text-align: end; |
- top: 10px; |
-} |
- |
-#bookmarks-bottom-link-wrapper { |
- height: 40px; |
- /* Matches .tile-page-content padding-right - 10px */ |
- margin: 0px -70px; |
- text-align: end; |
-} |
- |
-.bookmarks-import-data-link-wrapper { |
- left: 0; |
- position: absolute; |
- right: 0; |
- top: 33%; |
-} |