Changeset 26681 – WordPress Trac (original) (raw)
Timestamp:
12/05/2013 06:41:44 PM (12 years ago)
nacin
Message:
Themes: Refine how we display the current theme.
props shaunandrews, kwight, matveb.
see #26003.
Location:
Files:
Legend:
Unmodified
Added
Removed
| r26677 | r26681 | |
|---|---|---|
| 6511 | 6511 | */ |
| 6512 | 6512 | .theme-browser .theme.active .theme-name { |
| 6513 | background: # |
|
| 6513 | background: #2f2f2f; | |
| 6514 | 6514 | color: #fff; |
| 6515 | padding-right: 110px; | |
| 6516 | font-weight: 300; | |
| 6515 | 6517 | -webkit-box-shadow: inset 0 1px 1px rgba(0,0,0,0.5); |
| 6516 | 6518 | box-shadow: inset 0 1px 1px rgba(0,0,0,0.5); |
| 6517 | 6519 | } |
| 6518 | 6520 | |
| 6521 | .theme-browser .theme.active .theme-name span { | |
| 6522 | font-weight: 600; | |
| 6523 | } | |
| 6524 | ||
| 6519 | 6525 | .theme-browser .theme.active .theme-actions { |
| 6520 | top: 0; | |
| 6521 | left: 0; | |
| 6522 | background: #2f2f2f; | |
| 6523 | height: 48px; | |
| 6526 | background: rgba(49,49,49,0.7); | |
| 6527 | border-left: none; | |
| 6524 | 6528 | opacity: 1; |
| 6525 | line-height: 48px; | |
| 6526 | padding: 0 10px; | |
| 6527 | z-index: 1; | |
| 6528 | } | |
| 6529 | ||
| 6530 | .theme-browser .theme.active .theme-actions .button { | |
| 6531 | float: right; | |
| 6532 | margin-top: 10px; | |
| 6533 | } | |
| 6534 | ||
| 6535 | .theme-browser .theme.active .current-label { | |
| 6536 | font-size: 13px; | |
| 6537 | font-weight: 400; | |
| 6538 | color: #ccc; | |
| 6539 | margin-left: 5px; | |
| 6540 | } | |
| 6541 | ||
| 6542 | .theme-browser .theme.active .theme-update { | |
| 6543 | top: 48px; | |
| 6529 | } | |
| 6530 | ||
| 6531 | .theme-browser .theme.active .theme-actions .button-primary { | |
| 6532 | margin-right: 0; | |
| 6544 | 6533 | } |
| 6545 | 6534 | |
| … | … | |
| 7134 | 7123 | |
| 7135 | 7124 | @media only screen and (max-width: 780px) { |
| 7136 | ||
| 7137 | ||
| 7138 | ||
| 7139 | ||
| 7140 | ||
| 7141 | 7125 | body.folded .theme-overlay .theme-wrap, |
| 7142 | 7126 | .theme-overlay .theme-wrap { |
| … | … | |
| 7151 | 7135 | } |
| 7152 | 7136 | |
| 7137 | .theme-browser .theme.active .theme-name span { | |
| 7138 | /* Hide the "Active: " label on smaller screens. */ | |
| 7139 | display: none; | |
| 7140 | } | |
| 7141 | ||
| 7153 | 7142 | .theme-overlay .theme-screenshots { |
| 7154 | 7143 | width: 40%; |
| … | … | |
| 7160 | 7149 | .single-theme .theme-wrap { |
| 7161 | 7150 | padding: 10px; |
| 7151 | } | |
| 7152 | ||
| 7153 | .theme-browser .theme .theme-actions { | |
| 7154 | padding: 5px 10px 4px 10px; | |
| 7162 | 7155 | } |
| 7163 | 7156 | } |
| … | … | |
| 7179 | 7172 | .theme-overlay .theme-description { |
| 7180 | 7173 | margin-left: 0; |
| 7181 | ||
| 7182 | ||
| 7183 | ||
| 7184 | ||
| 7185 | ||
| 7186 | ||
| 7187 | ||
| 7188 | ||
| 7189 | 7174 | } |
| 7190 | 7175 |
| r26638 | r26681 | |
|---|---|---|
| 222 | 222 | <# } #> |
| 223 | 223 | |
| 224 | {{{ data.name }}} |
|
| 224 | ||
| 225 | <# if ( data.active ) { #> | |
| 226 | {{{ data.name }}} |
|
| 227 | <# } else { #> | |
| 228 | {{{ data.name }}} |
|
| 229 | <# } #> | |
| 225 | 230 | |
| 226 | 231 | |
| 227 | 232 | |
| 228 | 233 | <# if ( data.active ) { #> |
| 229 | ||
| 230 | 234 | <# if ( data.actions.customize ) { #> |
| 231 | 235 |
Note: See TracChangeset for help on using the changeset viewer.