fork download
  1. import Style from nest.widgets.style as Style
  2.  
  3. rl = Nest.resLink("grad_metal_1.png")
  4.  
  5. Style( "Input Background", nil, @'
  6. background: url("$(rl)") 30px repeat-x;'
  7. ).applyToClass( "InputText" )
  8.  
  9. Style( "Base Highlight", nil, '
  10. outline: none;
  11. transition: all 0.25s ease-in-out;
  12. -webkit-transition: all 0.25s ease-in-out;
  13. -moz-transition: all 0.25s ease-in-out;
  14. border-radius:3px;
  15. -webkit-border-radius:3px;
  16. -moz-border-radius:3px;'
  17. ).applyToClass( "InputText" ).applyToClass( "HashInput" )
  18.  
  19. Style( "Blue Highlight", nil, '
  20. border:1px solid rgba(30,30,160, 0.3);'
  21. ).applyToClass( "InputText" ).applyToClass( "HashInput" )
  22.  
  23. Style( "Blue Highlight focus", 'focus', '
  24. box-shadow: 0 0 5px rgba(0, 0, 255, 1);
  25. -webkit-box-shadow: 0 0 5px rgba(0, 0, 255, 1);
  26. -moz-box-shadow: 0 0 5px rgba(0, 0, 255, 1);
  27. border:1px solid rgba(0,0,255, 0.8);'
  28. ).applyToClass( "InputText" ).applyToClass( "HashInput" )
  29.  
  30.  
  31. Style( "Red Highlight", nil, '
  32. border:1px solid rgba(160,30,30, 0.3);'
  33. ).applyToClass( "Password" )
  34.  
  35. Style( "Red Highlight focus", 'focus', '
  36. box-shadow: 0 0 5px rgba(255, 0, 0, 1);
  37. -webkit-box-shadow: 0 0 5px rgba(255, 0, 0, 1);
  38. -moz-box-shadow: 0 0 5px rgba(255, 0, 0, 1);
  39. border:1px solid rgba(255,0,0, 0.8);'
  40. ).applyToClass( "Password" )
  41.  
Not running #stdin #stdout 0s 0KB
stdin
Standard input is empty
stdout
Standard output is empty