VIVO-201: removed some css redundancies

This commit is contained in:
Tim Worrall 2014-09-22 12:58:52 -04:00
parent b89dba1982
commit 8516955979
17 changed files with 199 additions and 544 deletions

View file

@ -10,46 +10,6 @@
padding: .5em;
margin-bottom: 20px;
}
table#account {
table-layout: auto;
width: 930px;
text-align: left;
margin: 0 auto;
border-collapse: collapse;
empty-cells: show;
caption-side: top;
margin: 20px 0 20px 0;
}
table#account caption {
display: none;
}
table#account th {
background-color: #F7F9F9;
height: 40px;
color: #064D68;
padding-top: 7px;
border: 1px solid #d9e4ea;
border-bottom: none;
padding-left: 6px;
font-size: .9em;
}
table#account th {
text-align: left;
} /*Fix for IE8 and 9, force text in a cell to be aligned to the left*/
table#account td {
vertical-align: top;
padding: .5em;
border: 1px solid #d9e4ea;
font-size: .825em;
padding-top: .5em;
padding-bottom: .5em;
}
table#account td a {
word-wrap: break-word;
}
table#account tr:nth-child(2n) {
background-color: rgba(200, 200, 180,.25);
}
input#externalAuthChkBox {
height:18px;
width:18px;
@ -126,7 +86,8 @@ form.customForm p.note {
padding-bottom: 20px;
padding-top: 5px;
}
#add-account p.note {
#add-account p.note,
#passwordContainer {
margin-top: 20px;
}
#search-feedback {
@ -136,8 +97,9 @@ form.customForm p.note {
#filter-roles span {
font-size: .8em;
}
/* CREATE PASSWORD ------> */
#create-password p.note {
/* CREATE/RESET PASSWORD ------> */
#create-password p.note,
#reset-password p.note {
margin-top: 0;
}
/* EDIT ACCOUNT ------> */
@ -149,16 +111,13 @@ form.customForm p.note {
padding-bottom: 10px;
}
#my-account input#email-address,
#my-account input#new-password {
#my-account input#new-password,
#search-proxy h4 {
margin-bottom: 0;
}
section.account-feedback img {
padding-right: 5px;
}
/* RESET PASSWORD ------> */
#reset-password p.note {
margin-top: 0;
}
/* ASSOCIATE PROFILE ------> */
.explanatoryText {
@ -170,19 +129,13 @@ padding-right: 5px;
line-height:15px;
margin-top:-8px !important;
}
#associated {
float:right;
display:none;
}
#associated label {
margin-bottom: 10px;
}
#associated,
#associationOptions {
float:right;
display:none;
}
#verifyProfileLink {
margin-left:10px;
#associated label {
margin-bottom: 10px;
}
#externalAuthIdInUse {
color: #f70;
@ -263,20 +216,10 @@ form.customForm input[name="newPassword"],
form.customForm input[name="confirmPassword"] {
width: 10em;
}
a.disable-delete {
padding-left: 24px;
}
#passwordContainer p.note {
margin-top: -10px;
padding-bottom: 5px;
}
#passwordContainer {
margin-top: 20px;
}
.disabledSubmit {
cursor: default ! important;
}
/* PROXY MY ACCOUNT'S PROFILE ------> */
#edit-myProxy {
float: right;
@ -311,21 +254,9 @@ a.disable-delete {
border-top: 1px solid #E0DFDF;
padding-left: 0;
}
#edit-myProxy img.photo-profile {
border: 2px solid #DDE4E3;
float: left;
}
#edit-myProxy p.proxy-info {
padding-left: 110px;
padding-top: 15px;
}
#edit-myProxy span.class-label {
color: #7F8993;
}
#edit-myProxy a.remove-proxy {
font-size: .9em;
}
/* MANAGE PROXY ------> */
section.proxy-profile h4 {
@ -335,9 +266,7 @@ section.proxy-profile h4 {
#add-relation legend{
display: none;
}
.proxy-profile .acSelector {
margin-left: 20px;
}
.proxy-profile .acSelector,
#add-relation label {
margin-left: 20px;
}
@ -412,17 +341,14 @@ p.selected-editors {
border-top: 1px solid #E0DFDF;
padding-left: 1.2em;
}
img.photo-profile,
img.photo-proxy {
border: 2px solid #DDE4E3;
float: left;
}
img.photo-profile {
border: 1px solid #DDE4E3;
float: left;
}
#add-relation p.proxy-info,
#list-relation p.proxy-info {
#list-relation p.proxy-info,
#edit-myProxy p.proxy-info {
padding-left: 110px;
padding-top: 15px;
}
@ -435,17 +361,12 @@ img.photo-profile {
span.class-label {
color: #7F8993;
}
a.remove-proxy {
font-size: .9em;
}
a.remove-proxy,
a.remove-proxyUri {
font-size: .9em;
}
a.remove-proxyUri {
font-size: .9em;
}
h4.profile-editors {
h4.profile-editors,
#verifyProfileLink {
margin-left: 10px;
}
#search-proxy {
@ -453,10 +374,6 @@ h4.profile-editors {
padding: 10px;
padding-top: 20px;
}
#search-proxy h4 {
margin-bottom: 0;
}
#search-proxy p {
margin-top: .3em;
font-size: .8em;
@ -480,6 +397,7 @@ img.loading-addProfile,
img.loading-profileMyAccoount {
padding-left: 10px;
}
span.unlinkedAccount {
span.unlinkedAccount,
a.disable-delete {
padding-left:24px;
}

View file

@ -15,11 +15,7 @@ table.classHierarchy {
table.classHierarchy td {
padding-left:6px;
}
table.classHierarchy .classDetail {
width:90px;
color:#064D68;
white-space: nowrap;
}
table.classHierarchy .classDetail,
td.classDetail {
width:90px;
color:#064D68;

View file

@ -4,14 +4,16 @@ label {
display: block;
margin-top: .5em;
}
label.inline {
label.inline,
div.sparqlform label {
display: inline;
font-weight: normal;
}
input.block {
display: block;
}
textarea {
textarea,
div.sparqlform div {
margin-bottom: 1.5em;
}
form {
@ -44,9 +46,7 @@ form dl dt, form dl dd {
font-weight: bold;
color: #cc0000;
}
.inlineForm input {
display: inline;
}
.inlineForm input,
.inlineForm label {
display: inline;
}
@ -205,14 +205,8 @@ td.editformcell {
td.editformcell select {
margin: 0;
}
.header {
background-color: #B0C4DE;
color: #000;
font-family: Arial, Helvetica, sans-serif;
font-size: 10pt;
font-style: normal;
text-align: left;
}
.header,
.database_upperleftcorner,
.database_header {
background-color: #B0C4DE;
color: #000;
@ -221,22 +215,7 @@ td.editformcell select {
font-style: normal;
text-align: left;
}
.database_upperleftcorner {
background-color: #B0C4DE;
color: #000;
font-family: Arial, Helvetica, sans-serif;
font-size: 10pt;
font-style: normal;
text-align: left;
}
.database_upperleftcenter {
background-color: #B0C4DE;
color: #000;
font-family: Arial, Helvetica, sans-serif;
font-size: 10pt;
font-style: normal;
text-align: center;
}
.database_upperleftcenter,
.rownumheader {
background-color: #B0C4DE;
color: #000;
@ -253,14 +232,7 @@ td.editformcell select {
font-style: normal;
text-align: center;
}
.postheader {
background-color: #E6E6FA;
color: #777;
font-family: Arial, Helvetica, sans-serif;
font-size: 10pt;
font-style: normal;
text-align: left;
}
.postheader,
.database_postheader {
background-color: #E6E6FA;
color: #777;
@ -335,13 +307,6 @@ span.entityRelationsSpan {
color: #2E440C;
text-align: center;
}
div.sparqlform label {
display: inline;
font-weight: normal;
}
div.sparqlform div {
margin-bottom: 1.5em;
}
div.sparqlform .parenthetical {
font-style: italic;
margin-top: 0;

View file

@ -210,9 +210,6 @@ article.property ul.subclass-property-list li {
padding-right: 1px;
vertical-align: middle;
}
.delete-individual {
vertical-align: middle;
}
.edit-mainImage {
position: absolute;
background: rgba(255, 255, 255, 0.6);
@ -232,7 +229,8 @@ a.edit-mainImage img.edit-individual {
background: rgba(255, 255, 255, 0.6);
padding: 0 6px 0 8px;
}
.middle {
.middle,
.delete-individual {
vertical-align: middle;
}
a.more-less {
@ -293,10 +291,7 @@ ul.tinyMCEDisc {
ol.tinyMCENumeric {
list-style-type: decimal;
}
ul.tinyMCEDisc li {
padding: 0 !important;
margin-left: 30px;
}
ul.tinyMCEDisc li,
ol.tinyMCENumeric li {
padding: 0 !important;
margin-left: 30px;

View file

@ -5,12 +5,11 @@
#login-form label,
#login-form input.text,
#login-form #password,
#login-form #confirmPassword {
#login-form #confirmPassword,
#login-form label.label-remember-me,
#vivoAccountError {
display: block;
}
#login-form label.label-remember-me {
display: block;
}
#login-form p.submit {
float: left;
margin-bottom: 0;
@ -72,9 +71,6 @@ h3.internal-auth {
.vivoAccount {
display: none;
}
#vivoAccountError {
display: block;
}
.formFieldAlert {
border: 2px solid #900;
}

View file

@ -7,7 +7,9 @@
display:none;
}
#add-menu-item p,
#edit-menu-item p {
#edit-menu-item p,
#existingContentType,
#selectContentType label {
margin-top: 15px;
}
#add-menu-item input[name="prettyUrl"],
@ -18,12 +20,6 @@
#edit-menu-item p.note {
margin-top: 5px;
}
#existingContentType {
margin-top: 15px;
}
#selectContentType label {
margin-top: 15px;
}
#selectedContentTypeValue {
padding: 0.2em 0.4em;
background: #f4f4f4;

View file

@ -33,9 +33,6 @@ ul#vgraph-classes li {
height: 35px;
line-height: 35px;
}
ul#vgraph-classes li:last-child {
border-bottom: 0;
}
ul#vgraph-classes a {
display: block;
padding-left: 15px;
@ -123,9 +120,6 @@ ul#find-filters a {
height: 115px;
float: left;
}
#profile-photo-display ul {
display: block;
}
#profile-photo-display li {
display: block;
width: 90px;
@ -181,9 +175,6 @@ ul#browse-classes li {
padding-top: 10px;
padding-bottom: 10px;
}
ul#browse-classes li:last-child {
border-bottom: 0;
}
ul#browse-classes a {
display: block;
padding-left: 20px;
@ -203,7 +194,9 @@ ul#alpha-browse-individuals li {
ul#alpha-browse-individuals li:first-child {
padding-left: 1px;
}
ul#alpha-browse-individuals li:last-child {
ul#alpha-browse-individuals li:last-child,
ul#vgraph-classes li:last-child,
ul#browse-classes li:last-child {
border-bottom: 0;
}
ul#alpha-browse-individuals a {
@ -258,7 +251,8 @@ li.individual h1.thumb {
font-size: .8em;
line-height: 1;
}
#individuals-in-class span.org {
#individuals-in-class span.org,
#profile-photo-display ul {
display: block;
}
ul.mostSpecificTypes li {

View file

@ -5,49 +5,9 @@
height:18px;
background: url("../../images/checkMark.png") no-repeat left center;
}
table#pageList {
table-layout: auto;
width: 930px;
text-align: left;
margin: 0 auto;
border-collapse: collapse;
empty-cells: show;
caption-side: top;
margin: 20px 0 20px 0;
}
table#pageList caption {
display: none;
}
table#pageList th {
background-color: #F7F9F9;
height: 40px;
color: #064D68;
padding-top: 7px;
border: 1px solid #d9e4ea;
border-bottom: none;
padding-left: 6px;
font-size: .9em;
}
table#pageList th {
text-align: left;
} /*Fix for IE8 and 9, force text in a cell to be aligned to the left*/
th#isMenuPage {
width: 86px;
}
th#iconColumns {
width: 90px;
}
table#pageList td {
vertical-align: top;
padding: .5em;
border: 1px solid #d9e4ea;
font-size: .825em;
padding-top: .5em;
padding-bottom: .5em;
}
table#pageList td a {
word-wrap: break-word;
}
table#pageList tr:nth-child(2n) {
background-color: rgba(200, 200, 180,.25);
}

View file

@ -144,8 +144,3 @@ form#managePage textarea {
margin-bottom: .8em;
width: 65%;
}
.disabledSubmit {
color: #ede ! important;
background-color: #b2d15a ! important;
cursor: default ! important;
}

View file

@ -2,15 +2,12 @@
/* Search form styles */
/* Search form */
.advancedSearchForm .form-button {
margin-top: 1em
}
/* Class and subclass refinement links */
.searchTOC {
margin-bottom: 1.5em;
}
/* Search results */
.advancedSearchForm .form-button,
.searchhits li {
margin-top: 1em;
}

View file

@ -77,12 +77,6 @@
margin-bottom: 5px;
height: 30px;
}
#error-alert img {
float: left;
margin: 0;
padding: 0;
vertical-align: middle;
}
#error-alert p {
padding-left: 35px;
font-size: .9em;

View file

@ -20,6 +20,9 @@
.hidden {
display: none !important;
}
.disabledSubmit {
cursor:default ! important;
}
/* <------ USER FEEDBACK*/
#error-alert {
color: #900;
@ -27,13 +30,15 @@
margin-bottom: 5px;
height: auto;
}
#error-alert img {
#error-alert img,
#confirmation-alert img {
float:left;
margin: 0;
padding: 0;
vertical-align: middle;
}
#error-alert p {
#error-alert p,
#confirmation-alert p {
padding-left: 30px;
font-size: .9em;
line-height: 30px;
@ -47,17 +52,6 @@
margin-bottom: 5px;
height: 30px;
}
#confirmation-alert img {
float: left;
margin: 0;
padding: 0;
vertical-align: middle;
}
#confirmation-alert p {
padding-left: 30px;
font-size: .9em;
line-height: 30px;
}
#flash-message {
background-color: #7285a0;
padding: .5em;
@ -166,12 +160,14 @@ a.close {
ul.dropdown {
position: relative;
}
ul.dropdown li {
ul.dropdown li,
ul.language-dropdown li {
float: left;
zoom: 1;
padding: 0 !important;
}
ul.dropdown li a {
ul.dropdown li a,
ul.language-dropdown li a {
display: block;
font-size: 1.4em;
}
@ -185,14 +181,18 @@ ul.dropdown li#user-menu a {
margin-left:10px;
}
ul.dropdown li#user-menu.hover,
ul.dropdown li#user-menu:hover {
ul.dropdown li#user-menu:hover,
ul.language-dropdown li#language-menu.hover,
ul.language-dropdown li#language-menu:hover {
color: #000 !important;
position: relative;
background: #fff url(../images/arrowDownAccount.gif) right 9px no-repeat;
border-bottom: 1px solid #cdcfcf;
}
ul.dropdown li.hover a,
ul.dropdown li:hover a {
ul.dropdown li:hover a,
ul.language-dropdown li.hover a,
ul.language-dropdown li:hover a {
color: #000 !important;
margin-left:10px;
}
@ -253,15 +253,6 @@ ul.dropdown li:hover > ul {
ul.language-dropdown {
position: relative;
}
ul.language-dropdown li {
float: left;
zoom: 1;
padding: 0 !important;
}
ul.language-dropdown li a {
display: block;
font-size: 1.4em;
}
ul.language-dropdown li#language-menu {
background: url(../images/arrowDownOverAccount.gif) right 9px no-repeat;
min-width:110px;
@ -272,18 +263,6 @@ ul.language-dropdown li#language-menu a {
margin-right: 28px;
margin-left:10px;
}
ul.language-dropdown li#language-menu.hover,
ul.language-dropdown li#language-menu:hover {
color: #000 !important;
position: relative;
background: #fff url(../images/arrowDownAccount.gif) right 9px no-repeat;
border-bottom: 1px solid #cdcfcf;
}
ul.language-dropdown li.hover a,
ul.language-dropdown li:hover a {
color: #000 !important;
margin-left:10px;
}
/* LEVEL TWO */
ul.language-dropdown ul.sub_menu {
font-size: 1.4em;
@ -504,4 +483,40 @@ div .realperson-challenge {
div .realperson-text {
text-align: center;
}
/* TABLE STYLES USED IN ACCOUNTS AND PAGE MANAGEMENT */
table#table-listing {
border-collapse: collapse;
caption-side: top;
empty-cells: show;
margin: 0 auto;
margin: 20px 0 20px 0;
table-layout: auto;
text-align: left;
width: 930px;
}
table#table-listing tr:nth-child(2n) {
background-color: rgba(200, 200, 180,.25);
}
table#table-listing caption {
display: none;
}
table#table-listing th {
background-color: #F7F9F9;
border-bottom: none;
border: 1px solid #d9e4ea;
color: #064D68;
font-size: .9em;
height: 40px;
padding-left: 6px;
padding-top: 7px;
text-align: left;
}
table#table-listing td {
border: 1px solid #d9e4ea;
font-size: .825em;
padding: .5em;
vertical-align: top;
}
table#table-listing td a {
word-wrap: break-word;
}