OLD | NEW |
| 1 /* Copyright (c) 2011 The Chromium Authors. All rights reserved. |
| 2 * Use of this source code is governed by a BSD-style license that can be |
| 3 * found in the LICENSE file. |
| 4 */ |
| 5 |
1 html { | 6 html { |
2 height: 100%; | 7 height: 100%; |
3 } | 8 } |
4 | 9 |
5 body { | 10 body { |
6 background: white; | 11 background: white; |
7 display: -webkit-box; | 12 display: -webkit-box; |
8 height: 100%; | 13 height: 100%; |
9 margin: 0; | 14 margin: 0; |
10 overflow: hidden; | 15 overflow: hidden; |
(...skipping 654 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
665 button, | 670 button, |
666 input[type='text'], | 671 input[type='text'], |
667 select { | 672 select { |
668 font-family: 'Helvetica Neue', Arial, sans-serif; | 673 font-family: 'Helvetica Neue', Arial, sans-serif; |
669 } | 674 } |
670 | 675 |
671 #mainview { | 676 #mainview { |
672 -webkit-box-flex: 1; | 677 -webkit-box-flex: 1; |
673 -webkit-user-select: none; | 678 -webkit-user-select: none; |
674 background-color: #ccc; | 679 background-color: #ccc; |
| 680 overflow: hidden; |
675 position: relative; | 681 position: relative; |
676 } | 682 } |
677 | 683 |
678 #pdf-viewer { | 684 #pdf-viewer { |
679 /* pluginFadeInTransitionDuration = 0.2s */ | 685 /* pluginFadeInTransitionDuration = 0.2s */ |
680 -webkit-transition: opacity 0.2s linear; | 686 -webkit-transition: opacity 0.2s linear; |
681 /* pluginFadeInTransitionDelay = overlayFadeOutTransitionDuration = 0.1s */ | 687 /* pluginFadeInTransitionDelay = overlayFadeOutTransitionDuration = 0.1s */ |
682 -webkit-transition-delay: 0.1s; | 688 -webkit-transition-delay: 0.1s; |
683 height: 100%; | 689 height: 100%; |
684 opacity: 1; | 690 opacity: 1; |
(...skipping 30 matching lines...) Expand all Loading... |
715 width: 100%; | 721 width: 100%; |
716 } | 722 } |
717 | 723 |
718 #overlay-layer.invisible { | 724 #overlay-layer.invisible { |
719 /* overlayFadeOutTransitionDuration = 0.1s */ | 725 /* overlayFadeOutTransitionDuration = 0.1s */ |
720 -webkit-transition: opacity 0.1s linear; | 726 -webkit-transition: opacity 0.1s linear; |
721 opacity: 0; | 727 opacity: 0; |
722 pointer-events: none; | 728 pointer-events: none; |
723 } | 729 } |
724 | 730 |
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 { | 731 #messages { |
765 color: #404040; | 732 color: #404040; |
766 font-size: 13px; | 733 font-size: 13px; |
767 position: relative; | 734 position: relative; |
768 text-align: center; | 735 text-align: center; |
769 text-shadow: 0 1px 0 rgba(255, 255, 255, .5); | 736 text-shadow: 0 1px 0 rgba(255, 255, 255, .5); |
770 top: 50%; | 737 top: 50%; |
771 } | 738 } |
772 | 739 |
773 html[dir='rtl'] .messages { | 740 html[dir='rtl'] .messages { |
(...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
808 margin-top: 10px; | 775 margin-top: 10px; |
809 } | 776 } |
810 | 777 |
811 input[disabled] + label { | 778 input[disabled] + label { |
812 color: gray; | 779 color: gray; |
813 } | 780 } |
814 | 781 |
815 #error-action-area { | 782 #error-action-area { |
816 margin-top: 10px; | 783 margin-top: 10px; |
817 } | 784 } |
OLD | NEW |