A Twitch.tv viewer reward and games system.
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.

158 lines
3.8 KiB

  1. /*! UIkit 2.3.1 | http://www.getuikit.com | (c) 2014 YOOtheme | MIT License */
  2. /* ========================================================================
  3. Addon: Markdownarea
  4. ========================================================================== */
  5. /* Sub-object `uk-markdownarea-navbar`
  6. ========================================================================== */
  7. .uk-markdownarea-navbar {
  8. background: #eeeeee;
  9. }
  10. /*
  11. * Micro clearfix
  12. */
  13. .uk-markdownarea-navbar:before,
  14. .uk-markdownarea-navbar:after {
  15. content: " ";
  16. display: table;
  17. }
  18. .uk-markdownarea-navbar:after {
  19. clear: both;
  20. }
  21. /* Sub-object `uk-markdownarea-navbar-nav`
  22. ========================================================================== */
  23. .uk-markdownarea-navbar-nav {
  24. margin: 0;
  25. padding: 0;
  26. list-style: none;
  27. float: left;
  28. }
  29. .uk-markdownarea-navbar-nav > li {
  30. float: left;
  31. }
  32. /*
  33. * 1. Dimensions
  34. * 2. Style
  35. */
  36. .uk-markdownarea-navbar-nav > li > a {
  37. display: block;
  38. -moz-box-sizing: border-box;
  39. box-sizing: border-box;
  40. text-decoration: none;
  41. /* 1 */
  42. height: 40px;
  43. padding: 0 15px;
  44. line-height: 40px;
  45. /* 2 */
  46. color: #444444;
  47. font-size: 11px;
  48. cursor: pointer;
  49. }
  50. /*
  51. * Hover
  52. * 1. Apply hover style also to focus state
  53. * 2. Remove default focus style
  54. */
  55. .uk-markdownarea-navbar-nav > li:hover > a,
  56. .uk-markdownarea-navbar-nav > li > a:focus {
  57. background-color: #f5f5f5;
  58. color: #444444;
  59. outline: none;
  60. /* 2 */
  61. }
  62. /* OnClick */
  63. .uk-markdownarea-navbar-nav > li > a:active {
  64. background-color: #dddddd;
  65. color: #444444;
  66. }
  67. /* Active */
  68. .uk-markdownarea-navbar-nav > li.uk-active > a {
  69. background-color: #f5f5f5;
  70. color: #444444;
  71. }
  72. /* Sub-object: `uk-markdownarea-navbar-flip`
  73. ========================================================================== */
  74. .uk-markdownarea-navbar-flip {
  75. float: right;
  76. }
  77. /* Sub-object for special buttons
  78. ========================================================================== */
  79. [data-mode='split'] .uk-markdown-button-markdown,
  80. [data-mode='split'] .uk-markdown-button-preview {
  81. display: none;
  82. }
  83. /* Sub-object `uk-markdownarea-content`
  84. ========================================================================== */
  85. .uk-markdownarea-content {
  86. border-left: 1px solid #dddddd;
  87. border-right: 1px solid #dddddd;
  88. border-bottom: 1px solid #dddddd;
  89. background: #ffffff;
  90. }
  91. /*
  92. * Micro clearfix
  93. */
  94. .uk-markdownarea-content:before,
  95. .uk-markdownarea-content:after {
  96. content: " ";
  97. display: table;
  98. }
  99. .uk-markdownarea-content:after {
  100. clear: both;
  101. }
  102. /* Modifier `uk-markdownarea-fullscreen`
  103. ========================================================================== */
  104. .uk-markdownarea-fullscreen {
  105. position: fixed;
  106. top: 0;
  107. left: 0;
  108. right: 0;
  109. bottom: 0;
  110. z-index: 1030;
  111. }
  112. .uk-markdownarea-fullscreen .uk-markdownarea-content {
  113. position: absolute;
  114. top: 40px;
  115. left: 0;
  116. right: 0;
  117. bottom: 0;
  118. }
  119. .uk-markdownarea-fullscreen .uk-icon-expand:before {
  120. content: "\f066";
  121. }
  122. /* Sub-objects `uk-markdownarea-code` and `uk-markdownarea-preview`
  123. ========================================================================== */
  124. .uk-markdownarea-code,
  125. .uk-markdownarea-preview {
  126. -moz-box-sizing: border-box;
  127. box-sizing: border-box;
  128. }
  129. .uk-markdownarea-preview {
  130. padding: 20px;
  131. overflow-y: scroll;
  132. }
  133. /*
  134. * Tab view
  135. */
  136. [data-mode='tab'][data-active-tab='code'] .uk-markdownarea-preview,
  137. [data-mode='tab'][data-active-tab='preview'] .uk-markdownarea-code {
  138. display: none;
  139. }
  140. /*
  141. * Split view
  142. */
  143. [data-mode='split'] .uk-markdownarea-code,
  144. [data-mode='split'] .uk-markdownarea-preview {
  145. float: left;
  146. width: 50%;
  147. }
  148. [data-mode='split'] .uk-markdownarea-code {
  149. border-right: 1px solid #eeeeee;
  150. }
  151. /* CodeMirror modifications
  152. ========================================================================== */
  153. .uk-markdownarea .CodeMirror {
  154. padding: 10px;
  155. -moz-box-sizing: border-box;
  156. box-sizing: border-box;
  157. }