Dotclear


Ignore:
Timestamp:
09/01/18 09:28:56 (7 years ago)
Author:
franck <carnet.franck.paul@…>
Branch:
default
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

    r3839 r3842  
    13411341  padding: 0; } 
    13421342 
    1343 input.details-cmd { 
     1343button.details-cmd { 
    13441344  font-size: 0.9em; 
    13451345  border: none; 
     
    13491349  color: currentColor; 
    13501350  background: transparent; } 
    1351   input.details-cmd:hover, input.details-cmd:focus { 
     1351  button.details-cmd:hover, button.details-cmd:focus { 
    13521352    background: transparent; 
    13531353    color: #bee74b; } 
     
    21032103    padding-bottom: 6px; 
    21042104    font-size: 1em; } 
    2105   #login-screen input.details-cmd { 
    2106     width: auto; 
    2107     margin: 0 5px 0 0; 
    2108     padding: 0; } 
    21092105  #login-screen #issue { 
    21102106    margin-left: 1.33em; 
  • admin/style/default.css

    r3839 r3842  
    13411341  padding: 0; } 
    13421342 
    1343 input.details-cmd { 
     1343button.details-cmd { 
    13441344  font-size: 0.9em; 
    13451345  border: none; 
     
    13491349  color: currentColor; 
    13501350  background: transparent; } 
    1351   input.details-cmd:hover, input.details-cmd:focus { 
     1351  button.details-cmd:hover, button.details-cmd:focus { 
    13521352    background: transparent; 
    13531353    color: #bee74b; } 
     
    21032103    padding-bottom: 6px; 
    21042104    font-size: 1em; } 
    2105   #login-screen input.details-cmd { 
    2106     width: auto; 
    2107     margin: 0 5px 0 0; 
    2108     padding: 0; } 
    21092105  #login-screen #issue { 
    21102106    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