Changeset 9866
- Timestamp:
- 05/12/2015 06:40:43 PM (9 years ago)
- Location:
- trunk/src/bp-templates/bp-legacy/css
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/bp-templates/bp-legacy/css/twentyfifteen-rtl.css
r9861 r9866 655 655 *----------------------------------------- 656 656 */ 657 /* Members loop */ 658 @media screen and (max-width: 30em) { 659 .groups.group-members #buddypress #members-group-list li > a { 660 border-bottom: 0; 661 display: block; 662 margin-bottom: 10px; 663 text-align: center; } 664 .groups.group-members #buddypress #members-group-list li > a img.avatar { 665 display: inline; 666 float: none; } } 667 .groups.group-members #buddypress #members-group-list li h5 { 668 display: inline-block; 669 font-size: 14px; 670 font-size: 1.4rem; 671 margin: 0; } 672 @media screen and (min-width: 59.6875em) { 673 .groups.group-members #buddypress #members-group-list li h5 { 674 font-size: 16px; 675 font-size: 1.6rem; } } 676 .groups.group-members #buddypress #members-group-list li h5 a { 677 border-bottom: 0; } 678 .groups.group-members #buddypress #members-group-list li span.activity { 679 font-size: 12px; 680 font-size: 1.2rem; } 681 .groups.group-members #buddypress #members-group-list li .action { 682 top: 0; } 683 657 684 .groups.group-members #subnav li { 658 685 width: 100%; } … … 1035 1062 background: #c6e4ee; 1036 1063 border: 1px solid #78bed6; 1037 color: # fff; }1064 color: #1e5264; } 1038 1065 #buddypress div#message.updated p { 1039 1066 background: #dee6b2; 1040 1067 border: 1px solid #becc66; 1041 color: # fff; }1068 color: #454d19; } 1042 1069 1043 1070 .delete-group #buddypress div#message.info p { -
trunk/src/bp-templates/bp-legacy/css/twentyfifteen.css
r9861 r9866 655 655 *----------------------------------------- 656 656 */ 657 /* Members loop */ 658 @media screen and (max-width: 30em) { 659 .groups.group-members #buddypress #members-group-list li > a { 660 border-bottom: 0; 661 display: block; 662 margin-bottom: 10px; 663 text-align: center; } 664 .groups.group-members #buddypress #members-group-list li > a img.avatar { 665 display: inline; 666 float: none; } } 667 .groups.group-members #buddypress #members-group-list li h5 { 668 display: inline-block; 669 font-size: 14px; 670 font-size: 1.4rem; 671 margin: 0; } 672 @media screen and (min-width: 59.6875em) { 673 .groups.group-members #buddypress #members-group-list li h5 { 674 font-size: 16px; 675 font-size: 1.6rem; } } 676 .groups.group-members #buddypress #members-group-list li h5 a { 677 border-bottom: 0; } 678 .groups.group-members #buddypress #members-group-list li span.activity { 679 font-size: 12px; 680 font-size: 1.2rem; } 681 .groups.group-members #buddypress #members-group-list li .action { 682 top: 0; } 683 657 684 .groups.group-members #subnav li { 658 685 width: 100%; } … … 1035 1062 background: #c6e4ee; 1036 1063 border: 1px solid #78bed6; 1037 color: # fff; }1064 color: #1e5264; } 1038 1065 #buddypress div#message.updated p { 1039 1066 background: #dee6b2; 1040 1067 border: 1px solid #becc66; 1041 color: # fff; }1068 color: #454d19; } 1042 1069 1043 1070 .delete-group #buddypress div#message.info p { -
trunk/src/bp-templates/bp-legacy/css/twentyfifteen.scss
r9861 r9866 101 101 102 102 // BP message boxes 103 @mixin message-box($background, $text-color: inherit) { 103 @mixin message-box($background, $text-color: null) { 104 105 @if($text-color) { 106 // if a param was passed through 107 $text-color: $text-color; 108 } @else { 109 $text-color: darken($background, 50%); 110 } 111 104 112 background: lighten($background, 10%); 105 113 border: 1px solid darken($background, 10%); … … 1263 1271 */ 1264 1272 1273 /* Members loop */ 1274 1275 .groups.group-members { 1276 #buddypress { 1277 #members-group-list { 1278 li { 1279 1280 @media screen and (max-width: 30em) { 1281 > a { 1282 border-bottom: 0; 1283 display: block; 1284 margin-bottom: $spacing-val-sm; 1285 text-align: center; 1286 1287 img.avatar { 1288 display: inline; 1289 float: none; 1290 } 1291 } 1292 } 1293 1294 h5 { 1295 display: inline-block; 1296 @include font-size(14); 1297 1298 @media screen and (min-width: 59.6875em) { 1299 @include font-size(16); 1300 } 1301 margin: 0; 1302 1303 a {border-bottom: 0;} 1304 } // close h5 1305 1306 span.activity { 1307 @include font-size(12); 1308 } 1309 1310 .action { 1311 top: 0; 1312 } 1313 } // close li 1314 } 1315 } 1316 } 1317 1265 1318 // Massage the members search for groups nav specifically. 1266 1319 .groups.group-members { … … 1918 1971 *------------------------------------------------------------------------------- 1919 1972 */ 1973 1974 // message args ($variable-color, text-color) 1975 // Leave text-color undefined to automagically set text color 1976 // to background color darker by 50% 1977 1920 1978 #buddypress { 1979 1921 1980 div#message { 1922 1981 p { … … 1927 1986 &.info { 1928 1987 p { 1929 @include message-box($notice-info , #fff);1988 @include message-box($notice-info); 1930 1989 } 1931 1990 } … … 1933 1992 &.updated { 1934 1993 p { 1935 @include message-box($notice-update , #fff);1994 @include message-box($notice-update); 1936 1995 } 1937 1996 } … … 1943 2002 // Without direct classes on our mesages ( 'warning' ) 1944 2003 // we need to use the body classes 1945 // message args ($variable-color, text-color)1946 2004 // todo: If this is class .warning is included in main BP styles remove from here 1947 2005 .delete-group {
Note: See TracChangeset
for help on using the changeset viewer.