##// END OF EJS Templates
Make the pager look better
Jonathan Frederic -
Show More
@@ -1,51 +1,68 b''
1 div#pager {
1 div#pager {
2 background-color: @body-bg;
2 background-color: @body-bg;
3 font-size: @notebook_font_size;
3 font-size: @notebook_font_size;
4 line-height: @notebook_line_height;
4 line-height: @notebook_line_height;
5 overflow: hidden;
5 overflow: hidden;
6 display: none;
6 display: none;
7 position: fixed;
7 position: fixed;
8 bottom: 0px;
8 bottom: 0px;
9 width: 100%;
9 width: 100%;
10 max-height: 50%;
10 max-height: 50%;
11 padding-top: 7px;
11 padding-top: 10px;
12
12
13 /* Display over codemirror */
13 /* Display over codemirror */
14 z-index: 100;
14 z-index: 100;
15
15
16 /* Hack which prevents jquery ui resizable from changing top. */
16 /* Hack which prevents jquery ui resizable from changing top. */
17 top: inherit !important;
17 top: inherit !important;
18
18
19 pre {
19 pre {
20 line-height: @code_line_height;
20 line-height: @code_line_height;
21 color: @text-color;
21 color: @text-color;
22 background-color: @cell_background;
22 background-color: @cell_background;
23 padding: @code_padding;
23 padding: @code_padding;
24 }
24 }
25
25
26 #pager-button-area {
26 #pager-button-area {
27 position: absolute;
27 position: absolute;
28 top: 7px;
28 top: 10px;
29 right: 20px;
29 right: 20px;
30 }
30 }
31
31
32 #pager-contents {
32 #pager-contents {
33 position: relative;
33 position: relative;
34 overflow: auto;
34 overflow: auto;
35 width: 100%;
35 width: 100%;
36 height: 100%;
36 height: 100%;
37
37
38 #pager-container {
38 #pager-container {
39 position: relative;
39 position: relative;
40 padding: 15px 0px;
40 padding: 15px 0px;
41 .border-box-sizing();
41 .border-box-sizing();
42 }
42 }
43 }
43 }
44
44
45 .ui-resizable-handle {
45 .ui-resizable-handle {
46 top: 0px;
46 top: 0px;
47 height: 7px;
47 height: 10px;
48 background: @light_border_color;
48 background: @cell_background;
49 border-bottom: 1px solid @border_color;
49 border-top: 1px solid @light_border_color;
50 border-bottom: 1px solid @light_border_color;
51
52 /* This injects handle bars (a short, wide = symbol) for
53 the resize handle. */
54 &::after {
55 content: '';
56
57 top: 2px;
58 left: 50%;
59 height: 3px;
60 width: 20px;
61 margin-left: -10px;
62 position: absolute;
63
64 border-bottom: 1px solid @light_border_color;
65 border-top: 1px solid @light_border_color;
66 }
50 }
67 }
51 }
68 }
General Comments 0
You need to be logged in to leave comments. Login now