diff --git a/css/scss/element/_element.scss b/css/scss/element/_element.scss deleted file mode 100644 index 0fcf917d..00000000 --- a/css/scss/element/_element.scss +++ /dev/null @@ -1,2 +0,0 @@ -@import "media"; -@import "patchnote"; diff --git a/css/scss/modal/_apte-inapte.scss b/css/scss/modal/_apte-inapte.scss deleted file mode 100644 index a1318ff5..00000000 --- a/css/scss/modal/_apte-inapte.scss +++ /dev/null @@ -1,50 +0,0 @@ -.confirmquestions .tagtr { - float: left; - width: 25%; - - &:first-child { - width: 100%; - margin-bottom: 15px; - } -} - -.confirmquestions .answer { - display: inline-block; - width: 30px; - height: 30px; - line-height: 30px; - margin: 0 4px; - text-align: center; - border-radius: 50%; - background: #fff; - border: 1px solid rgba(0,0,0,0.4); - transition: all 0.2s ease-out; - - &:hover { - cursor: pointer; - } - - &[value="1"] { - color: $color__green; - } - &[value="2"] { - color: $color__red; - } - &[value="3"] { - color: $color__yellow; - } - &[value="4"] { - color: rgba(0,0,0,0.7); - font-weight: 700; - } -} -.confirmquestions input[readonly] { - border: 0; - width: 100%; - - pointer-events: none; - - &:hover { - cursor: default; - } -} diff --git a/css/scss/modal/_modal.scss b/css/scss/modal/_modal.scss deleted file mode 100644 index d76fa675..00000000 --- a/css/scss/modal/_modal.scss +++ /dev/null @@ -1,2 +0,0 @@ -@import "photo"; -@import "apte-inapte"; diff --git a/css/scss/module/_module.scss b/css/scss/module/_module.scss index 27e4e3f2..c0b063f0 100644 --- a/css/scss/module/_module.scss +++ b/css/scss/module/_module.scss @@ -8,3 +8,5 @@ @import "notice/notice"; @import "form/form"; @import "pagination/pagination"; +@import "patchnote/patchnote"; +@import "medias/medias"; diff --git a/css/scss/element/_media.scss b/css/scss/module/medias/_actions.scss similarity index 100% rename from css/scss/element/_media.scss rename to css/scss/module/medias/_actions.scss diff --git a/css/scss/module/medias/_medias.scss b/css/scss/module/medias/_medias.scss new file mode 100644 index 00000000..1096b364 --- /dev/null +++ b/css/scss/module/medias/_medias.scss @@ -0,0 +1,2 @@ +@import "actions"; +@import "photo"; diff --git a/css/scss/modal/_photo.scss b/css/scss/module/medias/_photo.scss similarity index 100% rename from css/scss/modal/_photo.scss rename to css/scss/module/medias/_photo.scss diff --git a/css/scss/element/index.php b/css/scss/module/medias/index.php similarity index 100% rename from css/scss/element/index.php rename to css/scss/module/medias/index.php diff --git a/css/scss/element/_patchnote.scss b/css/scss/module/patchnote/_patchnote.scss similarity index 100% rename from css/scss/element/_patchnote.scss rename to css/scss/module/patchnote/_patchnote.scss diff --git a/css/scss/modal/index.php b/css/scss/module/patchnote/index.php similarity index 100% rename from css/scss/modal/index.php rename to css/scss/module/patchnote/index.php diff --git a/css/scss/page/_control-medias.scss b/css/scss/page/_control-medias.scss deleted file mode 100644 index c4bf4b27..00000000 --- a/css/scss/page/_control-medias.scss +++ /dev/null @@ -1,37 +0,0 @@ -.control-list-medias { - .question-section { - display: block; - margin-bottom: 20px; - - &::after { - display: block; - content: ''; - clear: both; - } - } - .question-ref { - font-weight: 800; - display: block; - clear: both; - } - - .media-container { - display: block; - float: left; - margin-right: 10px; - margin-bottom: 10px; - - a { - transition: all 0.2s ease-out; - - &:hover { - opacity: 0.8; - } - } - .photo { - width: 100%; - height: 100%; - object-fit: cover; - } - } -} diff --git a/css/scss/page/_control.scss b/css/scss/page/_control.scss deleted file mode 100644 index 57cc75fb..00000000 --- a/css/scss/page/_control.scss +++ /dev/null @@ -1,152 +0,0 @@ -.control-audit { - * { - box-sizing: border-box; - } - - &.multiselect { - margin-top: -60px; - - > .wpeo-table { - background: none !important; - } - .table-cell { - padding-top: 0; - } - } - - .wpeo-table.table-flex .table-row:not(.table-header):nth-of-type(odd) { - background: none; - } - .table-cell { - margin-top: 0 !important; - } - > .wpeo-table { - border-bottom: 1px solid rgba(0,0,0,0.2); - - &:nth-of-type(odd) { - //background: rgba(0,0,0,0.1); - //background: rgba(155,117,166,0.3); - background: rgba(38,60,92,0.15); - } - - .cell-photo-check { - text-align: right; - - @media ( max-width: $media__small ) { - text-align: center; - } - } - .question-photo-check { - margin: 0 4px; - display: inline-block; - position: relative; - - img { - display: block; - margin: 0; - width: 200px; - height: 200px; - background-size: cover; - } - i { - position: absolute; - bottom: 10px; - right: 10px; - font-size: 35px; - } - - &.ko i { - color: $color__red; - } - &.ok i { - color: $color__green; - } - } - - .photo { - margin: 0 4px; - - &.photo-ok { - border: 2px solid $color__green; - } - &.photo-ko { - border: 2px solid $color__red; - } - } - - .linked-medias { - display: flex; - gap: 0 10px; - flex-wrap: wrap; - } - - .answer { - display: inline-block; - width: 50px; - height: 50px; - line-height: 50px; - font-size: 18px; - margin: 0 4px; - text-align: center; - border-radius: 50%; - background: #fff; - border: 1px solid rgba(0,0,0,0.4); - transition: all 0.2s ease-out; - - &:hover { - cursor: pointer; - } - - &[value="1"] { - color: $color__green; - - &.active { - background: $color__green; - } - } - &[value="2"] { - color: $color__red; - - &.active { - background: $color__red; - } - } - &[value="3"] { - color: $color__yellow; - - &.active { - background: $color__yellow; - } - } - &[value="4"] { - color: rgba(0,0,0,0.7); - font-weight: 700; - - &.active { - background: rgba(0,0,0,0.7); - } - } - &.active { - color: #fff; - //border-color: $color__secondary; - //box-shadow: 0 0 0 2px $color__secondary; - } - } - - .question-comment-container { - margin-top: 10px; - - .question-ref { - font-size: 13px; - font-weight: 700; - } - .question-comment { - width: 100%; - background: #fff; - border: 1px solid rgba(0,0,0,0.2); - padding: 1em 1.4em; - } - } - - } -} diff --git a/css/scss/page/_page.scss b/css/scss/page/_page.scss deleted file mode 100644 index 1dc42ee5..00000000 --- a/css/scss/page/_page.scss +++ /dev/null @@ -1,4 +0,0 @@ -@import "control"; -@import "control-medias"; - -@import "question-add"; diff --git a/css/scss/page/_question-add.scss b/css/scss/page/_question-add.scss deleted file mode 100644 index e1943a1f..00000000 --- a/css/scss/page/_question-add.scss +++ /dev/null @@ -1,18 +0,0 @@ -.question-table { - .linked-medias-list { - display: flex; - gap: 10px; - height: auto !important; - - @media ( max-width: 500px ) { - flex-wrap: wrap; - } - } -} - -div.tabBar table.border.question-table tr.linked-medias, -div.tabBar table.border.question-table tr.linked-medias .linked-medias-list { - @media ( max-width: 500px ) { - height: auto !important; - } -} diff --git a/css/scss/page/index.php b/css/scss/page/index.php deleted file mode 100644 index cd6990e2..00000000 --- a/css/scss/page/index.php +++ /dev/null @@ -1,2 +0,0 @@ -'; else $return .= ''; } - $return .= ''; + $return .= ''; if ($showfilename) $return .= '
' . $viewfilename; } @@ -283,7 +283,7 @@ function saturne_show_medias_linked($modulepart = 'ecm', $sdir, $size = 0, $nbma if ($urladvanced) $return .= '
'; else $return .= ''; } - $return .= ''; + $return .= ''; if ($showfilename) $return .= '
' . $viewfilename; }