Advertisement
Guest User

Untitled

a guest
Jul 20th, 2017
53
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.21 KB | None | 0 0
  1. .action.search {
  2. display: inline-block;
  3. .lib-button-icon(
  4. @_icon-font-content: @icon-search,
  5. @_icon-font-size: 24px,
  6. @_icon-font-text-hide: true,
  7. @_icon-font-color: @header-icons-color,
  8. @_icon-font-color-hover: @header-icons-color-hover,
  9. @_icon-font-line-height: 24px
  10. );
  11. .lib-button-reset();
  12. position: absolute;
  13. right: @indent__s;
  14. top: 0;
  15. z-index: 1;
  16.  
  17. .lib-button-reset() {
  18. background-image: none; // Reset unusual Firefox-on-Android default style
  19. background: none; // Need change
  20. -moz-box-sizing: content-box; // Hack: fix Firefox button line-height problem
  21. border: 0;
  22. box-shadow: none;
  23. line-height: inherit;
  24. margin: 0;
  25. padding: 0;
  26. text-decoration: none;
  27. text-shadow: none;
  28. .lib-css(font-weight, @font-weight__regular);
  29.  
  30. &:focus,
  31. &:active {
  32. background: none;
  33. border: none;
  34. }
  35.  
  36. &:hover {
  37. background: none;
  38. border: none;
  39. }
  40.  
  41. &.disabled,
  42. &[disabled],
  43. fieldset[disabled] & {
  44. cursor: not-allowed;
  45. pointer-events: none; // Disabling of clicks
  46. .lib-css(opacity, @button__disabled__opacity); // Need change
  47. // Need add z-index: -1;
  48. }
  49. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement