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.

nativebutton.scss 1.3KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273
  1. @mixin base-nativebutton($primaryStyleName : v-nativebutton) {
  2. .#{$primaryStyleName} .v-icon {
  3. vertical-align: middle;
  4. margin-right: 3px;
  5. border: none;
  6. }
  7. .#{$primaryStyleName} .v-errorindicator {
  8. display: inline-block;
  9. zoom: 1;
  10. vertical-align: middle;
  11. float: none;
  12. }
  13. /* Link style (we really should deprecate this) */
  14. .#{$primaryStyleName}-link {
  15. border: none;
  16. text-align: left !important;
  17. background: transparent;
  18. padding: 0;
  19. color: inherit;
  20. -khtml-user-select: text;
  21. -moz-user-select: text;
  22. -ie-user-select: text;
  23. user-select: text;
  24. }
  25. .#{$primaryStyleName}-link .#{$primaryStyleName}-caption {
  26. text-decoration: underline;
  27. color: inherit;
  28. text-align: left;
  29. }
  30. .#{$primaryStyleName} {
  31. text-align: center !important;
  32. cursor: pointer;
  33. white-space: nowrap;
  34. margin: 0;
  35. color: inherit;
  36. font: inherit;
  37. line-height: normal;
  38. }
  39. .#{$primaryStyleName} .#{$primaryStyleName}-caption {
  40. vertical-align: middle;
  41. white-space: nowrap;
  42. font: inherit;
  43. color: inherit;
  44. }
  45. .#{$primaryStyleName} .v-icon {
  46. vertical-align: middle;
  47. margin-right: 3px;
  48. }
  49. .#{$primaryStyleName} .v-errorindicator {
  50. display: inline-block;
  51. zoom: 1;
  52. float: none;
  53. }
  54. /* Fixes stretched buttons in IE7*/
  55. .v-ie & .#{$primaryStyleName} {
  56. overflow: visible;
  57. padding-left: 1em;
  58. padding-right: 1em;
  59. }
  60. .v-ie & .#{$primaryStyleName}-link {
  61. padding: 0;
  62. }
  63. }