This commit is contained in:
Laurent Destailleur 2017-01-17 17:49:49 +01:00
parent 7a0d388073
commit 13d01a7010

View File

@ -260,10 +260,22 @@ input, input.flat, textarea, textarea.flat, form.flat select, select, select.fla
background-color: #FFF; background-color: #FFF;
} }
input:focus, textarea:focus, button:focus, select:focus { textarea:focus, button:focus {
box-shadow: 0 0 4px #8091BF; /* v6 box-shadow: 0 0 4px #8091BF; */
/* TODO Remove shadow on focus. Use instead border-bottom: 1px solid #aaa !important; To disable with select2 too. */ border: 1px solid #aaa !important;
} }
input:focus, select:focus {
/* box-shadow: 0 0 4px #8091BF; */
border-bottom: 1px solid #666;
}
input.select2-input {
border-bottom: none ! important;
}
.select2-choice {
border: none;
border-bottom: 1px solid #aaa !important;
}
textarea.cke_source:focus textarea.cke_source:focus
{ {
box-shadow: none; box-shadow: none;
@ -272,16 +284,32 @@ textarea.cke_source:focus
input, input.flat, textarea, textarea.flat, form.flat select, select, select.flat, .dataTables_length label select { input, input.flat, textarea, textarea.flat, form.flat select, select, select.flat, .dataTables_length label select {
font-size: <?php print $fontsize ?>px; font-size: <?php print $fontsize ?>px;
font-family: <?php print $fontlist ?>; font-family: <?php print $fontlist ?>;
border: 1px solid #C0C0C0; border: 1px solid #C0C0C0;
/* v6 border: none;
border-bottom: 1px solid #C0C0C0;
outline: none !important;*/
margin: 0px 0px 0px 0px; margin: 0px 0px 0px 0px;
} }
input, textarea, select { input, select {
/* v6 border-bottom: solid 1px rgba(0,0,0,.2);*/
border-radius: 2px; border-radius: 2px;
border:solid 1px rgba(0,0,0,.3); border: solid 1px rgba(0,0,0,.3);
border-top:solid 1px rgba(0,0,0,.3); border-top:solid 1px rgba(0,0,0,.3);
border-bottom:solid 1px rgba(0,0,0,.2); border-bottom:solid 1px rgba(0,0,0,.2);
/* box-shadow: 1px 1px 1px rgba(0,0,0,.2) inset;*/
padding:4px;
margin-left:0px;
margin-bottom:1px;
margin-top:1px;
}
textarea {
border-radius: 2px;
border: solid 1px rgba(0,0,0,.3);
border-top:solid 1px rgba(0,0,0,.3);
border-bottom:solid 1px rgba(0,0,0,.2);
padding:4px; padding:4px;
margin-left:0px; margin-left:0px;
margin-bottom:1px; margin-bottom:1px;
@ -4026,7 +4054,14 @@ div.dataTables_length select {
background: #FFFFFF !important; background: #FFFFFF !important;
} }
.select2-choice, .select2-choice
{
border: 1px solid #aaa;
/* v6 border-top: none !important;
border-left: none !important;
border-right: none !important;
border-bottom: 1px solid #aaa;*/
}
.select2-drop.select2-drop-above.select2-drop-active, .select2-drop.select2-drop-above.select2-drop-active,
.select2-container-active .select2-choice, .select2-container-active .select2-choice,
.select2-container-active .select2-choices, .select2-container-active .select2-choices,
@ -4035,6 +4070,7 @@ div.dataTables_length select {
.select2-container-multi.select2-container-active .select2-choices .select2-container-multi.select2-container-active .select2-choices
{ {
border: 1px solid #aaa; border: 1px solid #aaa;
/* v6 */
} }
.select2-disabled .select2-disabled
{ {
@ -4055,7 +4091,7 @@ a span.select2-chosen
line-height: 24px; line-height: 24px;
} }
.select2-choices .select2-search-choice { .select2-choices .select2-search-choice {
border: 1px solid #aaa !important; /* border: 1px solid #aaa !important; */
} }
.select2-results .select2-no-results, .select2-results .select2-searching, .select2-results .select2-ajax-error, .select2-results .select2-selection-limit .select2-results .select2-no-results, .select2-results .select2-searching, .select2-results .select2-ajax-error, .select2-results .select2-selection-limit
{ {