Advertisement
Guest User

Styles

a guest
Dec 11th, 2019
382
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.63 KB | None | 0 0
  1. /* ::: Search suggestions dropdown ::: */
  2.  
  3. .suggestions-dropdown {
  4. background-color: var( --background-color-base );
  5. display: inline-block;
  6. position: absolute;
  7. left: 0;
  8. z-index: 2;
  9. box-sizing: border-box;
  10. width: 100%;
  11. margin: 0;
  12. padding: 0;
  13. border: var( --border-dialog );
  14. border-top: 0;
  15. box-shadow: var( --box-shadow-dialog );
  16. text-align: left;
  17. list-style-type: none;
  18. /* Overwrite hack of `.search-container fieldset` in '_search.css' */
  19. word-spacing: normal;
  20. }
  21.  
  22. .suggestion-link {
  23. display: block;
  24. position: relative;
  25. box-sizing: border-box;
  26. min-height: 7rem;
  27. width: 100%;
  28. padding: 1rem 1rem 1rem 8.5rem;
  29. border-bottom: 1px solid var( --wmui-color-base80 );
  30. color: inherit;
  31. text-decoration: none;
  32. text-align: initial;
  33. white-space: normal;
  34. }
  35.  
  36. .suggestion-link.active {
  37. background-color: var( --wmui-color-accent90 );
  38. }
  39.  
  40. /* using element selector to override default anchor styles */
  41. a.suggestion-link:hover {
  42. text-decoration: none;
  43. }
  44.  
  45. a.suggestion-link:active,
  46. a.suggestion-link:focus {
  47. outline: 0;
  48. white-space: normal;
  49. }
  50.  
  51. .suggestion-thumbnail {
  52. background-color: var( --wmui-color-base80 );
  53. background-image: url( portal/wikipedia.org/assets/img/noimage.png );
  54. background-image: -webkit-linear-gradient( rgba( 0, 0, 0, 0 ), rgba( 0, 0, 0, 0 ) ), url( data:image/svg+xml,%3C%3Fxml%20version%3D%221.0%22%20encoding%3D%22utf-8%22%3F%3E%0A%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2056%2056%22%20enable-background%3D%22new%200%200%2056%2056%22%3E%0A%20%20%20%20%3Cpath%20fill%3D%22%23eee%22%20d%3D%22M0%200h56v56h-56z%22%2F%3E%0A%20%20%20%20%3Cpath%20fill%3D%22%23999%22%20d%3D%22M36.4%2013.5h-18.6v24.9c0%201.4.9%202.3%202.3%202.3h18.7v-25c.1-1.4-1-2.2-2.4-2.2zm-6.2%203.5h5.1v6.4h-5.1v-6.4zm-8.8%200h6v1.8h-6v-1.8zm0%204.6h6v1.8h-6v-1.8zm0%2015.5v-1.8h13.8v1.8h-13.8zm13.8-4.5h-13.8v-1.8h13.8v1.8zm0-4.7h-13.8v-1.8h13.8v1.8z%22%2F%3E%0A%3C%2Fsvg%3E%0A );
  55. background-image: -webkit-linear-gradient( transparent, transparent ), url( portal/wikipedia.org/assets/img/noimage.svg ) !ie;
  56. background-image: linear-gradient( rgba( 0, 0, 0, 0 ), rgba( 0, 0, 0, 0 ) ), url( data:image/svg+xml,%3C%3Fxml%20version%3D%221.0%22%20encoding%3D%22utf-8%22%3F%3E%0A%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2056%2056%22%20enable-background%3D%22new%200%200%2056%2056%22%3E%0A%20%20%20%20%3Cpath%20fill%3D%22%23eee%22%20d%3D%22M0%200h56v56h-56z%22%2F%3E%0A%20%20%20%20%3Cpath%20fill%3D%22%23999%22%20d%3D%22M36.4%2013.5h-18.6v24.9c0%201.4.9%202.3%202.3%202.3h18.7v-25c.1-1.4-1-2.2-2.4-2.2zm-6.2%203.5h5.1v6.4h-5.1v-6.4zm-8.8%200h6v1.8h-6v-1.8zm0%204.6h6v1.8h-6v-1.8zm0%2015.5v-1.8h13.8v1.8h-13.8zm13.8-4.5h-13.8v-1.8h13.8v1.8zm0-4.7h-13.8v-1.8h13.8v1.8z%22%2F%3E%0A%3C%2Fsvg%3E%0A );
  57. background-image: linear-gradient( transparent, transparent ), url( portal/wikipedia.org/assets/img/noimage.svg ) !ie;
  58. background-image: -o-linear-gradient( transparent, transparent ), url( portal/wikipedia.org/assets/img/noimage.png );
  59. background-position: center center;
  60. background-repeat: no-repeat;
  61. background-size: 100% auto;
  62. background-size: cover;
  63. height: 100%;
  64. width: 7rem;
  65. position: absolute;
  66. top: 0;
  67. left: 0;
  68. }
  69.  
  70. .suggestion-title {
  71. margin: 0 0 0.78rem 0;
  72. color: var( --wmui-color-base20 );
  73. font-size: 1.6rem;
  74. line-height: 1.872rem;
  75. }
  76.  
  77. .suggestion-link.active .suggestion-title {
  78. color: var( --wmui-color-accent50 );
  79. }
  80.  
  81. .suggestion-highlight {
  82. font-style: normal;
  83. text-decoration: underline;
  84. }
  85.  
  86. .suggestion-description {
  87. color: var( --wmui-color-base30 );
  88. margin: 0;
  89. font-size: 1.3rem;
  90. line-height: 1.43rem;
  91. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement