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.

button.scss 2.3KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110
  1. @mixin liferay-button {
  2. .v-button:focus {
  3. outline: none;
  4. }
  5. .v-button:hover .v-button-wrap {
  6. background: #b9ced9 url(/html/themes/classic/images/application/state_hover_bg.png) repeat-x 0 0;
  7. border-color: #627782;
  8. color: #369;
  9. }
  10. .v-button:active .v-button-wrap,
  11. .v-button.v-pressed .v-button-wrap,
  12. .v-button:focus .v-button-wrap {
  13. background: #ebebeb url(/html/themes/classic/images/application/state_active_bg.png) repeat-x 0 0;
  14. border-color: #555;
  15. }
  16. .v-button {
  17. padding: 0;
  18. border: none;
  19. height: 26px;
  20. overflow: hidden;
  21. }
  22. .v-nativebutton {
  23. font-size: $font-size;
  24. }
  25. .v-button .v-button-wrap,
  26. .v-disabled.v-button .v-button-wrap {
  27. display: block;
  28. font-size: $font-size;
  29. font-weight: bold;
  30. border: 1px solid #c8c9ca;
  31. border-right-color: #9e9e9e;
  32. border-bottom-color: #9e9e9e;
  33. background: #d4d4d4 url(/html/themes/classic/images/portlet/header_bg.png) repeat-x 0 0;
  34. -webkit-background-origin: padding;
  35. -moz-background-origin: padding;
  36. padding: 4px 4px 0px 4px;
  37. -webkit-border-radius: 4px;
  38. -moz-border-radius: 4px;
  39. border-radius: 4px;
  40. line-height: 16px;
  41. min-height: 16px;
  42. text-shadow: 1px 1px #fff;
  43. color: #34404f;
  44. text-overflow: ellipsis;
  45. height: 20px;
  46. }
  47. .v-button-caption {
  48. line-height: 16px;
  49. }
  50. /* Link style button */
  51. .v-button-link,
  52. .v-disabled.v-button-link,
  53. .v-button-link:focus,
  54. .v-button-link:active,
  55. .v-button-link:hover,
  56. .v-button-link-pressed,
  57. button.v-nativebutton-link,
  58. .v-disabled.v-nativebutton-link,
  59. button.v-nativebutton-link:focus,
  60. button.v-nativebutton-link:active,
  61. button.v-nativebutton-link:hover,
  62. button.v-nativebutton-link-pressed,
  63. .v-button.v-button-link .v-button-wrap,
  64. .v-button.v-button-link:focus .v-button-wrap,
  65. .v-button.v-button-link:active .v-button-wrap,
  66. .v-disabled.v-button.v-button-link .v-button-wrap {
  67. color: #5B677D;
  68. font-weight: normal;
  69. border: none;
  70. border-style: none;
  71. background: transparent;
  72. padding: 0;
  73. font-size: $font-size;
  74. -webkit-box-shadow: none;
  75. -mox-box-shadow: none;
  76. -webkit-border-radius: 0;
  77. -moz-border-radius: 0;
  78. border-radius: 0;
  79. text-shadow: none;
  80. height: auto;
  81. }
  82. .v-button-link:hover {
  83. color: #0066cc;
  84. text-decoration: none;
  85. }
  86. .v-button-link:focus,
  87. .v-sa & .v-button-link:focus {
  88. outline: 1px dotted #1b699f;
  89. outline-offset: -1px;
  90. }
  91. .v-sa & .v-button-link:focus {
  92. outline-offset: -1px;
  93. }
  94. /* CheckBox */
  95. .v-checkbox input {
  96. margin-right: 3px;
  97. }
  98. }