[buddypress-trac] [BuddyPress] #2737: Default theme default.css clean up and tidy

buddypress-trac at lists.automattic.com buddypress-trac at lists.automattic.com
Tue Nov 23 12:06:54 UTC 2010


#2737: Default theme default.css clean up and tidy
-------------------------+--------------------------------------------------
 Reporter:  karmatosed   |       Owner:     
     Type:  enhancement  |      Status:  new
 Priority:  normal       |   Milestone:  1.3
Component:  Theme        |     Version:     
 Keywords:               |  
-------------------------+--------------------------------------------------

Comment(by karmatosed):

 Ok for instance (hoping whitespace saves if not will upload file example:


 {{{
 /* > Pagination
 -------------------------------------------------------------- */

 div.pagination {
         margin: -20px -20px 9px -20px;
         border-bottom: 1px solid #eaeaea;
         padding: 10px 20px 10px 20px;
         color: #888;
         font-size: 11px;
         height: 16px;
 }
         div.pagination#user-pag, .friends div.pagination,
         .mygroups div.pagination, .myblogs div.pagination, noscript
 div.pagination {
                 background: #f8f8f8;
                 border: none;
                 padding: 8px 15px;
         }

         div.pagination .pag-count {
                 float: left;
         }

         div.pagination .pagination-links {
                 float: right;
         }
                 div.pagination .pagination-links span,
                 div.pagination .pagination-links a {
                         font-size: 12px;
                         padding: 0 5px;
                 }
                         div.pagination .pagination-links a:hover {
                                 font-weight: bold;
                         }

 div#pag-bottom {
         margin-top: 0;
 }
 }}}

 Should be cleaned to (if keeping indent):

 {{{

 /* > Pagination
 -------------------------------------------------------------- */
 div.pagination {
         margin: -20px -20px 9px -20px;
         border-bottom: 1px solid #eaeaea;
         padding: 10px 20px 10px 20px;
         color: #888;
         font-size: 11px;
         height: 16px;
 }

 div.pagination#user-pag, .friends div.pagination,
 .mygroups div.pagination, .myblogs div.pagination, noscript div.pagination
 {
         background: #f8f8f8;
         border: none;
         padding: 8px 15px;
 }

 div.pagination .pag-count {
         float: left;
 }

 div.pagination .pagination-links {
         float: right;
 }

 div.pagination .pagination-links span,
 div.pagination .pagination-links a {
         font-size: 12px;
         padding: 0 5px;
 }

 div.pagination .pagination-links a:hover {
         font-weight: bold;
 }

 div#pag-bottom {
         margin-top: 0;
 }
 }}}

 Or.. without indent - style sheet already attached with this in:


 {{{
 /* > Pagination
 -------------------------------------------------------------- */
 div.pagination {
 margin: -20px -20px 9px -20px;
 border-bottom: 1px solid #eaeaea;
 padding: 10px 20px 10px 20px;
 color: #888;
 font-size: 11px;
 height: 16px;
 }

 div.pagination#user-pag, .friends div.pagination,
 .mygroups div.pagination, .myblogs div.pagination, noscript div.pagination
 {
 background: #f8f8f8;
 border: none;
 padding: 8px 15px;
 }

 div.pagination .pag-count {
 float: left;
 }

 div.pagination .pagination-links {
 float: right;
 }

 div.pagination .pagination-links span,
 div.pagination .pagination-links a {
 font-size: 12px;
 padding: 0 5px;
 }

 div.pagination .pagination-links a:hover {
 font-weight: bold;
 }

 div#pag-bottom {
 margin-top: 0;
 }
 }}}

-- 
Ticket URL: <http://trac.buddypress.org/ticket/2737#comment:9>
BuddyPress <http://buddypress.org/>
BuddyPress


More information about the buddypress-trac mailing list