[Doc] Migration de son thème de la 5.0 à la 5.1
Maj.
Support Général
Swan Membre non connecté
Booster Mortier
- Booster Mortier
- Voir le profil du membre Swan
- Inscrit le : 31/05/2013
- Site internet
Je viens de voir que la doc pour la migration de son thème de la 5.0 à la 5.1 , n'est pas complète :
Il manque dans le global.css dans cette partie :
Code CSS :
.error, .notice, .warning, .success, .question { position: relative; display: block; margin: 5px auto 15px auto; padding: 10px 10px 10px 40px; height: auto; border: 1px solid #FFFFFF; border-radius: 4px; line-height: 20px; text-align: left; overflow: hidden; } .error:before, .notice:before, .warning:before, .success:before, .question:before { position: absolute; left: 6px; top: 7px; width: 28px; font-family: FontAwesome; font-style: normal; font-weight: normal; line-height: 1; font-size: 2em; text-align: center; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; } .error:before { content: "\f00d"; } .notice:before { content: "\f12a"; } .warning:before { content: "\f071"; } .success:before { content: "\f00c"; } .question:before { content: "\f128"; } .error, .error:before { color: #BA4B49; } .notice, .notice:before { color: #888888; } .warning, .warning:before { color: #C19954; } .success, .success:before { color: #478948; } .question, .question:before { color: #3B88AE; } .error { background-color: #F3DFDF; border-color: #ECCDD2; } .notice { background-color: #F0F0F0; border-color: #E2E2E2; } .warning { background-color: #FDF9E4; border-color: #FBECCD; } .success { background-color: #E0F1D9; border-color: #D7EAC7; } .question { background-color: #DAEEF8; border-color: #BDE9F2; }
Ceci :
Code CSS :
/* -- Les messages d erreurs -- */ /* ---------------------------- */ .error, .notice, .warning, .success, .question, .message-helper { position: relative; display: block; margin: 5px auto 15px auto; padding: 10px 10px 10px 40px; height: auto; border: 1px solid #FFFFFF; line-height: 20px; text-align: left; overflow: hidden; } .error:before, .notice:before, .warning:before, .success:before, .question:before, .message-helper:before { position: absolute; left: 6px; top: 7px; width: 28px; font-family: FontAwesome; font-style: normal; font-weight: normal; line-height: 1; font-size: 2em; text-align: center; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; } .message-helper-small { width: 50%; } .error:before { content: "\f00d"; } .notice:before { content: "\f12a"; } .warning:before { content: "\f071"; } .success:before { content: "\f00c"; } .question:before { content: "\f128"; } .member-only:before { content: "\f071"; } .modo-only:before { content: "\f071"; } .admin-only:before { content: "\f071"; } .error, .error:before { color: #BA4B49; } .notice, .notice:before { color: #888888; } .warning, .warning:before { color: #C19954; } .success, .success:before { color: #478948; } .question, .question:before { color: #3B88AE; } .member-only, .member-only:before { color: #C19954; } .modo-only, .modo-only:before { color: #C19954; } .admin-only, .admin-only:before { color: #C19954; } .error { background-color: #F3DFDF; border-color: #ECCDD2; } .notice { background-color: #F0F0F0; border-color: #E2E2E2; } .warning { background-color: #FDF9E4; border-color: #FBECCD; } .success { background-color: #E0F1D9; border-color: #D7EAC7; } .question { background-color: #DAEEF8; border-color: #BDE9F2; } .member-only { background-color: #FDF9E4; border-color: #FBECCD; } .modo-only { background-color: #FDF9E4; border-color: #FBECCD; } .admin-only { background-color: #FDF9E4; border-color: #FBECCD; }
Si je trouve d'autres choses, je vous bip
Edit: Par contre vu que c'est du texte caché pour les membre modo et admin, j'aurais plus vu l'icon 'f070' ==>
Haa et pour finir c'est ou que l'on trouve la balise admin ? Car dans texte caché elle n'est pas présente, même en locale.
Swan.
Édité par Swan Le 21/09/2017 à 11h45
ElenWii Membre non connecté
- Administrateur
- Voir le profil du membre ElenWii
- Inscrit le : 14/08/2009
- Site internet
- Groupes :
- Equipe Graphique
Je viens de corriger, je commit sur github ce soir et je t’envoi les modifications sur les thèmes EDN en partage aussi.
Swan Membre non connecté
Booster Mortier
- Booster Mortier
- Voir le profil du membre Swan
- Inscrit le : 31/05/2013
- Site internet
Car pour les thèmes sombres , j'ai pas les mêmes mises en formes.
Édité par Swan Le 21/09/2017 à 12h23
Répondre
Vous n'êtes pas autorisé à écrire dans cette catégorie