overrides.css 4.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255
  1. /*
  2. // Copyright (C) 2014 The Syncthing Authors.
  3. //
  4. // This Source Code Form is subject to the terms of the Mozilla Public
  5. // License, v. 2.0. If a copy of the MPL was not distributed with this file,
  6. // You can obtain one at http://mozilla.org/MPL/2.0/.
  7. */
  8. body {
  9. padding-bottom: 70px;
  10. font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  11. }
  12. h1, h2, h3, h4, h5 {
  13. font-family: "Raleway", "Helvetica Neue", Helvetica, Arial, sans-serif;
  14. line-height: 1.25;
  15. }
  16. ul+h5 {
  17. margin-top: 1.5em;
  18. }
  19. .panel-progress {
  20. background: #3498db;
  21. height: 3px;
  22. left: 0;
  23. position: absolute;
  24. top: 0;
  25. display: block;
  26. }
  27. .panel-title {
  28. position: relative;
  29. text-overflow: ellipsis;
  30. overflow: hidden;
  31. }
  32. identicon {
  33. display: inline-block;
  34. position: relative;
  35. width: 1em;
  36. height: 1em;
  37. line-height: 1;
  38. margin-right: 5px;
  39. }
  40. .identicon {
  41. width: 1em;
  42. height: 1em;
  43. }
  44. .identicon rect {
  45. fill: #333;
  46. }
  47. .checkbox {
  48. margin-top: 0px;
  49. }
  50. .checkbox input[type="checkbox"], .radio input[type="radio"] {
  51. float: none; /* issue #1197 */
  52. }
  53. .popover {
  54. max-width: none;
  55. }
  56. .panel-heading .fa, .modal-header .fa {
  57. margin-right: 10px;
  58. }
  59. .panel-heading {
  60. position: relative;
  61. overflow: hidden;
  62. }
  63. .text-monospace {
  64. font-family: Menlo, Monaco, Consolas, "Courier New", monospace;
  65. }
  66. .table-condensed>thead>tr>th, .table-condensed>tbody>tr>th, .table-condensed>tfoot>tr>th, .table-condensed>thead>tr>td, .table-condensed>tbody>tr>td, .table-condensed>tfoot>tr>td {
  67. border-top: none;
  68. }
  69. .logo {
  70. margin: 0;
  71. padding: 0;
  72. top: -5px;
  73. position: relative;
  74. }
  75. .list-no-bullet {
  76. list-style-type: none
  77. }
  78. .li-column {
  79. display: inline-block;
  80. min-width: 7em;
  81. margin-right: 1em;
  82. background-color: rgb(236, 240, 241);
  83. border-radius: 3px;
  84. padding: 1px 4px;
  85. margin: 2px 2px;
  86. }
  87. .li-column span.data {
  88. margin-left: 0.5em;
  89. min-width: 10em;
  90. text-align: right;
  91. display: inline-block;
  92. }
  93. .ng-cloak {
  94. display: none !important;
  95. }
  96. .table th {
  97. white-space: nowrap;
  98. font-weight: 400;
  99. }
  100. .table td {
  101. padding-left: 20px !important;
  102. }
  103. .table td.small-data {
  104. white-space: nowrap;
  105. }
  106. table.table-condensed {
  107. table-layout: fixed;
  108. }
  109. table.table-condensed td {
  110. overflow: hidden;
  111. text-overflow: ellipsis;
  112. white-space: nowrap;
  113. }
  114. @media (max-width:767px) {
  115. table.table-condensed td {
  116. /* for mobile phones to allow linebreaks in long repro folder/shared with
  117. * columns. */
  118. white-space: normal;
  119. }
  120. }
  121. .navbar-right {
  122. /* to align with panel */
  123. padding-right: 15px;
  124. }
  125. /**
  126. * Menu for select language
  127. */
  128. @media (min-width:480px) and (max-width:649px) {
  129. *[language-select] > .dropdown-menu {
  130. width: 230px;
  131. }
  132. }
  133. @media (min-width:650px) {
  134. *[language-select] > .dropdown-menu > li {
  135. width: 50%;
  136. float: left;
  137. }
  138. *[language-select] > .dropdown-menu {
  139. width: 440px;
  140. }
  141. }
  142. @media (max-width:479px) {
  143. .dropdown-menu {
  144. padding-top: 55px;
  145. }
  146. nav .dropdown-toggle {
  147. font-size: 14px;
  148. }
  149. .dropdown-toggle {
  150. float: left;
  151. }
  152. .navbar-brand {
  153. padding-left: 0;
  154. padding-top: 16px;
  155. }
  156. .navbar-nav .open .dropdown-menu > li > a {
  157. padding: 12px 15px 12px 25px;
  158. }
  159. }
  160. .panel-body .table-condensed {
  161. margin-bottom: 0;
  162. }
  163. .dl-horizontal.dl-narrow dt {
  164. width: 40px;
  165. }
  166. .dl-horizontal.dl-narrow dd {
  167. margin-left: 60px;
  168. }
  169. /**
  170. * Progress bars with centered text
  171. */
  172. .progress {
  173. margin-bottom: 0px;
  174. position: relative;
  175. }
  176. .progress span.frontal {
  177. text-align: center;
  178. position: absolute;
  179. display: block;
  180. width: 100%;
  181. }
  182. .three-columns {
  183. -webkit-column-count: 3;
  184. -moz-column-count: 3;
  185. column-count: 3;
  186. }
  187. .two-columns {
  188. -webkit-column-count: 2;
  189. -moz-column-count: 2;
  190. column-count: 2;
  191. }
  192. ul.three-columns li, ul.two-columns li {
  193. padding-left: 0.5em;
  194. text-indent: -0.5em;
  195. }
  196. /** Footer nav on small devices **/
  197. @media (max-width: 991px) {
  198. body {
  199. padding-bottom: 0;
  200. }
  201. .navbar-fixed-bottom {
  202. position: static;
  203. }
  204. }
  205. .popover {
  206. min-width: 250px;
  207. }