Changeset 6698 for sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-support/sass/style-original.scss
- Timestamp:
- 02/20/2018 06:05:15 PM (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-support/sass/style-original.scss
r5752 r6698 120 120 margin-left: 0; 121 121 color: $color__link; 122 } 123 124 125 div.sidebar #bbpress-forums { 126 margin-bottom: 0; 127 } 128 129 #bbpress-forums .bbp-author-role { 130 margin: -20px 12px 10px; 131 border: 1px solid #ddd; 132 background-color: #eee; 133 } 134 135 #bbpress-forums ul.bbp-lead-topic, 136 #bbpress-forums ul.bbp-topics, 137 #bbpress-forums ul.bbp-forums, 138 #bbpress-forums ul.bbp-replies { 139 border: none; 140 } 141 142 #bbp-your-profile fieldset input, 143 #bbp-your-profile fieldset textarea { 144 padding: 7px; 145 } 146 147 #bbp-your-profile fieldset span.description { 148 padding: 5px 15px; 149 } 150 151 #bbpress-forums #bbp-your-profile fieldset label { 152 white-space: nowrap; 153 } 154 155 #bbpress-forums li.bbp-footer { 156 display: none; 157 } 158 159 #bbpress-forums ul.bbp-lead-topic li.bbp-footer { 160 display: block; 161 } 162 163 #bbpress-forums .bbp-pagination { 164 color: #888; 165 float: none; 166 } 167 168 #bbpress-forums .bbp-pagination-count { 169 display: inline-block; 170 float: none; 171 } 172 173 #bbpress-forums .bbp-pagination-links { 174 display: inline-block; 175 float: right; 176 } 177 178 #bbpress-forums fieldset.bbp-form button { 179 padding: 10px; 180 font-size: 15px; 181 cursor: pointer; 182 } 183 184 #bbpress-forums fieldset.bbp-form { 185 padding: 10px 0 0 0; 186 border-width: 0 0 1px 0; 187 } 188 189 body.page #bbpress-forums .bbp-topic-form fieldset { 190 padding-top: 0; 191 } 192 193 body.page .bbp-topic-form legend, 194 body.topic .bbp-reply-form legend { 195 display: none; 196 } 197 198 body.forum #bbpress-forums .bbp-topic-form { 199 border-top: 1px solid #eee; 200 } 201 202 body.reply-edit #bbpress-forums fieldset.bbp-form, 203 body.topic-edit #bbpress-forums fieldset.bbp-form { 204 border-top: none; 205 padding: 0; 206 } 207 208 #bbpress-forums .bbp-reply-form fieldset, 209 #bbpress-forums .bbp-topic-form fieldset { 210 border-width: 0; 211 padding-top: 0; 212 } 213 214 body.page .bbp-reply-form code, 215 body.page .bbp-topic-form code, 216 body.single-topic .bbp-reply-form code, 217 body.single-forum .bbp-topic-form code, 218 body.topic-edit .bbp-topic-form code, 219 body.reply-edit .bbp-reply-form code { 220 width: auto; 221 } 222 223 #bbpress-forums div.reply { 224 width: auto; 225 } 226 227 #bbpress-forums div.bbp-forum-content, 228 #bbpress-forums div.bbp-reply-content, 229 #bbpress-forums div.bbp-topic-content { 230 padding: 12px 12px 12px 10px; 231 } 232 233 #bbpress-forums div.bbp-topic-content code, 234 #bbpress-forums div.bbp-reply-content code, 235 #bbpress-forums div.bbp-topic-content pre, 236 #bbpress-forums div.bbp-reply-content pre { 237 background-color: #f0f0f0; 238 max-height: 40em; 239 } 240 241 body.topic-edit #bbpress-forums fieldset legend, 242 body.reply-edit #bbpress-forums fieldset legend { 243 display: none; 244 } 245 246 #bbpress-forums fieldset fieldset legend { 247 display: block; 248 } 249 250 #bbpress-forums .bbp-reply-form input, 251 #bbpress-forums .bbp-topic-form input, 252 #bbpress-forums .bbp-reply-form textarea, 253 #bbpress-forums .bbp-topic-form textarea, 254 #bbpress-forums .bbp-reply-form select, 255 #bbpress-forums .bbp-topic-form select { 256 padding: 6px 8px; 257 } 258 259 #bbpress-forums fieldset { 260 margin-top: 0; 261 padding: 20px 0 0 0; 262 } 263 264 #bbpress-forums fieldset.bbp-form legend, 265 #bbpress-forums fieldset.bbp-form legend { 266 font-weight: bold; 267 font-size: 15px; 268 color: #333; 269 padding: 10px 0 10px 0; 270 } 271 272 .sidebar .bbp-forums-list, 273 .sidebar .bbp-breadcrumb { 274 display: none; 275 } 276 277 .sidebar .bbp-forums .bbp-forum-info { 278 width: 80% 279 } 280 .sidebar .bbp-forums .bbp-forum-topic-count { 281 width: 20%; 282 } 283 .sidebar .forum-info, 284 .sidebar .topic-info { 285 font-size: 12px; 286 } 287 288 #bbp-search-form { 289 right: 0; 290 margin-top: -40px; 291 position: absolute; 292 } 293 294 #bbp_search, 295 .sidebar #ts, 296 .sidebar #rs { 297 width: 140px; 298 margin-top: -1px; 299 margin-right: 8px; 300 margin-bottom: 20px; 301 padding: 3px; 302 } 303 304 .sidebar div ul { 305 margin: 0 0 24px 0; 306 } 307 308 .sidebar div li { 309 list-style: none; 310 } 311 312 .sidebar .forum-info li:before, 313 .sidebar .topic-info li:before, 314 .sidebar div ul li a:before { 315 font: normal 16px/1 'dashicons'; 316 margin-right: 5px; 317 float: left; 318 padding-top: 3px; 319 color: #000; 320 } 321 322 .sidebar a.feed:before { 323 content: '\f303'; 324 } 325 326 .sidebar a.bbp-view-title:before { 327 content: '\f109'; 328 } 329 330 .sidebar .forum-info li.topic-count:before { 331 content: '\f450'; 332 } 333 334 .sidebar .topic-info li.topic-forum:before { 335 content: '\f449'; 336 } 337 338 .sidebar .topic-info li.voice-count:before { 339 content: '\f307'; 340 } 341 342 .sidebar .topic-info li.reply-count:before, 343 .sidebar .forum-info li.reply-count:before { 344 content: '\f451'; 345 } 346 347 .sidebar .topic-info li.topic-freshness-author:before, 348 .sidebar .forum-info li.forum-freshness-author:before { 349 content: '\f338'; 350 } 351 352 .sidebar .topic-info li.topic-freshness-time:before, 353 .sidebar .forum-info li.forum-freshness-time:before { 354 content: '\f469'; 355 } 356 357 .sidebar .forum-info li.forum-subscribe:before, 358 .sidebar .topic-info li.topic-subscribe:before { 359 content: '\f147'; 360 } 361 362 .sidebar .topic-info li.topic-favorite:before { 363 content: '\f155'; 364 } 365 366 #bbpress-forums li.bbp-body { 367 border-bottom: 1px solid #eee; 368 } 369 370 #bbpress-forums li.bbp-body div.bbp-topic-content ul, 371 #bbpress-forums li.bbp-body div.bbp-reply-content ul { 372 margin-bottom: 10px; 373 } 374 375 #bbpress-forums li.bbp-body div.bbp-topic-content ul:hover, 376 #bbpress-forums li.bbp-body div.bbp-reply-content ul:hover { 377 background-color: inherit; 378 } 379 380 #bbpress-forums li.bbp-body div.bbp-topic-content ul li, 381 #bbpress-forums li.bbp-body div.bbp-reply-content ul li { 382 list-style: square; 383 } 384 385 #bbpress-forums li.bbp-body div.bbp-topic-content li, 386 #bbpress-forums li.bbp-body div.bbp-reply-content li { 387 margin-left: 10px; 388 } 389 390 #bbpress-forums ul.sticky li.bbp-topic-title a.bbp-topic-permalink:before, 391 #bbpress-forums ul.super-sticky li.bbp-topic-title a.bbp-topic-permalink:before { 392 font: normal 16px/1 'dashicons'; 393 content: '\f450'; 394 margin-right: 5px; 395 float: left; 396 padding-top: 3px; 397 color: #bb0; 398 } 399 400 #bbpress-forums ul.sticky.status-closed li.bbp-topic-title a.bbp-topic-permalink:before, 401 #bbpress-forums ul.super-sticky.status-closed li.bbp-topic-title a.bbp-topic-permalink:before { 402 color: #bbb; 403 } 404 405 #bbpress-forums li.bbp-body ul li.bbp-topic-title a.page-numbers { 406 padding: 1px 5px; 407 } 408 409 #bbpress-forums ul.status-closed, 410 #bbpress-forums ul.status-closed a { 411 color: #aaa; 412 } 413 414 #bbpress-forums p.bbp-topic-meta { 415 margin: 4px 0 0; 416 } 417 418 #bbpress-forums p.bbp-topic-meta a { 419 color: #888; 420 text-decoration: none; 421 } 422 423 #bbpress-forums p.bbp-topic-meta .bbp-topic-started-in a { 424 color: #eee; 425 background-color: #888; 426 padding: 2px 5px; 427 border-radius: 3px; 428 font-size: 10px; 429 font-weight: bold; 430 } 431 432 #bbpress-forums div.bbp-template-notice { 433 margin-top: 0; 434 } 435 436 #bbpress-forums div.bbp-topic-tags p { 437 margin-bottom: 15px; 438 } 439 440 #bbpress-forums li.bbp-body div.type-topic, 441 #bbpress-forums li.bbp-body div.type-reply { 442 position: relative; 443 } 444 445 #bbpress-forums li.bbp-body div.type-reply { 446 border-top: 1px solid #eee; 447 } 448 449 #bbpress-forums li.bbp-body div.type-topic span.bbp-admin-links, 450 #bbpress-forums li.bbp-body div.type-reply span.bbp-admin-links { 451 display: none; 452 } 453 454 #bbpress-forums li.bbp-body div.type-topic:hover span.bbp-admin-links, 455 #bbpress-forums li.bbp-body div.type-reply:hover span.bbp-admin-links { 456 display: block; 457 position: absolute; 458 right: 30px; 459 bottom: 10px; 460 } 461 462 #bbpress-forums ul.bbp-lead-topic, 463 #bbpress-forums ul.bbp-topics, 464 #bbpress-forums ul.bbp-forums, 465 #bbpress-forums ul.bbp-replies { 466 margin-bottom: 15px; 467 } 468 469 #bbpress-forums div.bbp-topic-author, 470 #bbpress-forums div.bbp-reply-author { 471 width: 130px; 472 } 473 474 #bbpress-forums div.bbp-topic-author img.avatar, 475 #bbpress-forums div.bbp-reply-author img.avatar { 476 width: 100px; 477 height: 100px; 478 max-width: 100px; 479 max-height: 100px; 480 } 481 482 /* =bbPress Lead Topic 483 -------------------------------------------------------------- */ 484 485 #bbpress-forums ul.bbp-lead-topic li.bbp-body { 486 border: 1px solid #dd6; 487 } 488 489 #bbpress-forums ul.bbp-lead-topic li.bbp-body div.topic { 490 background-color: #ffe; 491 } 492 493 /* =bbPress Markdown 494 -------------------------------------------------------------- */ 495 496 #wmd-button-barbbp_reply_content, 497 #wmd-button-barbbp_topic_content, 498 .wmd-panel { 499 margin-bottom: 10px; 500 } 501 502 #bbpress-forums .wmd-preview { 503 width: 98%; 504 } 505 506 #bbpress-forums .wmd-preview ul li { 507 list-style: square; 508 margin-left: 20px; 509 } 510 511 #bbpress-forums .wmd-preview ol li { 512 list-style: decimal; 513 margin-left: 20px; 514 } 515 516 #bbpress-forums .bbp-reply-content pre, 517 #bbpress-forums .bbp-topic-content pre { 518 background-color: #f2f2f2; 519 overflow: auto; 520 margin: 5px; 521 padding: 10px; 522 border: 1px dotted #bbb; 523 } 524 525 #bbpress-forums fieldset.bbp-form textarea, 526 #bbpress-forums fieldset.bbp-form select, 527 #bbpress-forums fieldset.bbp-form input { 528 border: 1px solid #ccc; 529 outline-color: rgb(131,189,102); 122 530 } 123 531 … … 270 678 } 271 679 680 /* Force widths for desktops */ 681 @media screen and ( min-width: 960px ) { 682 #header-inner, 683 #headline-inner, 684 #subnav-inner, 685 #showcase-inner, 686 #main, 687 #footer { 688 width: 960px; 689 } 690 div.content { 691 width: 692px; 692 } 693 div.leftcol { 694 width: 340px; 695 } 696 div.rightcol { 697 width: 340px; 698 } 699 div.sidebar { 700 width: 212px; 701 } 702 div.group div.content { 703 width: 660px; 704 } 705 div.group div.sidebar { 706 width: 200px; 707 } 708 } 709 710 /* Do not fix #header for non-desktops */ 711 @media screen and ( max-width: 782px ) { 712 #header { 713 top: 0; 714 z-index: 0; 715 position: absolute; 716 } 717 #wpadminbar { 718 position: absolute; 719 } 720 } 721 272 722 @media screen and ( max-width: 480px ) { 273 723 .topic-resolved-indicator { … … 283 733 } 284 734 285 @media screen and ( min-width: 960px ) { 286 287 div.content { 288 width: 692px; 289 } 290 291 div.sidebar { 292 width: 212px; 293 } 294 } 735 /* Bump #header-inner height on mobile to support stacked elements */ 736 @media screen and ( max-width: 460px ) { 737 #header-inner { 738 height: 140px; 739 margin: 0 auto; 740 padding: 0; 741 } 742 #main { 743 margin: 100px 10px 40px 10px; 744 } 745 }
Note: See TracChangeset
for help on using the changeset viewer.