overrides.css 4.2 KB

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