@@ -90,6 +90,7 @@ a, img {
9090}
9191
9292.main-view {
93+ background : @background-color-3 ; // to keep the theme background consistent
9394 height : 100% ;
9495
9596 .sidebar {
@@ -215,7 +216,7 @@ a, img {
215216 left : 0 ;
216217 top : -1px ;
217218 width : 6px ;
218- -webkit- transition : 0.1s linear all ;
219+ transition : 0.1s linear all ;
219220}
220221
221222#indent-width-input :focus {
@@ -567,8 +568,7 @@ a, img {
567568 -webkit-transform : translateZ (0 );
568569 transform : translateZ (0 );
569570
570- -webkit-transition : height 0.125s ease-out ;
571- transition : height 0.125s ease-out ;
571+ transition : height 250ms cubic-bezier (0 , 1.02 , 0.6 , 1 );
572572 }
573573
574574 .CodeMirror {
@@ -652,8 +652,7 @@ a, img {
652652 top : @top-margin ;
653653
654654 & .animate {
655- -webkit-transition : height 0.1s ease-out ;
656- -webkit-transition : top 0.1s ease-out ;
655+ transition : top 0.1s ease-out ;
657656 }
658657 }
659658
@@ -699,7 +698,7 @@ a, img {
699698
700699 .selected {
701700 color : @inline-color-3 ;
702- -webkit- transition : color 0.1s ease-out .15s ;
701+ transition : color 0.1s ease-out .15s ;
703702 }
704703 }
705704}
@@ -774,17 +773,38 @@ a, img {
774773
775774/* Modal bar for Find/Quick Open */
776775
776+ .modal-bar.hide {
777+ position : absolute ;
778+ left : 0 ;
779+ right : 0 ;
780+ top : 0 ;
781+ -webkit-transform : translate (0 , -44px );
782+ transform : translate (0 , -44px );
783+ transition : -webkit-transform 266ms cubic-bezier (0 , 0.56 , 0 , 1 );
784+ transition : transform 266ms cubic-bezier (0 , 0.56 , 0 , 1 );
785+
786+ body :not (.has-appshell-menus ) & {
787+ top : 37px ;
788+ }
789+ }
790+
777791.modal-bar {
792+ display : block ;
778793 text-align : left ;
779794
780795 font-family : @sansFontFamily ;
781796 font-size : 14px ;
782797 color : @tc-text ;
783798 background : @tc-gray-panel ;
799+ overflow : hidden ;
784800 padding : 5px 4px 4px 14px ;
785- overflow : hidden ;
786801
787- body .in-browser & {
802+ -webkit-transform : translate (0 , 0 ); // Prefix still required.
803+ transition : -webkit-transform 66ms cubic-bezier (0 , 0.62 , 0.04 , 0.99 );
804+ z-index : @z-index-brackets-modalbar ;
805+
806+ body .in-browser & ,
807+ body :not (.has-appshell-menus ) & {
788808 // Separator line between us and the HTML menu/titlebar above
789809 border-top : 1px solid darken (@background-color-3 , @bc-color-step-size );
790810 }
0 commit comments