_background.scss
1 year ago
_category-checkboxes.scss
1 year ago
_category-filter.scss
1 year ago
_checkbox-icons.scss
1 year ago
_custom-fields.scss
1 year ago
_elements.scss
1 year ago
_form-table.scss
1 year ago
_help-tab.scss
1 year ago
_inner-table.scss
1 year ago
_inputs.scss
1 year ago
_layout-example-columns.scss
1 year ago
_layout-example-grid.scss
1 year ago
_layout-example-masonry.scss
1 year ago
_layout-examples.scss
1 year ago
_layout.scss
1 year ago
_list-radio-buttons.scss
1 year ago
_misc.scss
1 year ago
_screenshots.scss
1 year ago
_sticky-views.scss
1 year ago
_structure.scss
1 year ago
_template.scss
1 year ago
_view-info.scss
1 year ago
_custom-fields.scss
170 lines
| 1 | /* -------------------------------------------------- |
| 2 | Custom fields |
| 3 | -------------------------------------------------- */ |
| 4 | |
| 5 | .fields { |
| 6 | display: inline-block; |
| 7 | min-width: 350px; |
| 8 | |
| 9 | .field2 { |
| 10 | border: 1px solid #DDD; |
| 11 | background: #FFF; /* for better dragging */ |
| 12 | transition: background 0.3s ease, border 0.3s ease; |
| 13 | |
| 14 | &.open { |
| 15 | background: #FFF; |
| 16 | border-color: #444; |
| 17 | } |
| 18 | |
| 19 | } |
| 20 | |
| 21 | .field3 { |
| 22 | flex: 20; |
| 23 | } |
| 24 | |
| 25 | div.link { |
| 26 | display: inline-block; |
| 27 | cursor: pointer; |
| 28 | padding: 10px 10px 8px; |
| 29 | width: calc(100% - 20px); |
| 30 | } |
| 31 | } |
| 32 | |
| 33 | .controls2 { |
| 34 | > div { |
| 35 | display: flex; |
| 36 | } |
| 37 | |
| 38 | .icon-wrap { |
| 39 | position: relative; |
| 40 | top: 1px; |
| 41 | color: #999; |
| 42 | |
| 43 | &:hover { |
| 44 | cursor: pointer; |
| 45 | } |
| 46 | } |
| 47 | |
| 48 | &.left { |
| 49 | float: left; |
| 50 | |
| 51 | .icon-wrap { |
| 52 | margin-right: 5px; |
| 53 | } |
| 54 | } |
| 55 | |
| 56 | &.right { |
| 57 | float: right; |
| 58 | |
| 59 | .icon-wrap { |
| 60 | margin-left: 5px; |
| 61 | } |
| 62 | } |
| 63 | |
| 64 | /* icons */ |
| 65 | .handle, |
| 66 | .delete, |
| 67 | .toggle { |
| 68 | &:before { |
| 69 | font: normal 20px/1 dashicons; |
| 70 | width: 20px; |
| 71 | height: 20px; |
| 72 | } |
| 73 | |
| 74 | &:hover { |
| 75 | cursor: pointer; |
| 76 | } |
| 77 | } |
| 78 | |
| 79 | .delete { |
| 80 | &:before { |
| 81 | content: "\f335"; |
| 82 | } |
| 83 | |
| 84 | &:hover:before { |
| 85 | background: #FF0000; |
| 86 | color: #FFF; |
| 87 | border-radius: 1px; |
| 88 | } |
| 89 | } |
| 90 | |
| 91 | .handle { |
| 92 | &:before { |
| 93 | content: "\f333"; |
| 94 | } |
| 95 | |
| 96 | &:hover { |
| 97 | color: #2ea2cc; |
| 98 | cursor: move; |
| 99 | } |
| 100 | } |
| 101 | |
| 102 | .toggle { |
| 103 | &:before { |
| 104 | content: "\f140"; |
| 105 | } |
| 106 | |
| 107 | &:hover:before { |
| 108 | color: #2EA2CC; |
| 109 | } |
| 110 | } |
| 111 | } |
| 112 | |
| 113 | .field-description { |
| 114 | padding: 0 5px; |
| 115 | font-weight: 600; |
| 116 | text-decoration: none; |
| 117 | color: #444; |
| 118 | |
| 119 | &:hover { |
| 120 | color: #444; |
| 121 | } |
| 122 | } |
| 123 | |
| 124 | .field-properties { |
| 125 | padding: 5px 10px; |
| 126 | border-top: 1px dotted #DDD; |
| 127 | } |
| 128 | |
| 129 | .field-property, |
| 130 | .field-property-box .flex { |
| 131 | display: flex; |
| 132 | margin: 5px 0; |
| 133 | |
| 134 | label, |
| 135 | .nolabel { |
| 136 | flex: 0 1 80px; |
| 137 | line-height: 28px; |
| 138 | } |
| 139 | |
| 140 | select, input { |
| 141 | flex: 3; |
| 142 | } |
| 143 | } |
| 144 | |
| 145 | .field2.open .toggle:before { |
| 146 | content: "\f142"; |
| 147 | } |
| 148 | |
| 149 | .sortable-placeholder { |
| 150 | background: lightyellow !important; |
| 151 | margin: 0; |
| 152 | } |
| 153 | |
| 154 | .ui-sortable-helper { |
| 155 | border: 1px solid #444 !important; |
| 156 | } |
| 157 | |
| 158 | div.help { |
| 159 | font-style: italic; |
| 160 | padding-bottom: 5px; |
| 161 | } |
| 162 | |
| 163 | @-moz-document url-prefix() { |
| 164 | select optgroup { |
| 165 | font-style: normal; |
| 166 | margin-left: 3px; |
| 167 | } |
| 168 | } |
| 169 | |
| 170 |