Koha/koha-tmpl/intranet-tmpl/prog/en/css/preferences.css
Owen Leonard 4fbadbaed4 Bug 8664 - Add floating toolbar with save button to system preferences editor
This patch adds a copy of the "save" button in a toolbar at
the top of the system preferences editor. The toolbar becomes
fixed at the top of the page when you scroll down, exactly like
the toolbar on addbiblio.pl.

Because multiple save buttons might appear when the system prefs
page displays search results, the toolbar does not appear in
this case.

To test, open the system preferences editor and change a setting.
Try saving both with the button in the toolbar and the button at
the top of the page. Test scrolling to confirm that the toolbar
"sticks" to the top of the page when you scroll down.

Signed-off-by: Mirko Tietgen <mirko@abunchofthings.net>
Passed-QA-by: Jonathan Druart <jonathan.druart@biblibre.com>
Signed-off-by: Jared Camins-Esakov <jcamins@cpbibliography.com>
2012-11-23 12:12:37 -05:00

76 lines
No EOL
1.1 KiB
CSS

.preference-url, .preference-multi, .preference-long, .preference-file {
width: 20em;
}
.preference-short, .preference-email {
width: 10em;
}
.preference-integer, .preference-percent, .preference-date, .preference-currency {
width: 5em;
}
textarea.preference {
width: 35em;
height: 20em;
display: block;
}
textarea.preference-code, .preference-file {
font-family: monospace;
}
a.expand-textarea {
display: block;
}
dl {
margin-left : 1em;
}
dt {
padding : .1em;
}
h1 {
font-size : 149%;
}
h2 {
font-size : 134%;
}
table {
width : 100%;
}
caption {
color : #003399;
}
h3 {
color : #003366;
margin : .4em 0;
width : 25%;
}
h3.expanded {
background : transparent url("../../img/collapse.gif") 0 6px no-repeat;
cursor : pointer;
padding-left : 12px;
}
h3.collapsed {
background : transparent url("../../img/expand.gif") 0 6px no-repeat;
cursor : pointer;
padding-left : 12px;
}
.humanMsg strong {
display: block;
font-weight: normal;
}
#yui-main {
margin-bottom:2em;
}
#toolbar.floating {
box-shadow: 0 3px 2px 0 rgba(0, 0, 0, 0.5);
border-radius: 0;
}