]> git.evergreen-ils.org Git - working/Evergreen.git/commit
started moving some inline styles into css classes
authorsenator <lebbeous@esilibrary.com>
Fri, 4 Feb 2011 01:24:28 +0000 (20:24 -0500)
committersenator <lebbeous@esilibrary.com>
Fri, 4 Feb 2011 01:24:28 +0000 (20:24 -0500)
commitbd3893bb25f370f20b432a8c7c2518652c2c3a9c
tree02097ffeaa790eccc2b36ec7e13945efc12e22c7
parent5be99cee1c099b5c6ee613d1b68426fd0db17e43
started moving some inline styles into css classes

Here's the deal so far: all the inline styles are covered by one class
in semiauto.css, but those were created programatically and reflect no
understanding of the relationship between the purpose of any given
element that's styled and what its style is.  These auto-generated
styles also are kind of redundant, since with many of them, instead of
using the style with a long definition, you could use a combination of
smaller styles.

The existing markup uses many slightly different style attributes, so
there's plenty of stuff like "width: 12", "width: 13", "width: 14", etc,
so there's no way to map a lot of this to semantically meaningful names.
some of these classes are just going to end up with names like
"wide-fourteen" that are no better than inline styles.

But others, as we find them manually, can be grouped and renamed into
something meaningful, and sometimes style can be put into prexisting id
and class definitions. Should be a couple more hours work.

semiauto.css reflects progress with the generated classes.

changes to style.css reflect early places where style could be moved
into pre-existing classes.
18 files changed:
Open-ILS/web/opac/skin/kcls-wire/css/semiauto.css [new file with mode: 0644]
Open-ILS/web/opac/skin/kcls-wire/css/style.css
Open-ILS/web/templates/default/kcls-wire/advanced.tt2
Open-ILS/web/templates/default/kcls-wire/home.tt2
Open-ILS/web/templates/default/kcls-wire/login.tt2
Open-ILS/web/templates/default/kcls-wire/myopac/circs.tt2
Open-ILS/web/templates/default/kcls-wire/myopac/holds.tt2
Open-ILS/web/templates/default/kcls-wire/myopac/lists.tt2
Open-ILS/web/templates/default/kcls-wire/myopac/main.tt2
Open-ILS/web/templates/default/kcls-wire/myopac/prefs.tt2
Open-ILS/web/templates/default/kcls-wire/parts/homesearch.tt2
Open-ILS/web/templates/default/kcls-wire/parts/login/form.tt2
Open-ILS/web/templates/default/kcls-wire/parts/myopac/base.tt2
Open-ILS/web/templates/default/kcls-wire/parts/record/body.tt2
Open-ILS/web/templates/default/kcls-wire/parts/searchbar.tt2
Open-ILS/web/templates/default/kcls-wire/parts/topnav.tt2
Open-ILS/web/templates/default/kcls-wire/record.tt2
Open-ILS/web/templates/default/kcls-wire/results.tt2