NIHVIVO-1979: Made stylesheets syntax consistent across the app.

This commit is contained in:
mb863 2011-02-02 02:58:37 +00:00
parent 9caa5c437c
commit c324ab3151
12 changed files with 103 additions and 133 deletions

View file

@ -1,13 +1,12 @@
/* $This file is distributed under the terms of the license in /doc/license.txt$ */ /* $This file is distributed under the terms of the license in /doc/license.txt$ */
/*** Admin Dashboard ***/ /* Admin Dashboard */
#adminDashboard { #adminDashboard {
margin-top: 1em; margin-top: 1em;
display: inline-block; display: inline-block;
width: 100%; width: 100%;
} }
#adminDashboard .pageBodyGroup { #adminDashboard .pageBodyGroup {
float: left; float: left;
clear: right; clear: right;
@ -17,31 +16,25 @@
margin-bottom: 1em; margin-bottom: 1em;
padding: 0 1em; padding: 0 1em;
} }
#adminDashboard .pageBodyGroup h4 { #adminDashboard .pageBodyGroup h4 {
margin: 0; margin: 0;
padding: 0; padding: 0;
color: #666; color: #666;
} }
#adminDashboard .pageBodyGroup h3 { #adminDashboard .pageBodyGroup h3 {
background-color: #efefef; background-color: #efefef;
color: #000; color: #000;
padding: 5px; padding: 5px;
} }
#adminDashboard .pageBodyGroup ul { #adminDashboard .pageBodyGroup ul {
margin: 0 0 1em 0.3em; margin: 0 0 1em 0.3em;
} }
#adminDashboard .pageBodyGroup li { #adminDashboard .pageBodyGroup li {
list-style-type: none; list-style-type: none;
} }
#adminDashboard #verbosePropertyForm { #adminDashboard #verbosePropertyForm {
margin-top: 3em; margin-top: 3em;
} }
#adminDashboard .add-action-button { #adminDashboard .add-action-button {
margin-top: .75em; margin-top: .75em;
} }

View file

@ -116,7 +116,6 @@ svg text {
font-family: inherit !important; font-family: inherit !important;
font-size: 12px !important; font-size: 12px !important;
color: #5E6363 !important; color: #5E6363 !important;
/* display: none;*/
} }
svg rect { svg rect {
cursor: pointer; cursor: pointer;

View file

@ -1,4 +1,5 @@
/* $This file is distributed under the terms of the license in /doc/license.txt$ */ /* $This file is distributed under the terms of the license in /doc/license.txt$ */
/* browseIndex.css contains styles used in the Index pages. */ /* browseIndex.css contains styles used in the Index pages. */
/* INDIVIDUAL LIST ------> */ /* INDIVIDUAL LIST ------> */

View file

@ -8,21 +8,18 @@
padding: 1em 0; padding: 1em 0;
margin: 1em 0; margin: 1em 0;
} }
.dump li { .dump li {
list-style-type: none; list-style-type: none;
} }
.dump.directive h6 { .dump.directive h6 {
margin-top: 1em; margin-top: 1em;
} }
.dump.datamodel .var,
.dump.datamodel .var, .dump.datamodel .directive { .dump.datamodel .directive {
border-bottom: 1px solid #ccc; border-bottom: 1px solid #ccc;
padding: 1em 0; padding: 1em 0;
margin: 1em 0; margin: 1em 0;
} }
.dump .var p { .dump .var p {
margin-bottom: .3em; margin-bottom: .3em;
} }

View file

@ -14,12 +14,11 @@ input.block{
textarea { textarea {
margin-bottom: 1.5em; margin-bottom: 1.5em;
} }
/* mb863-reference: vivo-basic/css/formedit.css*/
form { form {
padding-bottom: 20px; padding-bottom: 20px;
} }
.form p { .form p {
margin-bottom:0.5em; margin-bottom: .5em;
} }
form textarea { form textarea {
width: 60%; width: 60%;
@ -55,7 +54,6 @@ p.submit {
clear: left; clear: left;
margin-top: 2em; margin-top: 2em;
} }
/* mb863-reference:vivo-basic/css/edit.css*/
.buttonForm { .buttonForm {
margin-top: 0; margin-top: 0;
margin-bottom: 0; margin-bottom: 0;
@ -75,7 +73,6 @@ p.submit {
padding-bottom: 1em; padding-bottom: 1em;
color: #444444; color: #444444;
line-height: 16px; line-height: 16px;
/*background-color: #eee; cals+vivo themes were: #dddddd; */
background-color: #fff background-color: #fff
min-height: 100px; min-height: 100px;
font-size: 0.9em; font-size: 0.9em;
@ -84,7 +81,7 @@ p.submit {
text-align: left; text-align: left;
border-width: 1px; border-width: 1px;
border-style: solid; border-style: solid;
border-color: black; border-color: #000;
border-collapse: separate; border-collapse: separate;
} }
.editingForm td { .editingForm td {
@ -101,20 +98,20 @@ td.verticalfieldlabel {
background-color: #f8f8c8; background-color: #f8f8c8;
border-width: 1px; border-width: 1px;
border-style: solid; border-style: solid;
border-color: black; border-color: #000;
} }
.editingForm .entryFormHead h2 { .editingForm .entryFormHead h2 {
margin: 0.1em; margin: 0.1em;
padding : 0em; padding : 0em;
font-size: 1.4em; font-size: 1.4em;
color: black; color: #000;
} }
.editingForm .entryFormHead h3 { .editingForm .entryFormHead h3 {
margin: 0.1em; margin: 0.1em;
padding: 0; padding: 0;
font-size: 1.2em; font-size: 1.2em;
font-weight: 600; /* cals theme was: 650 */ font-weight: 600; /* cals theme was: 650 */
color: red; color: #f00;
} }
.editingForm .entryFormHead .entryFormHeadInstructions { .editingForm .entryFormHead .entryFormHeadInstructions {
margin: 0em; margin: 0em;
@ -189,7 +186,7 @@ table.form-background td form {
margin-top: 2px; margin-top: 2px;
} }
.navlinkblock { .navlinkblock {
color: #000; /*#4B0082;*/ color: #000;
font-family: Verdana,Arial, Helvetica, sans-serif; font-family: Verdana,Arial, Helvetica, sans-serif;
font-size: 10px; font-size: 10px;
font-weight: normal; font-weight: normal;
@ -238,7 +235,7 @@ td.editformcell select {
} }
.rownumheader { .rownumheader {
background-color: #B0C4DE; background-color: #B0C4DE;
color: black; color: #000;
font-family: Arial, Helvetica, sans-serif; font-family: Arial, Helvetica, sans-serif;
font-size: 10pt; font-size: 10pt;
font-style: normal; font-style: normal;
@ -246,7 +243,7 @@ td.editformcell select {
} }
.headercenter { .headercenter {
background-color: #9370DB; background-color: #9370DB;
color: black; color: #000;
font-family: Arial, Helvetica, sans-serif; font-family: Arial, Helvetica, sans-serif;
font-size: 10pt; font-size: 10pt;
font-style: normal; font-style: normal;
@ -338,17 +335,14 @@ div.sparqlform label {
display: inline; display: inline;
font-weight: normal; font-weight: normal;
} }
div.sparqlform div { div.sparqlform div {
margin-bottom: 1.5em; margin-bottom: 1.5em;
} }
div.sparqlform .parenthetical { div.sparqlform .parenthetical {
font-style: italic; font-style: italic;
margin-top: 0; margin-top: 0;
margin-bottom: .25em; margin-bottom: .25em;
} }
/* Temporary hack to remove stuff from forms in vivoweb only */ /* Temporary hack to remove stuff from forms in vivoweb only */
.hideFromVivoWeb { .hideFromVivoWeb {
display: none; display: none;

View file

@ -1,8 +1,5 @@
/* $This file is distributed under the terms of the license in /doc/license.txt$ */ /* $This file is distributed under the terms of the license in /doc/license.txt$ */
@charset "UTF-8";
/* CSS Document */
/* ADMIN PANEL------> */ /* ADMIN PANEL------> */
#admin { #admin {
font-size: .8em; font-size: .8em;

View file

@ -1,8 +1,5 @@
/* $This file is distributed under the terms of the license in /doc/license.txt$ */ /* $This file is distributed under the terms of the license in /doc/license.txt$ */
@charset "UTF-8";
/* CSS Document */
/* VISUAL GRAPH-----> */ /* VISUAL GRAPH-----> */
#menupage-intro { #menupage-intro {
clear: both; clear: both;
@ -108,7 +105,7 @@ ul#find-filters a {
} }
#researchers p { #researchers p {
padding: 17px 15px 15px 175px; padding: 17px 15px 15px 175px;
line-height: 1.5; line-height: 1.5em;
} }
#researchers-slider { #researchers-slider {
clear: both; clear: both;
@ -242,7 +239,7 @@ li.individual img {
} }
li.individual h1 { li.individual h1 {
padding: 0; padding: 0;
line-height: 1.2; line-height: 1.2em;
font-weight: bold; font-weight: bold;
} }
li.individual h1.thumb { li.individual h1.thumb {
@ -250,19 +247,19 @@ li.individual h1.thumb {
} }
#individuals-in-class span.title { #individuals-in-class span.title {
display: block; display: block;
margin: 0.8em 0 0 0; margin: .8em 0 0 0;
font-size: 0.8em; font-size: .8em;
line-height: 1; line-height: 1;
} }
#individuals-in-class span.org { #individuals-in-class span.org {
display: block; display: block;
} }
nav.pagination { nav.pagination {
margin: 0.3em 0 0 1.4em; margin: .3em 0 0 1.4em;
} }
nav.pagination h3 { nav.pagination h3 {
display: inline; display: inline;
margin: 0 0.3em 0 0; margin: 0 .3em 0 0;
padding: 0; padding: 0;
font-size: 1.1em; font-size: 1.1em;
color: #666; color: #666;
@ -273,7 +270,6 @@ nav.pagination ul {
nav.pagination li { nav.pagination li {
display: inline-block; display: inline-block;
margin: 0; margin: 0;
/* padding: 0.1em 0.6em;*/
border: none; border: none;
} }
nav.pagination li.selected { nav.pagination li.selected {

View file

@ -10,7 +10,7 @@
.searchTOC { .searchTOC {
margin-bottom: 1.5em; margin-bottom: 1.5em;
} }
/**Search results */ /* Search results */
.searchhits li { .searchhits li {
margin-top: 1em; margin-top: 1em;
} }

View file

@ -2,7 +2,7 @@
/* <------ UPLOAD PICTURE*/ /* <------ UPLOAD PICTURE*/
#photoUpload { #photoUpload {
margin-left: 0px; margin-left: 0;
height: 280px; height: 280px;
background: #fff; background: #fff;
padding: 15px; padding: 15px;
@ -28,14 +28,14 @@
padding-bottom: 10px; padding-bottom: 10px;
} }
#photoUploadForm label span { #photoUploadForm label span {
font-size: 0.7em; font-size: .7em;
} }
#photoUploadForm input { #photoUploadForm input {
margin-bottom: 10px; margin-bottom: 10px;
} }
/* <------ CROP PICTURE*/ /* <------ CROP PICTURE*/
#photoCropping { #photoCropping {
margin-left: 0px; margin-left: 0;
height: 450px; height: 450px;
background: #fff; background: #fff;
padding: 15px 0 15px 15px; padding: 15px 0 15px 15px;
@ -47,7 +47,7 @@
} }
.photoCroppingNote { .photoCroppingNote {
margin-top: 15px; margin-top: 15px;
font-size: 0.8em; font-size: .8em;
} }
#photoCropping { #photoCropping {
width: 400px; width: 400px;
@ -64,7 +64,7 @@
} }
/* <------ DELETE PICTURE*/ /* <------ DELETE PICTURE*/
#photoDeletingContainer { #photoDeletingContainer {
margin-left: 0px; margin-left: 0;
width: 720px; width: 720px;
height: 330px; height: 330px;
background: #fff; background: #fff;
@ -73,7 +73,7 @@
/* <------ ERROR ALERTS*/ /* <------ ERROR ALERTS*/
#error-alert { #error-alert {
color: #900; color: #900;
padding: 0px; padding: 0;
margin-bottom: 5px; margin-bottom: 5px;
height: 30px; height: 30px;
} }
@ -85,7 +85,7 @@
} }
#error-alert p { #error-alert p {
padding-left: 35px; padding-left: 35px;
font-size: 0.9em; font-size: .9em;
line-height: 30px; line-height: 30px;
} }
.or { .or {

View file

@ -13,21 +13,14 @@
2011-01-13 2011-01-13
*****************************************/ *****************************************/
/************************ /* <------ MISCELLANEOUS*/
Miscellaneous
************************/
.clear { .clear {
clear: both; clear: both;
} }
.hidden { .hidden {
display: none !important; display: none !important;
} }
/* <------ USER FEEDBACK*/
/************************
User feedback
************************/
#error-alert { #error-alert {
color: #900; color: #900;
padding: 10px; padding: 10px;
@ -42,15 +35,15 @@ User feedback
} }
#error-alert p { #error-alert p {
padding-left: 30px; padding-left: 30px;
font-size: 0.9em; font-size: .9em;
line-height: 30px; line-height: 30px;
} }
#error-alert p.login-alert { #error-alert p.login-alert {
padding-top: 0px; padding-top: 0;
} }
#confirmation-alert { #confirmation-alert {
color: #169f43; color: #169f43;
padding: 0px; padding: 0;
margin-bottom: 5px; margin-bottom: 5px;
height: 30px; height: 30px;
} }
@ -62,11 +55,11 @@ User feedback
} }
#confirmation-alert p { #confirmation-alert p {
padding-left: 30px; padding-left: 30px;
font-size: 0.9em; font-size: .9em;
line-height: 30px; line-height: 30px;
} }
#flash-message{ #flash-message{
background-color: #7285a0; background-color: #7285a0;
padding: 0.5em; padding: .5em;
margin-bottom: 10px; margin-bottom: 10px;
} }