To participate you must create an account on apostrophenow.org. If you have already done so, click Login.

Changeset 2156

Show
Ignore:
Timestamp:
09/08/10 16:30:23 (17 months ago)
Author:
johnnyoffline
Message:

Moved some button variant CSS to main.css because we have the slideshow variant css here too.

Like slideshow variants, the button variant is a nice example for how to take advantage of this functionality, but we don't need to include it in the plugin, just the sandbox.

We often override these styles to suit our needs anyway and it makes sense to have them in this location.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • sandboxes/asandbox/trunk/web/css/main.css

    r2147 r2156  
    412412 
    413413 
    414 /* 4. Variants 
    415 -------------------------------------*/ 
    416  
    417  
    418 /* aSlideshow Compact Variant */ 
     414/* ASANDBOX aSlideshow Compact Variant  
     415-------------------------------------*/ 
    419416 
    420417.a-slot.aSlideshow.compact 
     
    484481 
    485482 
    486 /* aSlideshow Autoplay Variant */ 
    487  
     483 
     484/* ASANDBOX aSlideshow Autoplay Variant  
     485------------------------------------------- */ 
    488486 
    489487.a-slot.aSlideshow.autoplay .a-slideshow-title 
     
    509507} 
    510508 
    511 /* Staging - Do Not Edit Message */ 
     509 
     510 
     511/* ASANDBOX aButton Title Over Image Variant  
     512------------------------------------------- */ 
     513 
     514.a-slot.aButton.useTitleAsButtonText .a-button .a-button-title 
     515{  
     516position: absolute; 
     517top: 0; 
     518left: 0; 
     519top: 50%; 
     520left: 0; 
     521line-height: 20px; 
     522margin-top: -10px; 
     523} 
     524 
     525.a-slot.aButton.useTitleAsButtonText .a-button .a-button-title a, 
     526.a-slot.aButton.useTitleAsButtonText .a-button .a-button-title a:hover 
     527{  
     528position: absolute; 
     529float: left; 
     530text-align: center; 
     531text-decoration: none; 
     532width: 100%; 
     533height: 100%; 
     534font-size: 16px; 
     535color: #fff; 
     536white-space: nowrap; 
     537text-shadow: 0 0 6px rgba(0,0,0,0.80); 
     538} 
     539 
     540 
     541/* ASANDBOX Staging - Do Not Edit Message 
     542------------------------------------------- */ 
    512543 
    513544.a-do-not-edit {