| 1 |
.BS_guest_author_container .tabs { |
| 2 |
position: relative; |
| 3 |
clear: both; |
| 4 |
margin: 25px 0; |
| 5 |
} |
| 6 |
.BS_guest_author_container .tab { |
| 7 |
display: none; |
| 8 |
} |
| 9 |
.BS_guest_author_container .tabs label.tab-control-controller { |
| 10 |
background: #eee; |
| 11 |
border: 1px solid #eee; |
| 12 |
border-bottom-color: #ccc; |
| 13 |
padding: 10px; |
| 14 |
margin-bottom: -1px; |
| 15 |
margin-left: -1px; |
| 16 |
margin-right: -3px; |
| 17 |
position: relative; |
| 18 |
left: 1px; |
| 19 |
display: inline-block; |
| 20 |
transition: background-color 0.2s, background-color 0.2s, border-color 0.2s; |
| 21 |
} |
| 22 |
.BS_guest_author_container .tabs .tab-control[type=radio] { |
| 23 |
display: none; |
| 24 |
} |
| 25 |
|
| 26 |
.BS_guest_author_container .content { |
| 27 |
background: white; |
| 28 |
padding: 20px 5px; |
| 29 |
border: 1px solid #ccc; |
| 30 |
} |
| 31 |
|
| 32 |
.BS_guest_author_form_container .form-field .label { |
| 33 |
font-weight: bold; |
| 34 |
margin-bottom: 2px; |
| 35 |
} |
| 36 |
|
| 37 |
.BS_guest_author_form_container .form-field.BS_guest_author_main { |
| 38 |
padding: 0 10px; |
| 39 |
} |
| 40 |
|
| 41 |
#BS_guest_author_name { |
| 42 |
display: block; |
| 43 |
width: 100%; |
| 44 |
margin: 0 0 10px; |
| 45 |
|
| 46 |
} |
| 47 |
|
| 48 |
.tab-control[type=radio]:checked + label.tab-control-controller { |
| 49 |
background: white; |
| 50 |
border-color: #ccc; |
| 51 |
border-bottom-color: white; |
| 52 |
} |
| 53 |
|
| 54 |
#BS_guest_author_image_media_manager { |
| 55 |
position: relative; |
| 56 |
display: inline-block; |
| 57 |
max-width: 80%; |
| 58 |
} |
| 59 |
|
| 60 |
#BS_guest_author_the_rest { |
| 61 |
padding-bottom: 10px; |
| 62 |
} |
| 63 |
|
| 64 |
#BS_guest_author_the_rest.disabled { |
| 65 |
pointer-events: none; |
| 66 |
background-color: rgba(0,0,0,0.1); |
| 67 |
opacity: 0.6; |
| 68 |
transition: opacity 0.2s, background-color 0.2s; |
| 69 |
} |
| 70 |
|
| 71 |
#BS_guest_author_the_rest.disabled #BS_guest_author_image_media_manager_edit_button, |
| 72 |
#BS_guest_author_the_rest.disabled #BS_guest_author_image_media_manager_remove_button { |
| 73 |
pointer-events: none; |
| 74 |
} |
| 75 |
|
| 76 |
#BS_guest_author_image_media_manager_edit_panel { |
| 77 |
position: absolute; |
| 78 |
top: 0; |
| 79 |
left: 0; |
| 80 |
right: 0; |
| 81 |
bottom: 0; |
| 82 |
text-align: center; |
| 83 |
font-size: 20px; |
| 84 |
} |
| 85 |
|
| 86 |
#BS_guest_author_image_media_manager_remove_button { |
| 87 |
cursor: pointer; |
| 88 |
background-color: rgba(226, 11, 0, 0.8); |
| 89 |
transition: background-color 0.2s; |
| 90 |
display: inline-block; |
| 91 |
padding: 5px; |
| 92 |
z-index: 1; |
| 93 |
position: absolute; |
| 94 |
top: 0; |
| 95 |
left: 0; |
| 96 |
margin: 0; |
| 97 |
font-weight: bold; |
| 98 |
color: white; |
| 99 |
} |
| 100 |
|
| 101 |
|
| 102 |
#BS_guest_author_image_media_manager_edit_button { |
| 103 |
position: absolute; |
| 104 |
top: 0; |
| 105 |
left: 0; |
| 106 |
right: 0; |
| 107 |
bottom: 0; |
| 108 |
cursor: pointer; |
| 109 |
display: flex; |
| 110 |
flex-direction: column; |
| 111 |
justify-content: center; |
| 112 |
align-items: center; |
| 113 |
margin: 0; |
| 114 |
font-size: 1.6em; |
| 115 |
opacity: 0.1; |
| 116 |
background-color: rgba(255,255,255,0.6); |
| 117 |
transition: opacity 0.2s; |
| 118 |
} |
| 119 |
|
| 120 |
#BS_guest_author_image_media_manager:hover #BS_guest_author_image_media_manager_edit_button { |
| 121 |
opacity: 1; |
| 122 |
} |
| 123 |
|
| 124 |
|
| 125 |
#BS_guest_author_image_media_manager_edit_button .dashicons { |
| 126 |
font-size: 1.5em; |
| 127 |
opacity: 0.8; |
| 128 |
width: auto; |
| 129 |
height: auto; |
| 130 |
} |
| 131 |
|
| 132 |
#BS_guest_author_image_media_manager_remove_button:hover { |
| 133 |
background-color: rgba(226, 11, 0, 1); |
| 134 |
|
| 135 |
} |
| 136 |
|
| 137 |
#BS_guest_author_image_media_manager img { |
| 138 |
height: auto; |
| 139 |
width: 100%; |
| 140 |
} |
| 141 |
|
| 142 |
#BS_guest_author_image-container, |
| 143 |
#BS_guest_author_info-container { |
| 144 |
padding: 0 10px; |
| 145 |
box-sizing: border-box; |
| 146 |
} |
| 147 |
|
| 148 |
#BS_guest_author_image-container { |
| 149 |
width: 30%; |
| 150 |
float: left; |
| 151 |
} |
| 152 |
|
| 153 |
#BS_guest_author_info-container { |
| 154 |
width: 70%; |
| 155 |
float: right; |
| 156 |
} |
| 157 |
|
| 158 |
#postbox-container-1 #BS_guest_author_image-container, |
| 159 |
#postbox-container-1 #BS_guest_author_info-container { |
| 160 |
width: 100%; |
| 161 |
float: none; |
| 162 |
} |
| 163 |
|
| 164 |
.clear { |
| 165 |
clear: both; |
| 166 |
} |
| 167 |
|
| 168 |
/* Gutenberg Compatibility */ |
| 169 |
#editor .postbox .hndle { |
| 170 |
color: #191e23 !important; |
| 171 |
font-size: 13px; |
| 172 |
line-height: normal; |
| 173 |
padding: 15px; |
| 174 |
} |
| 175 |
|
| 176 |
#editor .postbox .hndle:hover { |
| 177 |
background: #f2f4f5; |
| 178 |
} |
| 179 |
|
| 180 |
#editor .postbox .handlediv { |
| 181 |
color: #191e23 !important; |
| 182 |
height: 46px; |
| 183 |
width: auto; |
| 184 |
padding: 0 14px 0 5px; |
| 185 |
position: relative; |
| 186 |
z-index: 2; |
| 187 |
} |
| 188 |
|
| 189 |
#editor .postbox .handlediv .toggle-indicator { |
| 190 |
color: inherit; |
| 191 |
} |
| 192 |
|
| 193 |
#editor .postbox.closed .handlediv .toggle-indicator:before { |
| 194 |
content: "\f347"; |
| 195 |
} |
| 196 |
|
| 197 |
#editor .postbox .handlediv .toggle-indicator:before { |
| 198 |
content: "\f343"; |
| 199 |
font-size: 18px; |
| 200 |
width: auto; |
| 201 |
} |
| 202 |
|
| 203 |
@media (min-width: 781px) { |
| 204 |
.gutenberg-style #BS_guest_author_info-container, |
| 205 |
.gutenberg-style #BS_guest_author_image-container { |
| 206 |
width: auto; |
| 207 |
float: none; |
| 208 |
} |
| 209 |
} |
| 210 |
|
| 211 |
|
| 212 |
@media (max-width: 500px) { |
| 213 |
.image-container, |
| 214 |
.info-container { |
| 215 |
width: auto; |
| 216 |
float: none; |
| 217 |
} |
| 218 |
} |
| 219 |
|