| 1 | #afGuiEditor { |
| 2 | display: flex; |
| 3 | } |
| 4 | |
| 5 | #afGuiEditor .panel.panel-default { |
| 6 | /*margin-bottom: 0;*/ |
| 7 | } |
| 8 | |
| 9 | #afGuiEditor #afGuiEditor-palette { |
| 10 | flex: 1; |
| 11 | margin-right: 5px; |
| 12 | } |
| 13 | |
| 14 | #afGuiEditor #afGuiEditor-canvas { |
| 15 | flex: 1.5; |
| 16 | margin-left: 5px; |
| 17 | } |
| 18 | |
| 19 | #afGuiEditor #afGuiEditor-palette-tabs li { |
| 20 | top: 1px; |
| 21 | } |
| 22 | |
| 23 | #afGuiEditor #afGuiEditor-palette-tabs li > a { |
| 24 | padding: 10px 15px; |
| 25 | font-size: 12px; |
| 26 | } |
| 27 | |
| 28 | #afGuiEditor #afGuiEditor-palette-tabs .dropdown-menu { |
| 29 | max-height: 500px; |
| 30 | overflow-y: auto; |
| 31 | } |
| 32 | |
| 33 | #afGuiEditor .crm-editable-enabled, |
| 34 | #afGuiEditor-palette-tabs > li > a > span { |
| 35 | display: inline-block; |
| 36 | padding: 0 4px !important; |
| 37 | border: 2px solid transparent !important; |
| 38 | } |
| 39 | #afGuiEditor .crm-editable-enabled:hover:not(:focus) { |
| 40 | border: 2px dashed grey !important; |
| 41 | } |
| 42 | #afGuiEditor .crm-editable-enabled:before, |
| 43 | #afGuiEditor .crm-editable-enabled:after { |
| 44 | content: ''; |
| 45 | display: none; |
| 46 | } |
| 47 | |
| 48 | #afGuiEditor-palette-config .form-inline { |
| 49 | margin-bottom: 10px; |
| 50 | } |
| 51 | |
| 52 | #afGuiEditor-palette-config .form-inline label { |
| 53 | min-width: 110px; |
| 54 | } |
| 55 | |
| 56 | #afGuiEditor .af-gui-bar { |
| 57 | cursor: move; |
| 58 | visibility: hidden; |
| 59 | background-color: #efefef; |
| 60 | height: 22px; |
| 61 | position: absolute; |
| 62 | top: 0; |
| 63 | left: 0; |
| 64 | width: 100%; |
| 65 | padding-left:15px; |
| 66 | } |
| 67 | |
| 68 | #afGuiEditor-canvas:hover .af-gui-bar { |
| 69 | visibility: visible; |
| 70 | } |
| 71 | |
| 72 | #afGuiEditor .af-gui-field, |
| 73 | #afGuiEditor .af-gui-text, |
| 74 | #afGuiEditor .af-gui-block { |
| 75 | position: relative; |
| 76 | padding: 32px 3px 3px; |
| 77 | min-height: 40px; |
| 78 | border: 2px dashed transparent; |
| 79 | } |
| 80 | |
| 81 | #afGuiEditor #afGuiEditor-canvas .af-entity-selected { |
| 82 | border: 2px dashed #0071bd; |
| 83 | } |
| 84 | #afGuiEditor #afGuiEditor-canvas .af-entity-selected > .af-gui-bar { |
| 85 | background-color: #0071bd; |
| 86 | visibility: visible; |
| 87 | color: white; |
| 88 | } |
| 89 | |
| 90 | #afGuiEditor .af-gui-block { |
| 91 | padding-top: 20px; |
| 92 | } |
| 93 | |
| 94 | #afGuiEditor .af-gui-block:hover { |
| 95 | border: 2px dashed #757575; |
| 96 | } |
| 97 | |
| 98 | #afGuiEditor [ui-sortable] { |
| 99 | min-height: 25px; |
| 100 | } |
| 101 | |
| 102 | #afGuiEditor .af-gui-field-select-list { |
| 103 | max-height: 280px; |
| 104 | overflow-y: auto; |
| 105 | } |
| 106 | |
| 107 | #afGuiEditor .af-gui-field-select-list > div { |
| 108 | cursor: move; |
| 109 | padding-left:15px; |
| 110 | position: relative; |
| 111 | } |
| 112 | #afGuiEditor .af-gui-field-select-list > div.disabled { |
| 113 | cursor: auto; |
| 114 | } |
| 115 | #afGuiEditor .af-gui-field-select-list > div:not(.disabled):hover { |
| 116 | background-color: #efefef; |
| 117 | } |
| 118 | /* grip handle */ |
| 119 | #afGuiEditor .af-gui-bar:before, |
| 120 | #afGuiEditor .af-gui-field-select-list > div:not(.disabled):hover:before { |
| 121 | background-size: cover; |
| 122 | background: url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSI1IiBoZWlnaHQ9IjUiPgo8cmVjdCB3aWR0aD0iMSIgaGVpZ2h0PSIxIiBmaWxsPSIjODg4Ij48L3JlY3Q+Cjwvc3ZnPg=="); |
| 123 | width: 10px; |
| 124 | height: 15px; |
| 125 | content: ' '; |
| 126 | display: block; |
| 127 | position: absolute; |
| 128 | left: 4px; |
| 129 | top: 5px; |
| 130 | } |
| 131 | |
| 132 | #afGuiEditor .af-gui-layout-icon { |
| 133 | width: 12px; |
| 134 | height: 11px; |
| 135 | display: block; |
| 136 | background-image: url('../images/icons.png'); |
| 137 | background-repeat: no-repeat; |
| 138 | margin: 4px 1px; |
| 139 | } |
| 140 | #afGuiEditor .af-gui-layout-icon.af-layout-cols { |
| 141 | background-position: -12px 0; |
| 142 | } |
| 143 | #afGuiEditor .af-gui-layout-icon.af-layout-rows { |
| 144 | background-position: -24px 0; |
| 145 | } |
| 146 | |
| 147 | #afGuiEditor .af-gui-layout.af-layout-cols { |
| 148 | display: flex; |
| 149 | } |
| 150 | #afGuiEditor .af-gui-layout.af-layout-cols > div { |
| 151 | flex: 1; |
| 152 | } |
| 153 | #afGuiEditor .af-gui-layout.af-layout-inline > div { |
| 154 | display: inline-block; |
| 155 | width: 300px; |
| 156 | } |
| 157 | |
| 158 | #afGuiEditor-canvas .panel-heading .btn-group { |
| 159 | position: relative; |
| 160 | top: -8px; |
| 161 | } |