Guest User

Untitled

a guest
Dec 16th, 2018
110
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.26 KB | None | 0 0
  1. @mixin sliding-door($type: level2) {
  2. background: url(/common/img/new-visd-buttons/imvu-button-#{$type}-right.png) 100% 0 no-repeat;
  3. > span { background: url(/common/img/new-visd-buttons/imvu-button-#{$type}-left-mid.png) 0 0 no-repeat; }
  4. }
  5.  
  6. @mixin sliding-door-states($type: level2) {
  7. &:hover { @include sliding-door(#{$type}-hover); }
  8. &:active { @include sliding-door(#{$type}-active); }
  9. }
  10.  
  11. @mixin button($type: level2) {
  12. @include sliding-door($type);
  13. @include sliding-door-states($type);
  14. }
  15.  
  16. .imvu-button {
  17. -webkit-user-select: none;
  18. -webkit-appearance: none;
  19. -moz-user-select: none;
  20. -o-user-select: none;
  21. user-select: none;
  22. background: none;
  23. border: 0;
  24. color: #000;
  25. cursor: pointer;
  26. display: inline-block;
  27. font-family: Cabin, sans-serif;
  28. font-size: 0;
  29. font-weight: 500;
  30. padding: 0px;
  31. text-align: center;
  32. vertical-align: middle;
  33. margin: 0px;
  34. outline: 1px;
  35.  
  36. * {
  37. font-family: Cabin, sans-serif;
  38. font-size: 0;
  39. line-height: 0;
  40. text-indent: 0;
  41. }
  42.  
  43. /* Don't display the dotted outline on <button>s when focused. */
  44. &::-moz-focus-inner {
  45. border: 0;
  46. padding: 0;
  47. }
  48.  
  49. &[disabled] {
  50. cursor: default;
  51. opacity: 0.5;
  52. color: rgba(0, 0, 0, 0.25);
  53.  
  54. &.white-text { color: rgba(255, 255, 255, 0.25); }
  55. &.yellow-text { color: rgba(255, 204, 0, 0.25); }
  56. &.arrow.white-text,
  57. &.arrow.yellow-text,
  58. &.light-gray { text-shadow: none; }
  59. }
  60.  
  61. &.dark-gray {color: #fff; }
  62.  
  63. &.level2 {
  64. height: 30px;
  65. line-height: 0;
  66. padding: 0px 6px 0px 0px;
  67. vertical-align: middle;
  68. margin: 0px;
  69. border: 0px;
  70. white-space: nowrap;
  71. width: auto;
  72. overflow: visible;
  73. text-decoration: none;
  74. > span {
  75. display: block;
  76. font-size: 12px;
  77. padding: 0 10px 0 16px;
  78. height: 30px;
  79. line-height: 29px;
  80. white-space: nowrap;
  81. }
  82.  
  83. @include button(level2);
  84. &.dark-gray { @include button(level2-dark-gray); }
  85. &.light-gray { @include button(level2-light-gray); }
  86. }
  87. }
Add Comment
Please, Sign In to add comment