Added font styles for 4 and 6pt for the labels

This commit is contained in:
mdtrooper 2014-09-11 17:50:42 +02:00
parent acb75b2ed4
commit 05ba19fa46
5 changed files with 41 additions and 3 deletions

View File

@ -136,7 +136,14 @@ ui_require_javascript_file ('encode_decode_base64');
echo 'content_css: "' . ui_get_full_url('include/styles/pandora.css', false, false, false) . '",' . "\n";
}
?>
theme_advanced_font_sizes : "8pt=.visual_font_size_8pt, 14pt=.visual_font_size_14pt, 24pt=.visual_font_size_24pt, 36pt=.visual_font_size_36pt, 72pt=.visual_font_size_72pt",
theme_advanced_font_sizes :
"4pt=.visual_font_size_4pt, " +
"6pt=.visual_font_size_6pt, " +
"8pt=.visual_font_size_8pt, " +
"14pt=.visual_font_size_14pt, " +
"24pt=.visual_font_size_24pt, " +
"36pt=.visual_font_size_36pt, " +
"72pt=.visual_font_size_72pt",
theme_advanced_toolbar_location : "top",
theme_advanced_toolbar_align : "left",
theme_advanced_buttons1 : "bold,italic, |, justifyleft, justifycenter, justifyright, |,undo, redo, |, image, link, |, forecolor, fontsizeselect, |, code",

View File

@ -374,7 +374,14 @@ ui_require_javascript_file('tiny_mce', 'include/javascript/tiny_mce/');
echo 'content_css: "' . ui_get_full_url('include/styles/pandora.css', false, false, false) . '",' . "\n";
}
?>
theme_advanced_font_sizes : "8pt=.visual_font_size_8pt, 14pt=.visual_font_size_14pt, 24pt=.visual_font_size_24pt, 36pt=.visual_font_size_36pt, 72pt=.visual_font_size_72pt",
theme_advanced_font_sizes :
"4pt=.visual_font_size_4pt, " +
"6pt=.visual_font_size_6pt, " +
"8pt=.visual_font_size_8pt, " +
"14pt=.visual_font_size_14pt, " +
"24pt=.visual_font_size_24pt, " +
"36pt=.visual_font_size_36pt, " +
"72pt=.visual_font_size_72pt",
theme_advanced_toolbar_location : "top",
theme_advanced_toolbar_align : "left",
theme_advanced_buttons1 : "bold,italic, |, image, link, |, forecolor, fontsizeselect",

View File

@ -2251,6 +2251,12 @@ span#plugin_description {
#tinymce {
text-align: left;
}
.visual_font_size_4pt, .visual_font_size_4pt > em, .visual_font_size_4pt > strong {
font-size: 4pt;
}
.visual_font_size_6pt, .visual_font_size_6pt > em, .visual_font_size_6pt > strong {
font-size: 6pt;
}
.visual_font_size_8pt, .visual_font_size_8pt > em, .visual_font_size_8pt > strong {
font-size: 8pt;
}
@ -2286,7 +2292,7 @@ span#plugin_description {
.menu_sidebar {
color:#111;
background: #3f3f3f;
margin-left: 10px;
padding-left: 0px;
padding-right: 0px;

View File

@ -1507,6 +1507,12 @@ div.cellBig {
#tinymce {
text-align: left;
}
.visual_font_size_4pt, .visual_font_size_4pt > em, .visual_font_size_4pt > strong {
font-size: 4pt;
}
.visual_font_size_6pt, .visual_font_size_6pt > em, .visual_font_size_6pt > strong {
font-size: 6pt;
}
.visual_font_size_8pt, .visual_font_size_8pt > em, .visual_font_size_8pt > strong {
font-size: 8pt;
}

View File

@ -682,6 +682,12 @@ table.event_details td.cell_event_name {
/* For mobiles */
@media screen and (max-width: 750px)
{
.resize_visual_font_size_4pt * {
font-size: 2pt !important;
}
.resize_visual_font_size_6pt * {
font-size: 3pt !important;
}
.resize_visual_font_size_8pt * {
font-size: 4pt !important;
}
@ -701,6 +707,12 @@ table.event_details td.cell_event_name {
/* For tablets */
@media screen and (min-width: 750px)
{
.resize_visual_font_size_4pt * {
font-size: 2pt !important;
}
.resize_visual_font_size_6pt * {
font-size: 3pt !important;
}
.resize_visual_font_size_8pt * {
font-size: 4pt !important;
}