X-Git-Url: http://mmka.chem.univ.gda.pl/gitweb/?a=blobdiff_plain;f=qcg%2Fstatic%2Fqcg%2Fmain.css;h=1ff595a6ec58a260e4601709f7b4a2c5b2b72424;hb=b713d9cd6b8bb4e58588243088bd9b37accc9292;hp=9af9836ca47911b824dbc4c5dcbc168b6c9b3759;hpb=2a2a8a89e502704bd708daf8a5ac830fa6e41433;p=qcg-portal.git diff --git a/qcg/static/qcg/main.css b/qcg/static/qcg/main.css index 9af9836..1ff595a 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; } @@ -86,18 +90,6 @@ textarea { margin: 0; } -#host-controls .change { - display: none; -} - -#host-controls.editing .view { - display: none; -} - -#host-controls.editing .change { - display: initial; -} - .path.breadcrumb > li + li::before { content: "› "; } @@ -116,3 +108,42 @@ textarea { .busy #spinner-overlay { display: initial; } + +#filex nav { + display: flex; + flex-flow: row wrap; +} + +#host { + flex: 1 auto; + margin-right: 10px; +} + +#controls { + flex: 0 auto; + white-space: nowrap; +} + +#path { + flex: 1 100%; +} + +@media (min-width: 768px) { + #host { + order: 1; + flex: 1 auto; + margin-right: 10px; + } + + #path { + order: 2; + flex: 10 auto; + margin-top: -1px; + margin-right: 10px; + } + + #controls { + order: 3; + flex: 0 auto; + } +}