Moving MARC editor styles into main stylesheets to allow for alternate color stylesheets. Adding styles to fit with changes to addbiblio.tmpl.

This commit is contained in:
oleonard 2006-06-14 21:15:11 +00:00
parent 987a25aa56
commit 9656f89f49
5 changed files with 251 additions and 91 deletions

View File

@ -435,3 +435,84 @@ tr.highlight, td.highlight, table.marc td.data {
#topmenu .submit, #nav .submit {
background-color : #7EABD6;
}
/* MARC EDITOR */
div.tabbed {
}
div.tabs {
}
div.tabs a {
background-color: #D8DEB8;
color: #000066;
border-bottom : 1px solid #666666;
border-left : 1px solid #666666;
border-right : 1px solid #FFFFCC;
border-top : 1px solid #EEEEEE;
}
div.tabs a:hover {
background-color : #CCFF99;
border-left : 1px solid #000066;
border-bottom : 1px solid #000066;
}
div.tab {
background-color : #EEEEEE;
border : 1px solid #E4E4E4;
border-top : 1px solid #EEEEEE;
}
/* style for tag definition (e.g. 700 - Statement of responsibility) */
.MARCtag {
color : #000000;
background-color : #EEEEEE;
border-top : 7px solid #EEEEEE;
border-bottom : thin solid #CCCCCC;
}
div.tab p {
}
/* style for each subfield (e.g.: Publication year), just before the biblio subfield */
.labelsubfield {
background-color : #F0F0F0;
}
#loading {
background-color: #FFFFFF;
border: 10px solid #7EABD6;
}
input.mandatory {
background-color: #CCFF33;
}
div.tabs a.addbiblioTabOn {
background-color: #EEEEEE;
color: #000066;
}
div.tabs a.addbiblioTabOff {
background-color: #CBCBCB;
color: #669999;
}
input.addbiblioInput {
background-color: #FFFFFF;
}
input.addbiblioInputFocus {
background-color: #FFFFE1;
}
input.indicator {
background-color: #FFFFFF;
}
input.indicatorFocus {
background-color: #FFFF00;
}

View File

@ -625,4 +625,85 @@ label.required:after {
p.date-select input, p.date-select select {
background-color : #EFF1D8;
}
/* MARC EDITOR */
div.tabbed {
}
div.tabs {
}
div.tabs a {
background-color: #D8DEB8;
color: #000066;
border-bottom : 1px solid #999933;
border-left : 1px solid #999933;
border-right : 1px solid #FFFFCC;
border-top : 1px solid #FFFFCC;
}
div.tabs a:hover {
background-color : #CCFF99;
border-left : 1px solid #000066;
border-bottom : 1px solid #000066;
}
div.tab {
background-color : #FFFFCC;
border : 1px solid #D8DEB8;
border-top : 1px solid #FFFFCC;
}
/* style for tag definition (e.g. 700 - Statement of responsibility) */
.MARCtag {
color : #000000;
background-color : #FFFFCC;
border-top : 7px solid #FFFFCC;
border-bottom : thin solid #CCCC99;
}
div.tab p {
}
/* style for each subfield (e.g.: Publication year), just before the biblio subfield */
.labelsubfield {
background-color : #FFFFE1;
}
#loading {
background-color: #FFFFFF;
border: 10px solid #CCCC99;
}
input.mandatory {
background-color: #CCFF33;
}
div.tabs a.addbiblioTabOn {
background-color: #EEEEEE;
color: #000066;
}
div.tabs a.addbiblioTabOff {
background-color: #CBCBCB;
color: #669999;
}
input.addbiblioInput {
background-color: #FFFFFF;
}
input.addbiblioInputFocus {
background-color: #FFFFE1;
}
input.indicator {
background-color: #FFFFFF;
}
input.indicatorFocus {
background-color: #FFFF00;
}

View File

@ -8,7 +8,6 @@
<style type="text/css">
<!-- TMPL_IF NAME="intranetstylesheet" -->@import url(<!-- TMPL_VAR NAME='themelang' -->/includes/<!-- TMPL_VAR NAME="intranetstylesheet" -->);<!-- TMPL_ELSE -->@import url(<!-- TMPL_VAR NAME='themelang' -->/includes/intranet.css);<!-- /TMPL_IF -->
<!-- TMPL_IF NAME="intranetcolorstylesheet" -->@import url(<!-- TMPL_VAR NAME='themelang' -->/includes/<!-- TMPL_VAR NAME="intranetcolorstylesheet" -->);<!-- /TMPL_IF -->
@import url(<!-- TMPL_VAR NAME='themelang' -->/includes/marc-editor.css);
</style>
<!-- TMPL_INCLUDE NAME="common.js.inc" -->
</head>

View File

@ -965,3 +965,92 @@ tr th[scope=row], tr.highlight th[scope=row]{
#topmenu label {
font-weight: bold;
}
/* MARC EDITOR */
div.tabbed {
margin-left:5%;
width:90%;
}
div.tabs {
float : left;
margin : 5px 0 0 0;
}
div.tabs a {
display:block;
font-weight : bold;
text-decoration : none;
margin : 0 0 2px 0;
padding: 10px 5px 10px 5px;
}
div.tabs a:hover {
}
div.tab {
display: block;
visibility:hidden;
position : absolute;
margin : 5px 0 0 20px;
padding : 3px;
width : 70%;
/*margin-top:110px;*/
}
/* style for tag definition (e.g. 700 - Statement of responsibility) */
.MARCtag {
clear : left;
font-weight : bold;
font-size : .8em;
margin-top : 5px;
}
div.tab p {
margin : 3px;
}
/* style for each subfield (e.g.: Publication year), just before the biblio subfield */
.labelsubfield {
clear : left;
float : left;
font-size : .8em;
font-weight : normal;
width : 12em;
margin-left : 30px;
display : inline;
}
#loading {
position: absolute;
top: 3em;
left: 3em;
padding: 1em;
font-size: 1.5em;
z-index: 999;
}
input.mandatory {
width : 55%;
}
div.tabs a.addbiblioTabOn {
}
div.tabs a.addbiblioTabOff {
}
input.addbiblioInput {
width : 55%;
}
input.addbiblioInputFocus {
width : 55%;
}
input.indicator {
}
input.indicatorFocus {
}

View File

@ -1,90 +0,0 @@
div.tabbed {
border : 1px solid red;
/*position: absolute;*/
margin-left:5%;
width:90%;
/* display:block;*/
}
div.tabs {
/* border : 1px solid aqua;*/
float : left;
margin : 5px 0 0 0;
/* position:absolute;
margin-left: .5em;
margin-top:110px;*/
}
div.tabs a {
display:block;
background-color: #D8DEB8;
color: #000066;
font-weight : bold;
text-decoration : none;
border-bottom : 1px solid #999933;
border-left : 1px solid #999933;
border-right : 1px solid #FFFFCC;
border-top : 1px solid #FFFFCC;
margin : 0 0 2px 0;
padding: 10px 5px 10px 5px;
}
div.tabs a:hover {
background-color : #CCFF99;
border-left : 1px solid #000066;
border-bottom : 1px solid #000066;
}
div.tab {
background-color : #FFFFCC;
border : 1px solid #D8DEB8;
border-top : 1px solid #FFFFCC;
display: block;
visibility:hidden;
position : absolute;
margin : 5px 0 0 20px;
padding : 3px;
width : 70%;
/*margin-top:110px;*/
}
/* style for tag definition (e.g. 700 - Statement of responsibility) */
.MARCtag {
clear : left;
color : #000000;
background-color : #FFFFCC;
border-top : 7px solid #FFFFCC;
border-bottom : thin solid #CCCC99;
font-weight : bold;
font-size : .8em;
margin-top : 5px;
}
div.tab p {
margin : 3px;
}
/* style for each subfield (e.g.: Publication year), just before the biblio subfield */
.labelsubfield {
background-color : #FFFFE1;
/* border : 1px solid red;*/
clear : left;
float : left;
font-size : .8em;
font-weight : normal;
width : 12em;
margin-left : 30px;
display : inline;
}
#loading {
position: absolute;
top: 3em;
left: 3em;
padding: 1em;
mozopacity: 50%;
background-color: #FFFFFF;
border: 10px solid #CCCC99;
font-size: 1.5em;
z-index: 999;
}