| 1 |
.wpupg-template-property { |
| 2 |
position: relative; |
| 3 |
display: flex; |
| 4 |
justify-content: space-between; |
| 5 |
align-items: center; |
| 6 |
flex-wrap: wrap; |
| 7 |
} |
| 8 |
|
| 9 |
.wpupg-template-property { |
| 10 |
padding: 4px 0; |
| 11 |
border-bottom: 1px solid #ddd; |
| 12 |
|
| 13 |
&:last-child { |
| 14 |
border-bottom: none; |
| 15 |
} |
| 16 |
|
| 17 |
.wpupg-template-property-label { |
| 18 |
font-weight: bold; |
| 19 |
padding: 4px 0; |
| 20 |
} |
| 21 |
|
| 22 |
// Open dropdown menus to top to prevent scroll/overflow issues. |
| 23 |
.Select-menu-outer { |
| 24 |
position: absolute !important; |
| 25 |
top: auto !important; |
| 26 |
bottom: calc(100% - 1px) !important; |
| 27 |
border-bottom-left-radius: 0px !important; |
| 28 |
border-bottom-right-radius: 0px !important; |
| 29 |
border-top-left-radius: 5px !important; |
| 30 |
border-top-right-radius: 5px !important; |
| 31 |
} |
| 32 |
|
| 33 |
.is-open .Select-control { |
| 34 |
border-top-right-radius: 0 !important; |
| 35 |
border-top-left-radius: 0 !important; |
| 36 |
border-bottom-right-radius: 5px !important; |
| 37 |
border-bottom-left-radius: 5px !important; |
| 38 |
} |
| 39 |
|
| 40 |
.wpupg-template-property-value { |
| 41 |
&.wpupg-template-property-value-font { |
| 42 |
width: 100%; |
| 43 |
|
| 44 |
input { |
| 45 |
width: 100%; |
| 46 |
} |
| 47 |
.wpupg-template-property-input { |
| 48 |
margin-top: 5px; |
| 49 |
} |
| 50 |
} |
| 51 |
&.wpupg-template-property-value-text { |
| 52 |
width: 100%; |
| 53 |
|
| 54 |
input { |
| 55 |
width: 100%; |
| 56 |
} |
| 57 |
} |
| 58 |
|
| 59 |
&.wpupg-template-property-value-align, |
| 60 |
&.wpupg-template-property-value-border, |
| 61 |
&.wpupg-template-property-value-float, |
| 62 |
&.wpupg-template-property-value-dropdown { |
| 63 |
width: 100%; |
| 64 |
} |
| 65 |
|
| 66 |
&.wpupg-template-property-value-icon { |
| 67 |
a { |
| 68 |
font-size: 0.9em; |
| 69 |
} |
| 70 |
|
| 71 |
.wpupg-template-property-icon-select { |
| 72 |
max-width: 16px; |
| 73 |
max-height: 16px; |
| 74 |
} |
| 75 |
|
| 76 |
.wpupg-template-property-icon-selected-container { |
| 77 |
display: flex; |
| 78 |
|
| 79 |
.wpupg-template-property-icon-select { |
| 80 |
display: flex; |
| 81 |
margin-right: 5px; |
| 82 |
} |
| 83 |
} |
| 84 |
|
| 85 |
.wpupg-template-property-icon-select-container { |
| 86 |
width: 100%; |
| 87 |
|
| 88 |
.wpupg-template-property-icon-select-container-icons { |
| 89 |
margin-top: 5px; |
| 90 |
} |
| 91 |
|
| 92 |
.wpupg-template-property-icon-select { |
| 93 |
display: inline-block; |
| 94 |
cursor: pointer; |
| 95 |
margin: 2px; |
| 96 |
} |
| 97 |
} |
| 98 |
} |
| 99 |
|
| 100 |
&.wpupg-template-property-value-color, |
| 101 |
&.wpupg-template-property-value-toggle { |
| 102 |
.wpupg-template-property-input { |
| 103 |
display: flex; |
| 104 |
align-items: center; |
| 105 |
} |
| 106 |
} |
| 107 |
|
| 108 |
&.wpupg-template-property-value-font_size, |
| 109 |
&.wpupg-template-property-value-size { |
| 110 |
display: flex; |
| 111 |
align-items: center; |
| 112 |
|
| 113 |
input { |
| 114 |
width: 60px; |
| 115 |
} |
| 116 |
|
| 117 |
.wpupg-template-property-value-size-unit { |
| 118 |
margin-left: 5px; |
| 119 |
cursor: pointer; |
| 120 |
color: #999; |
| 121 |
|
| 122 |
&.wpupg-template-property-value-size-unit-selected { |
| 123 |
color: #444; |
| 124 |
text-decoration: underline; |
| 125 |
} |
| 126 |
} |
| 127 |
} |
| 128 |
|
| 129 |
&.wpupg-template-property-value-percentage { |
| 130 |
display: flex; |
| 131 |
align-items: center; |
| 132 |
|
| 133 |
input { |
| 134 |
width: 60px; |
| 135 |
} |
| 136 |
|
| 137 |
.wpupg-template-property-number-suffix { |
| 138 |
margin-left: 5px; |
| 139 |
} |
| 140 |
} |
| 141 |
|
| 142 |
&.wpupg-template-property-value-image_size { |
| 143 |
width: 100%; |
| 144 |
|
| 145 |
label { |
| 146 |
font-size: 0.8em; |
| 147 |
font-style: italic; |
| 148 |
margin-bottom: 3px; |
| 149 |
} |
| 150 |
|
| 151 |
.Select-menu-outer { |
| 152 |
position: relative; |
| 153 |
} |
| 154 |
|
| 155 |
.wpupg-template-property-input-width-height { |
| 156 |
display: flex; |
| 157 |
justify-content: flex-start; |
| 158 |
align-items: center; |
| 159 |
|
| 160 |
input { |
| 161 |
width: 40%; |
| 162 |
max-width: 75px; |
| 163 |
|
| 164 |
&:first-child { |
| 165 |
margin-right: 5px; |
| 166 |
} |
| 167 |
&:last-child { |
| 168 |
margin-left: 5px; |
| 169 |
} |
| 170 |
} |
| 171 |
} |
| 172 |
} |
| 173 |
} |
| 174 |
} |
| 175 |
|
| 176 |
|