Template:IMS Infobox/styles.css: Difference between revisions

hw>Mlink-rodrigue
m (1 revision imported)
m (1 revision imported)
(No difference)

Revision as of 13:30, 10 June 2024

/* ########################################
###   Styles for Template:QM_Document   ###
######################################## */
/*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 {
	flex-basis:100%;
	text-align:right;
	margin:0;
	padding:8px 8px 0 0;
}
.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: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: 20%;
}
.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}
/*Infobox-List of assigned standards*/
ul.standardslist {margin: 0.3em 0 0 0em;}