_blocks.scss
1 week ago
_field-group.scss
1 year ago
_fields.scss
1 year ago
acf-pro-field-group.scss
1 year ago
acf-pro-input.scss
7 months ago
acf-styles-in-iframe-for-blocks.scss
6 months ago
_field-group.scss
168 lines
| 1 | /*--------------------------------------------------------------------------------------------- |
| 2 | * |
| 3 | * Flexible Content |
| 4 | * |
| 5 | *---------------------------------------------------------------------------------------------*/ |
| 6 | |
| 7 | .acf-field-setting-fc_layout { |
| 8 | .acf-toggle-fc-layout { |
| 9 | width: 34px; |
| 10 | height: 31px; |
| 11 | margin: 0; |
| 12 | padding: 0; |
| 13 | border: 0; |
| 14 | background: transparent; |
| 15 | cursor: pointer; |
| 16 | left: 20.83%; |
| 17 | right: 20.83%; |
| 18 | top: 33.33%; |
| 19 | bottom: 33.33%; |
| 20 | } |
| 21 | |
| 22 | .toggle-indicator::before { |
| 23 | z-index:-1; |
| 24 | content: ""; |
| 25 | display: inline-flex; |
| 26 | width: 20px; |
| 27 | height: 20px; |
| 28 | margin-left: -28px; |
| 29 | background-color: currentColor; |
| 30 | border: none; |
| 31 | border-radius: 0; |
| 32 | -webkit-mask-size: contain; |
| 33 | mask-size: contain; |
| 34 | -webkit-mask-repeat: no-repeat; |
| 35 | mask-repeat: no-repeat; |
| 36 | -webkit-mask-position: center; |
| 37 | mask-position: center; |
| 38 | -webkit-mask-image: url(../../../images/icons/icon-chevron-down.svg); |
| 39 | mask-image: url(../../../images/icons/icon-chevron-down.svg); |
| 40 | |
| 41 | @at-root .rtl #{&} { |
| 42 | margin-left: 0px; |
| 43 | position: absolute; |
| 44 | top: 9px; |
| 45 | z-index: 100; |
| 46 | left: 8px; |
| 47 | } |
| 48 | |
| 49 | } |
| 50 | |
| 51 | .toggle-indicator.open::before{ |
| 52 | -webkit-mask-image: url(../../../images/icons/icon-chevron-up.svg); |
| 53 | mask-image: url(../../../images/icons/icon-chevron-up.svg); |
| 54 | } |
| 55 | |
| 56 | .toggle-indicator.closed::before{ |
| 57 | -webkit-mask-image: url(../../../images/icons/icon-chevron-down.svg); |
| 58 | mask-image: url(../../../images/icons/icon-chevron-down.svg); |
| 59 | } |
| 60 | |
| 61 | // name label |
| 62 | .acf-flexible-content-field-label-name { |
| 63 | padding-left: 5px; |
| 64 | } |
| 65 | |
| 66 | // meta |
| 67 | .acf-fc-meta { |
| 68 | margin: 0 0 10px; |
| 69 | padding: 0; |
| 70 | |
| 71 | li { |
| 72 | margin: 0 0 10px; |
| 73 | padding: 0; |
| 74 | } |
| 75 | |
| 76 | .acf-fc-meta-display { |
| 77 | float: left; |
| 78 | width: 100%; |
| 79 | padding-right: 5px; |
| 80 | } |
| 81 | |
| 82 | .acf-fc-meta-left { |
| 83 | width: calc(50% - 4px); |
| 84 | float: left; |
| 85 | clear: left; |
| 86 | margin: { |
| 87 | right: 4px; |
| 88 | }; |
| 89 | } |
| 90 | |
| 91 | .acf-fc-meta-right { |
| 92 | width: calc(50% - 4px); |
| 93 | float: left; |
| 94 | margin: { |
| 95 | left: 4px; |
| 96 | }; |
| 97 | } |
| 98 | |
| 99 | .acf-fc-meta-min { |
| 100 | width: calc(25% - 5px); |
| 101 | float: left; |
| 102 | margin: { |
| 103 | right: 5px; |
| 104 | }; |
| 105 | } |
| 106 | |
| 107 | .acf-fc-meta-max { |
| 108 | width: calc(25% - 10px); |
| 109 | float: left; |
| 110 | margin: { |
| 111 | left: 4px; |
| 112 | }; |
| 113 | } |
| 114 | |
| 115 | .acf-fc-meta-label .acf-input-prepend, |
| 116 | .acf-fc-meta-name .acf-input-prepend, |
| 117 | .acf-fc-meta-display .acf-input-prepend { |
| 118 | min-width: 60px; |
| 119 | } |
| 120 | } |
| 121 | |
| 122 | .acf-fc_draggable, |
| 123 | .reorder-layout { |
| 124 | cursor: grab; |
| 125 | } |
| 126 | |
| 127 | // actions |
| 128 | .acf-fl-actions { |
| 129 | // visibility: hidden; |
| 130 | |
| 131 | a { |
| 132 | padding: 1px 0; |
| 133 | font-size: 13px; |
| 134 | line-height: 20px; |
| 135 | } |
| 136 | } |
| 137 | } |
| 138 | |
| 139 | |
| 140 | /*--------------------------------------------------------------------------------------------- |
| 141 | * |
| 142 | * Clone |
| 143 | * |
| 144 | *---------------------------------------------------------------------------------------------*/ |
| 145 | |
| 146 | .acf-field-object-clone { |
| 147 | |
| 148 | /* group */ |
| 149 | &[data-display="group"]="group""] { |
| 150 | |
| 151 | |
| 152 | } |
| 153 | |
| 154 | |
| 155 | /* seamless */ |
| 156 | &[data-display="seamless"]="seamless""] { |
| 157 | |
| 158 | .acf-field-setting-instructions, |
| 159 | .acf-field-setting-layout, |
| 160 | .acf-field-setting-wrapper, |
| 161 | .acf-field-setting-conditional_logic { |
| 162 | display: none; |
| 163 | } |
| 164 | |
| 165 | } |
| 166 | |
| 167 | } |
| 168 |