moodle/mod/data/styles.css
2012-11-28 14:07:43 +08:00

69 lines
2.3 KiB
CSS

.path-mod-data .fieldadd,
.path-mod-data .sortdefault,
.path-mod-data .defaulttemplate,
#page-mod-data-view .datapreferences,
#page-mod-data-preset .presetmapping{text-align:center;}
.path-mod-data-field .c0,
#page-mod-data-view #sortsearch .c0 {text-align: right;}
#page-mod-data-view .approve img.icon {width:34px;height:34px;}
#page-mod-data-view img.list_picture {
border:0px;
}
#page-mod-data-view div.search_none {
display: none;
}
#page-mod-data-view div.search_inline,
#page-mod-data-view form#latlongfieldbrowse {
display: inline;
}
#page-mod-data-view div#data_adv_form {
margin-left:auto;
margin-right:auto;
}
#page-mod-data-edit .basefieldinput {
width:300px;
}
/** Styles for preset.php **/
#page-mod-data-preset .presetmapping table {text-align: left;margin-left: auto;margin-right: auto;}
#page-mod-data-preset .overwritesettings {margin-bottom: 1em;}
#page-mod-data-preset table.presets {margin-left: auto;margin-right: auto;}
/** Styles for field.php **/
.path-mod-data-field .fieldadd,
.path-mod-data-field .sortdefault {margin:1em 0;}
.path-mod-data-field .fieldadd select,
.path-mod-data-field .sortdefault select {margin-left: 1em;}
.path-mod-data-field .fieldname,
.path-mod-data-field .fielddescription {width:300px;}
.path-mod-data-field textarea.optionstextarea {
width:300px;
height:150px;
}
.path-mod-data-field input.textareafieldsize {
width:50px;
}
.path-mod-data-field input.picturefieldsize {
width:70px;
}
.path-mod-data .action-icon img.portfolio-add-icon { margin-left: 0; }
/** UI Usability Hacks **/
#page-mod-data-export #notice span {padding:0 10px;}
#page-mod-data-edit input[id*="url"] {text-align:left;direction:ltr;}
.mod-data-default-template td {vertical-align:top;}
.mod-data-default-template .template-field {text-align:right;}
.mod-data-default-template .template-token {text-align:left;}
.mod-data-default-template .controls {text-align:center;}
.mod-data-default-template searchcontrols {text-align:right;}
#page-mod-data-templates td.save_template,
#page-mod-data-templates .template_heading {
text-align:center;
}
.dir-rtl .mod-data-default-template .template-field {text-align:left;}
.dir-rtl .mod-data-default-template .template-token {text-align:right;}
.dir-rtl .mod-data-default-template searchcontrols {text-align:left;}