Tightened up the CSS for sortable's.

master
Pacman Ghost 5 years ago
parent 666cc3daf2
commit ed9d5dc664
  1. 2
      vasl_templates/webapp/static/css/sortable.css
  2. 1
      vasl_templates/webapp/static/css/tabs-ob.css
  3. 2
      vasl_templates/webapp/static/css/tabs-scenario.css
  4. 2
      vasl_templates/webapp/tests/test_counters.py

@ -5,7 +5,7 @@ img.sortable-reset { vertical-align: middle ; height: 15px ; margin-right: 0.25e
.sortable { list-style-type: none ; margin: 0 ; padding: 0 ; }
.sortable li { margin-bottom: 2px ; padding: 5px ; }
.sortable li { margin-bottom: 2px ; padding: 5px ; font-size: 90% ; }
.sortable li:hover { cursor: pointer ; }
.sortable li.ui-sortable-helper { opacity: 0.8 ; }

@ -25,7 +25,6 @@
.panel-ob_vo .sortable .vo-entry img.vasl-image { display: inline-block ; vertical-align: middle ; height: 3.25em ; margin-right: 0.5em ; }
.panel-ob_vo .sortable .vo-entry.small-piece img.vasl-image { height: 2.25em ; margin-left: 0.5em ; margin-right: 0.75em ; }
.panel-ob_vo .sortable .vo-entry .detail { flex-grow: 1 ; display: flex ; flex-direction: column ; justify-content: center ; }
.panel-ob_vo .sortable .vo-entry .detail .vo-name { font-size: 90% ; }
.panel-ob_vo .sortable .vo-entry .detail .vo-capabilities { max-height: 2.5em ; overflow: hidden ; font-size: 80% ; font-style: italic ; }
.panel-ob_vo .sortable .vo-entry .detail .vo-capability { margin-right: 0.5em ; color: #444 ; }
.panel-ob_vo label.header { font-weight: bold ; display: inline-block ; width: 3.25em ; }

@ -32,12 +32,10 @@
#panel-scenario_notes { height: 100% ; display: flex ; flex-direction: column ; }
#panel-scenario_notes .content { flex-grow: 1 ; }
#panel-scenario_notes .sortable { font-size: 90% ; }
#panel-scenario_notes .footer { margin-top: 0.5em ; display: flex ; }
/* -------------------------------------------------------------------- */
#panel-ssr { height: 100% ; display: flex ; flex-direction: column ; }
#panel-ssr .content { flex-grow: 1 ; }
#panel-ssr .sortable { font-size: 90% ; }
#panel-ssr .footer { margin-top: 0.5em ; display: flex ; align-items: center ; }

@ -130,7 +130,7 @@ def test_gpid_remapping( webapp, webdriver ):
gpid = mo.group(1)
if valid_image:
assert check_gpid_image( gpid ) == 200
assert img.get_attribute( "width" ) == "52" # nb: this value depends on the CSS settings!
assert img.get_attribute( "width" ) == "47" # nb: this value depends on the CSS settings!
else:
assert check_gpid_image( gpid ) == 404

Loading…
Cancel
Save