Revision as of 14:27, 6 March 2024 by Demo writer (talk | contribs) (Created page with "→‎######################################## ### Styles for template and form:IMS Document control ### ########################################: →‎Flex container: .smwinfobox-flexcontainer { display:flex; justify-content:space-between; background: white; box-shadow: 1px 2px 6px rgba(59, 59, 59,0.15); border: 1px solid #efefef; flex-wrap:wrap; margin: 0 0 28px 0; padding-bottom:10px; } .smwinfobox-flexcontainer div { flex-basis:50%; } .smwin...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
/* ########################################
###   Styles for template and form:IMS Document control   ###
######################################## */
/*Flex container */ 
.smwinfobox-flexcontainer {
	display:flex;
	justify-content:space-between;
	background: white;
    box-shadow: 1px 2px 6px rgba(59, 59, 59,0.15);
   border: 1px solid #efefef;
    flex-wrap:wrap;
    margin: 0 0 28px 0;
    padding-bottom:10px;
}
.smwinfobox-flexcontainer div {
	flex-basis:50%;
}
.smwinfobox-flexcontainer div.editlink {
	text-align:right;
	margin:0;
	padding:8px 8px 0 0;
	flex-basis:100%;
	font-size:0.85em;
}
.smwinfobox-flexcontainer div.editlink i[class^="icon-"]::before,.smwinfobox-flexcontainer div.editlink i[class*=" icon-"]::before,.smwinfobox-flexcontainer div.editlink i[class^="bs-icon-"]::before,.smwinfobox-flexcontainer div.editlink i[class*=" bs-icon-"]::before {
padding-right:0;
}
.infobox-table {
	margin:0 10px; 
	width:95%;;
	background: white;
	text-align: left;
	font-size: 13px;
}
table.infobox-table tr > th {
	text-align: left;
	background: white;
	padding: 6px;
	border-style: hidden;
	white-space: nowrap;
	vertical-align: top;
	width: 14em;
}
table.infobox-table tr > td {
	padding: 6px;
	background: white;
	border-style: hidden;
	vertical-align: top;
}

/* Variation "classic" without drop-shadow, but with lines  */
.smwinfobox-flexcontainer.classic {
	border:1px solid #dbdbdb;
	box-shadow:none;
}
.classic table.infobox-table tr > th, .classic table.infobox-table tr > td {
	border:0; border-bottom: 1px solid #dbdbdb; padding:4px;
}

/* -bg class can be combined with standard box and with variation "classic" */
.smwinfobox-flexcontainer.bg, .smwinfobox-flexcontainer.bg table.infobox-table tr>th, .smwinfobox-flexcontainer.bg table.infobox-table tr>td 
{
	background:#efefef;
}
/*mobile view*/
@media only screen and (max-width: 1000px)
{
.smwinfobox-flexcontainer {
	flex-wrap:wrap;	
	margin: 0 5px 28px 3px;
}
.smwinfobox-flexcontainer div {
	flex-basis:100%;
}
body .smwinfobox-flexcontainer div.hw-responsive-table-scrollable {
	overflow-x:hidden !important;
}
}

.bs-universalexport-exportexclude {
    background: none;
}
.aligninputbox .mw-inputbox-centered {
    text-align:left;
    margin: 20px 0 40px 0;
}

/*hiding the IMS Infobox in VE-Edit mode*/
.smwinfobox-flexcontainer.ve-ce-mwTransclusionNode  {display:block}
.smwinfobox-flexcontainer.ve-ce-mwTransclusionNode .editlink, .smwinfobox-flexcontainer.ve-ce-mwTransclusionNode .infobox-table{display:none} 
.smwinfobox-flexcontainer.ve-ce-mwTransclusionNode::after {content:"Infobox - please do not delete. This information needs to be updated in forms mode. Don't write above this box"; color:#c14242;} 

/* ####################################
###   Styles for Forms   ###
#################################### */

.formtable td {padding:0.5em 0;}
.formtable th {vertical-align: middle; width: 12em;}
.mw-ui-input {width:auto; padding: 6px;border: 1px solid #a2a9b1; }
.mw-ui-button {line-height:20px; background-color:#36c; color:white; vertical-align:inherit; padding:7px;}
.mw-ui-button:hover {background-color:#447ff5; color:white;}
/* ####################################
###   Styles for Resultstable broadtable   ###
#################################### */
table.wikitable > tr > th, table.wikitable > tr > td, table.wikitable > * > tr > th, table.wikitable > * > tr > td {border: 1px solid #cfcfcf; padding: 0.5em 0.4em;}
th sup {display:none;}
table.wikitable {color: #444;}
table.jquery-tablesorter th.Status {background-image:none}
table td.Status {text-align:center}
table.wikitable {color: #444;}
table.jquery-tablesorter th.Status {background-image:none}
table td.Status {text-align:center}
.smwtable-clean tr > th {
    text-align: left;}
ul.standardslist {margin: 0.3em 0 0;list-style: none;}

/*giving subobjects 0 space */
.subobject {height:0;overflow:hidden;}

/*Forminput width on rollup pages*/
.IMSforminput {display:flow-root; margin-bottom:40px}
.IMSforminput  .oo-ui-textInputWidget {width:25em}

.smwinfobox-flexcontainer .mw-collapsible > div {display: flex;}
.smwinfobox-flexcontainer div.mw-collapsible {flex-basis:100%; }
.bs-collapsible .mw-collapsible-toggle {background:#f1f3f9;font-size:0.9em; padding:2px 1.2em; width:100%;     justify-content: flex-end;}
.bs-collapsible .mw-collapsible-toggle::before {font-family:bootstrap-icons !important; vertical-align:middle; margin-right:8px}
.bs-collapsible .mw-collapsible-toggle[aria-expanded="false"]::before { content:"\F285";}
.bs-collapsible .mw-collapsible-toggle[aria-expanded="true"]::before { content:"\F282";}
.bs-collapsible .mw-collapsible-content {width:100%}

/*hiding the IMS Infobox in VE-Edit mode*/
#doccontrol-container.ve-ce-leafNode::before {content:"Dokumentenlenkungsbox - bitte nicht löschen! Diese Information wird über Formular gepflegt. Keine Inhalte oberhalb dieser Box einfügen."; background:  #f9ded8; padding:4px; display:block}
#doccontrol-container.ve-ce-leafNode .bs-universalexport-exportexclude, #doccontrol-container.ve-ce-leafNode .bs-collapsible, #doccontrol-container.ve-ce-leafNode .smwinfobox-flexcontainer   {display:none}

/*display of standards*/
.smwinfobox-flexcontainer .standardsoutput {margin-bottom:0.6em}
/*display of work instructions*/
.smwinfobox-flexcontainer .aa-output ul {list-style: none; margin-left: 0;}
.smwinfobox-flexcontainer .aa-output li {margin-bottom:0.6em}

/*focus states*/
.bs-collapsible .mw-collapsible-toggle:focus, .mw-body-content .smwinfobox a:focus {outline: 2px solid #484e86!important}