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

Unified Diff: chrome/browser/resources/print_preview/print_preview.css

Issue 8233030: Print Preview: Making margin lines draggable. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Addressed comments Created 9 years, 2 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/print_preview/print_preview.css
diff --git a/chrome/browser/resources/print_preview/print_preview.css b/chrome/browser/resources/print_preview/print_preview.css
index 1808f63f416526164e4dbdf1609e99e7a60ae3bf..863fa9a7a75ed0e3d04986091d331b39c0042058 100644
--- a/chrome/browser/resources/print_preview/print_preview.css
+++ b/chrome/browser/resources/print_preview/print_preview.css
@@ -672,6 +672,7 @@ select {
-webkit-box-flex: 1;
-webkit-user-select: none;
background-color: #ccc;
+ overflow: hidden;
position: relative;
}
@@ -740,20 +741,26 @@ input[type='text'].margin-box.invalid {
background-color: #c11b17;
}
-.draggable-area {
+.margins-ui-pair {
background-color: transparent;
border-color: transparent;
- pointer-events: none;
position: absolute;
- z-index: 2;
+}
+
+.margins-ui-pair.left-right {
Evan Stade 2011/10/14 21:58:36 vertical seems like a better name than left-right,
dpapad 2011/10/14 23:14:38 Done.
+ cursor: ew-resize;
+}
+
+.margins-ui-pair.top-bottom {
+ cursor: ns-resize;
}
.margin-line {
border-color: #4080FA;
border-style: dashed;
border-width: 1px;
+ pointer-events: none;
position: absolute;
- z-index: 2;
}
#customized-margins {

Powered by Google App Engine
This is Rietveld 408576698