[Rt-commit] rt branch, 4.2/allow-other-elements-to-be-buttons, repushed

Jesse Vincent jesse at bestpractical.com
Sat Mar 28 17:04:41 EDT 2015


The branch 4.2/allow-other-elements-to-be-buttons was deleted and repushed:
       was c14d989e54f68c4c00bb6ab52801a1e733ca49dd
       now 03082300c3b90a2b9d0ac0234be46b5d3929df5f

1:  c14d989 ! 1:  0308230 Allow elements styled as .button to render the same as other buttons.
    @@ -6,7 +6,7 @@
         other elements to look like buttons. Historically, RT hackers have
         indicated button nature with text like [Button] inside an href.
         
    -    This change allows developers to style buttons as buttons by giving
    +    This change allows developers to style links as buttons by giving
         them a css class including "button"
     
     diff --git a/share/static/css/base/forms.css b/share/static/css/base/forms.css
    @@ -17,6 +17,14 @@
      
      
     -input[type=reset], input[type=submit], input[class=button], button {
    ++.button {
    ++    display: inline-block;
    ++}
    ++.button:hover {
    ++    text-decoration:none;
    ++    cursor: default;
    ++}
    ++
     +.button, .button:visited, input[type=reset], input[type=submit], input[class=button], button {
         color: #fff;
         background: #3858a3;



More information about the rt-commit mailing list