Dotclear


Ignore:
Timestamp:
09/01/18 09:28:56 (7 years ago)
Author:
franck <carnet.franck.paul@…>
Branch:
2.14
source:
d2616cbea4808bdd0cbc686d6548ea61810e05dd
Message:

button(type="button") is better than input(type="submit") for show/hide, show/close js button as the input may catch the enter key in form and the button not

Location:
admin/style
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • admin/style/default-dark.css

    r3787 r3843  
    13351335  padding: 0; } 
    13361336 
    1337 input.details-cmd { 
     1337button.details-cmd { 
    13381338  font-size: 0.9em; 
    13391339  border: none; 
     
    13431343  color: currentColor; 
    13441344  background: transparent; } 
    1345   input.details-cmd:hover, input.details-cmd:focus { 
     1345  button.details-cmd:hover, button.details-cmd:focus { 
    13461346    background: transparent; 
    13471347    color: #bee74b; } 
     
    21012101    padding-bottom: 6px; 
    21022102    font-size: 1em; } 
    2103   #login-screen input.details-cmd { 
    2104     width: auto; 
    2105     margin: 0 5px 0 0; 
    2106     padding: 0; } 
    21072103  #login-screen #issue { 
    21082104    margin-left: 1.33em; 
  • admin/style/default.css

    r3787 r3843  
    13351335  padding: 0; } 
    13361336 
    1337 input.details-cmd { 
     1337button.details-cmd { 
    13381338  font-size: 0.9em; 
    13391339  border: none; 
     
    13431343  color: currentColor; 
    13441344  background: transparent; } 
    1345   input.details-cmd:hover, input.details-cmd:focus { 
     1345  button.details-cmd:hover, button.details-cmd:focus { 
    13461346    background: transparent; 
    13471347    color: #bee74b; } 
     
    21012101    padding-bottom: 6px; 
    21022102    font-size: 1em; } 
    2103   #login-screen input.details-cmd { 
    2104     width: auto; 
    2105     margin: 0 5px 0 0; 
    2106     padding: 0; } 
    21072103  #login-screen #issue { 
    21082104    margin-left: 1.33em; 
  • admin/style/scss/partials/_auth.scss

    r3770 r3842  
    5151          font-size: 1em; 
    5252     } 
    53   input.details-cmd { 
    54     width: auto; 
    55     margin: 0 5px 0 0; 
    56     padding: 0; 
    57   } 
    5853     #issue { 
    5954          margin-left: 1.33em; 
  • admin/style/scss/partials/_buttons.scss

    r3768 r3842  
    208208} 
    209209 
    210 input.details-cmd { 
     210button.details-cmd { 
    211211  font-size: 0.9em; 
    212212  border: none; 
Note: See TracChangeset for help on using the changeset viewer.

Sites map