et2_required class to display textfields as required, but not actually using required attribute, fixes changing infolog type does not update status for new entries

This commit is contained in:
Ralf Becker 2014-02-03 16:50:36 +00:00
parent 2eff897d52
commit bb3ad1e5c4
4 changed files with 46 additions and 46 deletions

View File

@ -679,7 +679,7 @@ ul.et2_vfs {
/** /**
* Validation * Validation
*/ */
[required] { .et2_required, [required] {
background-color: #ffffd0; background-color: #ffffd0;
} }
.invalid { .invalid {

View File

@ -203,7 +203,7 @@
</row> </row>
<row class="row dialog-header4"> <row class="row dialog-header4">
<description value="Subject" for="info_subject"/> <description value="Subject" for="info_subject"/>
<textbox statustext="a short subject for the entry" id="info_subject" class="inputFullWidth" size="80" maxlength="255" needed="true" span="all" tabindex="1"/> <textbox statustext="a short subject for the entry" id="info_subject" class="inputFullWidth et2_required" size="80" maxlength="255" span="all" tabindex="1"/>
</row> </row>
<row valign="top" height="250"> <row valign="top" height="250">
<tabbox id="tabs" span="all"> <tabbox id="tabs" span="all">

View File

@ -2,7 +2,7 @@
* EGroupware: CSS with less preprocessor * EGroupware: CSS with less preprocessor
* *
* INFOLOG * INFOLOG
* *
* Please do NOT change app.css directly, instead change app.less and compile it! * Please do NOT change app.css directly, instead change app.less and compile it!
* Pixleegg Template app.css * Pixleegg Template app.css
* @link http://www.egroupware.org * @link http://www.egroupware.org
@ -120,7 +120,7 @@ span#favorite_sidebox_infolog .favorites li img.sideboxstar {
*/ */
/* /*
.egw_fw_content_browser_div{ .egw_fw_content_browser_div{
}*/ }*/
#infolog-index { #infolog-index {
/*height: auto !important;*/ /*height: auto !important;*/
@ -286,7 +286,7 @@ span#favorite_sidebox_infolog .favorites li img.sideboxstar {
margin-top: 1.5%; margin-top: 1.5%;
} }
#infolog-index #infolog-index_nm .frame { #infolog-index #infolog-index_nm .frame {
/* min-height: 100%; /* min-height: 100%;
height: 60em;*/ height: 60em;*/
} }
#infolog-index #infolog-index_nm .egwGridView_scrollarea { #infolog-index #infolog-index_nm .egwGridView_scrollarea {

View File

@ -2,7 +2,7 @@
* EGroupware: CSS with less preprocessor * EGroupware: CSS with less preprocessor
* *
* INFOLOG * INFOLOG
* *
* Please do NOT change app.css directly, instead change app.less and compile it! * Please do NOT change app.css directly, instead change app.less and compile it!
* Pixleegg Template app.css * Pixleegg Template app.css
* @link http://www.egroupware.org * @link http://www.egroupware.org
@ -28,7 +28,7 @@ span#favorite_sidebox_infolog{
a div.ui-icon-heart{ a div.ui-icon-heart{
background-image: none; background-image: none;
} }
img.sideboxstar{ img.sideboxstar{
.box_shadow(none); .box_shadow(none);
border: 0px; border: 0px;
@ -63,7 +63,7 @@ span#favorite_sidebox_infolog{
*/ */
/* /*
.egw_fw_content_browser_div{ .egw_fw_content_browser_div{
}*/ }*/
@ -85,9 +85,9 @@ span#favorite_sidebox_infolog{
div.ui-helper-clearfix, div.ui-helper-clearfix,
div.ui-helper-reset{ div.ui-helper-reset{
// ################################################################ // ################################################################
// right Box with add item // right Box with add item
div.et2_hbox_right{ div.et2_hbox_right{
@ -97,24 +97,24 @@ span#favorite_sidebox_infolog{
div.et2_box_widget{ div.et2_box_widget{
/*border: 1px solid rgba(0, 0, 0, 0.15);*/ /*border: 1px solid rgba(0, 0, 0, 0.15);*/
/*box-shadow: 0 1px 0 rgba(0, 0, 0, 0.5);*/ /*box-shadow: 0 1px 0 rgba(0, 0, 0, 0.5);*/
text-shadow: none; text-shadow: none;
.dimension_height_l; .dimension_height_l;
margin-top: 5px; margin-top: 5px;
background-image: none !important; background-image: none !important;
transition: all 0.5s linear; transition: all 0.5s linear;
-webkit-transition: all 0.5s linear; /* Safari */ -webkit-transition: all 0.5s linear; /* Safari */
&:before { &:before {
content: "+"; content: "+";
font-size: 2em; font-size: 2em;
color: @egw_color_1; color: @egw_color_1;
line-height: 0.5em; line-height: 0.5em;
} }
/*Text ""hinzufügen" "*/ /*Text ""hinzufügen" "*/
span {display: none;} span {display: none;}
// IMG // IMG
img { img {
/*.gradient_vertical (@egw_color_2_a, @egw_color_2_a);*/ /*.gradient_vertical (@egw_color_2_a, @egw_color_2_a);*/
@ -123,28 +123,28 @@ span#favorite_sidebox_infolog{
margin-left: 0.5em; margin-left: 0.5em;
padding: 0px; padding: 0px;
margin-top: 0px; margin-top: 0px;
vertical-align: middle; vertical-align: middle;
&:hover{.Complete_Button_Icon_hover ;} &:hover{.Complete_Button_Icon_hover ;}
&:active { .Complete_Button_Icon_active ;} &:active { .Complete_Button_Icon_active ;}
} }
img:last-child {margin-right: 5px;}; img:last-child {margin-right: 5px;};
/*MouseOver*/ /*MouseOver*/
&:hover { &:hover {
.box_shadow_standard_light_hover; .box_shadow_standard_light_hover;
background-color: fade(@egw_color_2_a, 80%) !important; background-color: fade(@egw_color_2_a, 80%) !important;
.border_radius_button_lefttop; .border_radius_button_lefttop;
.dimension_height_l; .dimension_height_l;
&:before {content: ""; font-size: 1em;padding-left: 5px;} &:before {content: ""; font-size: 1em;padding-left: 5px;}
/*Text*/ /*Text*/
span {visibility: hidden; display: none;}; span {visibility: hidden; display: none;};
img {.scale; margin: 0.5em; background: @gray_0;} img {.scale; margin: 0.5em; background: @gray_0;}
} }
} }
} }
@ -193,10 +193,10 @@ span#favorite_sidebox_infolog{
div.filters { div.filters {
// 1 Filter // 1 Filter
select#infolog-index_cat_id { select#infolog-index_cat_id {
/*width: 10%;*/ /*width: 10%;*/
margin-left: 1em;} margin-left: 1em;}
// 2 Filter // 2 Filter
@ -234,13 +234,13 @@ span#favorite_sidebox_infolog{
// ################################## // ##################################
// Listendarstellung // Listendarstellung
.egwGridView_outer {} .egwGridView_outer {}
table.egwGridView_outer thead tr th.optcol .selectcols{ table.egwGridView_outer thead tr th.optcol .selectcols{
margin-top: 1.5%; margin-top: 1.5%;
} }
.frame { .frame {
/* min-height: 100%; /* min-height: 100%;
height: 60em;*/ height: 60em;*/
} }
@ -298,7 +298,7 @@ span#favorite_sidebox_infolog{
#infolog-edit{ #infolog-edit{
margin: 0; margin: 0;
padding: 0.5em; padding: 0.5em;
// input{ max-width: 95%; } // input{ max-width: 95%; }
.et2_tabheader{ .et2_tabheader{
@ -316,7 +316,7 @@ span#favorite_sidebox_infolog{
div.et2_hbox { div.et2_hbox {
white-space: nowrap; white-space: nowrap;
} }
} }
.infolog_fixedHeight { .infolog_fixedHeight {
height: auto; height: auto;
@ -330,9 +330,9 @@ span#infolog-edit_info_number{}
//Kontakt //Kontakt
div#infolog-edit_info_contact{ div#infolog-edit_info_contact{
input.ui-autocomplete-input { input.ui-autocomplete-input {
span.ui-icon-close { span.ui-icon-close {
background-color: @gray_0; background-color: @gray_0;
background-size: contain; background-size: contain;
@ -341,8 +341,8 @@ div#infolog-edit_info_contact{
} }
} }
} }
label.et2_label {} label.et2_label {}
@ -364,9 +364,9 @@ td.inputFullWidth{
// Eltereintrag // Eltereintrag
.searchParent { .searchParent {
input.ui-autocomplete-input {width: 95% !important;} input.ui-autocomplete-input {width: 95% !important;}
} }
@ -381,45 +381,45 @@ input#infolog-edit_info_subject {width: 98% !important;}
/*Beschreibung************************************/ /*Beschreibung************************************/
#infolog-edit_infolog-edit-description{ #infolog-edit_infolog-edit-description{
#infolog-edit_info_des {min-height: 246px;} #infolog-edit_info_des {min-height: 246px;}
} }
/*Verknüpfung ************************************/ /*Verknüpfung ************************************/
#infolog-edit_infolog-edit-links{ #infolog-edit_infolog-edit-links{
/*neue verknüpfung erstellen - div*/ /*neue verknüpfung erstellen - div*/
div#addressbook-edit_link_to { div#addressbook-edit_link_to {
width: 100% !important; width: 100% !important;
} }
// 1. with Addressbook // 1. with Addressbook
// 2. Icon // 2. Icon
/*img.et2_button_icon defined in etemplate2.less*/ /*img.et2_button_icon defined in etemplate2.less*/
// Upload // Upload
div.et2_file { div.et2_file {
float: left; float: left;
margin-left: 121px; margin-left: 121px;
margin-top: -46px; margin-top: -46px;
} }
table#infolog-edit_link_to {overflow-y: scroll;} table#infolog-edit_link_to {overflow-y: scroll;}
} }
/*Delegation ************************************/ /*Delegation ************************************/
#infolog-edit_infolog-edit-delegation { #infolog-edit_infolog-edit-delegation {
.inputFullWidth input { width: 96%; } .inputFullWidth input { width: 96%; }
} }