Changeset 9852 for trunk/src/bp-templates/bp-legacy/css/twentyfifteen.scss
- Timestamp:
- 05/07/2015 09:06:07 PM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/bp-templates/bp-legacy/css/twentyfifteen.scss
r9819 r9852 87 87 } 88 88 89 @mixin message-box($background) { 89 // BP message boxes 90 @mixin message-box($background, $text-color: inherit) { 90 91 background: lighten($background, 10%); 91 92 border: 1px solid darken($background, 10%); 93 color: $text-color; 92 94 } 93 95 … … 102 104 $body-text: #333; // 2015 body text color 103 105 $bp-button-hover: #ededed; // this is the default BP button hover background 106 $notice-error: #c85a6e; 107 $notice-warning: #d05656; 104 108 $notice-info: #9fd1e2; 109 $notice-update: #b1c157; 110 $stripe-odd: #ebf0ff; 111 $stripe-even: #dbe5ff; 112 $unread: #cddaff; 113 105 114 /*-------------------------------------------------------------- 106 115 … … 138 147 6.0 - Single Item screens: User Account & Single Group Screens 139 148 6.1 - Item Headers: Global 140 6.1.1 - Item-header: Groups;141 6.1.2 - 149 6.1.1 - item-header: Groups 150 6.1.2 - item-header: User Accounts 142 151 6.2 - Item Body: Global 143 152 6.2.1 - item-body: Groups 144 6.2.1.1- Management settings screens145 153 6.2.1.1 - Management settings screens 154 6.2.1.2 - Group members list 146 155 6.2.2 - item-body: User Accounts 147 148 149 150 151 152 156 6.2.2.1 - classes, pag, filters 157 6.2.2.2 - Extended Profiles 158 6.2.2.3 - Groups 159 6.2.2.4 - friends 160 6.2.2.5 - Private Messaging Threads 161 6.2.2.6 - Settings 153 162 7.0 - Forms - General 154 163 8.0 - Tables - General 155 164 9.0 - Error / Success Messages 156 10.0 - Ajax Loading 157 11.0 - Widgets 165 10.0 - Ajax Loading, Widgets, General classes 158 166 --------------------------------------------------------------*/ 159 167 … … 610 618 } 611 619 612 #whats-new-options[style] { 613 min-height: 6rem; // unit open to debate px value might be better. 614 overflow: visible; 615 616 #whats-new-post-in-box { 617 border: 1px solid rgba($border-color, 0.5); 618 float: left; 619 line-height: 1.5em; 620 margin-top: 12px; 621 padding-left: 0.2em; 622 width: 100%; 623 624 select { 625 background: none; 626 border: 0; 627 float: right; 628 margin: 0; 629 min-height: 1.5em; 630 padding-left: 0.4em; 631 } 632 } 633 634 @media screen and (min-width: 30em) { 620 #whats-new-content.active { 621 #whats-new-options[style] { 622 min-height: 6rem; // unit open to debate px value might be better. 623 overflow: visible; 624 635 625 #whats-new-post-in-box { 636 width: auto; 637 } 638 639 #whats-new-submit { 640 float: right; 641 } 642 } 643 } 644 } 626 border: 1px solid rgba($border-color, 0.5); 627 float: left; 628 line-height: 1.5em; 629 margin-top: 12px; 630 padding-left: 0.2em; 631 width: 100%; 632 633 select { 634 background: none; 635 border: 0; 636 float: right; 637 margin: 0; 638 min-height: 1.5em; 639 padding-left: 0.4em; 640 } 641 } 642 643 @media screen and (min-width: 30em) { 644 #whats-new-post-in-box { 645 width: auto; 646 } 647 648 #whats-new-submit { 649 float: right; 650 } 651 } 652 653 } // close #whats-new-options 654 } // close #whats-new-content.active 655 656 } // close #whats-new-form 645 657 646 658 // User account form requires matching bp default specificity … … 1187 1199 .bp-widget { 1188 1200 h4 { 1189 background: rgba($dark-background, 0.8);1201 background: lighten($dark-background, 10%); 1190 1202 color: #fff; 1191 1203 margin-bottom: 0; … … 1264 1276 } 1265 1277 } 1278 } 1279 } 1280 1281 /** 1282 *------------------------------------------- 1283 * @subsection 6.2.2.5 - Private Messaging 1284 *------------------------------------------- 1285 */ 1286 1287 #message-thread { 1288 //Single message view 1289 a { 1290 border-bottom: 0; 1291 } 1292 1293 #message-subject { 1294 background: lighten($dark-background, 10%); 1295 color: $content-background; 1296 padding: 0.3em 0 0.3em 0.2em; 1297 } 1298 1299 #message-recipients { 1300 font-style: italic; 1301 1302 a.confirm { 1303 border: 1px solid $border-light; 1304 font-style: normal; 1305 } 1306 } 1307 1308 .message-metadata { 1309 overflow: hidden; 1310 1311 img.avatar { 1312 float: none; 1313 } 1314 1315 @media screen and (min-width: 46.25em) { 1316 img.avatar { 1317 float: left; 1318 } 1319 } 1320 1321 .message-star-actions { 1322 float: right; 1323 margin-right: $spacing-val-xs; 1324 position: static; 1325 } 1326 } 1327 1328 .message-content { 1329 background: $light-background; 1330 border: 1px solid $border-light; 1331 margin: $spacing-val-sm 0 0 0; 1332 padding: 0.3em; 1333 } 1334 } 1335 1336 table#message-threads { 1337 1338 .bulk-select-check, 1339 .thread-star { 1340 width: 10%; 1341 } 1342 1343 .thread-star a { 1344 outline: none; 1345 } 1346 1347 .thread-from, 1348 .thread-info { 1349 width: 30%; 1350 } 1351 1352 .thread-options { 1353 width: 20%; 1354 } 1355 1356 tr { 1357 1358 td { 1359 background: $stripe-odd; 1360 } 1361 } 1362 1363 tr.alt { 1364 td { 1365 background: $stripe-even; 1366 } 1367 } 1368 1369 tr.unread { 1370 td { 1371 background: $unread; 1372 border-bottom: 1px solid #e4cdff; 1373 border-top: 1px solid #e4cdff; 1374 } 1375 } 1376 1377 tr.read { 1378 td { 1379 background: $light-background; 1380 } 1381 } 1382 } 1383 1384 /* Auto Complete background */ 1385 .acfb-holder { 1386 1387 li.friend-tab { 1388 margin-right: 0; 1389 1390 a { 1391 border-bottom: 0; 1392 1393 img { 1394 // this is the tiny user avatar 1395 display: inline; 1396 height: 20px; 1397 margin-right: 0.5em; 1398 width: 20px !important; // override inline style 1399 } 1400 } 1401 } 1402 } 1403 1404 /* Sitewide Notices loop */ 1405 .sitewide-notices { 1406 tr { 1407 td:first-child { 1408 display: none; 1409 } 1410 } 1411 1412 td { 1413 strong { 1414 background: lighten($dark-background, 10%); 1415 color: $content-background; 1416 display: block; 1417 padding-left: 0.2em; 1418 } 1419 } 1420 } 1421 1422 /** 1423 *------------------------------ 1424 * @subsection 6.2.2.6 - Settings 1425 *------------------------------ 1426 */ 1427 1428 #settings-form { 1429 // 'p' = email notification screen sub heading 1430 > p { 1431 @include font-size(20); 1432 margin: $spacing-val-md 0 $spacing-val-sm; 1433 } 1434 } 1435 1436 table.notification-settings { 1437 td.yes, 1438 td.no { 1439 vertical-align: middle; 1440 } 1441 } 1442 // Profile table td widths 1443 table.profile-settings { 1444 width: 100%; 1445 1446 th.field-group-name, 1447 td.field-name { 1448 width: 50%; 1449 } 1450 1451 @media screen and (min-width: 46.25em) { 1452 th.field-group-name, 1453 td.field-name { 1454 width: 70%; 1455 } 1456 } 1457 1458 th.title, 1459 td.field-visibility { 1460 width: 30%; 1461 } 1462 1463 td.field-visibility { 1464 select {width: 100%;} 1266 1465 } 1267 1466 } … … 1421 1620 @include font-size(14); 1422 1621 margin: $spacing-val-md 0; 1622 1623 tr th { 1624 background: lighten($dark-background, 10%); 1625 border-color: darken($border-light, 20%); 1626 color: $content-background; 1627 } 1628 1629 // Reduce the themes inherited paragraph margins in tables 1630 p {margin-bottom: 0.5em;} 1423 1631 } 1424 1632 … … 1444 1652 } 1445 1653 1446 .bulk-select-check {text-align: center;} 1654 .bulk-select-check, 1655 .thread-star { 1656 text-align: center; 1657 } 1658 1447 1659 .notification-actions, 1448 1660 td.thread-options { … … 1476 1688 */ 1477 1689 #buddypress { 1478 div#message.info { 1479 p { 1480 @include message-box($notice-info); 1481 } 1690 div#message { 1691 &.info { 1692 p { 1693 @include message-box($notice-info); 1694 } 1695 } 1696 1697 &.update { 1698 p { 1699 @include message-box($notice-update); 1700 } 1701 } 1702 1703 } // close #message 1704 1705 } // close #buddypress 1706 1707 /** 1708 *------------------------------------------------------------------------------- 1709 * @section 10.0 - Ajax Loading, Widgets, General classes 1710 *------------------------------------------------------------------------------- 1711 */ 1712 1713 #buddypress { 1714 /* Auto Complete background */ 1715 .acfb-holder { 1716 1717 li.friend-tab { 1718 background: $notice-info; 1719 border: inherit; 1720 } 1482 1721 } 1483 1722 }
Note: See TracChangeset
for help on using the changeset viewer.