From 44448fe0cfa0d4d9f023b4d1d301062af80da47c Mon Sep 17 00:00:00 2001 From: tcharlss <tcharlss@bravecassine.com> Date: Tue, 6 Jul 2021 18:22:56 +0200 Subject: [PATCH] =?UTF-8?q?Ticket=20#4768=20:=20suite=20retrait=20pr=C3=A9?= =?UTF-8?q?fixes=20navigateurs?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- prive/themes/spip/bando.css.html | 4 --- prive/themes/spip/boutons.css.html | 56 ++++++------------------------ prive/themes/spip/theme.css.html | 2 +- 3 files changed, 11 insertions(+), 51 deletions(-) diff --git a/prive/themes/spip/bando.css.html b/prive/themes/spip/bando.css.html index b182c8a60a..c9fabbd3a6 100644 --- a/prive/themes/spip/bando.css.html +++ b/prive/themes/spip/bando.css.html @@ -246,8 +246,6 @@ position: absolute !important; #LEFT: -3000em; display: block; - width: -webkit-max-content; - width: -moz-max-content; width: max-content; opacity: 0; background-color: var(--spip-color-white); @@ -509,8 +507,6 @@ .bando-outils .rapides, .bando-outils .rapides__item, .bando-outils .rapides__lien { - display: -webkit-box; - display: -ms-flexbox; display: flex; } .bando-outils .largeur { diff --git a/prive/themes/spip/boutons.css.html b/prive/themes/spip/boutons.css.html index 7089bcc015..a80ed34cfd 100644 --- a/prive/themes/spip/boutons.css.html +++ b/prive/themes/spip/boutons.css.html @@ -114,16 +114,10 @@ input.submit, input.reset, button { position: relative; - box-sizing: border-box; - display: -webkit-inline-box; - display: -ms-inline-flexbox; + box-sizing: border-box; display: inline-flex; - -webkit-box-pack: center; - -ms-flex-pack: center; - justify-content: center; - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; + justify-content: center; + align-items: center; text-align: center; vertical-align: middle; padding: var(--spip-btn-padding-y) var(--spip-btn-padding-x); @@ -369,19 +363,13 @@ input.reset.btn_bloc, .formulaire_spip input.submit.btn_bloc, /* pour avoir précédence sur les règles de forms.css */ .formulaire_spip input.reset.btn_bloc, /* idem */ button.btn_bloc { - display: -webkit-box; - display: -ms-flexbox; display: flex; width: 100%; - -webkit-box-pack: center; - -ms-flex-pack: center; - justify-content: center; + justify-content: center; text-align: center; } /* Pour les boutons d'actions il faut ajouter *en plus* la classe bloc sur le formulaire */ .bouton_action_post.bloc { - display: -webkit-box; - display: -ms-flexbox; display: flex; } @@ -498,15 +486,11 @@ button.btn_#VALEUR, */ .bouton_action_post { - display: -webkit-inline-box; - display: -ms-inline-flexbox; display: inline-flex; vertical-align: middle; } .bouton_action_post.bloc div { --webkit-box-flex: 1; - -ms-flex: 1 1 auto; - flex: 1 1 auto; + flex: 1 1 auto; } /* Dans le footer d'une boîte */ @@ -516,8 +500,6 @@ button.btn_#VALEUR, /* Fix bouton d'action + classe .icone : combinaison obsolète à ne plus utiliser */ .bouton_action_post.icone { - display: -webkit-inline-box !important; - display: -ms-inline-flexbox !important; display: inline-flex !important; padding: 0 !important; background: none !important; @@ -558,13 +540,8 @@ button.btn_#VALEUR, */ .groupe-btns { - display: -webkit-inline-box; - display: -ms-inline-flexbox; display: inline-flex; - -webkit-box-orient: horizontal; - -webkit-box-direction: normal; - -ms-flex-flow: row nowrap; - flex-flow: row nowrap; + flex-flow: row nowrap; margin-bottom: var(--spip-btn-margin); } .groupe-btns .btn, @@ -572,9 +549,7 @@ button.btn_#VALEUR, .groupe-btns input.submit, .groupe-btns input.reset, .groupe-btns button { - -webkit-box-flex: 0; - -ms-flex: 0 1 auto; - flex: 0 1 auto; + flex: 0 1 auto; margin: 0; } .groupe-btns .bouton_action_post .submit { @@ -622,10 +597,7 @@ button.btn_#VALEUR, /* variante vertical */ .groupe-btns.groupe-btns_vertical { - -webkit-box-orient: vertical; - -webkit-box-direction: normal; - -ms-flex-flow: column wrap; - flex-flow: column wrap; + flex-flow: column wrap; vertical-align: middle; } .groupe-btns.groupe-btns_vertical .btn:not(:last-child), @@ -664,8 +636,6 @@ button.btn_#VALEUR, /* Variante bloc */ .groupe-btns.groupe-btns_bloc, .groupe-btns.groupe-btns_bloc .bouton_action_post div { - display: -webkit-box; - display: -ms-flexbox; display: flex; } .groupe-btns.groupe-btns_bloc .btn, @@ -675,9 +645,7 @@ button.btn_#VALEUR, .groupe-btns.groupe-btns_bloc input.submit, .groupe-btns.groupe-btns_bloc input.reset, .groupe-btns.groupe-btns_bloc button { - -webkit-box-flex: 1; - -ms-flex: 1 1 auto; - flex: 1 1 auto; + flex: 1 1 auto; } /* Variante groupe de boutons menu. @@ -718,12 +686,8 @@ button.btn_#VALEUR, /* Si boutons de formulaire ou pied d'une boîte : bloc et alignement */ .groupe-btns.act, .groupe-btns.boutons { - display: -webkit-box; - display: -ms-flexbox; display: flex; - -webkit-box-pack: end; - -ms-flex-pack: end; - justify-content: flex-end; + justify-content: flex-end; } diff --git a/prive/themes/spip/theme.css.html b/prive/themes/spip/theme.css.html index 9ee4b0904f..184be6f104 100644 --- a/prive/themes/spip/theme.css.html +++ b/prive/themes/spip/theme.css.html @@ -83,7 +83,7 @@ h1 {font-size: 2em;line-height: 125%;} .lat #documents_joints .item {border-radius:5px;} .fiche_objet #wysiwyg {padding: 0} -#wysiwyg .champ,.preview {font-size: 1.2em;line-height: 145%;font-family: Cambria, Georgia, 'Times New Roman', Times, serif;-moz-hyphens:auto;-webkit-hyphens:auto;-khtml-hyphens:auto;-ms-hyphens:auto;-o-hyphens:auto;hyphens:auto;} +#wysiwyg .champ,.preview {font-size: 1.2em;line-height: 145%;font-family: Cambria, Georgia, 'Times New Roman', Times, serif;hyphens:auto;} #wysiwyg .champ .label, #wysiwyg .champ label {text-align: #GET{left};} #wysiwyg p,.preview p {margin: 0.8em 0;} #wysiwyg h3.spip, .preview h3.spip {margin-top: 2.5em;margin-bottom: 1.8em;font-family: 'Lucida Grande', Tahoma, Ubuntu, Arial, Verdana, sans-serif;font-weight: normal;} -- GitLab