Changeset 10443 for trunk/src/bp-templates/bp-legacy/css/twentytwelve.scss
- Timestamp:
- 01/07/2016 08:33:28 PM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/bp-templates/bp-legacy/css/twentytwelve.scss
r10404 r10443 291 291 color: #555; 292 292 } 293 // Keep links from inheriting :visited states 294 &:visited { 295 color: #21759b; 296 } 293 297 294 298 span {border-radius: 25%;} 295 299 } 300 296 301 } 297 302 } … … 438 443 div#subnav.item-list-tabs { 439 444 li.last { 440 // float: right;441 445 margin-left: 0; 442 446 text-align: right; 443 // width: 230px; 447 444 448 @media screen and (max-width: 30em) { 445 449 clear: left; … … 638 642 #buddypress { 639 643 ul.item-list { 644 border-top: 0; 645 640 646 li { 641 647 overflow: hidden !important; … … 692 698 693 699 .item-title { 694 @include font-size(1 8);700 @include font-size(16); 695 701 line-height: 1.2; 696 702 text-align: center; … … 702 708 width: 100%; 703 709 704 > a {text-decoration: none;} 710 > a { 711 text-decoration: none; 712 713 &:visited { color: #21759b;} 714 } 705 715 706 716 .update { … … 715 725 text-align: left; 716 726 } 717 } 718 719 } 727 } // close .item-title 728 729 } // close .item 720 730 721 731 @include medium-up { … … 733 743 734 744 .item-title { 735 @include font-size( 22)745 @include font-size(18) 736 746 } 737 747 } … … 746 756 margin-left: 0; 747 757 padding: $spacing-val-md 0 $spacing-val-xs; 758 748 759 // push the actions to the right 749 750 760 @include medium-up { 751 761 clear: none; … … 841 851 margin: 0; 842 852 min-height: 1.5em; 843 padding -left:0.4em;853 padding: 0 0 0 0.4em; 844 854 } 845 855 } … … 852 862 #whats-new-submit { 853 863 float: right; 864 865 input { 866 padding: 0; 867 } 854 868 } 855 869 } … … 908 922 .activity-header { 909 923 @include font-size(14); 924 925 a:visited { 926 color: #21759b; 927 } 910 928 } 911 929 … … 916 934 margin-right: $spacing-val-sm; 917 935 text-align: left; 918 a {border-bottom: 0;} 936 937 a { 938 border-bottom: 0; 939 } 919 940 } 920 941 … … 955 976 a { 956 977 @include font-size(12); 957 padding: 2px 4px;958 978 } 959 979 } … … 1004 1024 background: darken($light-background, 1%); 1005 1025 border: 1px solid rgba(#9fd1e2, 0.3); 1006 a { font-style: italic; }1007 1026 } 1008 1027 … … 1058 1077 > ul { 1059 1078 background: rgba($light-background, 0.6); 1060 border-left: 1px solid $border-light; 1061 margin: 2em 0 0 2px; 1079 margin: $spacing-val-sm 0 0 2px; 1062 1080 1063 1081 > li { … … 1066 1084 color: #555; 1067 1085 } 1086 1087 .acomment-meta, 1088 .acomment-content { 1089 @include font-size(12); 1090 } 1091 1068 1092 } 1069 1093 … … 1193 1217 */ 1194 1218 1219 .bp-user { 1220 #buddypress { 1221 // On object nav links, table links (notifications etc) we don't really need :visited 1222 // inheritance, so set pseudo class to :link color. 1223 a { 1224 &:visited { 1225 color: #21759b; 1226 } 1227 } 1228 } 1229 } 1195 1230 1196 1231 /** … … 1213 1248 } 1214 1249 1250 @media screen and (max-width: 37.500em) { 1251 h1, 1252 #item-header-content { 1253 text-align: center; 1254 } 1255 } 1256 1215 1257 @media screen and (max-width: 46.25em) { 1216 1258 main { … … 1221 1263 } 1222 1264 1223 @media screen and (max-width: 37.500em) {1224 h1,1225 #item-header-content {1226 text-align: center;1227 }1228 }1229 1230 1265 #buddypress { 1266 @media screen and (max-width: 37.500em) { 1267 h1 { 1268 margin-bottom: 0; 1269 } 1270 1271 #item-header-avatar { 1272 img.avatar { 1273 margin-right: 0; 1274 } 1275 } 1276 1277 #item-header-content { 1278 width: 100%; 1279 } 1280 } // close @media 1281 1231 1282 @media screen and (max-width: 46.25em) { 1232 1283 #item-header { … … 1237 1288 } 1238 1289 } 1239 1240 @media screen and (max-width: 37.500em) { 1241 h1 { 1242 margin-bottom: 0; 1243 } 1244 1245 #item-header-avatar { 1246 img.avatar { 1247 margin-right: 0; 1248 } 1249 } 1250 1251 #item-header-content { 1252 width: 100%; 1253 } 1254 } 1255 } 1290 } // close #buddypress 1291 1256 1292 } 1257 1293 … … 1339 1375 padding: 0.2em; 1340 1376 } 1377 1378 #group-admins, 1379 #group-mods { 1380 li { 1381 margin: 0; 1382 } 1383 } 1384 1341 1385 } // close item-actions 1342 1386 … … 1366 1410 } // close #item-header 1367 1411 } // close #buddypress 1368 } // close .groups 1412 1413 // These rules handle the specific instance of Cover Images on single groups 1414 // activated & attempt to address positioning concerns arising from themes 1415 // breakpoints. 1416 // Due to cover image styles being applied via embedded styles & thus carrying 1417 // heavier weight than linked styles the use !important to override may be required. 1418 #buddypress { 1419 #cover-image-container { 1420 #item-header-cover-image { 1421 @media screen and (max-width: 64em) { 1422 #item-actions { 1423 border: 0; 1424 clear: both; 1425 margin-top: 0 !important; 1426 max-width: 100% !important; 1427 padding-top: 0 !important; 1428 width: auto; 1429 1430 h3 {border-bottom: 1px solid $border-light;} 1431 } 1432 } 1433 } 1434 } 1435 } 1436 1437 } // close .single-item.groups 1369 1438 1370 1439 /** … … 1614 1683 width: 100%; 1615 1684 @media screen and (min-width: 37.500em) { 1616 width: 50%;1685 width: 40%; 1617 1686 } 1618 1687 … … 1627 1696 float: left; 1628 1697 margin-right: 0; 1629 width: 60%; 1698 width: 49%; 1699 1700 @media screen and (min-width: 37.500em) { 1701 width: auto; 1702 } 1630 1703 } 1631 1704 1632 1705 input { 1633 float: right;1706 float: left; 1634 1707 font-family: inherit; 1635 1708 line-height: 20px; 1636 1709 margin-left: 1%; 1637 width: 39%; 1710 width: 50%; 1711 1712 @media screen and (min-width: 37.500em) { 1713 width: auto; 1714 } 1638 1715 1639 1716 &[disabled="disabled"]:focus, … … 1704 1781 } //.button-nav 1705 1782 1783 .field-visibility-settings-toggle { 1784 margin: $spacing-val-xs 0 $spacing-val-md; 1785 } 1786 1706 1787 .field-visibility-settings-toggle, 1707 1788 .field-visibility-settings { … … 1711 1792 .field-visibility-settings-close, 1712 1793 .visibility-toggle-link { 1713 background: $dark-background; 1714 color: #fff; 1715 padding: 0.2em 0.5em; 1794 background: lighten($dark-background, 10%); 1795 @include border-radius(2px); 1796 color: #eee; 1797 font-weight: bold; 1798 padding: 0.1em 0.5em; 1799 text-decoration: none; 1800 1801 &:focus, 1802 &:hover { 1803 color: #fff; 1804 } 1716 1805 } 1717 1806 } // close profile form … … 1919 2008 tr.unread { 1920 2009 td { 1921 background: rgba($unread, 0.4); 1922 border-color: $border-color; 2010 border-color: $border-light; 1923 2011 } 1924 2012 } … … 2106 2194 #buddypress { 2107 2195 2108 // Match BP form elements to Themes(201 6) styling where styles2196 // Match BP form elements to Themes(2012) styling where styles 2109 2197 // are not inherited or being overriden. 2110 2198 div.activity-comments { … … 2156 2244 2157 2245 // Stylise the seach form elements, in part this deals with padding 2158 // issues on the submit & sizing issues between bp styles & 201 62246 // issues on the submit & sizing issues between bp styles & 2012 2159 2247 2160 2248 form { // *sigh* only to bludgeon over specified rules … … 2165 2253 float: left; 2166 2254 width: 70%; 2167 }2168 2169 input[type='text'] {2170 float: left;2171 margin: 0;2172 width: 100%;2173 2255 } 2174 2256 … … 2177 2259 @include font-size(14); 2178 2260 border: 0; 2179 line-height: inherit; 2261 border-radius: 0; 2262 line-height: 1.8; 2263 min-height: 2rem; 2180 2264 } 2181 2265 2182 2266 input[type='text'] { 2183 2267 border-right: 1px solid rgba($border-color, 0.6); 2184 padding: 0.2em 0 0.2em 0.2em; 2268 float: left; 2269 margin: 0; 2270 padding: 0 0.2em 0; 2271 width: 100%; 2185 2272 } 2186 2273 … … 2188 2275 float: right; 2189 2276 font-weight: normal; 2190 padding: 0 .2em1em;2277 padding: 0 1em; 2191 2278 text-align: center; 2192 2279 text-transform: none;
Note: See TracChangeset
for help on using the changeset viewer.