Clarify docblock
[civicrm-core.git] / ext / afform / gui / ang / afGuiEditor.css
CommitLineData
a064e90d 1#afGuiEditor {
f6c0358e
CW
2 display: flex;
3}
4
a064e90d
CW
5#afGuiEditor .panel.panel-default {
6 /*margin-bottom: 0;*/
c820e08c
CW
7}
8
a064e90d 9#afGuiEditor #afGuiEditor-palette {
f6c0358e 10 flex: 1;
c820e08c 11 margin-right: 5px;
f6c0358e
CW
12}
13
a064e90d 14#afGuiEditor #afGuiEditor-canvas {
f3cd3852 15 flex: 1.5;
c820e08c
CW
16 margin-left: 5px;
17}
18
a064e90d
CW
19#afGuiEditor #afGuiEditor-palette-tabs li {
20 top: 1px;
21}
22
23#afGuiEditor #afGuiEditor-palette-tabs li > a {
c820e08c
CW
24 padding: 10px 15px;
25 font-size: 12px;
26}
27
a064e90d 28#afGuiEditor #afGuiEditor-palette-tabs .dropdown-menu {
c820e08c
CW
29 max-height: 500px;
30 overflow-y: auto;
31}
32
a064e90d
CW
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;
f6c0358e 54}
f3cd3852
CW
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}
f3cd3852
CW
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}
65c9e7ae
CW
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}
5eaf91d9
CW
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}