Skip to content

Commit

Permalink
Merge pull request #329 from UNC-Libraries/default-templates
Browse files Browse the repository at this point in the history
Add templates to main CDR xml editor
  • Loading branch information
daines committed Jul 28, 2015
2 parents 07d2899 + cda831a commit 3157bcf
Show file tree
Hide file tree
Showing 10 changed files with 2,875 additions and 750 deletions.
61 changes: 61 additions & 0 deletions access/src/main/external/static/css/admin/admin_forms.css
Original file line number Diff line number Diff line change
Expand Up @@ -172,3 +172,64 @@
#edit_label_form label {
width: 135px;
}

/** Edit Description */
#xml_editor {
font-family: Trebuchet MS, Tahoma, Verdana, Arial, sans-serif;
font-size: 14px;
background-color: #fff;
}

#xml_editor .xml_node li {
text-indent: 0px;
margin-left: 0px;
}

.templating {
margin-left: 0;
font-size: 15px;
}

.template-form .ui-dialog-titlebar {
margin: 0;
}

.template-form.ui-dialog {
padding: 0;
}

.template-form .fa {
font-size: 37px;
float: left;
margin-right: 10px;
margin-bottom: 5px;
vertical-align: top;
}

.template-form :focus {
outline: 0;
}

.template-form .ui-dialog-buttonpane {
margin: 0;
}

.ui-dialog.template-form .ui-button {
margin: 0px;
background: transparent linear-gradient(to bottom, rgb(114, 170, 195), rgb(62, 141, 176)) repeat scroll 0% 0%;
border: medium none #3E8DB0;
color: white;
padding: 4px 8px;
border-radius: 0;
margin-right: 6px;
font-size: 14px;
}

.template-form .ui-button-text-only .ui-button-text {
padding: 0;
}

.template-form .ui-dialog-title {
font-size: 18px;
margin: 0;
}
7 changes: 0 additions & 7 deletions access/src/main/external/static/css/admin/cdradmin.css
Original file line number Diff line number Diff line change
Expand Up @@ -408,13 +408,6 @@ h1 {
border-bottom: 1px solid #DFEBF1;
}

/* Description editor */
#xml_editor {
font-family: Trebuchet MS, Tahoma, Verdana, Arial, sans-serif;
font-size: 14px;
background-color: #fff;
}

/* Invalid vocab */
.vocab_results table {
width: 100%;
Expand Down
Loading

0 comments on commit 3157bcf

Please sign in to comment.