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

Side by Side 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: Fixing rounding error corner case. 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 654 matching lines...) Expand 10 before | Expand all | Expand 10 after
665 button, 665 button,
666 input[type='text'], 666 input[type='text'],
667 select { 667 select {
668 font-family: 'Helvetica Neue', Arial, sans-serif; 668 font-family: 'Helvetica Neue', Arial, sans-serif;
669 } 669 }
670 670
671 #mainview { 671 #mainview {
672 -webkit-box-flex: 1; 672 -webkit-box-flex: 1;
673 -webkit-user-select: none; 673 -webkit-user-select: none;
674 background-color: #ccc; 674 background-color: #ccc;
675 overflow: hidden;
675 position: relative; 676 position: relative;
676 } 677 }
677 678
678 #pdf-viewer { 679 #pdf-viewer {
679 /* pluginFadeInTransitionDuration = 0.2s */ 680 /* pluginFadeInTransitionDuration = 0.2s */
680 -webkit-transition: opacity 0.2s linear; 681 -webkit-transition: opacity 0.2s linear;
681 /* pluginFadeInTransitionDelay = overlayFadeOutTransitionDuration = 0.1s */ 682 /* pluginFadeInTransitionDelay = overlayFadeOutTransitionDuration = 0.1s */
682 -webkit-transition-delay: 0.1s; 683 -webkit-transition-delay: 0.1s;
683 height: 100%; 684 height: 100%;
684 opacity: 1; 685 opacity: 1;
(...skipping 30 matching lines...) Expand all
715 width: 100%; 716 width: 100%;
716 } 717 }
717 718
718 #overlay-layer.invisible { 719 #overlay-layer.invisible {
719 /* overlayFadeOutTransitionDuration = 0.1s */ 720 /* overlayFadeOutTransitionDuration = 0.1s */
720 -webkit-transition: opacity 0.1s linear; 721 -webkit-transition: opacity 0.1s linear;
721 opacity: 0; 722 opacity: 0;
722 pointer-events: none; 723 pointer-events: none;
723 } 724 }
724 725
725 input[type='text'].margin-box {
726 background-color: #2a2a2a;
727 color: #fff;
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;
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
764 #messages { 726 #messages {
765 color: #404040; 727 color: #404040;
766 font-size: 13px; 728 font-size: 13px;
767 position: relative; 729 position: relative;
768 text-align: center; 730 text-align: center;
769 text-shadow: 0 1px 0 rgba(255, 255, 255, .5); 731 text-shadow: 0 1px 0 rgba(255, 255, 255, .5);
770 top: 50%; 732 top: 50%;
771 } 733 }
772 734
773 html[dir='rtl'] .messages { 735 html[dir='rtl'] .messages {
(...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after
808 margin-top: 10px; 770 margin-top: 10px;
809 } 771 }
810 772
811 input[disabled] + label { 773 input[disabled] + label {
812 color: gray; 774 color: gray;
813 } 775 }
814 776
815 #error-action-area { 777 #error-action-area {
816 margin-top: 10px; 778 margin-top: 10px;
817 } 779 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698