Files
questionnaire/public/stylevb.css

1943 lines
37 KiB
CSS

/* DEBUG */
:root {
/* --debug_textarea: transparent; */
--debug_textarea: #0000002d;
/* --debug_display: display: none; */
/* --debug_display: display: block; */
}
div.code-toolbar pre {
position: relative;
min-height: 120px;
}
pre[class*="language-"].line-numbers > code,
div.code-toolbar pre code {
white-space: break-spaces !important;
}
/* .prewrap[data-filename]::before {
content: attr(data-filename);
} */
.dwl_file a {
filter: grayscale(1);
}
.dwl_file a {
/* display: none; */
}
.ProgressBox_title {
font-size: 1.5em;
margin-bottom: 13px !important;
color: var(--secondary-color)!important;
}
.ProgressBox {
margin-bottom: 13px !important;
}
#Progress_question {
display: none ;
}
/* html .code-toolbar {
max-width: 760px;
margin: auto;
border: 5px solid var(--secondary-color);
padding: 0 6px;
border-radius: 9px;
}
*/
.wrap_css_html {
float: left;
clear: both;
display: block;
width: 100%;
}
.App footer {
position: relative !important;
margin-top: 1rem;
}
.wrap_css_html_button {
position: relative;
z-index: 9999;
background: #000 !important;
color: #FFF;
float: right;
margin-left: -200px;
margin-top: -33px;
margin-top: -32px;
border-radius: 7px 0 0 0;
margin-bottom: -100px;
height: 41px;
display: block;
float: right;
border-right: 0 !important;
border-bottom: 0 !important;
}
#question_title + .wrap_css_html {
margin-top: -8px;
display: block;
}
p[data-key="explo"],
.reponse_donnee.explo,
#question_description {
padding-left: 20px;
font-size: 20px;
line-height: 1.4em;
}
.reponse_donnee.explo {
padding-bottom: 7px;
}
h1#question_title {
font-size: 1.5em;
}
#question_id {
margin: -15px 0 20px 0;
text-align: center;
font-size: 1em;
font-weight: normal;
}
:is(#question_title,#question_description)::first-letter {
text-transform: uppercase;
}
#question_description + .wrap_css_html {
margin-top: -8px;
display: block;
}
.code-content {
width: 100%;
margin-top: -12px;
padding: 0.4rem 0rem 0.4rem 1rem !important;
border-bottom: 3px solid var(--secondary-color);
border-top: 5px solid var(--primary-color);
background-color: #FFF;
color: #000;;
display: block;
clear: both;
float: left;
font-size: 1.2em;
min-height: 100px;
}
.no_id > .prewrap:last-of-type .code-content {
/* display: none !important; */
margin-bottom: 2rem;
}
pre.language-css {
background: #f5fde3 !important;
}
pre.language-markup {
background: #fdf6e3 !important;
}
div[data-answer] .code-toolbar {
float: left;
width: 100%;
display: block;
}
.code_files {
float: none;
display: inline-block;
margin: 1rem 1rem 1rem 1rem;
width: auto;
}
div[data-answer] .files_links {
opacity: 0.5;
float: left;
}
/* p[data-key="order"],
p[data-key="para"],
p[data-key^="code"] */
p[data-key]:not([data-key="answer"],[data-key="render"]),
p[data-key]:not([data-key="answer"],[data-key="render"]) + .reponse_donnee
{
display: none;
}
form + .unique-id-section {
margin-top: 6rem;
border-top: 10px solid;
padding-top: 60px;
}
.QuestionBox + #answersDataContainer {
margin-top: 3rem
}
/* div[data-answer] .code-content::before {
content: "Rendu :";
color: #FFF;
background-color: #000;
} */
.reponse_donnee:is(.answer,.additionalInput),
#letsgo {
width: calc(100% - 30px);
margin: 0.4rem 0.8rem 0.8rem 0.2rem;
min-height: 110px;
border: 1px solid var(--secondary-color) !important;
/* background: #FFF !important; */
background: #FFFEF9 !important;
color: #000 !important;
font-size: 18px;
line-height: 22px;
/* outline: 1px solid #000; */
padding: 7px;
border-radius: 3px;
}
input:not([type="submit"]):not([type="button"]):not([type="radio"]):not([type="checkbox"]),
textarea {
background: #FFFEF9 !important;
width: min-content;
min-width: 10em;
}
[type="checkbox"], label {
cursor: pointer;
}
textarea {
width: min-content;
min-width: 20em;
min-height: 5em;
}
.reponse_donnee:is(.answer, .additionalInput) {
margin-top: 0px;
white-space: pre-line;
min-height: auto;
padding: 18px 20px 15px 20px;
text-align: left;
margin-left: 20px;
}
.reponse_donnee.title {
font-size: 1.3em;
margin-bottom: 20px !important;
display: block;
}
p[data-key] {
margin: 0 0 10px 0;
}
p[data-key="answer"],
p[data-key="additionalInput"] {
margin-top: 1rem;
margin-left: 20px;
}
p[data-key]:is([data-key="answer"],[data-key="render"]),
.answer {
float: left;
display: block;
clear: both;
}
#input_remarques {
margin: 10px 0 1.1rem 0.6rem;
padding-left: 10px;
}
#input_remarques {
width: calc(100% - 28px) !important;
max-width: none;
}
button:not(.wrap_css_html_button,.copy-to-clipboard-button),
#letsub {
background: var(--secondary-color) !important;
color: var(--background-color) !important;
border: 1px solid var(--primary-color);
}
button:focus-visible,
#letsub:focus-visible,
#letsub:focus {
background: var(--secondary-altcolor) !important;
color: var(--primary-color) !important;
border-color: var(--secondary-altcolor) !important;
outline: 1px solid black !important;
}
.toolbar button,
.wrap_css_html_button {
width: auto !important;
min-width: auto !important;
}
.wrap_css_html_button {
padding: 10px 16px !important;
background: var(--secondary-color) !important;
color: var(--background-color);
}
h3.unique-id-title {
margin-bottom: 4px;
}
h3.unique-id-title + strong {
margin-bottom: 1rem;
display: block;
}
.QuestionBox input#uniqueidinput {
border: 3px solid #000 !important;
/* background: #FFF !important; */
text-align: center;
color: #000 !important;
margin-bottom: 13px !important;
max-width: 270px;
}
#my_id input {
text-align: center;
font-size: 29px;
border: 4px solid var(--secondary-color);
}
#my_id {
font-size: 24px;
margin-bottom: 4rem;
}
h3.reponse_donne_titre{
font-size: 1.5em;
margin-bottom: 40px;
margin-top: 50px;
color: var(--secondary-color);
clear: both;
float: left;
width: 100%;
}
.code-toolbar[data-type$="language-css"], .code-toolbar[data-type$="language-css"] pre {
background: #e5ffdf !important;
}
/* .code-toolbar[data-type$="language-css"] {
border-right: 4px solid #36d136;
} */
p[data-key="title"] :is(strong,br) {
display: none;
}
html, body {
padding:0; margin:0;
}
#message_message,
header + em {
text-align: center !important;
display: block;
font-size: 33px;
font-style: normal;
}
/* #message_message.active {
margin-bottom: 3rem;
} */
#my_id,
.reponse_donne_titre,
footer,
.unique-id-section,
.ProgressBox h1 {
text-align: center;
}
#letsub {
margin-left: calc(1rem + 2px);
}
.reponse_donnee.title, h1#question_title {
text-align: center !important;
margin-bottom: 20px !important;
display: block;
margin-top: 0 !important;
}
.App {
padding: 1rem 0;
min-height: calc(100vh - 20px);
}
#answersDataContainer, .unique-id-section.resp_background :is(h3) {
margin: 0 !important;
}
#answersDataContainer {
padding-bottom: 40vh;
margin-bottom: -5rem !important;
}
div.code-toolbar > .toolbar > .toolbar-item > a, div.code-toolbar > .toolbar > .toolbar-item > button, div.code-toolbar > .toolbar > .toolbar-item > span,
.toolbar-item {
background-color: transparent !important;
color: var(--secondary-color) !important;
}
div.code-toolbar > .toolbar {
opacity: 1 !important;
}
div.code-toolbar > .toolbar > .toolbar-item + .toolbar-item span {
border: 2px solid var(--secondary-color);
color: var(--secondary-color) !important;
border-radius: 0 0 0 0;
padding: 5px 5px 1px 5px;
line-height: 22px;
margin-left: 10px;
}
div.code-toolbar > .toolbar > .toolbar-item > span {
color: var(--secondary-color) !important;
}
.prewrap[data-type*="language-markup"]:not(.not_sticky) {
position: sticky;
top: 0;
overflow: visible;
left: 0;
display: block;
}
.prewrap.force_sticky {
position: sticky;
top: 0;
}
.force_sticky .stiky_or_not.files_buttons {
transform: rotateZ(42deg) scale(0.8);
}
#awnsers_questionnaire_name {
text-align: center;
margin: 6rem 0 1rem 0;
}
#test_titre,
#awnsers_questionnaire_name a {
padding: 12px 20px 10px 20px;
background: #FFF;
background: var(--secondary-color) ;
color: var(--background-color) ;
}
#test_titre a {
color: var(--background-color);
}
#wrapper_home {
background: #FFF;
color: #000;
padding: 0 0 1rem 1rem;
}
#wrapper_home ul {
margin-top: 0.7rem;
}
#wrapper_home li {
font-size: 25px;
line-height: 1.3em;
}
#wrapper_home {
a {
text-decoration: none !important;
padding: 4px;
}
a:hover, a:visited {
background-color: var(--secondary-color);
}
}
#my_directlink {
font-size: 20px;
display: block;
margin-top: 20px;
background: #FFF;
width: fit-content;
margin: 20px auto;
padding: 10px;
}
#test_titre {
text-align: center;
margin-bottom: -20px;
display: block;
margin: auto;
width: fit-content;
color: #000 !important;
font-weight: bold;
font-size: 23px;
}
#test_titre::first-letter {
text-transform: uppercase;
}
[data-have-id="have_id"] :is(.have_id):not(.questionparam) {
display: none;
}
[data-have-id="have_id"] .unique-id-section {
margin-top: 0;
border: 0;
}
[data-have-id="have_id"] .unique-id-section {
padding-top: 0;
}
p:empty {
display: none;
}
.code-toolbar ~ .code-toolbar {
margin-top: -10px;
pre[class*="language-"] { border-radius: 0 !important; }
}
pre[class*="language-"] {
margin: 0 !important;
}
.copy-notification {
color: #ffffff;
background-color: rgba(0, 0, 0, 1);
padding: 20px;
border-radius: 20px;
position: fixed;
top: 30%;
left: 50%;
/* width: 150px; */
margin-top: -30px;
margin-left: -55px;
display: none;
text-align: center;
border: 3px solid yellow
}
#home_title {
margin-left: 1rem;
margin-bottom: 0;
min-height: 75px;
}
a#home {
background: var(--secondary-color);
color: var(--background-color);
font-weight: bold;
padding: 14px 14px 12px 13px;
margin-top: -40px;
display: inline-block;
position: relative;
top: -4px;
margin-bottom: -70px;
font-weight: bold;
text-decoration: none;
}
#wrapper_home .unique-id-section {
margin-top: 120px;
}
.next-question-title {
text-align: right;
}
.nextprev {
font-size: 20px;
padding: 1rem;
margin: 0;
display: inline-block;
width: 100%;
};
/* // S'il ya a une question précédente on 50% */
.QuestionBox:has(.previous-question-title) .nextprev {
width: 50%;
}
.QuestionBox h1 { text-shadow: none !important; }
.input-sizer {
display: inline-grid;
vertical-align: top;
align-items: center;
position: relative;
border: solid 1px;
padding: .25em .5em;
margin: 5px;
&.stacked {
padding: .5em;
background-color: #FFF;
align-items: stretch;
&::after,
input,
textarea {
grid-area: 2 / 1;
}
}
&::after,
input,
textarea {
width: auto;
min-width: 1em;
grid-area: 1 / 2;
font: inherit;
padding: 0.25em;
margin: 0;
resize: none;
background: none;
appearance: none;
border: none;
}
span {
padding: 0.25em;
}
&::after {
content: attr(data-value) ' ';
visibility: hidden;
white-space: pre-wrap;
}
&:focus-within {
outline: solid 1px var(--secondary-color);
box-shadow: 4px 4px 0px var(--secondary-color);
> span { color: var(--secondary-color); }
textarea:focus,
input:focus {
outline: none;
}
}
}
.input-sizer.stacked {
margin-left: 20px;
margin-top: 30px;
}
.input-sizer {
box-shadow: 4px 4px 0px #000;
> span {
text-transform: uppercase;
font-size: 0.8em;
font-weight: bold;
text-shadow: 2px 2px 0 rgba(0,0,0,.15);
}
}
.title_nextprev {
color: var(--secondary-color)
}
.icon.large {
height: 70px;
min-width: 70px;
vertical-align: bottom;
margin-right: 10px;
}
.icon.small {
height: 1.8em;
line-height: 11px;
vertical-align: bottom;
margin-right: 7px;
padding-left: 10px;
}
.language-markup:has(.getawnsers) + .code-content::before {
content: "Rendu (était caché) :";
position: relative;
left: 0;
top: -6px;
z-index: 99999;
clear: both;
float: none;
display: block;
color: red;
font-size: 0.9em;
}
.input-sizer {
display: inline-grid;
vertical-align: top;
align-items: center;
position: relative;
border: solid 1px;
padding: .25em .5em;
margin: 5px;
&.stacked {
padding: 0.9em 0 .5em 1em;
align-items: stretch;
width: calc(100% - 3rem);
align-items: stretch;
&::after,
input,
textarea {
grid-area: 2 / 1;
}
}
&::after,
input,
textarea {
width: auto;
min-width: 1em;
grid-area: 1 / 2;
font: inherit;
padding: 0.25em;
margin: 0;
resize: none;
background: none;
appearance: none;
border: none;
}
span {
padding: 0.25em;
}
&::after {
content: attr(data-value) ' ';
visibility: hidden;
white-space: pre-wrap;
}
&:focus-within {
outline: solid 1px var(--secondary-color);
box-shadow: 4px 4px 0px var(--secondary-color);
> span { color: var(--secondary-color); }
textarea:focus,
input:focus {
outline: none;
}
}
}
.input-sizer {
box-shadow: 4px 4px 0px #000;
> span {
text-transform:none;
padding-top: 5px;
padding-bottom: 0;
color: var(--secondary-color);
font-size: 0.8em;
font-weight: bold;
text-shadow: none;
}
}
/*
[data-answer]:not(:has(.code-content)) {
opacity: 0.2
} */
.results_wrapper {
border: 3px solid var(--secondary-color);
border-radius: 10px;
margin-left: 20px;
white-space: pre-line;
padding: 20px 0px 13px 20px !important; width: 98% !important;
}
#solu_wrap:has(#solutions:not(:checked)) ~ div[data-answer] .results_wrapper {
display: none;
}
#solu_wrap:has(#sans_fichiers:is(:checked)) ~ div[data-answer] pre code {
display: none !important;
}
#solu_wrap {
text-align: center;
margin: -1rem 0 2rem -1.6em;
}
.language-plaintxt + .toolbar {
display: none;
}
.language-plaintxt .line-numbers-rows {
display: none;
}
code[class*="language-"], pre[class*="language-"] {
color: #000 !important;
}
div[data-type*="instructions"] pre[class*="language-markup"],
pre[class*="language-plaintext"],
pre[data-type="plaintext"],
pre[class*="language-plaintext"] {
/* padding-left: 25px !important; */
background: #ecfffa!important;
color: #000 !important;
}
pre[class*="language-none"]
pre[data-type="none"],
pre[class*="language-none"] {
/* padding-left: 25px !important; */
background: #FFF !important;
margin: 0 !important;
padding: 0 !important;
}
div[data-type*="instructions"] pre[class*="language-markup"] code {
color: #000 !important;
}
div[data-type*="instructions"] .toolbar,
div[data-type*="language-plaintext"] .toolbar,
pre[class*="language-none"] + .toolbar {
display: none !important;
}
pre[class*="language-none"] {
white-space: break-spaces;
line-height: 1.6em !important;
}
.prewrap.txt {
white-space: break-spaces;
line-height: 1.7em;
padding-left: 13px;
}
pre[class*="language-none"] code {
line-height: 1.8em !important;
color: #000;
}
.code-toolbar[data-type*="language-none"] + .code-toolbar {
margin-top: -20px !important;
}
.code-toolbar[data-type*="language-none"] + .code-toolbar pre {
margin-top: 0 !important;
}
pre:is([class*="language-markup"], [class*="language-css"]) {
overflow-y: auto !important;
overflow-x: auto !important;
}
pre[class*="language-css"].line-numbers > code,
pre[class*="language-css"] {
white-space: break-spaces;
opacity: 1;
}
#editing {
/* width: 100vw; */
width: 100%;
}
/* para */
.code-toolbar[data-type*="hidefile"] :is(.toolbar-item, button, .toolbar),
.code-toolbar[data-type*="hidefile"] pre {
display: none;
}
.prewrap {
float: left;
display: block;
width: 100%;
z-index: 0;
position: relative;
}
#toggle_view_wrapper {
display: block;
text-align: center;
right: 0;
position: fixed;
z-index: 99999;
top: 0;
padding: 9px;
background: #FFF;
border: 1px solid;
border-width: 0 0 1px 1px;
}
#toggle_view_wrapper :is(label, input) {
float: none;
display: inline;
margin: 0;
clear: none;
width: max-content;
margin-left: 10px;
padding: 5px;
}
#info-box {
top: auto !important;
bottom: 0 !important;
}
.checkbox_minimize_code + label:after {
content: "Minimize Code";
margin-left: 10px;
background: #FFF;
color: #000;
padding: 6px 13px 3px 10px
}
.checkbox_maximize_code + label:after {
content: "Maximize Code";
margin-left: 10px;
background: #FFF;
color: #000;
padding: 6px 13px 3px 10px
}
#codeContent_label {
background: #FFF;
display: inline-block;
padding: 10px;
margin-left: -20px;
top: -40px;
position: relative;
text-decoration: underline;
font-size: 12px;
background: #000;
color: #FFF;
margin-bottom: -10px;
}
.codeContent_wrapper {
border: 1px solid #b3d1d3;
margin-top: -5px;
margin-bottom: -5px;
max-width: 97vw;
}
#toggle_view_wrapper:has(#toggle_view:not(:checked)) + form[name="quetionform"] + p + div {
padding-bottom: 40vh;
}
#toggle_view_wrapper:has(#toggle_view:not(:checked)) + form[name="quetionform"]{
#codecontent_all {
position: fixed;
bottom: 0;
left: 0;
z-index: 9999;
max-height: 30vh;
/* overflow: auto; */
overflow: auto;
padding-top: 40px;
/* overflow: hidden scroll !important; */
overflow: hidden hidden !important;
padding-top: 40px;
max-width: 100vw;
width: 100vw;
}
.prewrap:not(.large) #codecontent_all:hover {
max-height: 80vh;
z-index: 99999999999;
}
.prewrap.not_sticky.large.markup #codecontent_all {
position: relative !important;
margin-top: -40px;
max-height: none;
margin-bottom: -13px;
& .code-content {
padding-bottom: 5rem !important;
padding-top: 1rem !important;
}
}
.prewrap.force_sticky.large.markup #codecontent_all {
position: fixed !important;
z-index: 999999999 !important;
}
pre[class*="language-"][data-type*="large"] {
max-width: 100vw;
white-space: break-spaces;
}
pre[data-type*="large"]:not(.fullscreen-mode) .line-numbers-rows {
opacity: 1 !important;;
}
.prewrap:is([data-type*="language-css"],[data-type*="language-markup"]):not([data-type*="large"]) {
width: 50%;
max-width: 50%;
overflow: scroll;
max-height: 60vh;
}
.prewrap:is([data-type*="language-css"],[data-type*="language-markup"]):not([data-type*="large"]):has(.fullscreen-mode) {
width: calc(100% + 47px);
max-width: none;
overflow: scroll;
max-height: none;
left: -20px;
position: fixed !important;
z-index: 999999999999999999;
& .code-content { position: relative; bottom: 0; max-height: none; }
}
.code-content:hover {
max-height: none;
}
.wrap_css_html {
border-bottom: 6px solid var(--secondary-color);
}
input:is(.checkbox_minimize_code, .checkbox_maximize_code) {
width: 10px !important;
display: block;
position: fixed;
right: 20px;
bottom: -35px;
z-index: 9999999;
transform: scale(2);
}
input.checkbox_maximize_code:checked ~ .code-content {
height: auto;
max-height: none;
}
.code-content .codeContent_wrapper {
height: auto;
max-height: 300px;
overflow: auto;
}
#codecontent_all:has(input.checkbox_maximize_code:checked) {
height: auto;
max-height: none;
}
input:is(.checkbox_maximize_code) {
bottom: -6px;
}
input.checkbox_minimize_code:checked ~ .code-content {
max-height: 10px !important;
}
input.checkbox_minimize_code:checked ~ input.checkbox_maximize_code {
opacity: 0.3;
}
input:is(.checkbox_minimize_code, .checkbox_maximize_code) + label {
display: none;
position: fixed;
right: 30px;
padding: 10px;
bottom: -3px;
z-index: 999999999;
}
input:is(.checkbox_maximize_code) + label {
bottom: 25px;
}
input:is(.checkbox_minimize_code, .checkbox_maximize_code):hover + label {
display: block;
}
/* /mnt/sshfs/@Docker_man/@Questionful_node/questionful/public/stylevb.css */
.checkbox_minimize_code:hover + label:after {
content: "Minimize Code";
margin-left: 5px;
}
.checkbox_maximize_code:hover + label:after {
content: "Maximize Code";
margin-left: 5px;
}
}
#toggle_view_wrapper:has(#toggle_view:is(:checked)) + form[name="quetionform"]{
:is(#minimize_code,#maximize_code) {
display: none;
+ label {
display: none;
}
}
.fullscreen_button.files_buttons {
display: none;
}
}
.QuestionBox:has(#toggle_view:is(:checked)) {
+ #answersDataContainer {
padding-bottom: 2rem;
}
#unique-id-wrapper {
padding-top: 2rem;
}
}
.code-content:not(:hover) #info-box.visible {
display: none !important;
}
.QuestionBox #info-toggle :is(label, input) {
width: auto;
margin: 0;
float: left;
margin-right: 10px;
}
#info-toggle {
width: 100%;
display: block;
clear: both;
float: none;
height: 23px;
}
.resp_background {
background-color: rgb(216, 255, 255);
}
#botom_form {
display: block;
float: none;
clear: both;
top: -10px !important;
position: relative;
padding-bottom: 20px;
margin-bottom: -12px;
z-index: 9999;
}
:root {
--property: #6e4d11;
--value: #0451A5;
--attr_value: #13655e;
--background_titles: #000;
}
.token.tag {
color: #800000 !important;
font-weight:400;
}
.token.punctuation {
color: #800000 !important;
font-weight: 480;
}
.token.property,
.color.property {
color: var(--property) !important;
}
.token.value,
.color.value {
color: var(--value) !important;
}
.token.selector,
.token.attr-value {
color: var(--attr_value) !important;
font-weight: 480;
}
.language-markup .token.attr-name {
color: #E50000 !important;
font-weight: 500;
}
.language-markup .token.value {
color: #0451A5 !important;
font-weight: 500;
}
code[class*="language-markup"] {
color: #595959 !important;
color: #595959 !important;
}
code[class*="language-markup"]:hover {
/* color: #898989 !important; */
}
code[class*="language-css"] {
color: var(--value) !important;
}
.token.number {
color: #FF0095 !important;
}
.token.unit {
color: #7400DA;
}
/* .token.hexcode.color {
color: #00c3ff;
} */
.token.function {
color: #4A8147 !important;
}
.token.comment {
color: #008000b3 !important;
}
/* pre[class*="language-"]:hover
.token.comment {
color: #04008017 !important;
} */
.language-markup .token.keyword-class {
color: #000ECF !important;
}
.language-markup .token.keyword-id {
color: #C300FF !important;
}
.getawnsers_please {
background: #FFF;
}
.prewrap[data-type*="language-plaintext"] {
border-bottom: 6px solid var(--secondary-altcolor);
}
#botom_form {
border-top: 6px solid var(--secondary-altcolor);
}
.fullscreen-mode {
/* position: fixed !important; */
top: -11px;
left: 0;
width: 100vw;
height: 100vh;
background: white;
z-index: 9997;
padding: 20px;
/* overflow: auto; */
box-sizing: border-box;
position: relative !important;
overflow: visible;
}
/* .fullscreen-mode[data-type="show-language language-css"] {
z-index: 1;
} */
.fullscreen_button {
cursor: pointer;
color: blue;
text-decoration: underline;
margin-bottom: 10px;
}
.exit-fullscreen {
display: none;
cursor: pointer;
color: red;
text-decoration: underline;
position: fixed;
top: -4px;
right: 147px;
z-index: 999999999999999;
background: white;
padding: 9px 15px 6px 15px;
}
.prewrap:has(.fullscreen-mode) .exit-fullscreen,
.exit-fullscreen.visible {
display: block
}
.prewrap:has(.exit-fullscreen.visible) {
overflow: auto !important;
}
.file_buttons {
position: sticky;
top: 0;
z-index: 9999;
background: #FFF !important;
display: block;
height: 2em;
border: 0px solid var(--secondary-altcolor);
border-width: 0 2px 2px 2px;
padding: 0 10px;
}
.prewrap.large .file_buttons {
border-width: 5px 3px 3px 4px;
min-height: 2.6em;
display: block;
padding-top: 2px;
}
.dwl_file.files_buttons {
margin-right: 10px
}
& .prewrap:is([data-type*="language-markup"]):not([data-type*="not_sticky"], [class*="not_sticky"]) {
position: sticky;
top: 0;
}
.files_buttons {
width: fit-content;
float: left;
display: inline;
padding-top: 0.5em;
}
.stiky_or_not {
cursor: pointer;
}
.stiky_or_not.files_buttons img {
height: 19px;
}
div.code-toolbar {
/* position: relative; */
float: left;
position: sticky;
top: -7px !important;
width: 100%;
padding-top: 6px;
margin-top: -3px !important;
}
div.code-toolbar[data-type*="markup"] {
top: -10px !important;
}
div.code-toolbar[data-type*="getawnsers"] {
position: relative;
}
.fullscreen_button.files_buttons {
right: 0;
float: left;
margin-top: 0px;
margin-left: 4px;
margin-right: 10px;
}
* {
scrollbar-color: var(--secondary-altcolor) #FFF;
}
/* Make textarea almost completely transparent */
#editing {
display: block;
clear: both;
color: var(--debug_textarea);
/* color: #000; */
background: transparent !important;
caret-color: red;
overflow: hidden;
resize: none;
}
code {
caret-color: red;
outline: 0;
}
/* stylevb.css | https://test.bonnebulle.xyz/stylevb.css */
#editing {
background: transparent !important;
/* z-index: 9999; */
/* width: 100%; */
/* width: calc(100% - 20px); */
/* width: 100vw; */
height: 100%;
margin-bottom: -1941px;
position: relative;
line-height: 1.5em;
font-size: 1.65em;
padding-top: 16px;
padding-left: 68px;
font-family: Consolas,Monaco,'Andale Mono','Ubuntu Mono',monospace;
font-size: 1em;
overflow: visible;
/* color: transparent !important; */
/* background: transparent !important; */
z-index: 9998; border: 0;
}
.prewrap.markup #editing {
padding-top: 12px;
}
textarea#editing {
outline: none;
width: calc(100% - 20px);
overflow: hidden !important;
resize: none !important;
}
.prewrap:has(.fullscreen-mode) textarea#editing {
/* background: #FFF !important; */
color: var(--debug_textarea);
z-index: 9998;
left: 0;
top: 3px;
/* position: fixed; */
/* overflow: visible; */
/* padding-top: 37px; */
padding-top: 7px;
padding-left: 90px;
box-sizing: content-box;
resize: none;
overflow: visible;
position: relative;
}
.prewrap[data-type*="language-markup"]:has(.fullscreen-mode) textarea#editing {
top: 3px;
}
.prewrap:has(.fullscreen-mode) {
z-index: 999998;
}
.prewrap:has(.fullscreen-mode) + .prewrap {
z-index: 999999;
}
.prewrap:has(.fullscreen-mode) + .prewrap :is(pre, .toolbar) {
display: none;;
}
#toggle_view_wrapper:has(#toggle_view:not(:checked)) + form[name="quetionform"] {
& .prewrap:is([data-type*="language-css"], [data-type*="language-markup"]):not([data-type*="large"]) {
/* overflow: scroll; */
/* max-height: 60vh; */
overflow: visible;
max-height: none;
}
& .prewrap:is([data-type*="language-markup"]):not([data-type*="large"]) {
z-index: 1;
}
& .prewrap:has(.fullscreen-mode) {
max-height: none;
position: fixed;
left: 0;
top: 0;
width: 100%;
overflow: scroll !important;
}
& .prewrap[data-type*="language-markup"]:has(.fullscreen-mode) div.code-toolbar {
top: -10px !important;
}
}
form[name="quetionform"]:has(.fullscreen-mode) .file_buttons {
display:none !important;
}
/* html:has(.fullscreen-mode) {
overflow: scroll;
} */
div[data-answer] :is([class^="checkbox_"], [for="maximize_code"], [for="minimize_code"]) {
display: none;
}
div[data-answer] pre[class*="language"] {
padding-top: 1rem !important;
padding-bottom: 1rem !important;
margin-bottom: 0rem !important;
min-height: auto;
}
.save_file {
cursor: pointer;
font-size: 0.8em;
padding: 3px 5px 1px 5px;
margin-right: 10px;
border: 1px solid;
margin-top: 6px;
border-radius: 4px;
}
/* .save_file.save_file_toserver.files_buttons{
display: none;
} */
footer,
#answersDataContainer,
.resp_background.wrap {
z-index: 1;
position: relative;
margin: 0;
float: left;
width: 100%;
}
#codecontent_all{
overflow-y: scroll !important;
}
/* .code-content */
html,body
{
overflow-x: hidden;
}
.QuestionBox {
/* NOT, if set idden sticky not works*/
/* overflow: hidden; */
}
pre[class*="language-css"].line-numbers > code {
display: block;
white-space: preserve !important;
}
div[data-answer] + div[data-answer] {
margin-top: -1rem;
padding-top: 2rem;
}
div[data-answer] {
float: left;
margin-bottom: 3rem;
display: block;
clear: both;
float: left;
width: 100%;
border-top: 13px solid var(--secondary-color);
padding-top: 10px;
margin-top: 2rem;
}
div[data-answer]:last-of-type {
padding-bottom: 8rem;
}
/* Clearfix */
.clearfix::after {
content: "";
display: table;
clear: both;
}
/* Appliquer le clearfix à #wrap_allprewrap */
#wrap_allprewrap {
min-height: calc(100vh + 220px);
margin-bottom: -430px;
}
#wrap_allprewrap::after {
content: "";
display: table;
clear: both;
}
.prewrap:not(.force_sticky) .code-toolbar::before {
content: "";
min-height: 80vh;
width: 100%;
background: transparent;
display: block;
position: absolute;
}
.code-toolbar[data-type$="language-markup"]::before {
background-color: #fdf6e3;
}
.code-toolbar[data-type$="language-css"]::before {
background-color: #e5ffdf;
border-right: 4px solid #36d136;
width: calc(100% - 3px);
}
pre[class*="language-"].line-numbers {
margin-right: 3px !important;
}
div.code-toolbar > .toolbar {
z-index: 9998 !important;
margin-top: 13px;
top: 10px !important;
right: 10px !important;
}
.prewrap[data-type="show-language language-css"] > .toolbar {
top: 0px !important;
}
.prewrap.locked textarea#editing {
pointer-events: none;
}
.locker_file.files_buttons {
opacity: 0.5;
}
.prewrap.locked:has(:active) .locker_file.files_buttons {
opacity: 1;
color: red;
}
.prewrap:not(.locked) .locker_file.files_buttons {
display: none;
}
.prewrap.not_sticky pre:is([class*="language-css"], [class*="language-markup"]):not(.fullscreen-mode, [data-type*="large"]) {
min-height: 80vh;
padding-bottom: 500px;
/* white-space: break-spaces; */
}
.prewrap.force_sticky pre:is([class*="language-css"], [class*="language-markup"]):not(.fullscreen-mode) {
min-height: 80vh;
padding-bottom: 20vh;
/* white-space: break-spaces; */
}
pre:is([class*="language-markup"]):not(.fullscreen-mode) .line-numbers-rows {
opacity: 1
}
/*
form.no_id:has(.fullscreen-mode) .prewrap:not(.fullscreen-mode):is([data-type*="language-markup"]) {
z-index: 999999999999999999 !important;
& #editing, pre {
display: none;
}
div.code-toolbar[data-type*="markup"] {
top: auto !important;
height: 0;
overflow: hidden;
bottom: -1000px;
}
} */
#wrap_allprewrap:has(.code-content:hover) + #botom_form {
z-index: 0;
}
.prewrap.large.instructions.render {
margin-bottom: 2rem;
padding-left: 1rem;
}
.prewrap.render {
white-space: break-spaces;
line-height: 1.4em;
font-size: 1.2em;
font-family: serif;
}
.toc-toggle-button {
width: min-content;
min-width: auto !important;
display: block;
margin: -0.7rem auto 1.7rem auto;
font-size: 0.8em !important;
padding: 0.7rem 1.9rem !important;
}
.toc-container {
margin: -1rem auto 3rem auto;
width: fit-content;
}
.toc-container h2 {
text-align: center;
margin: 40px 0 -10px 0;
}
#questpls {
text-align: center;
width: 100%;
display: block;
background: #000;
color: #FFF;
z-index: 0!important;
position: initial;
padding: 4rem 0 5rem 0;
margin: 0;
float: left;
top: -10px;
}
#questpls,
a#backquestion {
color: #FFF;
}
.toc-container .active, .toc-container .active a {
color: red;
}
.toc_shortname:not(:empty) {
color: #000;
opacity: 0.6;
margin-left: 10px;
}
.toc_idname {
display: block;
margin-bottom: 7px;
opacity: 1;
margin-left: 1.15em;
}
.idname {
color: var(--secondary-color);
}
.code-content.fullscreen_codecontent {
position: fixed;
bottom: 0;
left: 0;
z-index: 9999;
z-index: 9999999999;
max-height: 30vh;
overflow: auto;
overflow: scroll;
border-top: 5px solid var(--primary-color);
}
.code-content.fullscreen_codecontent:hover {
max-height: none;
}
.original_codecontent {
display: none !important;
}
/* Clearfix */
.clearfix::after {
content: "";
display: table;
clear: both;
}
/* Appliquer le clearfix à #wrap_allprewrap */
/* #botom_form {
min-height: calc(60vh + 220px);
margin-bottom: -430px;
} */
#botom_form::after {
content: "";
display: table;
clear: both;
}
code:not([class*="language-"]) {
font-size: 1.2em;
background: #ffe8bc;
border-radius: 5px;
padding: 0 7px 3px 7px;
}
.load_files.files_buttons :is(input, button) {
padding: 0;
min-width: auto;
text-transform: initial;
margin: 0;
float: left;
}
form[name="quetionform"] {
/* STICKY NEED VISIBLE */
/* overflow:hidden; */
position: relative;
z-index:0;
/* padding-bottom: 11rem; */
}
#result_wrap_all {
display: var(--debug_display);
position: fixed;
top: 0;
background: #FFF;
}
#result_wrap_all:hover {
opacity: 0.4;
}
/* .QuestionBox::before {
content: "Temp_ID\A"attr(data-uniqueid);
text-align: center;
display: block;
margin: -10px 0 30px 0;
color: var(--secondary-color);
white-space: break-spaces;
} */
.save_file.original {
top: -2px;
position: relative;
text-decoration: none;
left: 5px;
padding: 5px 5px 2px 5px;
}
.file_name {
float: left;
max-width: 220px;
word-wrap: inherit;
height: 1em;
overflow: hidden;
white-space: nowrap;
text-overflow: ellipsis;
}
.codescaped.language-css {
background: #e5ffdf;
padding: 0 13px;
}
.prewrap.large .stiky_or_not {
/* display: none !important; */
}
/* .no_id {
padding-bottom: 10rem;
} */
p[data-key]:is([data-key="answer"], [data-key="render"]), .answer {
white-space: break-spaces;
width: 100%;
float: left;
clear: both;
font-size: 1.2em;
padding-left: 20px;
}
div[data-answer] .code-content .codeContent_wrapper {
margin-bottom: 0rem;
margin-top: 50px;
}
.paramid {
color: var(--secondary-color);
margin: -10px 0 20px 0;
}
.App[data-have-id="have_id no_quest"] {
.nextprev, .ProgressBox, .unique-id-section.resp_background strong, #my_id {
display: none;
}
#awnsers_questionnaire_name {
text-align: center;
margin: 2rem 0 2rem 0;
}
}
div[data-answer] .code-content{
border-bottom: 0px solid var(--primary-color);
min-height: auto;
margin-top: 0px;
border-top: 0 !important;
}
div[data-answer] #codeContent_label {
margin-top: 0px;
position: absolute;
top: auto;
}
.unique-id-section.resp_background {
padding-top: 3rem;
padding-bottom: 2rem;
}
.nextprev {
padding-top: 30px;
}
.QuestionBox:has(.nextprev + .nextprev) .nextprev {
width: 50%;
}
.shortnape {
opacity: 0.4;
font-size: 1.2em;
}
.wrap_css_html_button {
display: none;
}
#editing {
display: none;
/* display: block;
pointer-events: none;
opacity: 1; */
}
/* Style the button that is used to open and close the collapsible content */
.collapsible {
background-color: #eee;
color: #444;
cursor: pointer;
padding: 18px;
width: 100%;
border: none;
text-align: left;
outline: none;
font-weight: bold;
padding-left: 18px !important;
text-transform: initial !important;
font-size: 1.1em;
text-decoration: 1px dashed #FFF !important;
max-width: calc(100% - 30px)
}
/* Add a background color to the button if it is clicked on (add the .active class with JS), and when you move the mouse over it (hover) */
.collapsible:hover {
background-color: #ccc;
}
/* Style the collapsible content. Note: hidden by default */
.coll_content {
max-width: calc(100% - 34px);
padding: 0 20px 30px 18px;
font-size: 0.9em;
display: none;
overflow: hidden;
background-color: #fff8f8;
border: 1px solid #008b8b;
width: calc(100% - 3px);
position: relative;
top: -2px;
left: 1px;
}
.coll_content.active {
display: block;
white-space: break-spaces;
max-width: calc(100% - 50px);
left: 20px;
top: -11px;
}
[data-answer] .collapsible { font-size: 1em;}
code.codescaped.block {
display: block;
margin-top: 9px;
padding-top: 12px;
padding-bottom: 15px;
border: 1px solid #aaa;
padding-left: 16px;
}
.coll_content {
font-family: sans-serif;
}
.codescaped.codescaped.block::before {
content: attr(data-type);
display: inline;
position: relative;
right: 0px;
font-size: 16px;
color: #414141;
border: 1px solid #aaa;
padding: 2px 6px 4px 6px;
line-height: 15px;
/* border-radius: 0 6px 0 0; */
margin-top: -13px;
float: right;
}
.toc-toggle-button.resp_background {
margin: -10px auto;
position: relative;
}
.toc-container + #toggle_view_wrapper + .resp_background.wrap > .toc-container {
display: none;
}
#resultats_file_link {
padding: 1rem;
border: 1px solid var(--secondary-color);
background: var(--secondary-altcolor);
color: var(--secondary-color);
margin-left: 1em;
}
.butr {
position: fixed;
right: 40px;
bottom: 0;
width: 25px; overflow: hidden;
}
.material-icons.butr.open_in_full {
bottom: 35px;
}
div[data-answer] .material-icons.butr {
display: none;
}
.App[data-have-id*="have_id"] #resultats_file_link {
display: none;
}