2014-09-29 19:43:32 +00:00
|
|
|
/*
|
2014-11-16 20:13:20 +00:00
|
|
|
// Copyright (C) 2014 The Syncthing Authors.
|
2014-09-29 19:43:32 +00:00
|
|
|
//
|
2015-03-07 20:36:35 +00:00
|
|
|
// This Source Code Form is subject to the terms of the Mozilla Public
|
|
|
|
// License, v. 2.0. If a copy of the MPL was not distributed with this file,
|
2017-02-09 06:52:18 +00:00
|
|
|
// You can obtain one at https://mozilla.org/MPL/2.0/.
|
2015-03-07 20:36:35 +00:00
|
|
|
|
2014-09-29 19:43:32 +00:00
|
|
|
*/
|
|
|
|
|
2014-09-08 17:54:11 +00:00
|
|
|
body {
|
|
|
|
padding-bottom: 70px;
|
2018-12-26 22:05:20 +00:00
|
|
|
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
|
2022-04-22 19:39:30 +00:00
|
|
|
overflow-y: scroll;
|
2014-09-08 17:54:11 +00:00
|
|
|
}
|
2014-09-04 06:53:28 +00:00
|
|
|
|
2014-09-08 17:54:11 +00:00
|
|
|
h1, h2, h3, h4, h5 {
|
2018-12-26 22:05:20 +00:00
|
|
|
font-family: "Raleway", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
|
2015-08-27 19:28:07 +00:00
|
|
|
line-height: 1.25;
|
2014-09-08 17:54:11 +00:00
|
|
|
}
|
2014-09-04 06:53:28 +00:00
|
|
|
|
2014-09-08 17:54:11 +00:00
|
|
|
ul+h5 {
|
|
|
|
margin-top: 1.5em;
|
|
|
|
}
|
2014-09-04 06:53:28 +00:00
|
|
|
|
gui: Add warning when JavaScript is disabled in Web browser (fixes #7099) (#7102)
When using a Web browser with JavaScript either disabled or unavailable,
show a warning to let the user know that the Web GUI requires JS in
order to operate.
To achieve this, add a <div> that wraps both the navbar and the main
content, and then move the CSS class ng-cloak from the <html> element to
that <div>. This way, only the JavaScript-dependent part is hidden when
JS is unavailable, and not the whole website, as it is the case right
now. Then, add a <noscript> element right at the start of the <body>
element, so that the warning is also shown right away in text-based Web
browsers. The <noscript> element includes a stripped down version of the
navbar showing only the Syncthing logo, and then a container with the
warning itself. Lastly, leave the footer untouched and always visible,
because it does not rely on JavaScript at all.
Signed-off-by: Tomasz Wilczyński <twilczynski@naver.com>
Co-authored-by: Jakob Borg <jakob@kastelo.net>
2020-11-09 08:15:22 +00:00
|
|
|
.content {
|
2015-10-03 10:18:19 +00:00
|
|
|
margin-bottom: 50px;
|
|
|
|
}
|
|
|
|
|
2014-12-05 17:44:38 +00:00
|
|
|
.panel-progress {
|
|
|
|
height: 3px;
|
|
|
|
left: 0;
|
|
|
|
position: absolute;
|
|
|
|
top: 0;
|
|
|
|
display: block;
|
|
|
|
}
|
|
|
|
|
2014-11-28 15:16:32 +00:00
|
|
|
.checkbox {
|
|
|
|
margin-top: 0px;
|
2014-10-15 01:16:01 +00:00
|
|
|
}
|
|
|
|
|
2015-01-07 09:27:17 +00:00
|
|
|
.checkbox input[type="checkbox"], .radio input[type="radio"] {
|
|
|
|
float: none; /* issue #1197 */
|
|
|
|
}
|
|
|
|
|
2021-01-27 11:23:58 +00:00
|
|
|
#advancedAccordion input.form-control[type="checkbox"] {
|
|
|
|
box-shadow: none;
|
|
|
|
margin: 0;
|
|
|
|
width: auto;
|
|
|
|
}
|
|
|
|
|
2014-11-30 21:47:21 +00:00
|
|
|
.popover {
|
|
|
|
max-width: none;
|
2015-10-03 10:18:19 +00:00
|
|
|
min-width: 250px;
|
2014-11-30 21:47:21 +00:00
|
|
|
}
|
|
|
|
|
2016-03-27 00:43:07 +00:00
|
|
|
.tooltip {
|
2016-03-16 14:55:29 +00:00
|
|
|
word-wrap:break-word;
|
|
|
|
}
|
|
|
|
|
2014-09-08 17:54:11 +00:00
|
|
|
.text-monospace {
|
|
|
|
font-family: Menlo, Monaco, Consolas, "Courier New", monospace;
|
|
|
|
}
|
2014-09-04 06:53:28 +00:00
|
|
|
|
2014-09-08 17:54:11 +00:00
|
|
|
.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 {
|
|
|
|
border-top: none;
|
|
|
|
}
|
2014-09-04 06:53:28 +00:00
|
|
|
|
2014-09-08 17:54:11 +00:00
|
|
|
.logo {
|
|
|
|
margin: 0;
|
|
|
|
padding: 0;
|
|
|
|
top: -5px;
|
|
|
|
position: relative;
|
|
|
|
}
|
2014-09-04 06:53:28 +00:00
|
|
|
|
2014-09-08 17:54:11 +00:00
|
|
|
.list-no-bullet {
|
2016-03-27 00:43:07 +00:00
|
|
|
list-style-type: none;
|
2014-09-08 17:54:11 +00:00
|
|
|
}
|
2014-09-04 06:53:28 +00:00
|
|
|
|
2014-09-08 17:54:11 +00:00
|
|
|
.li-column {
|
|
|
|
display: inline-block;
|
|
|
|
min-width: 7em;
|
|
|
|
margin-right: 1em;
|
|
|
|
padding: 1px 4px;
|
|
|
|
margin: 2px 2px;
|
|
|
|
}
|
|
|
|
.li-column span.data {
|
|
|
|
margin-left: 0.5em;
|
|
|
|
min-width: 10em;
|
|
|
|
text-align: right;
|
|
|
|
display: inline-block;
|
|
|
|
}
|
2014-09-04 06:53:28 +00:00
|
|
|
|
2014-09-08 17:54:11 +00:00
|
|
|
.ng-cloak {
|
|
|
|
display: none !important;
|
|
|
|
}
|
2014-09-04 06:53:28 +00:00
|
|
|
|
2014-09-08 17:54:11 +00:00
|
|
|
.table th {
|
|
|
|
white-space: nowrap;
|
|
|
|
font-weight: 400;
|
|
|
|
}
|
2014-09-04 06:53:28 +00:00
|
|
|
|
2014-09-08 17:54:11 +00:00
|
|
|
.table td {
|
2016-06-17 06:54:33 +00:00
|
|
|
/*padding-left: 20px !important;*/
|
2014-09-08 17:54:11 +00:00
|
|
|
}
|
2014-09-04 06:53:28 +00:00
|
|
|
|
2014-09-08 17:54:11 +00:00
|
|
|
.table td.small-data {
|
|
|
|
white-space: nowrap;
|
|
|
|
}
|
2014-09-04 06:53:28 +00:00
|
|
|
|
2017-05-16 08:56:54 +00:00
|
|
|
/* Removing text decoration on anchor link hover pull request: #4135 */
|
|
|
|
.table td.small-data span a:hover {
|
|
|
|
text-decoration: none;
|
|
|
|
}
|
|
|
|
|
2014-09-08 17:54:11 +00:00
|
|
|
table.table-condensed {
|
|
|
|
table-layout: fixed;
|
|
|
|
}
|
2017-03-18 11:43:24 +00:00
|
|
|
|
|
|
|
table.table-dynamic {
|
|
|
|
word-wrap: break-word;
|
|
|
|
word-break: break-all;
|
|
|
|
}
|
|
|
|
|
2021-02-20 10:28:08 +00:00
|
|
|
table.table-condensed td,
|
|
|
|
table.table-condensed th {
|
2014-09-08 17:54:11 +00:00
|
|
|
overflow: hidden;
|
|
|
|
text-overflow: ellipsis;
|
|
|
|
white-space: nowrap;
|
|
|
|
}
|
2016-03-10 15:54:33 +00:00
|
|
|
|
2016-03-11 09:48:46 +00:00
|
|
|
table.table-condensed td.no-overflow-ellipse {
|
|
|
|
white-space: normal;
|
|
|
|
}
|
|
|
|
|
2019-04-18 16:35:44 +00:00
|
|
|
table.table-auto {
|
|
|
|
table-layout: auto;
|
|
|
|
}
|
|
|
|
|
|
|
|
table.table-auto th {
|
|
|
|
width: 1px;
|
|
|
|
}
|
|
|
|
|
|
|
|
table.table-auto td {
|
|
|
|
max-width: 0px;
|
|
|
|
}
|
|
|
|
|
2023-02-09 08:14:36 +00:00
|
|
|
td input[type="checkbox"] {
|
|
|
|
margin-top: 13px;
|
|
|
|
}
|
|
|
|
|
2022-09-30 16:15:19 +00:00
|
|
|
/* Remote Devices connection-quality indicator */
|
|
|
|
.reception-0 {
|
|
|
|
background: url('../../vendor/bootstrap/fonts/reception-0.svg') no-repeat;
|
|
|
|
}
|
|
|
|
|
|
|
|
.reception-1 {
|
|
|
|
background: url('../../vendor/bootstrap/fonts/reception-1.svg') no-repeat;
|
|
|
|
}
|
|
|
|
|
|
|
|
.reception-2 {
|
|
|
|
background: url('../../vendor/bootstrap/fonts/reception-2.svg') no-repeat;
|
|
|
|
}
|
|
|
|
|
|
|
|
.reception-3 {
|
|
|
|
background: url('../../vendor/bootstrap/fonts/reception-3.svg') no-repeat;
|
|
|
|
}
|
|
|
|
|
|
|
|
.reception-4 {
|
|
|
|
background: url('../../vendor/bootstrap/fonts/reception-4.svg') no-repeat;
|
|
|
|
}
|
2022-10-07 06:10:17 +00:00
|
|
|
|
|
|
|
.reception {
|
2022-09-30 16:15:19 +00:00
|
|
|
width: 1em;
|
|
|
|
height: 1em;
|
|
|
|
display: inline-block;
|
2022-11-04 18:41:27 +00:00
|
|
|
vertical-align: -10%;
|
|
|
|
background-size: contain;
|
2022-11-04 20:12:18 +00:00
|
|
|
/* Simulate same width as Fork Awesome icons. */
|
|
|
|
margin-left: .14285715em;
|
|
|
|
margin-right: .14285715em;
|
2022-09-30 16:15:19 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.remote-devices-panel {
|
|
|
|
display: inline-block;
|
|
|
|
}
|
|
|
|
|
2020-05-02 17:34:28 +00:00
|
|
|
/* Wrap long file paths to prevent text overflow. See issue #6268. */
|
2023-06-05 11:16:02 +00:00
|
|
|
.word-break-all {
|
2020-05-02 17:34:28 +00:00
|
|
|
word-break: break-all;
|
|
|
|
}
|
|
|
|
|
2016-03-27 00:43:07 +00:00
|
|
|
.folder-advanced {
|
2016-03-10 15:54:33 +00:00
|
|
|
padding: 1rem;
|
|
|
|
margin-bottom: 15px;
|
|
|
|
}
|
|
|
|
|
2016-03-27 00:43:07 +00:00
|
|
|
.folder-advanced-toggle {
|
2016-03-10 15:54:33 +00:00
|
|
|
cursor: pointer;
|
|
|
|
}
|
|
|
|
.folder-advanced-toggle .collapse,
|
2016-03-27 00:43:07 +00:00
|
|
|
.folder-advanced-toggle.collapsed .expand {
|
2016-03-10 15:54:33 +00:00
|
|
|
display: inline-block;
|
|
|
|
}
|
|
|
|
|
|
|
|
.folder-advanced-toggle.collapsed .collapse,
|
|
|
|
.folder-advanced-toggle .expand{
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
|
2022-01-08 15:51:29 +00:00
|
|
|
li[language-select] > .dropdown-menu {
|
|
|
|
column-count: 2;
|
|
|
|
column-gap: 0;
|
2016-06-02 06:08:18 +00:00
|
|
|
width: 450px;
|
|
|
|
}
|
|
|
|
|
2022-01-08 15:51:29 +00:00
|
|
|
li[language-select] > .dropdown-menu > li > a {
|
2016-06-02 06:08:18 +00:00
|
|
|
overflow: hidden;
|
|
|
|
text-overflow: ellipsis;
|
|
|
|
}
|
|
|
|
|
2016-04-02 08:31:16 +00:00
|
|
|
.nav>li{
|
|
|
|
float: left;
|
2014-09-08 17:54:11 +00:00
|
|
|
}
|
|
|
|
.navbar-right {
|
|
|
|
/* to align with panel */
|
|
|
|
padding-right: 15px;
|
2016-06-02 06:08:18 +00:00
|
|
|
float: right;
|
2014-09-08 17:54:11 +00:00
|
|
|
}
|
2014-09-10 09:27:21 +00:00
|
|
|
|
|
|
|
.panel-body .table-condensed {
|
|
|
|
margin-bottom: 0;
|
|
|
|
}
|
2014-09-22 12:04:20 +00:00
|
|
|
|
|
|
|
.dl-horizontal.dl-narrow dt {
|
|
|
|
width: 40px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.dl-horizontal.dl-narrow dd {
|
|
|
|
margin-left: 60px;
|
|
|
|
}
|
2014-11-16 23:18:59 +00:00
|
|
|
|
2016-05-30 08:18:09 +00:00
|
|
|
/**
|
2016-06-02 23:21:19 +00:00
|
|
|
* Panel, Model and Accordion Title bars
|
2016-05-30 08:18:09 +00:00
|
|
|
*/
|
|
|
|
|
2016-06-02 23:21:19 +00:00
|
|
|
.panel-icon {
|
2016-06-02 06:08:18 +00:00
|
|
|
float: left;
|
2016-05-30 08:18:09 +00:00
|
|
|
margin-right: 15px;
|
2016-06-02 23:21:19 +00:00
|
|
|
margin-top: 0.125em;
|
|
|
|
margin-bottom: 0.125em;
|
|
|
|
line-height: 1;
|
|
|
|
}
|
|
|
|
|
|
|
|
.modal-title .panel-icon {
|
|
|
|
margin-top: 0.25em;
|
|
|
|
margin-bottom: 0.25em;
|
2016-05-30 08:18:09 +00:00
|
|
|
}
|
|
|
|
|
2016-06-08 15:55:44 +00:00
|
|
|
button.panel-heading {
|
2016-05-30 08:18:09 +00:00
|
|
|
display: block;
|
|
|
|
position: relative;
|
2016-06-08 15:55:44 +00:00
|
|
|
width: 100%;
|
|
|
|
text-align: left;
|
|
|
|
border-top-width: 0;
|
|
|
|
border-left-width: 0;
|
|
|
|
border-right-width: 0;
|
2016-06-17 06:59:07 +00:00
|
|
|
border-radius: 0 !important;
|
2016-05-30 08:18:09 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.panel-heading .panel-title-text {
|
|
|
|
text-overflow: ellipsis;
|
|
|
|
overflow: hidden;
|
|
|
|
white-space: nowrap;
|
|
|
|
}
|
|
|
|
|
|
|
|
.panel-heading .panel-status {
|
|
|
|
margin-left:15px;
|
|
|
|
}
|
|
|
|
|
|
|
|
identicon {
|
|
|
|
width: 1em;
|
|
|
|
height: 1em;
|
|
|
|
line-height: 1;
|
|
|
|
}
|
|
|
|
|
|
|
|
.identicon {
|
|
|
|
width: 1em;
|
|
|
|
height: 1em;
|
2020-07-16 17:49:48 +00:00
|
|
|
shape-rendering: crispEdges;
|
2016-05-30 08:18:09 +00:00
|
|
|
}
|
|
|
|
|
2017-03-31 06:32:54 +00:00
|
|
|
a.toggler {
|
|
|
|
color: inherit;
|
|
|
|
}
|
|
|
|
a.toggler:hover {
|
|
|
|
border-bottom: 1px dashed;
|
|
|
|
text-decoration: none;
|
|
|
|
}
|
2016-06-02 19:03:18 +00:00
|
|
|
|
2019-11-13 14:14:00 +00:00
|
|
|
/**
|
2019-11-19 21:01:21 +00:00
|
|
|
* Panel padding decrease
|
2019-11-13 14:14:00 +00:00
|
|
|
*/
|
|
|
|
|
|
|
|
.panel-collapse .panel-body {
|
|
|
|
padding: 5px;
|
|
|
|
}
|
|
|
|
|
2014-11-16 23:18:59 +00:00
|
|
|
/**
|
|
|
|
* Progress bars with centered text
|
|
|
|
*/
|
|
|
|
|
|
|
|
.progress {
|
|
|
|
margin-bottom: 0px;
|
|
|
|
position: relative;
|
|
|
|
}
|
|
|
|
|
|
|
|
.progress span.frontal {
|
|
|
|
text-align: center;
|
|
|
|
position: absolute;
|
|
|
|
display: block;
|
|
|
|
width: 100%;
|
|
|
|
}
|
2014-11-30 19:49:49 +00:00
|
|
|
|
|
|
|
.three-columns {
|
|
|
|
-webkit-column-count: 3;
|
|
|
|
-moz-column-count: 3;
|
|
|
|
column-count: 3;
|
|
|
|
}
|
|
|
|
|
|
|
|
.two-columns {
|
|
|
|
-webkit-column-count: 2;
|
|
|
|
-moz-column-count: 2;
|
|
|
|
column-count: 2;
|
|
|
|
}
|
|
|
|
|
|
|
|
ul.three-columns li, ul.two-columns li {
|
|
|
|
padding-left: 0.5em;
|
|
|
|
text-indent: -0.5em;
|
|
|
|
}
|
2015-01-10 17:02:27 +00:00
|
|
|
|
2016-11-23 17:03:43 +00:00
|
|
|
.navbar-fixed-bottom {
|
|
|
|
z-index: 980;
|
|
|
|
}
|
|
|
|
|
2022-01-25 22:08:27 +00:00
|
|
|
/*
|
|
|
|
* Restore Versions tweaks
|
|
|
|
*/
|
|
|
|
|
|
|
|
#restoreTree-container {
|
|
|
|
overflow-y: scroll;
|
|
|
|
resize: vertical;
|
|
|
|
/* Limit height to prevent vertical screen overflow. */
|
|
|
|
max-height: calc(100vh - 390px);
|
|
|
|
/* Always fit at least one folder with dropdown open. */
|
|
|
|
min-height: 136px;
|
|
|
|
}
|
|
|
|
@media (min-width: 768px) {
|
|
|
|
#restoreTree-container {
|
|
|
|
max-height: calc(100vh - 401px);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
@media (min-width: 992px) {
|
|
|
|
#restoreTree-container {
|
|
|
|
max-height: calc(100vh - 333px);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
/* Ignore fixed height when manually resized. */
|
|
|
|
#restoreTree-container[style*="height"] {
|
|
|
|
max-height: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
/* Remove table outline as rows have own focus style already. */
|
|
|
|
#restoreTree:focus {
|
|
|
|
outline: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
/* Align dropdown with title first line. */
|
|
|
|
#restoreTree td + td {
|
|
|
|
padding-top: 4px;
|
|
|
|
vertical-align: top;
|
|
|
|
}
|
|
|
|
|
|
|
|
/* Reduce space between toggle and menu on mobile. */
|
|
|
|
#restoreTree .dropdown-toggle {
|
|
|
|
margin-bottom: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
/* Change direction to remain on screen on mobile. */
|
|
|
|
#restoreTree .dropdown-menu {
|
|
|
|
left: auto;
|
|
|
|
right: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
/* Ensure maximum space for filtering and date range. */
|
|
|
|
#restoreVersions .form-group,
|
|
|
|
#restoreVersions .form-control {
|
|
|
|
width: 100%;
|
|
|
|
}
|
|
|
|
|
2015-01-10 17:02:27 +00:00
|
|
|
/** Footer nav on small devices **/
|
2015-12-24 03:17:50 +00:00
|
|
|
@media (max-width: 1199px) {
|
2016-03-17 16:39:50 +00:00
|
|
|
/* Stay at the end of the page, with space reserved for the footer
|
|
|
|
usually taking up two rows. */
|
|
|
|
|
|
|
|
html {
|
|
|
|
position: relative;
|
|
|
|
min-height: 100%;
|
|
|
|
}
|
|
|
|
|
2015-01-10 17:02:27 +00:00
|
|
|
body {
|
2016-03-17 16:39:50 +00:00
|
|
|
padding-bottom: 60px;
|
2015-01-10 17:02:27 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.navbar-fixed-bottom {
|
2016-03-17 16:39:50 +00:00
|
|
|
position: absolute;
|
2015-01-10 17:02:27 +00:00
|
|
|
}
|
2015-03-07 20:36:35 +00:00
|
|
|
}
|
2016-03-17 16:39:50 +00:00
|
|
|
|
|
|
|
@media (max-width: 768px) {
|
|
|
|
/* Layout after the normal contents, as this is when the footer switches
|
|
|
|
to a vertical layout. */
|
|
|
|
|
|
|
|
body {
|
|
|
|
padding-bottom: 0px;
|
|
|
|
}
|
|
|
|
|
2016-06-02 23:21:19 +00:00
|
|
|
.navbar-brand {
|
|
|
|
margin: 3.25px -15px;
|
|
|
|
}
|
|
|
|
|
2016-03-17 16:39:50 +00:00
|
|
|
.navbar-fixed-bottom {
|
|
|
|
position: relative;
|
|
|
|
}
|
2016-04-02 08:31:16 +00:00
|
|
|
|
2016-06-02 06:08:18 +00:00
|
|
|
.navbar-nav .open .dropdown-menu {
|
|
|
|
position: absolute;
|
|
|
|
left: auto;
|
|
|
|
right: 0;
|
|
|
|
background-color: #ffffff;
|
|
|
|
border: 1px solid #cccccc;
|
|
|
|
border: 1px solid rgba(0, 0, 0, 0.15);
|
|
|
|
-webkit-box-shadow: 0 6px 12px rgba(0, 0, 0, 0.175);
|
|
|
|
box-shadow: 0 6px 12px rgba(0, 0, 0, 0.175);
|
|
|
|
border-radius: 2px;
|
2016-04-02 08:31:16 +00:00
|
|
|
}
|
|
|
|
|
2022-01-08 15:51:29 +00:00
|
|
|
li[language-select] {
|
2016-06-02 06:08:18 +00:00
|
|
|
position: static !important;
|
2016-04-02 08:31:16 +00:00
|
|
|
}
|
|
|
|
|
2022-01-08 15:51:29 +00:00
|
|
|
li[language-select] > .dropdown-menu {
|
|
|
|
column-count: auto;
|
2016-06-02 06:08:18 +00:00
|
|
|
margin-left: 15px;
|
|
|
|
margin-right: 15px;
|
|
|
|
margin-top: -12px !important;
|
|
|
|
max-width: 450px;
|
|
|
|
overflow-y: scroll;
|
2022-01-08 15:51:29 +00:00
|
|
|
/* height of 5.5 elements + negative margin-top */
|
|
|
|
height: 276px;
|
2016-04-02 08:31:16 +00:00
|
|
|
}
|
|
|
|
|
2019-11-23 12:25:25 +00:00
|
|
|
.two-columns {
|
|
|
|
-webkit-column-count: 1;
|
|
|
|
-moz-column-count: 1;
|
|
|
|
column-count: 1;
|
|
|
|
}
|
2016-04-02 08:31:16 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
@media (max-width:479px) {
|
|
|
|
|
|
|
|
nav .dropdown-toggle {
|
|
|
|
font-size: 1em;
|
|
|
|
}
|
|
|
|
|
|
|
|
.navbar-nav .open .dropdown-menu > li > a {
|
|
|
|
padding: 12px 15px 12px 25px;
|
|
|
|
}
|
|
|
|
|
2016-06-02 06:08:18 +00:00
|
|
|
.navbar-fixed-bottom li {
|
|
|
|
width: 100%;
|
|
|
|
}
|
2017-03-18 11:43:24 +00:00
|
|
|
}
|
2017-12-07 07:08:24 +00:00
|
|
|
|
|
|
|
.tab-content {
|
|
|
|
padding-top: 10px;
|
|
|
|
}
|
2018-01-01 14:39:23 +00:00
|
|
|
|
2019-06-17 12:24:45 +00:00
|
|
|
@media (max-width: 419px) {
|
|
|
|
/* the selectors are build to target only the content of folder and device
|
|
|
|
panels as it would "destroy" e.g. out of sync or recent changes listings */
|
|
|
|
div[id^='device-'].panel-collapse table,
|
|
|
|
div[id^='folder-'].panel-collapse table,
|
|
|
|
div[id^='device-'].panel-collapse tbody,
|
|
|
|
div[id^='folder-'].panel-collapse tbody,
|
|
|
|
div[id^='device-'].panel-collapse tr,
|
|
|
|
div[id^='folder-'].panel-collapse tr {
|
|
|
|
display: block;
|
|
|
|
}
|
|
|
|
div[id^='device-'].panel-collapse th,
|
|
|
|
div[id^='folder-'].panel-collapse th,
|
|
|
|
div[id^='device-'].panel-collapse td,
|
|
|
|
div[id^='folder-'].panel-collapse td {
|
|
|
|
display: block;
|
|
|
|
max-width: 100%;
|
|
|
|
width: 100%;
|
|
|
|
}
|
2019-11-19 21:01:21 +00:00
|
|
|
|
2022-01-25 22:08:27 +00:00
|
|
|
/* All buttons, except panel headings, get bottom margin, as they
|
|
|
|
won't fit beside each other anymore. Reduce footer padding to
|
|
|
|
compensate for the margin. */
|
2019-06-17 12:24:45 +00:00
|
|
|
.btn:not(.panel-heading),
|
|
|
|
.btn:not(.panel-heading) + .btn:not(.panel-heading) {
|
2022-01-25 22:08:27 +00:00
|
|
|
margin-bottom: 10px;
|
|
|
|
}
|
|
|
|
.panel-footer {
|
|
|
|
padding-bottom: 0;
|
|
|
|
}
|
|
|
|
.modal-footer {
|
|
|
|
padding-bottom: 5px;
|
2019-06-17 12:24:45 +00:00
|
|
|
}
|
2022-09-13 17:18:57 +00:00
|
|
|
|
|
|
|
table.table-auto td,
|
|
|
|
table.table-auto th,
|
|
|
|
table.table-condensed td,
|
|
|
|
table.table-condensed th {
|
|
|
|
/* for mobile phones to allow linebreaks in long repro folder/shared with
|
|
|
|
* columns. */
|
|
|
|
white-space: normal;
|
|
|
|
}
|
2022-11-07 19:11:12 +00:00
|
|
|
|
|
|
|
/* Move share buttons below device ID on small screens. */
|
|
|
|
#shareDeviceIdButtons {
|
|
|
|
display: inline-block;
|
|
|
|
}
|
2019-11-13 14:14:00 +00:00
|
|
|
}
|
2020-11-09 14:33:32 +00:00
|
|
|
|
|
|
|
.form-horizontal .form-group {
|
|
|
|
margin-bottom: 5px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.form-horizontal {
|
|
|
|
margin-bottom: 10px;
|
|
|
|
}
|
2021-03-14 07:14:19 +00:00
|
|
|
|
|
|
|
/* Use the same style as Bootstrap uses for disabled <select>. */
|
|
|
|
.form-control option[disabled] {
|
|
|
|
background-color: #eeeeee;
|
|
|
|
opacity: 1;
|
|
|
|
}
|
2021-06-16 19:10:16 +00:00
|
|
|
|
2023-06-14 07:24:31 +00:00
|
|
|
.checkbox[disabled] {
|
|
|
|
background-color: #eeeeee;
|
|
|
|
opacity: 1;
|
|
|
|
margin-left: -5px;
|
|
|
|
padding-left: 5px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.checkbox[disabled] *, .checkbox[disabled] .help-block {
|
|
|
|
color: #999999;
|
|
|
|
cursor: not-allowed;
|
|
|
|
}
|
|
|
|
|
2021-06-16 19:10:16 +00:00
|
|
|
/* Make a "well" look more like a readonly text input when grouped with a button */
|
|
|
|
.input-group .well-sm {
|
|
|
|
padding-top: 6px;
|
|
|
|
padding-bottom: 6px;
|
|
|
|
}
|
2022-02-08 06:07:22 +00:00
|
|
|
|
|
|
|
/* CJK languages don't use italic at all, hence don't force it on them. */
|
|
|
|
html[lang|="zh"] i,
|
|
|
|
html[lang="ja"] i,
|
|
|
|
html[lang|="ko"] i {
|
|
|
|
font-style: normal;
|
|
|
|
}
|
gui: Replace JS select-on-click with CSS user-select (fixes #3868) (#8544)
Currently, a custom JS script is used to select the whole device ID on
click. However, the current script isn't compatible with all browsers
(and in IE in particular), making it impossible to select the ID in them
at all. Additionally, the same functionality is already available in CSS
with no such drawbacks, as the whole selection process is handled by the
Web browser natively, which is lightweight and does not require custom
code.
Thus, remove the currently used JS script completely, replacing it with
a new CSS class that can be added to an element when required. If the
browser does not support the CSS, the user can still select the element
manually, which makes it safer than the current behaviour that can block
the user from being able to select the element at all.
Signed-off-by: Tomasz Wilczyński <twilczynski@naver.com>
2022-09-20 09:37:34 +00:00
|
|
|
|
2022-11-07 19:11:12 +00:00
|
|
|
/* Prevent buttons from jumping up and down
|
|
|
|
when a tooltip is shown for one of them. */
|
|
|
|
.btn-group-vertical > .tooltip + .btn,
|
|
|
|
.btn-group-vertical > .tooltip + .btn-group {
|
|
|
|
margin-top: -1px;
|
|
|
|
}
|
|
|
|
|
gui: Replace JS select-on-click with CSS user-select (fixes #3868) (#8544)
Currently, a custom JS script is used to select the whole device ID on
click. However, the current script isn't compatible with all browsers
(and in IE in particular), making it impossible to select the ID in them
at all. Additionally, the same functionality is already available in CSS
with no such drawbacks, as the whole selection process is handled by the
Web browser natively, which is lightweight and does not require custom
code.
Thus, remove the currently used JS script completely, replacing it with
a new CSS class that can be added to an element when required. If the
browser does not support the CSS, the user can still select the element
manually, which makes it safer than the current behaviour that can block
the user from being able to select the element at all.
Signed-off-by: Tomasz Wilczyński <twilczynski@naver.com>
2022-09-20 09:37:34 +00:00
|
|
|
.select-on-click {
|
2022-10-10 21:01:37 +00:00
|
|
|
-webkit-user-select: all;
|
gui: Replace JS select-on-click with CSS user-select (fixes #3868) (#8544)
Currently, a custom JS script is used to select the whole device ID on
click. However, the current script isn't compatible with all browsers
(and in IE in particular), making it impossible to select the ID in them
at all. Additionally, the same functionality is already available in CSS
with no such drawbacks, as the whole selection process is handled by the
Web browser natively, which is lightweight and does not require custom
code.
Thus, remove the currently used JS script completely, replacing it with
a new CSS class that can be added to an element when required. If the
browser does not support the CSS, the user can still select the element
manually, which makes it safer than the current behaviour that can block
the user from being able to select the element at all.
Signed-off-by: Tomasz Wilczyński <twilczynski@naver.com>
2022-09-20 09:37:34 +00:00
|
|
|
user-select: all;
|
|
|
|
}
|