celltoolbar.less
76 lines
| 1.4 KiB
| text/x-less
|
LessCssLexer
MinRK
|
r13667 | /* CSS for the cell toolbar */ | ||
Brian E. Granger
|
r9142 | |||
.celltoolbar { | ||||
Matthias BUSSONNIER
|
r9377 | border: thin solid #CFCFCF; | ||
Brian E. Granger
|
r9142 | border-bottom: none; | ||
Matthias BUSSONNIER
|
r9055 | background : #EEE; | ||
MinRK
|
r13667 | border-radius : 3px 3px 0px 0px; | ||
Matthias BUSSONNIER
|
r9422 | width:100%; | ||
-webkit-box-pack: end; | ||||
MinRK
|
r10935 | height:22px; | ||
Matthias BUSSONNIER
|
r13332 | .hbox(); | ||
.reverse(); | ||||
Matthias BUSSONNIER
|
r9055 | } | ||
Brian Granger
|
r9144 | .ctb_hideshow { | ||
Matthias BUSSONNIER
|
r9422 | display:none; | ||
vertical-align:bottom; | ||||
padding-right: 2px; | ||||
} | ||||
.celltoolbar > div { | ||||
padding-top: 0px; | ||||
Matthias BUSSONNIER
|
r9143 | } | ||
Matthias BUSSONNIER
|
r9378 | |||
MinRK
|
r13667 | /* ctb_show is added to the ctb_hideshow div to show the cell toolbar. | ||
Cell toolbars are only shown when the ctb_global_show class is also set. | ||||
Brian Granger
|
r9145 | */ | ||
MinRK
|
r13667 | .ctb_global_show .ctb_show.ctb_hideshow { | ||
display: block; | ||||
Matthias BUSSONNIER
|
r9143 | } | ||
MinRK
|
r13667 | .ctb_global_show .ctb_show + .input_area, | ||
.ctb_global_show .ctb_show + div.text_cell_input | ||||
{ | ||||
Matthias BUSSONNIER
|
r9143 | border-top-right-radius: 0px; | ||
border-top-left-radius: 0px; | ||||
} | ||||
Brian E. Granger
|
r9142 | .celltoolbar .button_container select { | ||
margin: 10px; | ||||
Matthias BUSSONNIER
|
r9422 | margin-top: 1px; | ||
Brian E. Granger
|
r9142 | margin-bottom: 0px; | ||
Matthias BUSSONNIER
|
r9422 | padding:0; | ||
Matthias BUSSONNIER
|
r9377 | font-size: 87%; | ||
width:auto; | ||||
Matthias BUSSONNIER
|
r9422 | display:inline-block; | ||
height:18px; | ||||
line-height:18px; | ||||
vertical-align:top; | ||||
Brian E. Granger
|
r9142 | } | ||
Matthias BUSSONNIER
|
r9285 | .celltoolbar label{ | ||
Matthias BUSSONNIER
|
r9422 | display:inline-block; | ||
height:15px; | ||||
line-height:15px; | ||||
vertical-align:top; | ||||
Matthias BUSSONNIER
|
r9285 | } | ||
Matthias BUSSONNIER
|
r9377 | |||
Brian E. Granger
|
r9142 | .celltoolbar label span { | ||
Matthias BUSSONNIER
|
r9378 | font-size: 85%; | ||
Matthias BUSSONNIER
|
r9055 | } | ||
Matthias BUSSONNIER
|
r9064 | .celltoolbar input[type=checkbox] { | ||
Matthias BUSSONNIER
|
r9285 | margin: 0px; | ||
margin-left: 4px; | ||||
margin-right: 4px; | ||||
Brian E. Granger
|
r9142 | } | ||
Matthias BUSSONNIER
|
r9055 | |||
Matthias BUSSONNIER
|
r9285 | |||
Matthias BUSSONNIER
|
r9422 | .celltoolbar .ui-button { | ||
Brian E. Granger
|
r9142 | border: none; | ||
Matthias BUSSONNIER
|
r9422 | vertical-align:top; | ||
height:20px; | ||||
MinRK
|
r13667 | min-width:30px; | ||
Matthias BUSSONNIER
|
r9055 | } | ||