You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

32 lines
1.0 KiB

  1. body {font: 100%/1.5 "Helvetica", "Arial", "Microsoft Yahei";}
  2. input[type="text"]:focus,
  3. input[type="password"]:focus,
  4. input[type="number"]:focus,
  5. select:focus,
  6. textarea:focus,
  7. [contenteditable]:focus {
  8. outline: none;
  9. /*border-color: #1E90FF;*/
  10. /*box-shadow: 0 0 4px rgba(30,144,255,.5);*/
  11. }
  12. [contenteditable] {display: inline-block; overflow: hidden; white-space: nowrap;}
  13. .form {max-width:600px;margin: 40px 20px;}
  14. .form h3 {font-weight: 400; margin: 1.2em 0 .8em;}
  15. .form p {margin: .8em 0;}
  16. .form .note {color:#ccc; font-weight:200; font-size: .9em}
  17. .form-item {}
  18. .form-item .label {display:block; margin:10px 0 2px; font-size:14px;}
  19. .form-item .n-invalid {border:1px solid #c00;}
  20. .form-item .n-invalid:focus {outline: none; border-color:#c00; box-shadow: 0 0 4px rgba(192,0,0,0.5);}
  21. .form-item button {padding:5px 20px;}
  22. .form-item .input-sm {width:120px;}
  23. .n-default .n-left, .n-default .n-right{
  24. position: absolute;
  25. top: 0;
  26. right: 70px;
  27. height: 20px;
  28. margin-top: 11px!important;
  29. }