overrides.css 5.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332
  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. height: 3px;
  24. left: 0;
  25. position: absolute;
  26. top: 0;
  27. display: block;
  28. }
  29. .checkbox {
  30. margin-top: 0px;
  31. }
  32. .checkbox input[type="checkbox"], .radio input[type="radio"] {
  33. float: none; /* issue #1197 */
  34. }
  35. .popover {
  36. max-width: none;
  37. min-width: 250px;
  38. }
  39. .tooltip {
  40. word-wrap:break-word;
  41. }
  42. .text-monospace {
  43. font-family: Menlo, Monaco, Consolas, "Courier New", monospace;
  44. }
  45. .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 {
  46. border-top: none;
  47. }
  48. .logo {
  49. margin: 0;
  50. padding: 0;
  51. top: -5px;
  52. position: relative;
  53. }
  54. .list-no-bullet {
  55. list-style-type: none;
  56. }
  57. .li-column {
  58. display: inline-block;
  59. min-width: 7em;
  60. margin-right: 1em;
  61. padding: 1px 4px;
  62. margin: 2px 2px;
  63. }
  64. .li-column span.data {
  65. margin-left: 0.5em;
  66. min-width: 10em;
  67. text-align: right;
  68. display: inline-block;
  69. }
  70. .ng-cloak {
  71. display: none !important;
  72. }
  73. .table th {
  74. white-space: nowrap;
  75. font-weight: 400;
  76. }
  77. .table td {
  78. /*padding-left: 20px !important;*/
  79. }
  80. .table td.small-data {
  81. white-space: nowrap;
  82. }
  83. table.table-condensed {
  84. table-layout: fixed;
  85. }
  86. table.table-condensed td {
  87. overflow: hidden;
  88. text-overflow: ellipsis;
  89. white-space: nowrap;
  90. }
  91. table.table-condensed td.no-overflow-ellipse {
  92. white-space: normal;
  93. }
  94. .folder-advanced {
  95. padding: 1rem;
  96. margin-bottom: 15px;
  97. }
  98. .folder-advanced-toggle {
  99. cursor: pointer;
  100. }
  101. .folder-advanced-toggle .collapse,
  102. .folder-advanced-toggle.collapsed .expand {
  103. display: inline-block;
  104. }
  105. .folder-advanced-toggle.collapsed .collapse,
  106. .folder-advanced-toggle .expand{
  107. display: none;
  108. }
  109. *[language-select] > .dropdown-menu {
  110. width: 450px;
  111. }
  112. *[language-select] > .dropdown-menu > li {
  113. float: left;
  114. width: 50%;
  115. }
  116. *[language-select] > .dropdown-menu > li > a {
  117. overflow: hidden;
  118. text-overflow: ellipsis;
  119. }
  120. .nav>li{
  121. float: left;
  122. }
  123. .navbar-right {
  124. /* to align with panel */
  125. padding-right: 15px;
  126. float: right;
  127. }
  128. .panel-body .table-condensed {
  129. margin-bottom: 0;
  130. }
  131. .dl-horizontal.dl-narrow dt {
  132. width: 40px;
  133. }
  134. .dl-horizontal.dl-narrow dd {
  135. margin-left: 60px;
  136. }
  137. /**
  138. * Panel, Model and Accordion Title bars
  139. */
  140. .panel-icon {
  141. float: left;
  142. margin-right: 15px;
  143. margin-top: 0.125em;
  144. margin-bottom: 0.125em;
  145. line-height: 1;
  146. }
  147. .modal-title .panel-icon {
  148. margin-top: 0.25em;
  149. margin-bottom: 0.25em;
  150. }
  151. button.panel-heading {
  152. display: block;
  153. position: relative;
  154. width: 100%;
  155. text-align: left;
  156. border-top-width: 0;
  157. border-left-width: 0;
  158. border-right-width: 0;
  159. border-radius: 0 !important;
  160. }
  161. .panel-heading .panel-title-text {
  162. text-overflow: ellipsis;
  163. overflow: hidden;
  164. white-space: nowrap;
  165. }
  166. .panel-heading .panel-status {
  167. margin-left:15px;
  168. }
  169. identicon {
  170. width: 1em;
  171. height: 1em;
  172. line-height: 1;
  173. }
  174. .identicon {
  175. width: 1em;
  176. height: 1em;
  177. }
  178. /**
  179. * Progress bars with centered text
  180. */
  181. .progress {
  182. margin-bottom: 0px;
  183. position: relative;
  184. }
  185. .progress span.frontal {
  186. text-align: center;
  187. position: absolute;
  188. display: block;
  189. width: 100%;
  190. }
  191. .three-columns {
  192. -webkit-column-count: 3;
  193. -moz-column-count: 3;
  194. column-count: 3;
  195. }
  196. .two-columns {
  197. -webkit-column-count: 2;
  198. -moz-column-count: 2;
  199. column-count: 2;
  200. }
  201. ul.three-columns li, ul.two-columns li {
  202. padding-left: 0.5em;
  203. text-indent: -0.5em;
  204. }
  205. /** Footer nav on small devices **/
  206. @media (max-width: 1199px) {
  207. /* Stay at the end of the page, with space reserved for the footer
  208. usually taking up two rows. */
  209. html {
  210. position: relative;
  211. min-height: 100%;
  212. }
  213. body {
  214. padding-bottom: 60px;
  215. }
  216. .navbar-fixed-bottom {
  217. position: absolute;
  218. }
  219. }
  220. @media (max-width: 768px) {
  221. /* Layout after the normal contents, as this is when the footer switches
  222. to a vertical layout. */
  223. body {
  224. padding-bottom: 0px;
  225. }
  226. .navbar-brand {
  227. margin: 3.25px -15px;
  228. }
  229. .navbar-fixed-bottom {
  230. position: relative;
  231. }
  232. .navbar-nav .open .dropdown-menu {
  233. position: absolute;
  234. left: auto;
  235. right: 0;
  236. background-color: #ffffff;
  237. border: 1px solid #cccccc;
  238. border: 1px solid rgba(0, 0, 0, 0.15);
  239. -webkit-box-shadow: 0 6px 12px rgba(0, 0, 0, 0.175);
  240. box-shadow: 0 6px 12px rgba(0, 0, 0, 0.175);
  241. border-radius: 2px;
  242. }
  243. *[language-select] {
  244. position: static !important;
  245. }
  246. *[language-select] > .dropdown-menu {
  247. margin-left: 15px;
  248. margin-right: 15px;
  249. margin-top: -12px !important;
  250. max-width: 450px;
  251. height: 265px;
  252. overflow-y: scroll;
  253. }
  254. table.table-condensed td {
  255. /* for mobile phones to allow linebreaks in long repro folder/shared with
  256. * columns. */
  257. white-space: normal;
  258. }
  259. }
  260. @media (max-width:479px) {
  261. nav .dropdown-toggle {
  262. font-size: 1em;
  263. }
  264. .navbar-nav .open .dropdown-menu > li > a {
  265. padding: 12px 15px 12px 25px;
  266. }
  267. .navbar-fixed-bottom li {
  268. width: 100%;
  269. }
  270. }