@import "common.less"; /* * editforms.css - stylesheet for edit forms. * Used when editing content - Artikel and Nyhed. */ /******************************************************************************************************************************************** * * Styles used in combination with Field Group module: * With the Field Group module, wrap form elements in a DIV group with a specific style and then specify settings that combines the group style * with form element id's. * This means the form elements will only behave differently when in the DIV group context. If removed they will behave normally. * *********************************************************************************************************************************************/ /* Used for hiding fields from editing */ .group-hidden-field { display: none !important; } .ed-clear { clear: both; } .ed-threecolumn { /* With the Field Group module, wrap form elements in a DIV group with this style and then specify settings below */ } .ed-twocolumn { /* With the Field Group module, wrap form elements in a DIV group with this style and then specify settings below */ } .ed-onecolumn { /* With the Field Group module, wrap form elements in a DIV group with this style and then specify settings below */ clear: both; } /** * Content-type Artikel */ .ed-onecolumn #edit-field-faglige-maal, .ed-onecolumn #edit-field-modulkode { width: 100%; margin-right: 10px; } .ed-onecolumn #field-modulkode-values, .ed-onecolumn #field-relateret-intern-values, .ed-onecolumn #field-ekstern-ressource-manchet-values, .ed-onecolumn #field-relaterede-filer-values, .ed-onecolumn #field-del-af1-values, .ed-onecolumn .field-name-field-ophavsret .text-full.form-text, .ed-onecolumn .field-name-field-media-tags, .ed-onecolumn .field-name-field-file-image-alt-text .text-full.form-text, .ed-onecolumn .field-name-field-file-image-title-text .text-full.form-text { width:100%; } #edit-group_saerligt_for_gsk #edit-field-faglige-maal-und { width: 68%; } .group_saerligt_for_gsk_title h2 { font-size: @FSbigger; // font-size: 1.5em; } .ed-placering-brief h3 a.field-group-format-title { font-weight: normal; color: black; } .ed-placering-brief h3 a.field-group-format-title .ed-placering-brief-link { font-weight: bold; color: #15466B; } .ed-twocolumn div.form-item-title, .ed-twocolumn #edit-field-manchet, .ed-twocolumn #edit-field-indholdstype, .ed-twocolumn #edit-field-artikelbillede, .ed-twocolumn #edit-field-billede, .ed-twocolumn #edit-field-sprog, .ed-twocolumn #edit-field-rettigheder, .ed-twocolumn #edit-field-primaert-fag, .ed-twocolumn #edit-field-primaert-tema, .ed-twocolumn #edit-field-adgang-fag, .ed-twocolumn #edit-field-omraade, .ed-twocolumn #edit-field-maalgruppe, .ed-twocolumn #edit-field-fag1, .ed-twocolumn #edit-field-tema, .ed-twocolumn #edit-field-relateret-intern, .ed-twocolumn #edit-field-indgang, .ed-twocolumn .field-name-field-m-kun-bruges-i-disse-fag, .ed-twocolumn .field-name-field-m-kun-bruges-i-disse-temae, .ed-twocolumn .field-name-field-copyright, .ed-twocolumn .field-name-field-ophavsret, .ed-twocolumn .field-name-field-licens { float: left; width: 48%; margin-right: 10px; } .ed-twocolumn #edit-field-galleri, .ed-twocolumn #edit-field-relaterede-filer { float: left; width: 50%; } .ed-twocolumn #edit-field-niveau, .ed-twocolumn #edit-field-svaerhedsgrad { float:left; width: 30%; margin-right:10px; margin-top:-12px; } .ed-twocolumn #field-galleri-values, .ed-twocolumn #field-relaterede-filer-values, .ed-twocolumn #edit-field-rettigheder-und, .ed-twocolumn div.field-name-field-copyright select.form-select, .ed-twocolumn .field-name-field-licens select.form-select, .ed-onecolumn .field-name-field-filename .form-text, .ed-twocolumn .field-name-field-ophavsret input, .ed-onecolumn .field-name-field-media-tags input { width: 100%; } .ed-twocolumn #edit-field-manchet, { /* special case - we want title and manchet to be on the left and artikelbillede to the right of these */ clear: left; } .ed-threecolumn #edit-field-omraade, .ed-threecolumn #edit-field-maalgruppe, .ed-threecolumn #edit-field-fag1, .ed-threecolumn #edit-field-niveau, .ed-threecolumn #edit-field-svaerhedsgrad, .ed-threecolumn #edit-field-indgang, .ed-threecolumn #edit-field-tema, .ed-threecolumn .field-name-field-fag1, .ed-threecolumn .field-name-field-omraade, .ed-threecolumn .field-name-field-tema { float: left; width: 33%; } #node_artikel_form_group_placering #edit-field-indgang, .ed-threecolumn #edit-field-fag1, .ed-twocolumn #edit-field-omraade, .ed-twocolumn #edit-field-svaerhedsgrad, .ed-twocolumn #edit-field-tema { clear: both; } /************************************************* * * Modifications of standard forms * *************************************************/ /* * Standard link field normally title/url - show this as url/title instead. */ div.link-field-title { float:right; } div.link-field-url { float:left; } #edit-field-tags-und { width: 100%; } .field-multiple-table label { } /* Skrivebord */ .section-skrivebord { .view-display-id-block tr { background: none; border: none; } .view-display-id-block td { padding-right: 10px; } .view-display-id-block table, .view-display-id-block p, .view-display-id-block .more-link, .view-display-id-block_1 form, .view-display-id-block_2 form, .block-privatemsg a { margin-left: 10px; margin-right: 10px; } } /******************************************************************** * * Pixelfnidder * ********************************************************************/ #edit-field-artikelbillede-und-0 { /* margin-top: 25px; */ margin-left: 25px; } #edit-group_relationer .tabledrag-toggle-weight-wrapper, #edit-group_indhold .tabledrag-toggle-weight-wrapper, .ctools-modal-media-file-edit { display: none !important; } /* #edit-field-artikelbillede-und-0 .preview.launcher { margin-left: 20px; } */