_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
_view-info.scss
179 lines
| 1 | /* -------------------------------------------------- |
| 2 | The view info section at the top |
| 3 | -------------------------------------------------- */ |
| 4 | |
| 5 | .view-info { |
| 6 | width: 100%; |
| 7 | font-size: 20px; |
| 8 | margin-top: 1em; |
| 9 | |
| 10 | .table-cell { |
| 11 | padding-bottom: 15px; |
| 12 | |
| 13 | &:first-child { |
| 14 | padding-top: 9px; |
| 15 | min-width: 130px; |
| 16 | } |
| 17 | |
| 18 | } |
| 19 | |
| 20 | .table-row:last-child { |
| 21 | .table-cell { |
| 22 | padding-bottom: 0; |
| 23 | } |
| 24 | } |
| 25 | |
| 26 | label { |
| 27 | vertical-align: top; |
| 28 | margin: 0; |
| 29 | display: block; |
| 30 | } |
| 31 | |
| 32 | input { |
| 33 | font-size: 20px; |
| 34 | |
| 35 | &.view-name { |
| 36 | width: 100%; |
| 37 | margin: 0; |
| 38 | padding: 4px 8px; |
| 39 | } |
| 40 | } |
| 41 | } |
| 42 | |
| 43 | /* ------------------------------------------------- |
| 44 | Shortcode read-only input |
| 45 | ------------------------------------------------- */ |
| 46 | |
| 47 | #view-shortcode { |
| 48 | direction: ltr; |
| 49 | font-family: Consolas, Monaco, monospace; |
| 50 | unicode-bidi: embed; |
| 51 | display: inline-block; |
| 52 | font-size: 18px; |
| 53 | padding: 0 8px; |
| 54 | line-height: 35px; |
| 55 | width: 300px; |
| 56 | color: #777; |
| 57 | background: #FFF; |
| 58 | } |
| 59 | |
| 60 | .form-view-shortcode .unsaved { |
| 61 | color: #888; |
| 62 | font-style: italic; |
| 63 | line-height: 37px; |
| 64 | } |
| 65 | |
| 66 | /* ------------------------------------------------- |
| 67 | Copy shortcode button |
| 68 | ------------------------------------------------- */ |
| 69 | |
| 70 | #copy-shortcode { |
| 71 | //display: inline-block; |
| 72 | margin: 5px 1em; |
| 73 | line-height: 26px; |
| 74 | } |
| 75 | |
| 76 | #copy-message { |
| 77 | opacity: 0; |
| 78 | font-size: 14px; |
| 79 | line-height: 26px; |
| 80 | height: 26px; |
| 81 | padding: 0 10px; |
| 82 | margin: 0; |
| 83 | display: inline-block; |
| 84 | background: #00A4F3; |
| 85 | color: #FFF; |
| 86 | border-radius: 3px; |
| 87 | box-shadow: 2px 2px 3px rgba(0, 0, 0, 0.5); |
| 88 | position: relative; |
| 89 | top: -1px; |
| 90 | } |
| 91 | |
| 92 | #copy-message.copied { |
| 93 | opacity: 0; |
| 94 | will-change: opacity; |
| 95 | animation: showcopied 2s ease; |
| 96 | } |
| 97 | |
| 98 | @keyframes showcopied { |
| 99 | 0% { |
| 100 | opacity: 0; |
| 101 | } |
| 102 | 70% { |
| 103 | opacity: 1; |
| 104 | } |
| 105 | 100% { |
| 106 | opacity: 0; |
| 107 | } |
| 108 | } |
| 109 | |
| 110 | /* ------------------------------------------------- |
| 111 | Mode selector |
| 112 | ------------------------------------------------- */ |
| 113 | |
| 114 | #view-mode { |
| 115 | margin-top: 1em; |
| 116 | |
| 117 | label { |
| 118 | display: inline-block; |
| 119 | margin: 0 5px 0 0; |
| 120 | padding: 0.5em 18px 0.5em 12px; |
| 121 | border: 2px solid #ccc; |
| 122 | border-radius: 20px; |
| 123 | color: #888; |
| 124 | position: relative; |
| 125 | background: #fff; |
| 126 | |
| 127 | &.checked { |
| 128 | position: relative; |
| 129 | background: #00A4F3; |
| 130 | color: #FFF; |
| 131 | border-color: transparent; |
| 132 | transition: all 0.1s ease; |
| 133 | } |
| 134 | |
| 135 | &:hover { |
| 136 | background: #FFF; |
| 137 | color: #444; |
| 138 | border-color: #00A4F3; |
| 139 | } |
| 140 | } |
| 141 | |
| 142 | input[type="radio"]="radio""] { |
| 143 | margin-right: 7px; |
| 144 | } |
| 145 | } |
| 146 | |
| 147 | .mode-list { |
| 148 | display: inline-block; |
| 149 | } |
| 150 | |
| 151 | .mode-line { |
| 152 | display: none; |
| 153 | position: absolute; |
| 154 | border-left: 2px solid #00A4F3; |
| 155 | height: 18px; |
| 156 | top: 100%; |
| 157 | left: calc( 50% - 1px ); |
| 158 | z-index: -1; |
| 159 | |
| 160 | label.checked & { |
| 161 | display: block; |
| 162 | } |
| 163 | } |
| 164 | |
| 165 | .mode-description { |
| 166 | box-sizing: border-box; |
| 167 | background: #FFF; |
| 168 | margin: 15px 5px 0 0; |
| 169 | padding: 8px 20px; |
| 170 | border: 2px solid #00A4F3; |
| 171 | color: #00A4F3; |
| 172 | text-align: center; |
| 173 | border-radius: 20px; |
| 174 | font-size: 16px; |
| 175 | line-height: 1.3; |
| 176 | min-height: 40px; |
| 177 | transition: all 0.2s ease; |
| 178 | } |
| 179 |