syncthing/gui/default/assets/css/overrides.css

282 lines
4.6 KiB
CSS
Raw Normal View History

2014-09-29 21:43:32 +02:00
/*
2014-11-16 21:13:20 +01:00
// Copyright (C) 2014 The Syncthing Authors.
2014-09-29 21:43:32 +02:00
//
2015-03-07 21:36:35 +01: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,
// You can obtain one at http://mozilla.org/MPL/2.0/.
2014-09-29 21:43:32 +02:00
*/
body {
padding-bottom: 70px;
font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
}
2014-09-04 08:53:28 +02:00
h1, h2, h3, h4, h5 {
font-family: "Raleway", "Helvetica Neue", Helvetica, Arial, sans-serif;
line-height: 1.25;
}
2014-09-04 08:53:28 +02:00
ul+h5 {
margin-top: 1.5em;
}
2014-09-04 08:53:28 +02:00
#content {
margin-bottom: 50px;
}
.panel-progress {
background: #3498db;
height: 3px;
left: 0;
position: absolute;
top: 0;
display: block;
}
.panel-title {
position: relative;
2015-01-10 18:02:27 +01:00
text-overflow: ellipsis;
overflow: hidden;
}
identicon {
display: inline-block;
position: relative;
width: 1em;
height: 1em;
line-height: 1;
margin-right: 5px;
}
.identicon {
width: 1em;
height: 1em;
}
.identicon rect {
fill: #333;
}
.checkbox {
margin-top: 0px;
}
.checkbox input[type="checkbox"], .radio input[type="radio"] {
float: none; /* issue #1197 */
}
2014-11-30 22:47:21 +01:00
.popover {
max-width: none;
min-width: 250px;
2014-11-30 22:47:21 +01:00
}
.panel-heading .fa, .modal-header .fa {
margin-right: 10px;
}
.panel-heading {
position: relative;
overflow: hidden;
}
.text-monospace {
font-family: Menlo, Monaco, Consolas, "Courier New", monospace;
}
2014-09-04 08:53:28 +02: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 08:53:28 +02:00
.logo {
margin: 0;
padding: 0;
top: -5px;
position: relative;
}
2014-09-04 08:53:28 +02:00
.list-no-bullet {
list-style-type: none
}
2014-09-04 08:53:28 +02:00
.li-column {
display: inline-block;
min-width: 7em;
margin-right: 1em;
background-color: rgb(236, 240, 241);
border-radius: 3px;
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 08:53:28 +02:00
.ng-cloak {
display: none !important;
}
2014-09-04 08:53:28 +02:00
.table th {
white-space: nowrap;
font-weight: 400;
}
2014-09-04 08:53:28 +02:00
.table td {
padding-left: 20px !important;
}
2014-09-04 08:53:28 +02:00
.table td.small-data {
white-space: nowrap;
}
2014-09-04 08:53:28 +02:00
table.table-condensed {
table-layout: fixed;
}
table.table-condensed td {
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
}
table.table-condensed td.no-overflow-ellipse {
white-space: normal;
}
.folder-advanced{
background-color: hsla(0,0%,99%,1);
border: 1px solid hsla(0, 0%, 95%, 1);
padding: 1rem;
margin-bottom: 15px;
}
.folder-advanced-toggle{
cursor: pointer;
}
.folder-advanced-toggle .collapse,
.folder-advanced-toggle.collapsed .expand{
display: inline-block;
}
.folder-advanced-toggle.collapsed .collapse,
.folder-advanced-toggle .expand{
display: none;
}
@media (max-width:767px) {
2014-09-04 08:53:28 +02:00
table.table-condensed td {
/* for mobile phones to allow linebreaks in long repro folder/shared with
* columns. */
2014-09-04 08:53:28 +02:00
white-space: normal;
}
}
.navbar-right {
/* to align with panel */
padding-right: 15px;
}
2014-09-10 11:27:21 +02:00
/**
* Menu for select language
*/
@media (min-width:480px) and (max-width:649px) {
*[language-select] > .dropdown-menu {
width: 230px;
}
}
@media (min-width:650px) {
*[language-select] > .dropdown-menu > li {
width: 50%;
float: left;
}
*[language-select] > .dropdown-menu {
width: 440px;
}
}
@media (max-width:479px) {
.dropdown-menu {
padding-top: 55px;
}
nav .dropdown-toggle {
font-size: 14px;
}
.dropdown-toggle {
float: left;
}
.navbar-brand {
padding-left: 0;
padding-top: 16px;
}
.navbar-nav .open .dropdown-menu > li > a {
padding: 12px 15px 12px 25px;
}
}
2014-09-10 11:27:21 +02:00
.panel-body .table-condensed {
margin-bottom: 0;
}
2014-09-22 14:04:20 +02:00
.dl-horizontal.dl-narrow dt {
width: 40px;
}
.dl-horizontal.dl-narrow dd {
margin-left: 60px;
}
/**
* 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 20:49:49 +01: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 18:02:27 +01:00
/** Footer nav on small devices **/
@media (max-width: 1199px) {
2015-01-10 18:02:27 +01:00
body {
padding-bottom: 0;
}
.navbar-fixed-bottom {
position: static;
}
2015-03-07 21:36:35 +01:00
}