index.css 4.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220
  1. /*!
  2. * Copyright 2017 The SwitchyOmega Authors. Please see the AUTHORS file
  3. * for details.
  4. * Based on Bootstrap v3.3.2 (http://getbootstrap.com)
  5. * Copyright 2011-2015 Twitter, Inc.
  6. * Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE)
  7. */
  8. /* Layout */
  9. html, body {
  10. font-family: "Helvetica Neue",Helvetica,Arial,sans-serif;
  11. font-size: 14px;
  12. padding: 0;
  13. margin: 0;
  14. }
  15. body {
  16. min-width: 12em;
  17. }
  18. .om-hidden {
  19. display: none !important;
  20. }
  21. /* Menu */
  22. .om-nav {
  23. list-style: none;
  24. padding: 0;
  25. margin: 0;
  26. }
  27. .om-nav-item {
  28. display: block;
  29. margin: 2px 0;
  30. }
  31. .om-nav-item > a > .glyphicon {
  32. margin-right: 8px;
  33. }
  34. .om-nav-item > a {
  35. display: block;
  36. padding: 5px 25px 5px 8px;
  37. border-radius: 4px;
  38. line-height: 1.5em;
  39. font-size: 1em;
  40. color: #337ab7;
  41. text-decoration: none;
  42. white-space: nowrap;
  43. cursor: pointer;
  44. }
  45. .om-nav-item > a:hover {
  46. text-decoration: none;
  47. background-color: #eee;
  48. }
  49. .om-nav-item > a:hover {
  50. color: #23527c;
  51. }
  52. .om-nav-item.om-effective > a {
  53. background-color: #d9edf7;
  54. }
  55. .om-nav-item.om-active > a {
  56. color: #fff;
  57. background-color: #337ab7;
  58. }
  59. .om-divider {
  60. height: 1px;
  61. overflow: hidden;
  62. background-color: #E5E5E5;
  63. }
  64. .om-reqinfo {
  65. background-color: #fcf8e3;
  66. }
  67. .glyphicon-warning-sign {
  68. color: #8a6d3b;
  69. }
  70. /* Dropdown */
  71. .om-dropdown {
  72. display: none;
  73. list-style: none;
  74. padding: 5px 0;
  75. margin: 0 5px !important;
  76. border: 1px solid rgba(0,0,0,.15);
  77. border-radius: 4px;
  78. box-shadow: 0 6px 12px rgba(0,0,0,.175);
  79. }
  80. .om-open .om-dropdown {
  81. display: block;
  82. }
  83. .om-dropdown .om-nav-item {
  84. margin: 0;
  85. }
  86. .om-dropdown .om-nav-item > a {
  87. padding: 3px 20px;
  88. line-height: 1.3em;
  89. margin: 0;
  90. }
  91. .om-caret {
  92. display: inline-block;
  93. width: 0;
  94. height: 0;
  95. margin-left: 2px;
  96. vertical-align: middle;
  97. border-top: 4px solid;
  98. border-right: 4px solid transparent;
  99. border-left: 4px solid transparent;
  100. }
  101. .om-virtual-profile-icon {
  102. border: dotted 1px;
  103. margin: -1px;
  104. }
  105. /* Default Edit */
  106. .om-has-edit {
  107. padding-right: 32px;
  108. position: relative;
  109. }
  110. .om-edit-toggle {
  111. background-color: #fff;
  112. border: 1px solid #ccc;
  113. color: #337ab7;
  114. display: inline-block;
  115. margin: -5px 0;
  116. text-align: center;
  117. padding: 5px 8px 3px;
  118. position: absolute;
  119. right: 0;
  120. }
  121. .om-edit-toggle:hover {
  122. background-color: #e6e6e6;
  123. border-color: #adadad;
  124. }
  125. /* Keyboard */
  126. .om-keyboard-help {
  127. font-family: Menlo, Monaco, Consolas, "Courier New", monospace;
  128. border: solid 1px #000;
  129. border-radius: 2px;
  130. display: inline-block;
  131. color: #000;
  132. box-shadow: 1px 1px;
  133. width: 1em;
  134. height: 1em;
  135. line-height: 1em;
  136. text-align: center;
  137. margin-top: -3px;
  138. }
  139. /* Glyphicons */
  140. @font-face {
  141. font-family: 'Glyphicons Halflings';
  142. src: url(../../../lib/bootstrap/fonts/glyphicons-halflings-regular.eot);
  143. src: url(../../../lib/bootstrap/fonts/glyphicons-halflings-regular.eot?#iefix) format('embedded-opentype'),url(../../../lib/bootstrap/fonts/glyphicons-halflings-regular.woff2) format('woff2'),url(../../../lib/bootstrap/fonts/glyphicons-halflings-regular.woff) format('woff'),url(../../../lib/bootstrap/fonts/glyphicons-halflings-regular.ttf) format('truetype'),url(../../../lib/bootstrap/fonts/glyphicons-halflings-regular.svg#glyphicons_halflingsregular) format('svg')
  144. }
  145. .glyphicon {
  146. position: relative;
  147. top: 1px;
  148. display: inline-block;
  149. font-family: 'Glyphicons Halflings';
  150. font-style: normal;
  151. font-weight: 400;
  152. line-height: 1;
  153. -webkit-font-smoothing: antialiased;
  154. -moz-osx-font-smoothing: grayscale;
  155. }
  156. .glyphicon-transfer:before {
  157. content: "\e178";
  158. }
  159. .glyphicon-off:before {
  160. content: "\e017";
  161. }
  162. .glyphicon-warning-sign:before {
  163. content: "\e107";
  164. }
  165. .glyphicon-file:before {
  166. content: "\e022"
  167. }
  168. .glyphicon-globe:before {
  169. content: "\e135"
  170. }
  171. .glyphicon-question-sign:before {
  172. content: "\e085"
  173. }
  174. .glyphicon-list:before {
  175. content: "\e056"
  176. }
  177. .glyphicon-retweet:before {
  178. content: "\e115"
  179. }
  180. .glyphicon-plus:before {
  181. content: "\2b"
  182. }
  183. .glyphicon-filter:before {
  184. content: "\e138"
  185. }
  186. .glyphicon-wrench:before {
  187. content: "\e136"
  188. }
  189. .glyphicon-chevron-down:before {
  190. content: "\e114";
  191. }