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

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

Issue 2746363013: [MD Bookmarks] Add a drag and drop indicator to bookmarks. (Closed)
Patch Set: fix nit 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
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..f242649702e004e33e4a7031d7a614676d3f04a7 100644
--- a/chrome/browser/resources/md_bookmarks/shared_style.html
+++ b/chrome/browser/resources/md_bookmarks/shared_style.html
@@ -32,6 +32,38 @@
height: 32px;
margin: 0;
}
+
+ .drag-above::before,
+ .drag-below::after {
+ background-clip: padding-box;
+ background-color: var(--interactive-color);
+ border: 3px solid var(--interactive-color);
+ 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%);
+ }
+
+ .drag-on {
+ background-color: rgba(66, 133, 244, 0.16);
+ }
</style>
</template>
</dom-module>
« no previous file with comments | « chrome/browser/resources/md_bookmarks/reducers.js ('k') | chrome/browser/resources/md_bookmarks/shared_vars.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698