overrides.css 6.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362
  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 https://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. /* Removing text decoration on anchor link hover pull request: #4135 */
  84. .table td.small-data span a:hover {
  85. text-decoration: none;
  86. }
  87. table.table-condensed {
  88. table-layout: fixed;
  89. }
  90. table.table-dynamic {
  91. word-wrap: break-word;
  92. word-break: break-all;
  93. }
  94. table.table-condensed td {
  95. overflow: hidden;
  96. text-overflow: ellipsis;
  97. white-space: nowrap;
  98. }
  99. table.table-condensed td.no-overflow-ellipse {
  100. white-space: normal;
  101. }
  102. .folder-advanced {
  103. padding: 1rem;
  104. margin-bottom: 15px;
  105. }
  106. .folder-advanced-toggle {
  107. cursor: pointer;
  108. }
  109. .folder-advanced-toggle .collapse,
  110. .folder-advanced-toggle.collapsed .expand {
  111. display: inline-block;
  112. }
  113. .folder-advanced-toggle.collapsed .collapse,
  114. .folder-advanced-toggle .expand{
  115. display: none;
  116. }
  117. *[language-select] > .dropdown-menu {
  118. width: 450px;
  119. }
  120. *[language-select] > .dropdown-menu > li {
  121. float: left;
  122. width: 50%;
  123. }
  124. *[language-select] > .dropdown-menu > li > a {
  125. overflow: hidden;
  126. text-overflow: ellipsis;
  127. }
  128. .nav>li{
  129. float: left;
  130. }
  131. .navbar-right {
  132. /* to align with panel */
  133. padding-right: 15px;
  134. float: right;
  135. }
  136. .panel-body .table-condensed {
  137. margin-bottom: 0;
  138. }
  139. .dl-horizontal.dl-narrow dt {
  140. width: 40px;
  141. }
  142. .dl-horizontal.dl-narrow dd {
  143. margin-left: 60px;
  144. }
  145. /**
  146. * Panel, Model and Accordion Title bars
  147. */
  148. .panel-icon {
  149. float: left;
  150. margin-right: 15px;
  151. margin-top: 0.125em;
  152. margin-bottom: 0.125em;
  153. line-height: 1;
  154. }
  155. .modal-title .panel-icon {
  156. margin-top: 0.25em;
  157. margin-bottom: 0.25em;
  158. }
  159. button.panel-heading {
  160. display: block;
  161. position: relative;
  162. width: 100%;
  163. text-align: left;
  164. border-top-width: 0;
  165. border-left-width: 0;
  166. border-right-width: 0;
  167. border-radius: 0 !important;
  168. }
  169. .panel-heading .panel-title-text {
  170. text-overflow: ellipsis;
  171. overflow: hidden;
  172. white-space: nowrap;
  173. }
  174. .panel-heading .panel-status {
  175. margin-left:15px;
  176. }
  177. identicon {
  178. width: 1em;
  179. height: 1em;
  180. line-height: 1;
  181. }
  182. .identicon {
  183. width: 1em;
  184. height: 1em;
  185. }
  186. a.toggler {
  187. color: inherit;
  188. }
  189. a.toggler:hover {
  190. border-bottom: 1px dashed;
  191. text-decoration: none;
  192. }
  193. /**
  194. * Progress bars with centered text
  195. */
  196. .progress {
  197. margin-bottom: 0px;
  198. position: relative;
  199. }
  200. .progress span.frontal {
  201. text-align: center;
  202. position: absolute;
  203. display: block;
  204. width: 100%;
  205. }
  206. .three-columns {
  207. -webkit-column-count: 3;
  208. -moz-column-count: 3;
  209. column-count: 3;
  210. }
  211. .two-columns {
  212. -webkit-column-count: 2;
  213. -moz-column-count: 2;
  214. column-count: 2;
  215. }
  216. ul.three-columns li, ul.two-columns li {
  217. padding-left: 0.5em;
  218. text-indent: -0.5em;
  219. }
  220. .navbar-fixed-bottom {
  221. z-index: 980;
  222. }
  223. /** Footer nav on small devices **/
  224. @media (max-width: 1199px) {
  225. /* Stay at the end of the page, with space reserved for the footer
  226. usually taking up two rows. */
  227. html {
  228. position: relative;
  229. min-height: 100%;
  230. }
  231. body {
  232. padding-bottom: 60px;
  233. }
  234. .navbar-fixed-bottom {
  235. position: absolute;
  236. }
  237. }
  238. @media (max-width: 768px) {
  239. /* Layout after the normal contents, as this is when the footer switches
  240. to a vertical layout. */
  241. body {
  242. padding-bottom: 0px;
  243. }
  244. .navbar-brand {
  245. margin: 3.25px -15px;
  246. }
  247. .navbar-fixed-bottom {
  248. position: relative;
  249. }
  250. .navbar-nav .open .dropdown-menu {
  251. position: absolute;
  252. left: auto;
  253. right: 0;
  254. background-color: #ffffff;
  255. border: 1px solid #cccccc;
  256. border: 1px solid rgba(0, 0, 0, 0.15);
  257. -webkit-box-shadow: 0 6px 12px rgba(0, 0, 0, 0.175);
  258. box-shadow: 0 6px 12px rgba(0, 0, 0, 0.175);
  259. border-radius: 2px;
  260. }
  261. *[language-select] {
  262. position: static !important;
  263. }
  264. *[language-select] > .dropdown-menu {
  265. margin-left: 15px;
  266. margin-right: 15px;
  267. margin-top: -12px !important;
  268. max-width: 450px;
  269. height: 265px;
  270. overflow-y: scroll;
  271. }
  272. table.table-condensed td {
  273. /* for mobile phones to allow linebreaks in long repro folder/shared with
  274. * columns. */
  275. white-space: normal;
  276. }
  277. }
  278. @media (max-width:479px) {
  279. nav .dropdown-toggle {
  280. font-size: 1em;
  281. }
  282. .navbar-nav .open .dropdown-menu > li > a {
  283. padding: 12px 15px 12px 25px;
  284. }
  285. .navbar-fixed-bottom li {
  286. width: 100%;
  287. }
  288. }
  289. .tab-content {
  290. padding-top: 10px;
  291. }
  292. .fancytree-ext-table {
  293. width: 100% !important;
  294. }