1 /*! X-editable - v1.5.0
\r
2 * In-place editing with Twitter Bootstrap, jQuery UI or pure jQuery
\r
3 * http://github.com/vitalets/x-editable
\r
4 * Copyright (c) 2013 Vitaliy Potapov; Licensed MIT */
\r
6 margin-bottom: 0; /* overwrites bootstrap margin */
9 .editableform .control-group {
10 margin-bottom: 0; /* overwrites bootstrap margin */
11 white-space: nowrap; /* prevent wrapping buttons on new line */
12 line-height: 20px; /* overwriting bootstrap line-height. See #133 */
16 display: inline-block; /* should be inline to take effect of parent's white-space: nowrap */
19 /* inline-block emulation for IE7*/
24 .editable-buttons.editable-buttons-bottom {
32 display: inline-block; /* should be inline to take effect of parent's white-space: nowrap */
33 width: auto; /* bootstrap-responsive has width: 100% that breakes layout */
34 white-space: normal; /* reset white-space decalred in parent*/
35 /* display-inline emulation for IE7*/
40 .editable-buttons .editable-cancel {
44 /*for jquery-ui buttons need set height to look more pretty*/
45 .editable-buttons button.ui-button-icon-only {
50 .editableform-loading {
51 background: url('../img/loading.gif') center center no-repeat;
57 .editable-inline .editableform-loading {
58 background-position: left 5px;
61 .editable-error-block {
68 /*add padding for jquery ui*/
69 .editable-error-block.ui-state-error {
77 /* ---- For specific types ---- */
79 .editableform .editable-date {
85 /* move datepicker icon to center of add-on button. See https://github.com/vitalets/x-editable/issues/183 */
86 .editable-inline .add-on .icon-th {
92 /* checklist vertical alignment */
93 .editable-checklist label input[type="checkbox"],
94 .editable-checklist label span {
95 vertical-align: middle;
99 .editable-checklist label {
103 /* set exact width of textarea to fit buttons toolbar */
104 .editable-wysihtml5 {
109 /* clear button shown as link in date inputs */
113 text-decoration: none;
117 /* IOS-style clear button for text inputs */
119 background: url('../img/clear.png') center center no-repeat;
133 .editable-clear-x:hover {
137 .editable-pre-wrapped {
138 white-space: pre-wrap;
140 .editable-container.editable-popup {
141 max-width: none !important; /* without this rule poshytip/tooltip does not stretch */
144 .editable-container.popover {
145 width: auto; /* without this rule popover does not stretch */
148 .editable-container.editable-inline {
149 display: inline-block;
150 vertical-align: middle;
152 /* inline-block emulation for IE7*/
157 .editable-container.ui-widget {
158 font-size: inherit; /* jqueryui widget font 1.1em too big, overwrite it */
159 z-index: 9990; /* should be less than select2 dropdown z-index to close dropdown first when click */
163 a.editable-click:hover {
164 text-decoration: none;
165 border-bottom: dashed 1px #0088cc;
168 .editable-click.editable-disabled,
169 a.editable-click.editable-disabled,
170 a.editable-click.editable-disabled:hover {
176 .editable-empty, .editable-empty:hover, .editable-empty:focus{
179 /* border-bottom: none; */
180 text-decoration: none;
187 .editable-unsaved:after {
191 .editable-bg-transition {
192 -webkit-transition: background-color 1400ms ease-out;
193 -moz-transition: background-color 1400ms ease-out;
194 -o-transition: background-color 1400ms ease-out;
195 -ms-transition: background-color 1400ms ease-out;
196 transition: background-color 1400ms ease-out;
199 /*see https://github.com/vitalets/x-editable/issues/139 */
200 .form-horizontal .editable
203 display:inline-block;