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.
 
 
 
 
 
 

259 lines
3.4 KiB

  1. @import "variables.less";
  2. @import "mixins.less";
  3. body {
  4. font-family: @font-stack;
  5. }
  6. a {
  7. cursor: pointer;
  8. }
  9. a, a:hover, a:active, a:focus,
  10. .btn, .btn:hover, .btn:active, .btn:focus {
  11. outline: 0;
  12. }
  13. img {
  14. max-width: 100%;
  15. }
  16. p {
  17. margin: 10px 0px;
  18. }
  19. .text-color {
  20. color: @text-color !important;
  21. }
  22. .text-muted {
  23. color: @text-muted !important;
  24. }
  25. .text-extra-muted {
  26. color: @border-color !important;
  27. }
  28. // transition
  29. a,
  30. .badge {
  31. .transition(.2s);
  32. }
  33. .btn {
  34. .transition(background-color .2s);
  35. }
  36. a.disabled, a.disabled:hover {
  37. color: #888;
  38. cursor: default;
  39. text-decoration: none;
  40. }
  41. a.grey, .sidebar-section a, .control-value a, .data-row a {
  42. text-decoration: none;
  43. }
  44. a.grey:hover, .sidebar-section a:hover, .control-value a:hover, .data-row a:hover,
  45. a.grey:focus, .sidebar-section a:focus, .control-value a:focus, .data-row a:focus {
  46. text-decoration: underline;
  47. }
  48. a.text-muted, a.text-extra-muted {
  49. text-decoration: none;
  50. }
  51. .underline {
  52. text-decoration: underline;
  53. }
  54. .inline-block {
  55. display: inline-block;
  56. }
  57. .bold,
  58. .strong {
  59. font-weight: bold;
  60. }
  61. kbd {
  62. color: inherit;
  63. background-color: @btn-bg;
  64. }
  65. .btn [class^="fa fa-"], .nav [class^="fa fa-"], .btn [class*="fa fa-"], .nav [class*="fa fa-"] {
  66. display: inline-block;
  67. }
  68. // dropdowns
  69. .dropdown-menu > li > a {
  70. padding: 14px;
  71. white-space: normal;
  72. }
  73. .dropdown-menu {
  74. min-width: 200px;
  75. padding: 0px;
  76. font-size: @text-medium;
  77. max-height: 400px;
  78. overflow: auto;
  79. // only rounded bottoms
  80. border-radius: 0px 0px 4px 4px;
  81. }
  82. .dropdown-menu .dropdown-header {
  83. padding: 3px 14px;
  84. font-size: 11px;
  85. font-weight: 200;
  86. padding-top: 12px;
  87. }
  88. .dropdown-menu .divider {
  89. margin: 0px;
  90. }
  91. a.badge-hover& {
  92. &:hover .badge,
  93. &:focus .badge,
  94. &:active .badge {
  95. background-color: #D8DFE5;
  96. }
  97. }
  98. .msgprint {
  99. // margin: 15px 0px;
  100. // text-align: center;
  101. word-wrap: break-word;
  102. pre {
  103. text-align: left;
  104. }
  105. }
  106. .centered {
  107. position: absolute;
  108. top: 50%;
  109. left: 50%;
  110. transform: translate(-50%, -50%);
  111. -webkit-transform: translate(-50%, -50%);
  112. }
  113. .border-(@position) {
  114. .border-@{position} {
  115. border-@{position}: 1px solid @border-color;
  116. }
  117. }
  118. .border-(top);
  119. .border-(bottom);
  120. .border-(left);
  121. .border-(right);
  122. .border {
  123. border: 1px solid @border-color;
  124. }
  125. .close-inline {
  126. font-size: 120%;
  127. font-weight: bold;
  128. line-height: 1;
  129. cursor: pointer;
  130. color: inherit;
  131. display: inline-block;
  132. }
  133. .close-inline:hover,
  134. .close-inline:focus {
  135. text-decoration: none;
  136. }
  137. .middle {
  138. vertical-align: middle;
  139. }
  140. .full-center-container {
  141. position: absolute;
  142. top: 0;
  143. bottom: 0;
  144. left: 0;
  145. right: 0;
  146. }
  147. .full-center {
  148. position: absolute;
  149. top: 50%;
  150. left: 50%;
  151. width: 100%;
  152. transform: translate(-50%, -50%);
  153. -webkit-transform: translate(-50%, -50%);
  154. }
  155. #freeze {
  156. z-index: 1020;
  157. bottom: 0px;
  158. opacity: 0;
  159. background-color: @light-bg;
  160. .freeze-message-container {
  161. .full-center-container;
  162. }
  163. .freeze-message {
  164. .full-center;
  165. text-align: center;
  166. // color: #fff !important;
  167. color: @text-color !important;
  168. }
  169. }
  170. #freeze.dark {
  171. // same as modal backdrop;
  172. background-color: #334143;
  173. }
  174. #freeze.in {
  175. opacity: 0.5;
  176. }
  177. a.no-decoration& {
  178. text-decoration: none;
  179. color: inherit;
  180. &:hover,
  181. &:focus,
  182. &:active {
  183. text-decoration: none;
  184. color: inherit;
  185. }
  186. }
  187. .padding {
  188. padding: 15px;
  189. }
  190. .margin {
  191. margin: 15px;
  192. }
  193. @media (max-width: 767px) {
  194. .text-center-xs {
  195. text-align: center;
  196. }
  197. }
  198. .grayscale {
  199. -webkit-filter: grayscale(100%);
  200. filter: grayscale(100%);
  201. }
  202. .uppercase {
  203. .text-uppercase();
  204. }
  205. .ellipsis {
  206. .text-ellipsis();
  207. }