| 1 |
/** |
| 2 |
* BBP Core plugin main css file |
| 3 |
*/ |
| 4 |
|
| 5 |
.bbpc-attachment-lightbox { |
| 6 |
position: fixed; |
| 7 |
top: 0; |
| 8 |
left: 0; |
| 9 |
right: 0; |
| 10 |
bottom: 0; |
| 11 |
background: rgba(0, 0, 0, 0.8); |
| 12 |
z-index: 9999; |
| 13 |
width: 100%; |
| 14 |
margin: auto; |
| 15 |
padding: 100px 0; |
| 16 |
display: flex; |
| 17 |
justify-content: center; |
| 18 |
align-items: center; |
| 19 |
box-sizing: border-box; |
| 20 |
} |
| 21 |
|
| 22 |
.bbpc-attachment-lightbox-inner { |
| 23 |
position: relative; |
| 24 |
max-width: 85%; |
| 25 |
display: flex; |
| 26 |
align-items: center; |
| 27 |
} |
| 28 |
|
| 29 |
.bbpc-attachment-lightbox > .bbpc-attachment-lightbox-inner > span { |
| 30 |
color: white; |
| 31 |
font-size: 23px; |
| 32 |
line-height: 22px; |
| 33 |
background: red; |
| 34 |
display: block; |
| 35 |
height: 28px; |
| 36 |
border-radius: 19px; |
| 37 |
width: 28px; |
| 38 |
text-align: center; |
| 39 |
top: -15px; |
| 40 |
right: -15px; |
| 41 |
bottom: 100%; |
| 42 |
z-index: 9999999999; |
| 43 |
position: absolute; |
| 44 |
cursor: pointer; |
| 45 |
} |
| 46 |
|
| 47 |
/* Voting button CSS */ |
| 48 |
.bbpc-agree-disagree-buttons button { |
| 49 |
background: #f0f8ff; |
| 50 |
border: 1px solid #cee1ef; |
| 51 |
padding: 0px 15px; |
| 52 |
height: 45px; |
| 53 |
color: #333; |
| 54 |
font-weight: 600; |
| 55 |
transition: all 0.3s; |
| 56 |
border-right: none; |
| 57 |
box-sizing: border-box; |
| 58 |
display: inline-block; |
| 59 |
line-height: 10px !important; |
| 60 |
border-top-right-radius: 0; |
| 61 |
border-bottom-right-radius: 0; |
| 62 |
} |
| 63 |
|
| 64 |
.bbpc-agree-disagree-buttons button.active:hover { |
| 65 |
background: #f0f8ff; |
| 66 |
border-color: #cee1ef; |
| 67 |
} |
| 68 |
|
| 69 |
.bbpc-agree-disagree-buttons button.active { |
| 70 |
background: var(--bbpc_brand_color); |
| 71 |
} |
| 72 |
|
| 73 |
.bbpc-agree-disagree-buttons span.bbpc-reactions-btn-counter { |
| 74 |
font-size: 16px; |
| 75 |
background: #ffffff; |
| 76 |
border: 1px solid #c0cad2; |
| 77 |
padding: 0px 15px; |
| 78 |
margin-right: 10px; |
| 79 |
color: #333; |
| 80 |
font-weight: 600; |
| 81 |
transition: all 0.3s; |
| 82 |
display: inline-block; |
| 83 |
line-height: 44px; |
| 84 |
border-left-color: #d5d5d5; |
| 85 |
width: 42px; |
| 86 |
text-align: center; |
| 87 |
border-top-right-radius: 5px; |
| 88 |
border-bottom-right-radius: 5px; |
| 89 |
} |
| 90 |
|
| 91 |
/* Voting layout css */ |
| 92 |
.bbpc-voting-liked-wrap { |
| 93 |
display: grid; |
| 94 |
grid-template-columns: auto auto; |
| 95 |
grid-gap: 10px; |
| 96 |
} |
| 97 |
|
| 98 |
.bbpc-voting-liked-wrap .bbpc-voting-liked a { |
| 99 |
color: #333; |
| 100 |
font-weight: 600; |
| 101 |
text-decoration: none; |
| 102 |
text-transform: capitalize; |
| 103 |
margin: 5px 0 12px; |
| 104 |
display: block; |
| 105 |
padding: 10px; |
| 106 |
background: #f0f8ff; |
| 107 |
border: #cee1ef 1px solid !important; |
| 108 |
box-sizing: border-box; |
| 109 |
} |
| 110 |
|
| 111 |
span.bbpc-agree-disagree-counter-wrap { |
| 112 |
margin: 18px 0 5px; |
| 113 |
display: block; |
| 114 |
} |
| 115 |
|
| 116 |
span.bbpc-agree-disagree-counter-wrap .fa-thumbs-up { |
| 117 |
color: green; |
| 118 |
font-size: 20px; |
| 119 |
} |
| 120 |
|
| 121 |
span.bbpc-agree-disagree-counter-wrap .fa-thumbs-down { |
| 122 |
color: red; |
| 123 |
font-size: 20px; |
| 124 |
} |
| 125 |
|
| 126 |
.bbpc-voting-liked::after, |
| 127 |
.bbpc-voting-liked-wrap::after { |
| 128 |
content: ''; |
| 129 |
display: block; |
| 130 |
clear: both; |
| 131 |
} |
| 132 |
|
| 133 |
.bbpc-voting-liked-wrap.single-topic-wrap { |
| 134 |
grid-template-columns: auto; |
| 135 |
} |
| 136 |
|
| 137 |
#bbp-user-body .bbpc-no-voting-wrap:not(:last-child) { |
| 138 |
display: none; |
| 139 |
} |
| 140 |
|
| 141 |
.bbpc-no-voting-wrap { |
| 142 |
background: #f1f1f1; |
| 143 |
padding: 10px 15px; |
| 144 |
font-weight: 500 !important; |
| 145 |
font-size: 16px !important; |
| 146 |
} |
| 147 |
|
| 148 |
.bbpc-footer-actions { |
| 149 |
padding-top: 20px; |
| 150 |
margin-bottom: 10px; |
| 151 |
display: flex; |
| 152 |
flex-direction: column; |
| 153 |
gap: 15px; |
| 154 |
} |
| 155 |
|
| 156 |
@media screen and (max-width: 768px) { |
| 157 |
.bbpc-footer-actions, |
| 158 |
.bbpc-voting-liked-wrap { |
| 159 |
grid-template-columns: auto; |
| 160 |
grid-gap: 5px; |
| 161 |
justify-content: end; |
| 162 |
position: unset; |
| 163 |
display: flow-root; |
| 164 |
} |
| 165 |
|
| 166 |
.bbpc-agree-disagree-buttons { |
| 167 |
display: grid; |
| 168 |
grid-template-columns: auto auto; |
| 169 |
grid-gap: 5px; |
| 170 |
} |
| 171 |
} |
| 172 |
|
| 173 |
.bbpc-agree-disagree-buttons button { |
| 174 |
position: relative; |
| 175 |
} |
| 176 |
|
| 177 |
.bbpc-agree-disagree-buttons button .bbpc-preloader::before { |
| 178 |
content: ""; |
| 179 |
position: absolute; |
| 180 |
top: 0; |
| 181 |
left: 0; |
| 182 |
width: 100%; |
| 183 |
height: 100%; |
| 184 |
opacity: 0.8; |
| 185 |
z-index: 9999; |
| 186 |
background: aliceblue; |
| 187 |
} |
| 188 |
|
| 189 |
.bbpc-agree-disagree-buttons button .bbpc-preloader::after { |
| 190 |
content: ""; |
| 191 |
position: absolute; |
| 192 |
top: 20px; |
| 193 |
left: 32px; |
| 194 |
transform: translate(-50%, -50%); |
| 195 |
border: 5px solid #969696; |
| 196 |
border-top: 5px solid #bc002b; |
| 197 |
border-radius: 50%; |
| 198 |
width: 30px; |
| 199 |
height: 30px; |
| 200 |
animation: geo_spin 1s linear infinite; |
| 201 |
z-index: 10000; |
| 202 |
right: 0px; |
| 203 |
margin: auto; |
| 204 |
text-align: center; |
| 205 |
background: #ffffff; |
| 206 |
} |
| 207 |
|
| 208 |
@keyframes geo_spin { |
| 209 |
0% { |
| 210 |
transform: translate(-50%, -50%) rotate(0deg); |
| 211 |
} |
| 212 |
100% { |
| 213 |
transform: translate(-50%, -50%) rotate(360deg); |
| 214 |
} |
| 215 |
} |
| 216 |
|
| 217 |
.bbpc-voting-heading { |
| 218 |
font-size: 20px; |
| 219 |
display: block; |
| 220 |
margin: 0 0 15px; |
| 221 |
font-weight: 500; |
| 222 |
} |