 Chromium Code Reviews
 Chromium Code Reviews Issue 8233030:
  Print Preview: Making margin lines draggable.  (Closed) 
  Base URL: svn://svn.chromium.org/chrome/trunk/src
    
  
    Issue 8233030:
  Print Preview: Making margin lines draggable.  (Closed) 
  Base URL: svn://svn.chromium.org/chrome/trunk/src| OLD | NEW | 
|---|---|
| 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 Loading... | |
| 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 48 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 733 position: absolute; | 734 position: absolute; | 
| 734 text-align: center; | 735 text-align: center; | 
| 735 width: 40px; | 736 width: 40px; | 
| 736 z-index: 3; | 737 z-index: 3; | 
| 737 } | 738 } | 
| 738 | 739 | 
| 739 input[type='text'].margin-box.invalid { | 740 input[type='text'].margin-box.invalid { | 
| 740 background-color: #c11b17; | 741 background-color: #c11b17; | 
| 741 } | 742 } | 
| 742 | 743 | 
| 743 .draggable-area { | 744 .margins-ui-pair { | 
| 744 background-color: transparent; | 745 background-color: transparent; | 
| 745 border-color: transparent; | 746 border-color: transparent; | 
| 746 pointer-events: none; | |
| 747 position: absolute; | 747 position: absolute; | 
| 748 z-index: 2; | 748 } | 
| 749 | |
| 750 .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.
 | |
| 751 cursor: ew-resize; | |
| 752 } | |
| 753 | |
| 754 .margins-ui-pair.top-bottom { | |
| 755 cursor: ns-resize; | |
| 749 } | 756 } | 
| 750 | 757 | 
| 751 .margin-line { | 758 .margin-line { | 
| 752 border-color: #4080FA; | 759 border-color: #4080FA; | 
| 753 border-style: dashed; | 760 border-style: dashed; | 
| 754 border-width: 1px; | 761 border-width: 1px; | 
| 762 pointer-events: none; | |
| 755 position: absolute; | 763 position: absolute; | 
| 756 z-index: 2; | |
| 757 } | 764 } | 
| 758 | 765 | 
| 759 #customized-margins { | 766 #customized-margins { | 
| 760 position: absolute; | 767 position: absolute; | 
| 761 top: 0; | 768 top: 0; | 
| 762 } | 769 } | 
| 763 | 770 | 
| 764 #messages { | 771 #messages { | 
| 765 color: #404040; | 772 color: #404040; | 
| 766 font-size: 13px; | 773 font-size: 13px; | 
| (...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 807 #two-sided-div { | 814 #two-sided-div { | 
| 808 margin-top: 10px; | 815 margin-top: 10px; | 
| 809 } | 816 } | 
| 810 | 817 | 
| 811 input[disabled] + label { | 818 input[disabled] + label { | 
| 812 color: gray; | 819 color: gray; | 
| 813 } | 820 } | 
| 814 | 821 | 
| 815 #error-action-area { | 822 #error-action-area { | 
| 816 margin-top: 10px; | 823 margin-top: 10px; | 
| 817 } | 824 } | 
| 
Evan Stade
2011/10/14 21:58:36
824 line css file? you should break this up to mat
 
dpapad
2011/10/14 23:14:38
I will keep this in mind (and file a bug to keep t
 | |
| OLD | NEW |