Koha/koha-tmpl/intranet-tmpl/prog/css/login.css
Owen Leonard 6381d1853d Bug 16241 - Move staff client CSS out of language directory
The staff client CSS is not language-specific, so it can be moved out of
the en/ directory and thus not be duplicated for every translation.

In order to be able to have a generic path to the YUI CSS files, the YUI
directory is moved by this patch to the staff client's lib/ directory.

To test, apply the patch and visit various pages in the staff client.
Look in particular at pages which include more than the standard CSS.
For example:

- The staff client login page.
- The staff client home page.
- Patron -> Set permissions.
- The advanced cataloging editor.
- Acquisitions -> Vendor -> Basket groups.
- Tools -> News -> Edit news.
- Administration -> System preferences.

Revised: I intended for this to be built on top of Bug 15883. Now it is.

Signed-off-by: Bernardo Gonzalez Kriegel <bgkriegel@gmail.com>

On top of 15883
Works as described, all pages on test plan
No Errors

Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>

Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
2016-04-29 13:54:37 +00:00

178 lines
3.4 KiB
CSS

a.edit, a.delete, a.edit:hover, a.delete:hover {
border-bottom: none;
display: block;
padding: 5px 0;
text-align: center;
}
a.edit:hover {
background: #ccc;
color: #036;
}
a:visited {
color: #006;
}
a:hover {
/* border-bottom: 1px solid #3a75ae;*/
color: #069;
}
body {
background: #f5f5f5;
}
form, label input {
margin: 0;
padding: 0;
}
input:focus, textarea:focus, label:focus {
background: #fff;
border: 1px solid #686868;
}
label {
display : block;
margin : .2em 0;
}
#logo { margin-bottom: 2em; }
#login {
background: #fff;
border: 1px solid #a2a2a2;
margin: 4em auto;
padding: 1.5em;
position : relative;
top : auto;
right : auto;
width: 25em;
}
#login #login_error {
background: #D23F3F;
border: 1px solid #a40000;
color: #fff;
font-size: 120%;
line-height: 140%;
font-weight: bold;
margin: 1em 0;
padding: .5em;
text-align: center;
text-shadow: 0px 1px 1px #6C1010;
filter: dropshadow(color=#6C1010, offx=0, offy=1);
-moz-border-radius: 5px;
border-radius: 5px;
}
#login #login_error a:link,
#login #login_error a:visited {
color : #FFC;
}
#login #login_error a:hover,
#login #login_error a:active {
color : #FCFC4D;
}
#login h1 {
background: url(../img/koha-logo.gif) no-repeat top center;
margin-top: 0;
margin-bottom : .5em;
}
#login h1 a {
/* http://www.zeldman.com/2012/03/01/replacing-the-9999px-hack-new-image-replacement/ */
display: block;
height: 74px;
text-indent: 100%;
white-space: nowrap;
overflow: hidden;
}
#login input {
padding: 3px;
}
#login ul {
list-style: none;
margin: 0;
padding: 0;
}
#login ul li {
display: inline;
margin-left: 1.4em;
text-align: center;
}
#login #userid, #password {
font-size: 1.7em;
width: 97%;
}
#login #branch {
width : 99%;
}
#login #submit, #login .button {
font-size: 1.4em;
padding : .3em .6em;
}
#login #onerror_actions {
margin-bottom: 1em;
text-align: center;
}
#login #onerror_actions .button {
margin: 3px;
color: #333333;
}
#footer {
text-align: center;
border-top: 1px solid #ccc;
padding-top: 1em;
font-style: italic;
}
.submit input, .submit input:focus, .button {
border: 1px outset #999999;
border-top-color: #666;
border-left-color: #666;
-moz-border-radius : 2px;
padding: 0.25em;
background: #ffffff; /* Old browsers */
background: -moz-linear-gradient(top, #ffffff 0%, #f7f7f7 35%, #e0e0e0 100%); /* FF3.6+ */
background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#ffffff), color-stop(35%,#f7f7f7), color-stop(100%,#e0e0e0)); /* Chrome,Safari4+ */
background: -webkit-linear-gradient(top, #ffffff 0%,#f7f7f7 35%,#e0e0e0 100%); /* Chrome10+,Safari5.1+ */
background: -o-linear-gradient(top, #ffffff 0%,#f7f7f7 35%,#e0e0e0 100%); /* Opera11.10+ */
background: -ms-linear-gradient(top, #ffffff 0%,#f7f7f7 35%,#e0e0e0 100%); /* IE10+ */
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#ffffff', endColorstr='#e0e0e0',GradientType=0 ); /* IE6-9 */
background: linear-gradient(top, #ffffff 0%,#f7f7f7 35%,#e0e0e0 100%); /* W3C */
color: #333333;
padding: 0.25em;
}
.submit input:active, .button:active {
background: #f4f4f4;
border: 1px solid #999;
border-left-color: #999;
border-top-color: #999;
}
.submit, .editform th, #postcustomsubmit {
text-align: right;
}
textarea, input, select {
background: #f4f4f4;
border: 1px solid #b2b2b2;
color: #000;
font: 13px Verdana, Arial, Helvetica, sans-serif;
margin: 1px;
padding: 3px;
}