Making WordPress.org


Ignore:
Timestamp:
05/20/2016 08:32:44 PM (10 years ago)
Author:
obenland
Message:

Plugin Directory: Continue to use old styles for download button in global header.

See #1719.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-plugins/sass/site/_header.scss

    r3193 r3198  
    1212        .button {
    1313                box-shadow: none;
     14        }
     15
     16        .download-button {
     17                background-color: #21759b;
     18                background-image: -webkit-gradient(linear, left top, left bottom, from(#2a95c5), to(#21759b));
     19                background-image: -webkit-linear-gradient(top, #2a95c5, #21759b);
     20                background-image:    -moz-linear-gradient(top, #2a95c5, #21759b);
     21                background-image:     -ms-linear-gradient(top, #2a95c5, #21759b);
     22                background-image:      -o-linear-gradient(top, #2a95c5, #21759b);
     23                background-image:   linear-gradient(to bottom, #2a95c5, #21759b);
     24                border-color: #21759b;
     25                border-bottom-color: #1e6a8d;
     26                box-shadow: inset 0 1px 0 rgba( 120, 200, 230, 0.5 );
     27
     28                &:hover,
     29                &:focus {
     30                        background-color: #278ab7;
     31                        background-image: -webkit-gradient(linear, left top, left bottom, from(#2e9fd2), to(#21759b));
     32                        background-image: -webkit-linear-gradient(top, #2e9fd2, #21759b);
     33                        background-image:    -moz-linear-gradient(top, #2e9fd2, #21759b);
     34                        background-image:     -ms-linear-gradient(top, #2e9fd2, #21759b);
     35                        background-image:      -o-linear-gradient(top, #2e9fd2, #21759b);
     36                        background-image:   linear-gradient(to bottom, #2e9fd2, #21759b);
     37                        border-color: #1b607f;
     38                        box-shadow: inset 0 1px 0 rgba(120,200,230,0.6);
     39                        color: #fff;
     40                        text-shadow: 0 -1px 0 rgba( 0, 0, 0, 0.3 );
     41                }
     42
     43                &:active {
     44                        background: #1b607f;
     45                        background-image: -webkit-gradient(linear, left top, left bottom, from(#21759b), to(#278ab7));
     46                        background-image: -webkit-linear-gradient(top, #21759b, #278ab7);
     47                        background-image: -moz-linear-gradient(top, #21759b, #278ab7);
     48                        background-image: -ms-linear-gradient(top, #21759b, #278ab7);
     49                        background-image: -o-linear-gradient(top, #21759b, #278ab7);
     50                        background-image: linear-gradient(to bottom, #21759b, #278ab7);
     51                        border-color: #124560 #2382ae #2382ae #2382ae;
     52                        color: rgba(255,255,255,0.95);
     53                        -webkit-box-shadow: inset 0 1px 0 rgba(0,0,0,0.1);
     54                        box-shadow: inset 0 1px 0 rgba(0,0,0,0.1);
     55                        text-shadow: 0 1px 0 rgba(0,0,0,0.1);
     56                        transform: none;
     57                }
    1458        }
    1559}
Note: See TracChangeset for help on using the changeset viewer.