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

Unified Diff: chrome/browser/resources/md_bookmarks/shared_style.html

Issue 2758703002: [WIP] MD Bookmarks Drag and Drop. (Closed)
Patch Set: Created 3 years, 9 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
« no previous file with comments | « chrome/browser/resources/md_bookmarks/list.html ('k') | chrome/browser/resources/md_bookmarks/sidebar.html » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/resources/md_bookmarks/shared_style.html
diff --git a/chrome/browser/resources/md_bookmarks/shared_style.html b/chrome/browser/resources/md_bookmarks/shared_style.html
index da8836705639381499d5b1f68a415c11a4a92008..5e42bb79ded89181fa51f2f4ee1bfef49ee98a73 100644
--- a/chrome/browser/resources/md_bookmarks/shared_style.html
+++ b/chrome/browser/resources/md_bookmarks/shared_style.html
@@ -32,6 +32,34 @@
height: 32px;
margin: 0;
}
+
+ .drag-above::before,
+ .drag-below::after {
+ background-clip: padding-box;
+ background-color: rgb(66, 133, 244);
+ border: 3px solid rgb(66, 133, 244);
+ border-bottom-color: transparent;
+ border-radius: 0;
+ border-top-color: transparent;
+ box-sizing: border-box;
+ content: '';
+ display: block;
+ height: 8px;
+ left: 0;
+ position: absolute;
+ right: 0;
+ z-index: 10;
+ }
+
+ .drag-above::before {
+ top: 0;
+ transform: translateY(-50%);
+ }
+
+ .drag-below::after {
+ bottom: 0;
+ transform: translateY(50%);
+ }
</style>
</template>
</dom-module>
« no previous file with comments | « chrome/browser/resources/md_bookmarks/list.html ('k') | chrome/browser/resources/md_bookmarks/sidebar.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698