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
*/
[required] {
.et2_required, [required] {
background-color: #ffffd0;
}
.invalid {

View File

@ -203,7 +203,7 @@
</row>
<row class="row dialog-header4">
<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 valign="top" height="250">
<tabbox id="tabs" span="all">

View File

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

View File

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