/* ---- Colors ---- */ :root { --light-color: #d6edf6; --medium-color: #7fcadb; --dark-color: #0097c4; --light-grey: #ccc; --medium-grey: #999; --dark-grey: #4d4d4d; --error-color: #f59a67; --contrasted-text-color: #fff; font-family: sans-serif; } /* ---- Main interface elements ---- */ #main { box-sizing: border-box; width: 100vw; font-family: 'Lucida Grande', Verdana, Arial, Sans-Serif; border: none; margin: 0; } #left { width: 165px; background-color: white; } #logo { padding: 32px 5px 15px 5px; border: none; margin-top: 6px; margin-left: 3px; background: transparent; } #status { background-color: transparent; vertical-align: baseline; } #LSsession_topDn_form { margin: 0; color: var(--dark-color); font-weight: bold; } /* ---- Login form --- */ .loginform input, .loginform select, .recoverpasswordform input, .recoverpasswordform select { width: 13em!important; box-sizing: border-box; } .loginform input[type=submit], .recoverpasswordform input[type=submit] { margin: 1em 0; padding: 0.2em; background-color: var(--dark-color); border: none; color: white; cursor: pointer; } /* ---- Menu ---- */ ul.menu { padding: 0; list-style-type: none; list-style-image: none; border-top: 1px dotted var(--medium-color); } li.menu { font-weight: bold; font-size: 0.9em; } li.menu { border-bottom: 1px dotted var(--medium-color); line-height: 20px; padding: 2px 0 3px 0; } li.menu a { transition: all 0.15s linear; } /* ---- Objects list ---- */ @media (min-width: 1024px) { table.LSobject-list, table.LStable { width: 98%; border: none; margin-top: 1.8em; } } th.LSobject-list, table.LStable th { font-weight: bold; font-size: 0.9em; border: none; background-color: transparent; } td.LSobject-list, tr.LSobject-list, table.LStable tbody td, table.LStable th { border: none; transition: all 0.25s linear; } /* ---- LSsmoothbox / LSconfirmbox ---- */ #win-LSsmoothbox, #box-LSconfirmBox, #LSlang_select { border: 1px solid var(--dark-grey); border-radius: 0px; } #box-LSconfirmBox, #LSlang_select { background-color: white; padding: 0.5em; } #title-LSconfirmBox, #text-LSconfirmBox { color: var(--dark-grey); } #btnsBox-LSconfirmBox { margin: 0.3em; } #closeBtn-LSsmoothbox, #closeBtn-LSconfirmBox { background: transparent; top: 0.5rem; right: 0.5rem; } #closeBtn-LSsmoothbox:after, #closeBtn-LSconfirmBox:after { background: rgba(255, 255, 255, 0.8); position: relative; top: 0; left: -0.3rem; font-size: 1.2rem; content: 'x'; height: 1rem; width: 1rem; color: var(--medium-grey); padding: 0 0.2rem; border: none; } #closeBtn-LSsmoothbox:hover:before, #closeBtn-LSsmoothbox:hover:after, #closeBtn-LSconfirmBox:hover:before, #closeBtn-LSconfirmBox:hover:after { color: var(--dark-grey); } #closeBtn-LSconfirmBox { top: 0; right: 0; } #validBtn-LSsmoothbox, .btn-LSconfirmBox { border-radius: 0px; background-color: var(--medium-grey); border-radius: 0; color: var(--contrasted-text-color); padding: 2px 15px; font-weight: normal; } #validBtn-LSsmoothbox { bottom: 0.5em; right: 0.5em; } #validBtn-LSsmoothbox:hover, .btn-LSconfirmBox:hover { background-color: var(--dark-grey); } /* ---- LSform ---- */ @media (min-width: 1024px) { .LSform dt { width: 24vw; } dd.LSform { margin-left: 24vw; } div.LSformElement_image { width: 10vw; margin: 1vw; } img.LSformElement_image { width: 100%; margin: 0; border: none; } ul.LSformElement_image_actions { margin-top: 0; margin-left: calc(10vw - 16px - 0.5vw); border-radius: 3px; padding: 2px; } .LSform input[type=text], .LSform input[type=password], .LSform select, .LSform textarea, ul.LSformElement_text_autocomplete, ul.LSformElement_select_object_edit, div.LSformElement_wysiwyg_container, ul.LSformElement_jsonCompositeAttribute:not(.LSformElement_jsonCompositeAttribute_fullWidth), ul.LSformElement_supannCompositeAttribute, dd.LSform-errors, input.LSformElement_supannLabeledValue_search, ul.LSformElement_supannLabeledValue { width: 32vw; } select.LSformElement_valueWithUnit { width: auto; } ul.LSformElement_jsonCompositeAttribute div label, ul.LSformElement_supannCompositeAttribute p label { width: 11rem; } ul.LSformElement_jsonCompositeAttribute_fullWidth div label { width: 16rem; } ul.LSformElement_jsonCompositeAttribute_fullWidth div ul, ul.LSformElement_jsonCompositeAttribute_fullWidth div select { width: calc(100% - 16rem - 1em); } ul.LSformElement_jsonCompositeAttribute_fullWidth div ul li { width: 100%; } ul.LSformElement_jsonCompositeAttribute_fullWidth div ul li input[type=text] { width: 100%; } ul.LSformElement_jsonCompositeAttribute:not(.LSformElement_jsonCompositeAttribute_fullWidth) div input[type=text], ul.LSformElement_jsonCompositeAttribute:not(.LSformElement_jsonCompositeAttribute_fullWidth) div select, ul.LSformElement_supannCompositeAttribute p input[type=text], ul.LSformElement_supannCompositeAttribute p select { width: calc(32vw - 11rem - 16px); } /* LSformElement_supannCompositeAttribute - Make date input smaller to leave space for buttons */ ul.LSformElement_supannCompositeAttribute p input[type=text].LSformElement_date { width: calc(32vw - 11rem - 16px - 40px); } .LSform select.LSformElement_labeledValue { width: 8em; } .LSform input.LSformElement_labeledValue { width: calc(32vw - 8em); } .LSform select.LSformElement_supannLabeledValue_label, .LSform input.LSformElement_supannLabeledValue_label { width: 10rem; } .LSform input.LSformElement_supannLabeledValue_value, textarea.LSformElement_supannLabeledValue_value { width: calc(32vw - 14rem); } input.LSformElement_select_object_searchAdd, ul.LSformElement_select_object_searchAdd { width: 17vw!important; box-sizing: border-box; } } li.LSform_layout_active, ul.LSselect_selectable_object_types li, ul.LSaccessRightsMatrixView_tabs li { border-radius: 0px; border: none; } .LSform input[type=submit] { border: none; width: 12rem; } div.LSformElement_image { background: white; border: 1px solid; padding: 0; border-radius: 0; -moz-border-radius: 0; } img.LSformElement_image { width: 100%; margin: 0; border: none; } ul.LSformElement_image_actions { background-color: rgba(255, 255, 255, 0.5); } /* * Colors */ /* ---- Medium ---- */ li.LSform_layout_active, tr.LSobject-list:hover, table.LStable tr:hover, table.LStable tr.bis:hover, ul.LSaccessRightsMatrixView_tabs li, ul.LSselect_selectable_object_types li { background-color: var(--medium-color); } div.loginform, div.recoverpasswordform, .loginform input[type='text'], .loginform input[type='password'], .recoverpasswordform input[type='text'], .recoverpasswordform input[type='password'], li.LSview-actions, div.LSform_layout, h1, form.LSglobal_search, div.LSformElement_image { border-color: var(--medium-color); } @media (max-width: 1024px) { ul.LSview-actions-dropdown-opened li.LSview-actions:first-of-type { border-color: var(--medium-color); } } h1, li.LSview-actions, li.menu a:hover { color: var(--medium-color); } /* ---- Light ---- */ ul.LSformElement_select_object_edit, li.LSformElement_select_object, table.LSobject-list, table.LStable, td.LSobject-list, table.LStable td, div.LSinfosBox, select#LSview_search_predefinedFilter { border-color: var(--light-color); } tr.LSobject-list-bis, table.LStable tr.bis, .LSform input[type=text], .LSform input[type=password], .LSform textarea, li.LSformElement_select_object_addBtn, div.LSinfosBox, dl.LSmail input, dl.LSmail textarea { background-color: var(--light-color); } #LSsession_topDn, #LSsession_ldapserver, #LSselect_topDn, .LSform select, #LSform_listAvailableDataEntryForm, select#LSview_search_predefinedFilter, select#LSmail_mail { appearance: none; -webkit-appearance: none; -moz-appearance: none; background: var(--light-color) url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' width='4' height='5' viewBox='0 0 4 5'%3e%3cpath fill='%23343a40' d='M2 0L0 2h4zm0 5L0 3h4z'/%3e%3c/svg%3e") no-repeat right 5px center/8px 10px; border: 1px solid var(--medium-color); padding-right: 15px; } #LSsession_topDn, #LSsession_ldapserver, #LSselect_topDn { background: white url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' width='4' height='5' viewBox='0 0 4 5'%3e%3cpath fill='%23343a40' d='M2 0L0 2h4zm0 5L0 3h4z'/%3e%3c/svg%3e") no-repeat right 5px center/8px 10px; } /* ---- Dark ---- */ li.LSform_layout_current, .LSform input[type=submit], input[type='submit'].LSview_search, button, ul.LSaccessRightsMatrixView_tabs li.LSaccessRightsMatrixView_active_tab, ul.LSselect_selectable_object_types li.current { background-color: var(--dark-color); } li.menu a, a.menu, h1 { color: var(--dark-color); } input[type='submit'].LSview_search, input[type='text'].LSview_search, button, div.LSaccessRightsMatrixView_tab_content, ul.LSselect_selectable_object_types { border-color: var(--dark-color); } /* ---- Light grey ---- */ .LSform input[type=text], .LSform input[type=password], .LSform textarea, .LSform select, dl.LSmail input, dl.LSmail textarea, select#LSmail_mail { border-color: var(--light-grey); } /* ---- Medium grey ---- */ #recoverpassword_back, a.LSsession_recoverPassword, a.LSobject-list-page, a.LSobject-list-nb-by-page, h2 { color: var(--medium-grey); } /* ---- Dark grey ---- */ body, input, select, textarea, #status, th.LSobject-list, table.LStable th, th.LSobject-list a, table.LStable a, .LSform dt, dl.LSmail dt, a, div.LSinfosBox, strong.LSobject-list-page, strong.LSobject-list-nb-by-page, a.LSobject-list-page:hover, a.LSobject-list-nb-by-page:hover, ul.LSformElement_jsonCompositeAttribute div label, p.LSform_listAvailableDataEntryForm, dd.LSform, a.LSview-actions, a.LSobject-list, a.LSrelation, a.LSformElement_select_object, div.LSformElement_password_confirm label { color: var(--dark-grey); } /* ---- Contrasted grey ---- */ tr.LSobject-list:hover, table.LStable tr.bis:hover, tr.LSobject-list:hover a.LSobject-list, table.LStable tbody tr:hover a, .LSform input[type=submit], input[type='submit'].LSview_search, button, li.LSform_layout_current { color: var(--contrasted-text-color); } /* ---- Errors ---- */ div.LSerror { background-color: var(--error-color); } li.LSform_layout_errors { background-color: var(--error-color); } dt.LSform-errors { color: var(--error-color); } /* ---- Custom checkbox/radiobox ---- */ input[type=checkbox], input[type=radio] { background-color: white; appearance: none; -moz-appearance: none; -webkit-appearance: none; border: 1px solid var(--dark-color); width: 1em; height: 1em; font-size: 1em; display: inline-block; } input[type=radio] { border-radius: 0.5em; } input[type=checkbox]:before { display: block; width: 100%; height: 100%; font-size: 0.8em; text-align: center; color: var(--dark-color); content: "\2713"; visibility: hidden; } input[type=checkbox]:checked:before { visibility: visible; } input[type=radio]:checked { background-color: var(--dark-color); } /* --- Error page --- */ #error pre { color: var(--dark-grey); background-color: #eee; margin-top: 4em; padding: 0.5em; border-color: var(--medium-grey); border-radius: 0; } #error pre em { border-radius: 0; background-color: transparent; padding: .3rem; margin: 0.2rem; margin-top: -2.5rem; margin-left: -.7rem; margin-bottom: 1.3rem; } @media (max-width: 1024px) { table.LSobject-list, table.LStable { width: 98vw; } }