@@ -35,14 +35,22 @@ body { justify-content: stretch; }
35
35
/****************************************************************************\
36
36
* Navigator
37
37
\****************************************************************************/
38
- .navigator-header { display : flex; flex-direction : column; padding : 10px 5px ; user-select : none; -webkit-user-select : none; margin-bottom : 10px ; font-size : 18px ; color : # 555 ; transition : color 0.2s ease-in-out; }
39
- .navigator-pane : hover .navigator-header { color : # aaa ; }
38
+ .navigator-header { display : flex; flex-direction : column; padding : 10px 5px ; user-select : none; -webkit-user-select : none; margin-bottom : 10px ; font-size : 18px ; color : # aaa ; transition : color 0.2s ease-in-out; }
40
39
.navigator-header > .controls { display : flex; flex-direction : row; flex : 1 ; }
41
- .navigator-header > .controls > * { height : 20px ; text-align : center; transition : transform 0.3s ; cursor : pointer; }
42
- .navigator-header > .controls > div : hover { color : # eee ; }
40
+ .navigator-header > .controls > * {height : 20px ; text-align : center; padding : 0 5px ; transition : transform 0.3s ; cursor : pointer; }
41
+ .navigator-header > .controls > * : last-child { margin-right : -5px ; }
42
+ .navigator-header > .controls > div : not (.disabled ): hover { color : # eee ; }
43
43
.navigator-pane .collapsed : hover .navigator-header > .controls > div { color : # eee ; }
44
- .navigator-header : hover > .controls > * : not (.disabled ) { }
45
44
.navigator-header .collapse-btn { transform : rotate (180deg ); color : # 999 ; }
45
+ .navigator-header .up-btn .disabled > .up-icon { opacity : 0 ; }
46
+
47
+ .navigator-pane .load-dialog { padding : 10 25 ; color : # 555 ; margin-top : -10px ; margin-bottom : 10px ; }
48
+ .navigator-pane .load-dialog input { padding : 5px ; outline : none; border-top-left-radius : 2px ; border : 1px solid # CCC ; border-bottom-left-radius : 2px ; }
49
+ .navigator-pane .load-dialog .load-btn { padding : 5px ; background : white; border : 1px solid # CCC ; border-left-color : transparent; border-top-right-radius : 2px ; border-bottom-right-radius : 2px ; }
50
+ .navigator-pane .load-dialog .load-btn : before { position : relative; top : 3px ; }
51
+ .navigator-pane .load-dialog .load-btn : hover { background : # EEE ; }
52
+ .navigator-pane .load-dialog .load-btn : active { background : # DDD ; }
53
+
46
54
.navigator-header .up-btn .label { display : flex; font-size : 16px ; margin-left : 10px ; }
47
55
.navigator-header .label { white-space : pre; display : none; }
48
56
@@ -81,16 +89,35 @@ body { justify-content: stretch; }
81
89
/****************************************************************************\
82
90
* Notices
83
91
\****************************************************************************/
84
- .main-pane { display : flex; flex-direction : column; justify-content : stretch; overflow-y : hidden; }
85
- .main-pane .notices { display : flex; flex : 0 0 auto; flex-direction : column; }
92
+ .main-pane { display : flex; flex-direction : column; justify-content : stretch; overflow-y : hidden; position : relative; }
93
+ .main-pane .notices { display : flex; flex : 0 0 auto; flex-direction : column; border-right : 1 px solid # ddd ; border-bottom : 1 px solid # ddd ; }
86
94
87
- .main-pane .notices > .notice { padding : 5px 60px ; background : # e0e0e0 ; flex : 0 0 auto; }
88
- .main-pane .notices > .notice + .notice { border-bottom : 1px solid # d0d0d0 ; }
95
+ .main-pane .notices > .notice { padding : 5px 60px ; background : # f5f5f5 ; flex : 0 0 auto; }
96
+ .main-pane .notices > .notice + .notice { border-top : 1px solid # ddd ; }
89
97
.main-pane .notices > .notice > .time { margin-right : 10px ; }
90
98
99
+ .main-pane .notices > .notice > .dismiss-btn { margin-left : 10px ; vertical-align : bottom; align-self : center; opacity : 0 ; transition : opacity 0.2s ; }
100
+ .main-pane .notices : hover > .notice > .dismiss-btn { opacity : 1 ; }
101
+ .main-pane .notices > .notice > .dismiss-btn : hover { background : # eee ; }
102
+
91
103
.main-pane .notices > .notice .error { background : rgb (255 , 216 , 222 ); }
92
104
.main-pane .notices > .notice .warning { background : rgb (255 , 247 , 217 ); }
93
105
106
+ /****************************************************************************\
107
+ * Modals
108
+ \****************************************************************************/
109
+ .main-pane > .modal-overlay {display : flex;justify-content : center;align-items : center;position : absolute;top : 0 ;left : 0 ;bottom : 0 ;right : 0 ;z-index : 5 ;background : rgba (0 , 0 , 0 , 0.1 );}
110
+ .main-pane > .modal-overlay .modal-window { display : flex; flex-direction : column; width : 320 ; padding : 20 ; background : # FFF ; border-radius : 4px ; z-index : 10 ; box-shadow : 0 4px 5px rgba (0 , 0 , 0 , 0.25 ); }
111
+ .main-pane > .modal-overlay .modal-window h3 { align-self : center; margin-top : 0 ; }
112
+ .main-pane > .modal-overlay .modal-window .controls { flex : 0 0 auto; }
113
+ .main-pane > .modal-overlay .modal-window .btn { flex : 1 ; text-align : center; padding : 5 10 ; border : 1px solid # DDD ; border-radius : 4px ; -webkit-user-select : none; -moz-webkit-user-select : none; }
114
+ .main-pane > .modal-overlay .modal-window .btn + .btn { margin-left : 10 ; }
115
+ .main-pane > .modal-overlay .modal-window .btn : hover { background : # EEE ; }
116
+ .main-pane > .modal-overlay .modal-window .btn : active {background : # DDD ; }
117
+ .main-pane > .modal-overlay .modal-window .btn .danger { background : # EE5555 ; color : white; border : # CC3333 ; }
118
+ .main-pane > .modal-overlay .modal-window .btn .danger : hover { background : # DD4444 ; }
119
+ .main-pane > .modal-overlay .modal-window .btn .danger : active { background : # CC3333 ; }
120
+
94
121
/****************************************************************************\
95
122
* Editor
96
123
\****************************************************************************/
0 commit comments