File: celltoolbar.less

package info (click to toggle)
ipython 1.2.1-2~bpo70%2B1
  • links: PTS, VCS
  • area: main
  • in suites: wheezy-backports
  • size: 22,884 kB
  • sloc: python: 67,305; makefile: 469; lisp: 272; sh: 251
file content (109 lines) | stat: -rw-r--r-- 1,752 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
/* Css for the metadata edit area */


.celltoolbar {
    border: thin solid #CFCFCF;
    border-bottom: none;
    background : #EEE;
    border-top-right-radius: 3px;
    border-top-left-radius: 3px;
    width:100%;
    -webkit-box-pack: end;
    height:22px;
}


.no_input_radius {
    border-top-right-radius: 0px;
    border-top-left-radius: 0px;
}

.text_cell .ctb_prompt {
    display: none;
}

.code_cell .ctb_prompt {
    display: block;
}

.ctb_hideshow {
    display:none;
    vertical-align:bottom;
    padding-right: 2px;
}

.celltoolbar > div {
   padding-top: 0px;
}

.ctb_area {
    margin:0;
    padding:0;
    width:100%;

}


/*ctb_show is added to either body or the ctb_hideshow div to show
all or one cell's toolbars.
*/
.ctb_show.ctb_hideshow, .ctb_show .ctb_hideshow {
    display:block;
}

.ctb_show .input_area,
.ctb_show .ctb_hideshow + div.text_cell_input {
    border-top-right-radius: 0px;
    border-top-left-radius: 0px;
}

.ctb_show > .celltoolbar {
    border-bottom-right-radius: 0px;
    border-bottom-left-radius: 0px;
}

.button_container {
    margin-top:0;
    margin-bottom:0;
}


.ui-button {
    min-width:30px;
}
.celltoolbar .button_container select {
    margin: 10px;
    margin-top: 1px;
    margin-bottom: 0px;
    padding:0;
    font-size: 87%;
    width:auto;
    display:inline-block;
    height:18px;
    line-height:18px;
    vertical-align:top;
}

.celltoolbar label{
    display:inline-block;
    height:15px;
    line-height:15px;
    vertical-align:top;
}

.celltoolbar label span {
    font-size: 85%;
}

.celltoolbar input[type=checkbox] {
    margin: 0px;
    margin-left: 4px;
    margin-right: 4px;
}


.celltoolbar .ui-button {
    border: none;
    vertical-align:top;
    height:20px;
}