[svn r17455] minor - style changes - improve the apearience in notebook (see FS#3387)

skala
Cristian Fasanando 16 years ago
parent 97e7540dec
commit c1717a9f09
  1. 3
      main/css/academica/default.css
  2. 5
      main/css/baby_orange/default.css
  3. 3
      main/css/corporate/default.css
  4. 5
      main/css/cosmic_campus/default.css
  5. 3
      main/css/dokeos_classic/default.css
  6. 3
      main/css/dokeos_classic_2D/default.css
  7. 5
      main/css/medical/default.css
  8. 5
      main/css/public_admin/default.css
  9. 3
      main/css/silver_line/default.css
  10. 3
      main/css/sober_brown/default.css
  11. 14
      main/notebook/index.php

@ -1150,8 +1150,6 @@ div.system_announcement {
margin: 1em;
background-color: #c3d9ff;
padding: 1em 1em;
width: 48%;
-moz-border-radius: 0.5em;
}
.style-add-textarea {
background-color: #f2f5f8;
@ -1176,7 +1174,6 @@ div.system_announcement {
margin: 1em 1em 0em 1em;
background-color: #79b;
padding: 0.3em 0.3em;
width: 70%;
-moz-border-radius: 0.5em;
}

@ -1150,8 +1150,6 @@ div.system_announcement {
margin: 1em;
background-color: #c3d9ff;
padding: 1em 1em;
width: 48%;
-moz-border-radius: 0.5em;
}
.style-add-textarea {
background-color: #f2f5f8;
@ -1175,8 +1173,7 @@ div.system_announcement {
.notebook-list{
margin: 1em 1em 0em 1em;
background-color: #79b;
padding: 0.3em 0.3em;
width: 70%;
padding: 0.3em 0.3em;
-moz-border-radius: 0.5em;
}

@ -1254,8 +1254,6 @@ span.radio {
margin: 1em;
background-color: #c3d9ff;
padding: 1em 1em;
width: 48%;
-moz-border-radius: 0.5em;
}
.style-add-textarea {
background-color: #f2f5f8;
@ -1280,7 +1278,6 @@ span.radio {
margin: 1em 1em 0em 1em;
background-color: #79b;
padding: 0.3em 0.3em;
width: 70%;
-moz-border-radius: 0.5em;
}

@ -1183,8 +1183,6 @@ div.system_announcement_content{
margin: 1em;
background-color: #c3d9ff;
padding: 1em 1em;
width: 48%;
-moz-border-radius: 0.5em;
}
.style-add-textarea {
background-color: #f2f5f8;
@ -1208,8 +1206,7 @@ div.system_announcement_content{
.notebook-list{
margin: 1em 1em 0em 1em;
background-color: #79b;
padding: 0.3em 0.3em;
width: 70%;
padding: 0.3em 0.3em;
-moz-border-radius: 0.5em;
}

@ -1697,8 +1697,6 @@ padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px;}
margin: 1em;
background-color: #c3d9ff;
padding: 1em 1em;
width: 48%;
-moz-border-radius: 0.5em;
}
.style-add-textarea {
background-color: #f2f5f8;
@ -1723,7 +1721,6 @@ padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px;}
margin: 1em 1em 0em 1em;
background-color: #79b;
padding: 0.3em 0.3em;
width: 70%;
-moz-border-radius: 0.5em;
}

@ -2282,8 +2282,6 @@ input.forms {
margin: 1em;
background-color: #c3d9ff;
padding: 1em 1em;
width: 48%;
-moz-border-radius: 0.5em;
}
.style-add-textarea {
background-color: #f2f5f8;
@ -2308,7 +2306,6 @@ input.forms {
margin: 1em 1em 0em 1em;
background-color: #79b;
padding: 0.3em 0.3em;
width: 70%;
-moz-border-radius: 0.5em;
}

@ -1683,8 +1683,6 @@ padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px;}
margin: 1em;
background-color: #c3d9ff;
padding: 1em 1em;
width: 48%;
-moz-border-radius: 0.5em;
}
.style-add-textarea {
background-color: #f2f5f8;
@ -1708,8 +1706,7 @@ padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px;}
.notebook-list{
margin: 1em 1em 0em 1em;
background-color: #79b;
padding: 0.3em 0.3em;
width: 70%;
padding: 0.3em 0.3em;
-moz-border-radius: 0.5em;
}

@ -1720,8 +1720,6 @@ padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px;}
margin: 1em;
background-color: #c3d9ff;
padding: 1em 1em;
width: 48%;
-moz-border-radius: 0.5em;
}
.style-add-textarea {
background-color: #f2f5f8;
@ -1745,8 +1743,7 @@ padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px;}
.notebook-list{
margin: 1em 1em 0em 1em;
background-color: #79b;
padding: 0.3em 0.3em;
width: 70%;
padding: 0.3em 0.3em;
-moz-border-radius: 0.5em;
}

@ -1783,8 +1783,6 @@ div.system_announcement {
margin: 1em;
background-color: #c3d9ff;
padding: 1em 1em;
width: 48%;
-moz-border-radius: 0.5em;
}
.style-add-textarea {
background-color: #f2f5f8;
@ -1809,7 +1807,6 @@ div.system_announcement {
margin: 1em 1em 0em 1em;
background-color: #79b;
padding: 0.3em 0.3em;
width: 70%;
-moz-border-radius: 0.5em;
}

@ -1750,8 +1750,6 @@ padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px;}
margin: 1em;
background-color: #c3d9ff;
padding: 1em 1em;
width: 48%;
-moz-border-radius: 0.5em;
}
.style-add-textarea {
background-color: #f2f5f8;
@ -1776,7 +1774,6 @@ padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px;}
margin: 1em 1em 0em 1em;
background-color: #79b;
padding: 0.3em 0.3em;
width: 70%;
-moz-border-radius: 0.5em;
}

@ -36,15 +36,17 @@ $icon_delete ='delete.gif';
echo '<a href="index.php?action=addnotebook">'.Display::return_icon($icon_add,get_lang('NewNotebook')).get_lang('NewNotebook').'</a>';
if (isset($_REQUEST['action']) && $_REQUEST['action']=='addnotebook') {
echo '<div class="notebook-add-form" id="notebook-add">';
echo '<table class="notebook-add-form" id="notebook-add">';
echo '<tr><td>';
echo '<form name="frm_add_notebook" method="post">';
echo '<input type="hidden" name="sec_token" value="'.$stok.'" />';
echo '<input type="hidden" name="action" value="addnotebook">';
echo '<div class="add-desc-notebook"><textarea class="style-add-textarea" rows="4" cols="95" name="description" maxlength="255" onfocus="this.value=\'\';document.getElementById(\'msg_add_error\').style.display=\'none\';"><<'.get_lang("WriteHereYourNote").'>></textarea></div>';
echo '<div class="add-desc-notebook"><textarea class="style-add-textarea" rows="5" cols="80" name="description" maxlength="255" onfocus="this.value=\'\';document.getElementById(\'msg_add_error\').style.display=\'none\';"><<'.get_lang("WriteHereYourNote").'>></textarea></div>';
echo '<div class="action_notebook"><input type="button" value="'.get_lang('Ok').'" onclick="return add_notebook()"><input type="button" value="'.get_lang('Cancel').'" onclick="document.getElementById(\'notebook-add\').style.display = \'none\';document.getElementById(\'msg_add_error\').style.display=\'none\';"></div>';
echo '<span class="msg_error" id="msg_add_error"></span>';
echo '</form>';
echo '</div>';
echo '</form>';
echo '</td></tr>';
echo '</table>';
}
/*======================================
@ -97,7 +99,7 @@ echo '<div>';
$counter = 1;
while ($row_notebook_list=Database::fetch_array($notebook_list)){
$title= get_lang("Note").'&nbsp;'.$counter;
$title= get_lang('Note').'&nbsp;'.$counter;
$notebook_id = $_REQUEST['notebook_id'];
echo '<div class="notebook-list">';
echo '<div class="note-number">';
@ -107,7 +109,7 @@ while ($row_notebook_list=Database::fetch_array($notebook_list)){
if ((isset($_REQUEST['action']) && $_REQUEST['action']=='edit_notebook') && ($row_notebook_list['notebook_id'] == $notebook_id)){
echo '<div class="notebook-edit-form"><a name="note-'.$row_notebook_list['notebook_id'].'"></a>';
echo '<form name="frm_edit_notebook" action="index.php" method="post"><input type="hidden" name="upd_notebook_id" value="'.$notebook_id.'"';
echo '<form name="frm_edit_notebook" action="index.php" method="post"><input type="hidden" name="upd_notebook_id" value="'.$notebook_id.'" />';
echo '<input type="hidden" name="sec_token" value="'.$stok.'" />';
echo '<div class="upd-desc-notebook"><textarea class="style-edit-textarea" rows="4" cols="120" name="upd_description" maxlength="255" onfocus="this.select()">'.$row_notebook_list['description'].'</textarea></div>';
echo '<div class="action_notebook"><input type="button" value="'.get_lang('Ok').'" onclick="edit_notebook()"><input type="button" value="'.get_lang('Cancel').'" onclick="edit_cancel_notebook()"></div>';

Loading…
Cancel
Save