X-Git-Url: http://mmka.chem.univ.gda.pl/gitweb/?a=blobdiff_plain;f=qcg%2Fstatic%2Fqcg%2Fmain.css;h=692372c902ec2ea01873344a25193bdd21f90367;hb=a0feb25389615e9d2ab2b036a491a1aeeb059a52;hp=20275efa489d1d488803a7fb2f613bd803fbcd7b;hpb=b1f2eaf9a8779f9b8bcb6e396d535b6044667133;p=qcg-portal.git diff --git a/qcg/static/qcg/main.css b/qcg/static/qcg/main.css index 20275ef..692372c 100644 --- a/qcg/static/qcg/main.css +++ b/qcg/static/qcg/main.css @@ -36,6 +36,10 @@ textarea { min-height: 34px; } +.modal-body > *:first-child { + margin-top: 0; +} + .modal-body > *:last-child { margin-bottom: 0; } @@ -82,16 +86,8 @@ textarea { position: relative; } -#host-controls .change { - display: none; -} - -#host-controls.editing .view { - display: none; -} - -#host-controls.editing .change { - display: initial; +#filex input[type=checkbox] { + margin: 0; } .path.breadcrumb > li + li::before { @@ -99,7 +95,7 @@ textarea { } #spinner-overlay { - background: url('/static/filex/spinner.gif') white center 100px no-repeat; + background: url('/static/filex/spinner.gif') white center center no-repeat fixed; opacity: 0.5; position: absolute; top: 0; @@ -112,3 +108,63 @@ textarea { .busy #spinner-overlay { display: initial; } + +#filex nav { + display: flex; + flex-flow: row wrap; +} + +#host { + flex: 1 auto; + margin-right: 10px; + white-space: nowrap; +} + +#controls { + flex: 0 auto; + white-space: nowrap; +} + +#path { + flex: 1 100%; +} + +@media (min-width: 768px) { + #host { + order: 1; + flex: 0 auto; + margin-right: 10px; + } + + #path { + order: 2; + flex: 10 auto; + margin-top: -1px; + margin-right: 10px; + } + + #controls { + order: 3; + flex: 0 auto; + } +} + +#host .list { + display: none; +} + +#host.edit .list { + display: initial; +} + +#host.edit #btn-host { + display: none; +} + +#host .selectize-control { + min-width: 200px; +} + +#host .selectize-input { + padding-right: 32px; +}