1/*! X-editable - v1.5.3 2* In-place editing with Twitter Bootstrap, jQuery UI or pure jQuery 3* http://github.com/vitalets/x-editable 4* Copyright (c) 2015 Vitaliy Potapov; Licensed MIT */ 5 6.editableform { 7 margin-bottom: 0; /* overwrites bootstrap margin */ 8} 9 10.editableform .control-group { 11 margin-bottom: 0; /* overwrites bootstrap margin */ 12 white-space: nowrap; /* prevent wrapping buttons on new line */ 13 line-height: 20px; /* overwriting bootstrap line-height. See #133 */ 14} 15 16.editable-buttons { 17 display: inline-block; /* should be inline to take effect of parent's white-space: nowrap */ 18 vertical-align: top; 19 margin-left: 7px; 20 /* inline-block emulation for IE7*/ 21 zoom: 1; 22 *display: inline; 23} 24 25.editable-input { 26 vertical-align: top; 27 display: inline-block; /* should be inline to take effect of parent's white-space: nowrap */ 28 width: auto; /* bootstrap-responsive has width: 100% that breakes layout */ 29 white-space: normal; /* reset white-space decalred in parent*/ 30 /* display-inline emulation for IE7*/ 31 zoom: 1; 32 *display: inline; 33} 34 35.editable-buttons .editable-cancel { 36 margin-left: 7px; 37} 38 39/*for jquery-ui buttons need set height to look more pretty*/ 40.editable-buttons button.ui-button-icon-only { 41 height: 24px; 42 width: 30px; 43} 44 45.editableform-loading { 46 background: url(../plugins/tagging/less/editable-images/loading.gif) center center no-repeat; 47 height: 25px; 48 width: auto; 49 min-width: 25px; 50} 51 52.editable-error-block { 53 max-width: 300px; 54 margin: 5px 0 0 0; 55 width: auto; 56 white-space: normal; 57} 58 59/*add padding for jquery ui*/ 60.editable-error-block.ui-state-error { 61 padding: 3px; 62} 63 64.editable-error { 65 color: #ff0000; 66} 67 68/* ---- For specific types ---- */ 69 70/* IOS-style clear button for text inputs */ 71.editable-clear-x { 72 background: url(../plugins/tagging/less/editable-images/clear.png) center center no-repeat; 73 display: block; 74 width: 13px; 75 height: 13px; 76 position: absolute; 77 opacity: 0.6; 78 z-index: 100; 79 80 top: 50%; 81 right: 6px; 82 margin-top: -6px; 83 84} 85 86.editable-clear-x:hover { 87 opacity: 1; 88} 89 90.editable-click { 91 text-decoration: none; 92 border-bottom: dashed 1px #0088cc; 93} 94