/* Dashboard */ #dashboard { overflow-x: auto; } #dashboard .col { float:left; width:50%; } * html #dashboard .col { position:relative; } #dashboard .boite { border:1px solid #d3d3d3; border-radius:4px; margin:3px 0 3px 3px; padding:5px; } #dashboard .boite h4 { margin: 0 0 5px 0; border-bottom: 1px dotted #ababab; font-size: 14px; } #dashboard #rechercheform { float:none; border:0 none; background:none; } #dashboard .datetableau { text-align:center; font-size:18px; font-weight:bold; } #dashboard ul.menu-friendly { list-style-image:none; list-style-type: none; padding-left: 0; } #dashboard ul.menu-friendly li { float:left; width: 30%; display: block; border-style: solid; border-color: #ffffff; border-width: 1px 2px 2px 1px; } #dashboard ul.menu-friendly li.col2, #dashboard ul.menu-friendly li.col5, #dashboard ul.menu-friendly li.col8 { clear: right; } #dashboard ul.menu-friendly li.col0, #dashboard ul.menu-friendly li.col3, #dashboard ul.menu-friendly li.col6 { clear: left; } #dashboard ul.menu-friendly li a:hover, #dashboard ul.menu-friendly li:hover { border-color: #ababab; background-color: #f3f3f3; } * html #dashboard ul.menu-friendly li { height: 110px; } *+html #dashboard ul.menu-friendly li { height: 115px; } * html #dashboard ul.menu-friendly li a { border: 1px solid #ffffff; border-right: 2px; border-bottom: 2px; height: 110px; } * html #dashboard ul.menu-friendly li a:hover { border: 1px solid #ababab; border-right: 2px; border-bottom: 2px; } #dashboard ul.menu-friendly li a { display: block; padding: 5px; } #dashboard ul.menu-friendly li a:hover { text-decoration: none; } #dashboard ul.menu-friendly li span.link { display: block; font-weight: bold; } #dashboard ul.menu-friendly li span.description { color: #ababab; display: block; } #dashboard span.description { color: #ababab; } #dashboard .formulaire div.field { margin-bottom: 5px; margin-top: 5px; } #dashboard .widget-header-move { cursor: move; } /* #dashboard #info+[class~="col"] { display: flex; gap: 10px; } */ /* #dashboard #info+[class*="col"] { display: flex; gap: 20px; } */ #dashboard .col1 .column, #dashboard .col2 .column { width: calc(100%/3); } @for $i from 3 through 12 { #dashboard .col#{$i} .column { /* width: calc(100%/$i); */ width: 100%; } } .both { display: none; } // WIDGETS #dashboard #info~[class*="col"]{ display: grid; grid-template-columns: 1fr; grid-template-rows:auto 1fr; gap: 1em; [id^="widget_"].widget.ui-widget.ui-widget-content { border: none; box-shadow: 0 2px 6px 0 rgba(0, 0, 0, .15); padding: 1em; margin-bottom: 20px; border-radius: 5px; background: $blanc; .widget-header { display: flex; align-items: center; gap: .5em; background: none; border: none; font-size: 1.1em; margin-bottom: 1em; color: $brandDark; } .widget-header .ui-icon { cursor: pointer; order: 3; align-self: center; &:first-of-type{ margin-left: auto; } } .widget-content { .formEntete { border: none; } h4 { margin-bottom: .5em; } } #widget_recherche_dossier_form, [id*="recherche"]{ .formEntete { padding: 10px 0; } .field.field-type-text { position: relative; margin: 0; .form-libelle { position: absolute; top: 50%; left: .5em; transform: translateY(-50%); } .form-content { grid-column: 1 / -1; input{ padding-left: 2.5em; } } } .field.field-type-select { margin-top: 1.5em; } } .widget-footer { margin-top: 1.5em; a { border: 2px solid $brandColor; color: $brandColor; padding: .2em .4em; border-radius: 8px; transition: all 0.2s; font-weight: 600; &:hover { color: $brandDark; border-color: $brandDark; } } } } @media (min-width: 1100px) { grid-template-columns: repeat(2,1fr); } @media (min-width: 1600px) { grid-template-columns: repeat(3, 1fr); } } .list-group-item.list-group-item-action { padding: 1em 0; display: block; + .list-group-item.list-group-item-action { border-top: solid 1px #ddd; } } // .widget_suivi_instruction_parametrable .widget-content { .widget-content { p.datd-num { display: inline-block; position: relative; max-width: 21ch; max-height: 2em; text-overflow: ellipsis; overflow: hidden; line-height: normal; &:before { content: " "; display: none; } } /* @media screen and (min-width: 1190px) { p.datd-num { width: 50%; } .firstcol { display: grid; } } */ }