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

Side by Side Diff: chrome/browser/resources/print_preview/print_preview.css

Issue 7891016: Print Preview: Adding UI for margin settings. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Addressing 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 html { 1 html {
2 height: 100%; 2 height: 100%;
3 } 3 }
4 4
5 body { 5 body {
6 background: white; 6 background: white;
7 display: -webkit-box; 7 display: -webkit-box;
8 height: 100%; 8 height: 100%;
9 margin: 0; 9 margin: 0;
10 overflow: hidden; 10 overflow: hidden;
(...skipping 704 matching lines...) Expand 10 before | Expand all | Expand 10 after
715 width: 100%; 715 width: 100%;
716 } 716 }
717 717
718 #overlay-layer.invisible { 718 #overlay-layer.invisible {
719 /* overlayFadeOutTransitionDuration = 0.1s */ 719 /* overlayFadeOutTransitionDuration = 0.1s */
720 -webkit-transition: opacity 0.1s linear; 720 -webkit-transition: opacity 0.1s linear;
721 opacity: 0; 721 opacity: 0;
722 pointer-events: none; 722 pointer-events: none;
723 } 723 }
724 724
725 input[type='text'].margin-box {
726 background-color: #2a2a2a;
727 color: #ffffff;
Evan Stade 2011/10/05 03:05:23 black
dpapad 2011/10/05 16:39:49 See next comment.
728 cursor: auto;
729 font-family: arial;
730 font-size: 10px;
731 height: 15px;
732 padding: 5px 10px;
733 position: absolute;
734 text-align: center;
735 width: 40px;
736 z-index: 3;
737 }
738
739 input[type='text'].margin-box.invalid {
740 background-color: #c11b17;
741 }
742
743 .draggable-area {
744 background-color: transparent;
745 border-color: transparent;
746 pointer-events: none;
747 position: absolute;
748 z-index: 2;
749 }
750
751 .margin-line {
752 border-color: #4080FA;
Evan Stade 2011/10/05 03:05:23 i prefer rgb() style (easier to read)
dpapad 2011/10/05 16:39:49 According to the style guide, hex values should be
Evan Stade 2011/10/05 22:42:14 I've started a thread with James and Erik. We'll s
753 border-style: dashed;
754 border-width: 1px;
755 position: absolute;
756 z-index: 2;
757 }
758
759 #customized-margins {
760 position: absolute;
761 top: 0;
762 }
763
725 #messages { 764 #messages {
726 color: #404040; 765 color: #404040;
727 font-size: 13px; 766 font-size: 13px;
728 position: relative; 767 position: relative;
729 text-align: center; 768 text-align: center;
730 text-shadow: 0 1px 0 rgba(255, 255, 255, .5); 769 text-shadow: 0 1px 0 rgba(255, 255, 255, .5);
731 top: 50%; 770 top: 50%;
732 } 771 }
733 772
734 html[dir='rtl'] .messages { 773 html[dir='rtl'] .messages {
(...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after
769 margin-top: 10px; 808 margin-top: 10px;
770 } 809 }
771 810
772 input[disabled] + label { 811 input[disabled] + label {
773 color: gray; 812 color: gray;
774 } 813 }
775 814
776 #error-action-area { 815 #error-action-area {
777 margin-top: 10px; 816 margin-top: 10px;
778 } 817 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698