WordPress.org

Make WordPress Core

Changes between Initial Version and Version 1 of Ticket #24306, comment 30


Ignore:
Timestamp:
06/08/13 23:35:55 (10 months ago)
Author:
SergeyBiryukov
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #24306, comment 30

    initial v1  
    11Missed your update to the selector earlier to 
    2  
     2{{{ 
    33[class*="your-plugin-prefix-"] * 
    4  
     4}}} 
    55That would mostly work and is certainly useful if you have elements all over the place. Otherwise if your plugin uses a container as me and cello expressions are using the following also mostly works (as mentioned in an earlier post). 
    6  
     6{{{ 
    77 .plugin-container, .plugin-container * { 
    88box-sizing: content-box; 
     
    1010-webkit-box-sizing: content-box; 
    1111} 
    12  
     12}}} 
    1313However both methods are problematic when applied to the top level widget box as it appends the widget class for which twelve thirteen has defined both width and padding.  
    1414