Commit 677d28c9 authored by Côme Chilliet's avatar Côme Chilliet
Browse files

CSS renaming and fixes

parent 022a0b1a
/* On big screens */
@media (min-width: 640px) {
.plugin_section#perso img#jpegPhoto_img {
.plugin-section#perso img#jpegPhoto_img {
position:absolute;
left:5px;
top:32px;
......@@ -9,7 +9,7 @@
max-height:80%;
}
.plugin_section#perso > div > table {
.plugin-section#perso > div > table {
padding-left:160px;
}
}
......@@ -33,7 +33,7 @@ padding-bottom: 5px;
padding-top: 5px;
border-style: solid;
border-color: #c0c2c3;
border-width: 0px 0px 1px;
border-width: 0 0 1px;
}
ul.menu ul > li > a {
......
......@@ -66,7 +66,7 @@ display: block;
clear: both;
}
.plugin_section {
.plugin-section {
display: block;
float: left;
clear: left;
......@@ -79,48 +79,48 @@ margin-bottom: 0.5%;
margin-right: 0;
position: relative;
}
html.rtl .plugin_section {
html.rtl .plugin-section {
float: right;
clear: right;
margin-left: 0;
margin-right: 0.5%;
}
html.ltr .plugin_section:nth-child(even) {
html.ltr .plugin-section:nth-child(even) {
float: right;
clear: right;
margin-left: 0;
margin-right: 0.5%;
}
html.rtl .plugin_section:nth-child(even) {
html.rtl .plugin-section:nth-child(even) {
float: left;
clear: left;
margin-left: 0.5%;
margin-right: 0;
}
div.plugin_section {
div.plugin-section {
padding-top: 25px;
}
.plugin_section > div {
.plugin-section > div {
padding: 5px;
}
fieldset.plugin_section > div {
fieldset.plugin-section > div {
padding-top: 30px;
}
fieldset.plugin_section legend {
fieldset.plugin-section legend {
float: left;
padding: 0;
margin: 0;
}
html.rtl fieldset.plugin_section legend {
html.rtl fieldset.plugin-section legend {
float: right;
}
fieldset.plugin_section legend span, .plugin_section > span.legend {
fieldset.plugin-section legend span, .plugin-section > span.legend {
font-weight: bold;
background-color: #e5e5e7;
border: 1px solid #c0c2c3;
......@@ -130,49 +130,49 @@ padding-bottom: 5px;
text-align: center;
display: block;
}
html.ltr fieldset.plugin_section legend span, html.ltr .plugin_section > span.legend {
html.ltr fieldset.plugin-section legend span, html.ltr .plugin-section > span.legend {
margin-left: -1px;
}
html.rtl fieldset.plugin_section legend span, html.rtl .plugin_section > span.legend {
html.rtl fieldset.plugin-section legend span, html.rtl .plugin-section > span.legend {
margin-right: -1px;
}
fieldset.plugin_section legend span {
fieldset.plugin-section legend span {
position: absolute;
top: 0;
margin-top: -1px;
}
html.ltr fieldset.plugin_section legend span {
html.ltr fieldset.plugin-section legend span {
left: 0;
}
html.rtl fieldset.plugin_section legend span {
html.rtl fieldset.plugin-section legend span {
right: 0;
}
.plugin_section > span.legend {
.plugin-section > span.legend {
margin-top: -26px;
}
fieldset.plugin_section legend img, .plugin_section span.legend img {
fieldset.plugin-section legend img, .plugin-section span.legend img {
vertical-align: middle;
}
html.ltr fieldset.plugin_section legend img, html.ltr .plugin_section span.legend img {
html.ltr fieldset.plugin-section legend img, html.ltr .plugin-section span.legend img {
margin-right: 3px;
}
html.rtl fieldset.plugin_section legend img, html.rtl .plugin_section span.legend img {
html.rtl fieldset.plugin-section legend img, html.rtl .plugin-section span.legend img {
margin-left: 3px;
}
fieldset.plugin_section select[multiple], fieldset.plugin_section textarea {
fieldset.plugin-section select[multiple], fieldset.plugin-section textarea {
width: 100%;
}
.plugin_section > div > table {
.plugin-section > div > table {
min-width: 80%;
}
html.ltr .plugin_section.fullwidth, html.rtl .plugin_section.fullwidth {
html.ltr .plugin-section.fullwidth, html.rtl .plugin-section.fullwidth {
float: none;
clear: both;
width: auto;
......@@ -182,26 +182,26 @@ margin-bottom: 0.5%;
margin-right: 0.5%;
}
html.ltr .plugin_section.alone, html.rtl .plugin_section.alone {
html.ltr .plugin-section.alone, html.rtl .plugin-section.alone {
float: none;
clear: both;
}
html.ltr .plugin_section.invisible, html.rtl .plugin_section.invisible {
html.ltr .plugin-section.invisible, html.rtl .plugin-section.invisible {
display: none;
}
fieldset.plugin_section.critical legend span, .plugin_section.critical > span.legend {
fieldset.plugin-section.critical legend span, .plugin-section.critical > span.legend {
font-weight: bold;
background-color: #BCF;
}
fieldset.plugin_section.critical legend span:after, .plugin_section.critical > span.legend:after {
fieldset.plugin-section.critical legend span:after, .plugin-section.critical > span.legend:after {
content: " (editing this can break your LDAP)";
color: #D00;
}
.plugin_section.critical > div {
.plugin-section.critical > div {
background-color: #DFEFFF;
}
......@@ -212,11 +212,11 @@ background-color: #DFEFFF;
border: none;
width: 100%;
}
.plugin_section > div > table {
.plugin-section > div > table {
width: 100%;
}
html.ltr .plugin_section, html.ltr .plugin_section:nth-child(even), html.ltr .plugin_section.fullwidth,
html.rtl .plugin_section, html.rtl .plugin_section:nth-child(even), html.rtl .plugin_section.fullwidth
html.ltr .plugin-section, html.ltr .plugin-section:nth-child(even), html.ltr .plugin-section.fullwidth,
html.rtl .plugin-section, html.rtl .plugin-section:nth-child(even), html.rtl .plugin-section.fullwidth
{
display: block;
float: none;
......
......@@ -17,35 +17,35 @@ padding: 2px 10px;
vertical-align: middle;
}
#menucell.setup_navigation {
#menucell.setup-navigation {
width: 200px;
}
/* The box used for each setup step */
#menucell.setup_navigation li.menuitem {
#menucell.setup-navigation li.menuitem {
text-decoration: none;
padding-top: 8px;
padding-bottom: 8px;
margin-top: 5px;
margin-bottom: 5px;
}
#menucell.setup_navigation li.menuitem > a {
#menucell.setup-navigation li.menuitem > a {
margin: 0;
}
/* An enabled setup step will use this style in navigation*/
#menucell.setup_navigation li.menuitem.menucurrent a.navigation_title {
#menucell.setup-navigation li.menuitem.menucurrent a.navigation-title {
cursor: default;
}
/* Disabled setup steps */
#menucell.setup_navigation li.menuitem.disabled a.navigation_title {
#menucell.setup-navigation li.menuitem.disabled a.navigation-title {
cursor: default;
color: #C0C2C3;
}
/* Disabled setup steps */
#menucell.setup_navigation li.menuitem a.navigation_title {
#menucell.setup-navigation li.menuitem a.navigation-title {
font-size: 1.2em;
font-weight: bold;
text-decoration: none;
......@@ -55,20 +55,20 @@ padding-bottom: 3px;
}
/* The style for the info of an active setup */
#menucell.setup_navigation li.menuitem a.navigation_info {
#menucell.setup-navigation li.menuitem a.navigation_info {
font-size: 1em;
color: #31363b;
margin: 0;
cursor: default;
}
html.ltr #menucell.setup_navigation li.menuitem a.navigation_info {
html.ltr #menucell.setup-navigation li.menuitem a.navigation_info {
padding: 4px 4px 3px 15px;
}
html.rtl #menucell.setup_navigation li.menuitem a.navigation_info {
html.rtl #menucell.setup-navigation li.menuitem a.navigation_info {
padding: 4px 15px 3px 4px;
}
.setup_language select#lang_selected {
.setup-language select#lang_selected {
width: 100%;
}
......@@ -76,24 +76,24 @@ width: 100%;
Setup step 2 styles
*/
/* used to hide display info div */
div.solution_visible {
div.solution-visible {
display: block;
width: 100%;
text-align: left;
}
html.rtl div.solution_visible {
html.rtl div.solution-visible {
text-align: right;
}
/* Container for name and status */
div.step2_entry_container {
div.step2-entry-container {
padding: 3px;
width: 99%;
cursor: default;
}
/* Container for name and status, when status is failed */
div.step2_entry_container_info {
div.step2-entry-container-info {
padding: 3px;
border: 1px solid #C0C2C3;
width: 99%;
......@@ -101,23 +101,23 @@ cursor: default;
}
/* Text shown for each entry */
div.step2_entry_name {
div.step2-entry-name {
float: left;
padding-bottom: 4px;
vertical-align: middle;
}
html.rtl div.step2_entry_name {
html.rtl div.step2-entry-name {
float: right;
}
/* Status container */
div.step2_entry_status {
div.step2-entry-status {
float: none;
text-align: right;
padding-bottom: 4px;
vertical-align: middle;
}
html.rtl div.step2_entry_status {
html.rtl div.step2-entry-status {
text-align: left;
}
......
......@@ -115,7 +115,7 @@ max-width: 48px;
h1.menuheader {
margin: 0;
padding: 10px;
display: inline-block;
display: block;
border-bottom: 1px solid #AAAAAA;
background-color: #DBE6C6;
}
......
.plugin-window
{
.plugin-window {
vertical-align: top;
text-align: justify;
background-color: white;
......@@ -67,7 +66,7 @@ display: block;
clear: both;
}
.plugin_section {
.plugin-section {
display: block;
float: left;
clear: left;
......@@ -81,48 +80,48 @@ margin-bottom: 0.5%;
margin-right: 0;
position: relative;
}
html.rtl .plugin_section {
html.rtl .plugin-section {
float: right;
clear: right;
margin-left: 0;
margin-right: 0.5%;
}
html.ltr .plugin_section:nth-child(even) {
html.ltr .plugin-section:nth-child(even) {
float: right;
clear: right;
margin-left: 0;
margin-right: 0.5%;
}
html.rtl .plugin_section:nth-child(even) {
html.rtl .plugin-section:nth-child(even) {
float: left;
clear: left;
margin-left: 0.5%;
margin-right: 0;
}
div.plugin_section {
div.plugin-section {
padding-top: 25px;
}
.plugin_section > div {
.plugin-section > div {
padding: 5px;
}
fieldset.plugin_section > div {
fieldset.plugin-section > div {
padding-top: 30px;
}
fieldset.plugin_section legend {
fieldset.plugin-section legend {
float: left;
padding: 0;
margin: 0;
}
html.rtl fieldset.plugin_section legend {
html.rtl fieldset.plugin-section legend {
float: right;
}
fieldset.plugin_section legend span, .plugin_section > span.legend {
fieldset.plugin-section legend span, .plugin-section > span.legend {
font-weight: bold;
background-color: #DBE6C6;
border: 1px solid #B0B0B0;
......@@ -132,49 +131,49 @@ padding-bottom: 5px;
text-align: center;
display: block;
}
html.ltr fieldset.plugin_section legend span, html.ltr .plugin_section > span.legend {
html.ltr fieldset.plugin-section legend span, html.ltr .plugin-section > span.legend {
margin-left: -1px;
}
html.rtl fieldset.plugin_section legend span, html.rtl .plugin_section > span.legend {
html.rtl fieldset.plugin-section legend span, html.rtl .plugin-section > span.legend {
margin-right: -1px;
}
fieldset.plugin_section legend span {
fieldset.plugin-section legend span {
position: absolute;
top: 0;
margin-top: -1px;
}
html.ltr fieldset.plugin_section legend span {
html.ltr fieldset.plugin-section legend span {
left: 0;
}
html.rtl fieldset.plugin_section legend span {
html.rtl fieldset.plugin-section legend span {
right: 0;
}
.plugin_section > span.legend {
.plugin-section > span.legend {
margin-top: -26px;
}
fieldset.plugin_section legend img, .plugin_section span.legend img {
fieldset.plugin-section legend img, .plugin-section span.legend img {
vertical-align: middle;
}
html.ltr fieldset.plugin_section legend img, html.ltr .plugin_section span.legend img {
html.ltr fieldset.plugin-section legend img, html.ltr .plugin-section span.legend img {
margin-right: 3px;
}
html.rtl fieldset.plugin_section legend img, html.rtl .plugin_section span.legend img {
html.rtl fieldset.plugin-section legend img, html.rtl .plugin-section span.legend img {
margin-left: 3px;
}
fieldset.plugin_section select[multiple], fieldset.plugin_section textarea {
fieldset.plugin-section select[multiple], fieldset.plugin-section textarea {
width: 100%;
}
.plugin_section > div > table {
.plugin-section > div > table {
min-width: 80%;
}
html.ltr .plugin_section.fullwidth, html.rtl .plugin_section.fullwidth {
html.ltr .plugin-section.fullwidth, html.rtl .plugin-section.fullwidth {
float: none;
clear: both;
width: auto;
......@@ -184,26 +183,26 @@ margin-bottom: 0.5%;
margin-right: 0.5%;
}
html.ltr .plugin_section.alone, html.rtl .plugin_section.alone {
html.ltr .plugin-section.alone, html.rtl .plugin-section.alone {
float: none;
clear: both;
}
html.ltr .plugin_section.invisible, html.rtl .plugin_section.invisible {
html.ltr .plugin-section.invisible, html.rtl .plugin-section.invisible {
display: none;
}
fieldset.plugin_section.critical legend span, .plugin_section.critical > span.legend {
fieldset.plugin-section.critical legend span, .plugin-section.critical > span.legend {
font-weight: bold;
background-color: #BCF;
}
fieldset.plugin_section.critical legend span:after, .plugin_section.critical > span.legend:after {
fieldset.plugin-section.critical legend span:after, .plugin-section.critical > span.legend:after {
content: " (editing this can break your LDAP)";
color: #D00;
}
.plugin_section.critical > div {
.plugin-section.critical > div {
background-color: #DFEFFF;
}
......@@ -214,11 +213,11 @@ background-color: #DFEFFF;
border: none;
width: 100%;
}
.plugin_section > div > table {
.plugin-section > div > table {
width: 100%;
}
html.ltr .plugin_section, html.ltr .plugin_section:nth-child(even), html.ltr .plugin_section.fullwidth,
html.rtl .plugin_section, html.rtl .plugin_section:nth-child(even), html.rtl .plugin_section.fullwidth
html.ltr .plugin-section, html.ltr .plugin-section:nth-child(even), html.ltr .plugin-section.fullwidth,
html.rtl .plugin-section, html.rtl .plugin-section:nth-child(even), html.rtl .plugin-section.fullwidth
{
display: block;
float: none;
......
......@@ -17,35 +17,35 @@ padding: 2px 10px;
vertical-align: middle;
}
#menucell.setup_navigation {
#menucell.setup-navigation {
width: 200px;
}
/* The box used for each setup step */
#menucell.setup_navigation li.menuitem {
#menucell.setup-navigation li.menuitem {
text-decoration: none;
padding-top: 8px;
padding-bottom: 8px;
margin-top: 5px;
margin-bottom: 5px;
}
#menucell.setup_navigation li.menuitem > a {
#menucell.setup-navigation li.menuitem > a {
margin: 0;
}
/* An enabled setup step will use this style in navigation*/
#menucell.setup_navigation li.menuitem.menucurrent a.navigation_title {
#menucell.setup-navigation li.menuitem.menucurrent a.navigation-title {
cursor: default;
}
/* Disabled setup steps */
#menucell.setup_navigation li.menuitem.disabled a.navigation_title {
#menucell.setup-navigation li.menuitem.disabled a.navigation-title {
cursor: default;
color: #AAA;
}
/* Disabled setup steps */
#menucell.setup_navigation li.menuitem a.navigation_title {
#menucell.setup-navigation li.menuitem a.navigation-title {
font-size: 1.2em;
font-weight: bold;
text-decoration: none;
......@@ -55,20 +55,20 @@ padding-bottom: 3px;
}
/* The style for the info of an active setup */
#menucell.setup_navigation li.menuitem a.navigation_info {
#menucell.setup-navigation li.menuitem a.navigation_info {
font-size: 1em;
color: #000;
margin: 0;
cursor: default;
}
html.ltr #menucell.setup_navigation li.menuitem a.navigation_info {
html.ltr #menucell.setup-navigation li.menuitem a.navigation_info {
padding: 4px 4px 3px 15px;
}
html.rtl #menucell.setup_navigation li.menuitem a.navigation_info {
html.rtl #menucell.setup-navigation li.menuitem a.navigation_info {
padding: 4px 15px 3px 4px;
}
.setup_language select#lang_selected {
.setup-language select#lang_selected {
width: 100%;
}
......@@ -76,24 +76,24 @@ width: 100%;
Setup step 2 styles
*/
/* used to hide display info div */
div.solution_visible {
div.solution-visible {
display: block;
width: 100%;
text-align: left;
}
html.rtl div.solution_visible {
html.rtl div.solution-visible {
text-align: right;
}
/* Container for name and status */
div.step2_entry_container {
div.step2-entry-container {
padding: 3px;
width: 99%;
cursor: default;
}
/* Container for name and status, when status is failed */
div.step2_entry_container_info {
div.step2-entry-container-info {
padding: 3px;
border: 1px solid #AAA;
width: 99%;
......@@ -101,23 +101,23 @@ cursor: default;
}
/* Text shown for each entry */
div.step2_entry_name {
div.step2-entry-name {
float: left;
padding-bottom: 4px;
vertical-align: middle;
}
html.rtl div.step2_entry_name {
html.rtl div.step2-entry-name {
float: right;