You are here

coffee.css in Coffee 7.2

Same filename and directory in other branches
  1. 8 css/coffee.css
  2. 7 css/coffee.css

Stylesheet for the Coffee module.

File

css/coffee.css
View source
  1. /**
  2. * @file
  3. * Stylesheet for the Coffee module.
  4. */
  5. [id^="coffee"] {
  6. -webkit-box-sizing: border-box;
  7. -moz-box-sizing: border-box;
  8. box-sizing: border-box;
  9. }
  10. #coffee-bg {
  11. position: fixed;
  12. left: 0;
  13. top: 0;
  14. width: 100%;
  15. height: 100%;
  16. z-index: 999;
  17. }
  18. #coffee-form {
  19. position: fixed;
  20. left: 50%;
  21. top: 120px;
  22. width: 500px;
  23. margin-left: -250px;
  24. padding: 10px;
  25. font: 16px/1.5 sans-serif;
  26. background: black;
  27. background: rgba(0, 0, 0, 0.4);
  28. -webkit-border-radius: 15px;
  29. -moz-border-radius: 15px;
  30. -ms-border-radius: 15px;
  31. -o-border-radius: 15px;
  32. border-radius: 15px;
  33. z-index: 9999;
  34. opacity: 1;
  35. -webkit-transition: opacity 0.35s;
  36. -moz-transition: opacity 0.35s;
  37. -ms-transition: opacity 0.35s;
  38. -o-transition: opacity 0.35s;
  39. transition: opacity 0.35s false;
  40. }
  41. #coffee-form.hide-form {
  42. position: absolute;
  43. top: -100%;
  44. opacity: 0;
  45. }
  46. #coffee-form-inner {
  47. background: #fff;
  48. color: #444;
  49. padding: 10px 10px 1px;
  50. -webkit-border-radius: 5px;
  51. -moz-border-radius: 5px;
  52. -ms-border-radius: 5px;
  53. -o-border-radius: 5px;
  54. border-radius: 5px;
  55. -webkit-box-shadow: 0px 10px 40px rgba(0, 0, 0, 0.6);
  56. -moz-box-shadow: 0px 10px 40px rgba(0, 0, 0, 0.6);
  57. box-shadow: 0px 10px 40px rgba(0, 0, 0, 0.6);
  58. }
  59. #coffee-q {
  60. background: #d1d1d1;
  61. color: #000;
  62. border: 0;
  63. font: 36px sans-serif;
  64. line-height: 52px;
  65. padding: 5px 10px;
  66. width: 460px;
  67. height: 52px;
  68. outline: none;
  69. display: block;
  70. margin: 0 0 10px;
  71. -webkit-border-radius: 0px;
  72. -moz-border-radius: 0px;
  73. -ms-border-radius: 0px;
  74. -o-border-radius: 0px;
  75. border-radius: 0px;
  76. }
  77. #coffee-q:focus {
  78. -webkit-box-shadow: none;
  79. -moz-box-shadow: none;
  80. box-shadow: none;
  81. }
  82. #coffee-results ul,
  83. #coffee-results ol {
  84. position: static;
  85. float: none;
  86. list-style: none;
  87. margin: 0;
  88. padding: 10px 0 0;
  89. border: 0;
  90. }
  91. #coffee-results li {
  92. margin: 0;
  93. padding: 0;
  94. float: none;
  95. clear: none;
  96. width: auto;
  97. }
  98. #coffee-results a {
  99. display: block;
  100. border: 0;
  101. outline: none;
  102. color: #444;
  103. padding: 6px 10px 4px;
  104. line-height: normal;
  105. font-size: 16px;
  106. text-decoration: none;
  107. height: auto;
  108. -webkit-transition: none;
  109. -moz-transition: none;
  110. -ms-transition: none;
  111. -o-transition: none;
  112. transition: none;
  113. -webkit-border-radius: 0px;
  114. -moz-border-radius: 0px;
  115. -ms-border-radius: 0px;
  116. -o-border-radius: 0px;
  117. border-radius: 0px;
  118. }
  119. #coffee-results a.ui-state-hover,
  120. #coffee-results a:focus,
  121. #coffee-results a:hover,
  122. #coffee-results .ui-state-focus {
  123. background: #d1d1d1;
  124. color: #000;
  125. margin: 0;
  126. cursor: pointer;
  127. }
  128. #coffee-results .description {
  129. display: block;
  130. font-size: 11px;
  131. color: #888;
  132. }
  133. #coffee-results a.ui-state-hover .description {
  134. color: #666;
  135. }
  136. #coffee-results .ui-widget {
  137. font-family: sans-serif;
  138. }
  139. .navbar-icon-coffee:before,
  140. .navbar-icon-coffee.navbar-active:before {
  141. background-image: url("../icons/bebebe/coffee.svg");
  142. }
  143. .no-svg .navbar-icon-coffee:before,
  144. .no-svg .navbar-icon-coffee.navbar-active:before {
  145. background-image: url("../icons/bebebe/coffee.png");
  146. }