##// END OF EJS Templates
fix button css
Matthias BUSSONNIER -
Show More
@@ -1,111 +1,109 b''
1 /* Css for the metadata edit area */
1 /* Css for the metadata edit area */
2
2
3
3
4 .celltoolbar {
4 .celltoolbar {
5 border: thin solid #CFCFCF;
5 border: thin solid #CFCFCF;
6 border-bottom: none;
6 border-bottom: none;
7 background : #EEE;
7 background : #EEE;
8 border-top-right-radius: 3px;
8 border-top-right-radius: 3px;
9 border-top-left-radius: 3px;
9 border-top-left-radius: 3px;
10 width:100%;
10 width:100%;
11 -webkit-box-pack: end;
11 -webkit-box-pack: end;
12 height:20px;
12 height:20px;
13 }
13 }
14
14
15
15
16 .no_input_radius {
16 .no_input_radius {
17 border-top-right-radius: 0px;
17 border-top-right-radius: 0px;
18 border-top-left-radius: 0px;
18 border-top-left-radius: 0px;
19 }
19 }
20
20
21 .text_cell .ctb_prompt {
21 .text_cell .ctb_prompt {
22 display: none;
22 display: none;
23 }
23 }
24
24
25 .code_cell .ctb_prompt {
25 .code_cell .ctb_prompt {
26 display: block;
26 display: block;
27 }
27 }
28
28
29 .ctb_hideshow {
29 .ctb_hideshow {
30 display:none;
30 display:none;
31 vertical-align:bottom;
31 vertical-align:bottom;
32 padding-right: 2px;
32 padding-right: 2px;
33 }
33 }
34
34
35 .celltoolbar > div {
35 .celltoolbar > div {
36 padding-top: 0px;
36 padding-top: 0px;
37 }
37 }
38
38
39 .ctb_area {
39 .ctb_area {
40 margin:0;
40 margin:0;
41 padding:0;
41 padding:0;
42 width:100%;
42 width:100%;
43
43
44 }
44 }
45
45
46
46
47 /*ctb_show is added to either body or the ctb_hideshow div to show
47 /*ctb_show is added to either body or the ctb_hideshow div to show
48 all or one cell's toolbars.
48 all or one cell's toolbars.
49 */
49 */
50 .ctb_show.ctb_hideshow, .ctb_show .ctb_hideshow {
50 .ctb_show.ctb_hideshow, .ctb_show .ctb_hideshow {
51 display:block;
51 display:block;
52 }
52 }
53
53
54 .ctb_show .input_area,
54 .ctb_show .input_area,
55 .ctb_show .ctb_hideshow + div.text_cell_input {
55 .ctb_show .ctb_hideshow + div.text_cell_input {
56 border-top-right-radius: 0px;
56 border-top-right-radius: 0px;
57 border-top-left-radius: 0px;
57 border-top-left-radius: 0px;
58 }
58 }
59
59
60 .ctb_show > .celltoolbar {
60 .ctb_show > .celltoolbar {
61 border-bottom-right-radius: 0px;
61 border-bottom-right-radius: 0px;
62 border-bottom-left-radius: 0px;
62 border-bottom-left-radius: 0px;
63 }
63 }
64
64
65 .button_container {
65 .button_container {
66 margin-top:0;
66 margin-top:0;
67 margin-bottom:0;
67 margin-bottom:0;
68 }
68 }
69
69
70 .button_container .ui-state-default, .button_container .ui-state-hover, .button_container .ui-state-hover span{
71 border-radius : 0 0 0 0;
72 border : none;
73 margin:0;
74 }
75
70
71 .ui-button {
72 min-width:30px;
73 }
76 .celltoolbar .button_container select {
74 .celltoolbar .button_container select {
77 margin: 10px;
75 margin: 10px;
78 margin-top: 1px;
76 margin-top: 1px;
79 margin-bottom: 0px;
77 margin-bottom: 0px;
80 padding:0;
78 padding:0;
81 font-size: 87%;
79 font-size: 87%;
82 width:auto;
80 width:auto;
83 display:inline-block;
81 display:inline-block;
84 height:18px;
82 height:18px;
85 line-height:18px;
83 line-height:18px;
86 vertical-align:top;
84 vertical-align:top;
87 }
85 }
88
86
89 .celltoolbar label{
87 .celltoolbar label{
90 display:inline-block;
88 display:inline-block;
91 height:15px;
89 height:15px;
92 line-height:15px;
90 line-height:15px;
93 vertical-align:top;
91 vertical-align:top;
94 }
92 }
95
93
96 .celltoolbar label span {
94 .celltoolbar label span {
97 font-size: 85%;
95 font-size: 85%;
98 }
96 }
99
97
100 .celltoolbar input[type=checkbox] {
98 .celltoolbar input[type=checkbox] {
101 margin: 0px;
99 margin: 0px;
102 margin-left: 4px;
100 margin-left: 4px;
103 margin-right: 4px;
101 margin-right: 4px;
104 }
102 }
105
103
106
104
107 .celltoolbar .ui-button {
105 .celltoolbar .ui-button {
108 border: none;
106 border: none;
109 vertical-align:top;
107 vertical-align:top;
110 height:20px;
108 height:20px;
111 }
109 }
General Comments 0
You need to be logged in to leave comments. Login now