0
0
Fork 0
mirror of https://github.com/salesagility/SuiteCRM.git synced 2025-03-16 06:13:34 +00:00

Calendar: Styling calendar header

(cherry picked from commit c379416)
This commit is contained in:
Daniel Samson 2016-07-25 11:22:19 +01:00
parent f730ab92fb
commit bbfaf3ae7f
11 changed files with 232 additions and 10 deletions

View file

@ -1720,6 +1720,20 @@ div#responseTime {
margin-bottom: 0;
}
div.row.monthHeader {
margin-left: 0;
margin-right: 0;
border-bottom: none;
}
td.fc-widget-header,
td.fc-widget-header table > thead,
td.fc-widget-header table > thead > tr > th {
padding: 0;
border: none !important;
background-color: #BFCAD3;
}
.monthFooter td {
padding-left: 7px;
padding-right: 7px;
@ -1733,7 +1747,7 @@ div#responseTime {
padding: 6px 5px 4px 3px;
margin-top: 10px;
border: none;
background: #BFCAD3;
background: #778591;
color: #ffffff;
vertical-align: middle;
border: 1px solid transparent;
@ -2894,10 +2908,9 @@ a.tabFormAdvLink:link, a.tabFormAdvLink:visited {
background-color: #abc3d7;
}
.monthFooter td {
border-top-color: #abc3d7;
border-bottom-color: #abc3d7;
background-color: #ffffff;
div.monthFooter {
background-color: #BFCAD3;
line-height: 32px;
}
.monthHeader a:hover, .monthViewDayHeight a:hover {

Binary file not shown.

Before

(image error) Size: 192 B

After

(image error) Size: 338 B

View file

@ -0,0 +1,84 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<!-- Created with Inkscape (http://www.inkscape.org/) -->
<svg
xmlns:dc="http://purl.org/dc/elements/1.1/"
xmlns:cc="http://creativecommons.org/ns#"
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
xmlns:svg="http://www.w3.org/2000/svg"
xmlns="http://www.w3.org/2000/svg"
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
width="16"
height="16"
id="svg2"
version="1.1"
inkscape:version="0.48.4 r9939"
sodipodi:docname="calendar_next.svg"
inkscape:export-filename="/var/www/html/sdk/instances/suitecrm-development-mysql/themes/SuiteP/images/calendar_previous.png"
inkscape:export-xdpi="45"
inkscape:export-ydpi="45">
<defs
id="defs4" />
<sodipodi:namedview
id="base"
pagecolor="#ffffff"
bordercolor="#666666"
borderopacity="1.0"
inkscape:pageopacity="0.0"
inkscape:pageshadow="2"
inkscape:zoom="16"
inkscape:cx="30.430872"
inkscape:cy="15.221847"
inkscape:document-units="px"
inkscape:current-layer="layer1"
showgrid="false"
inkscape:window-width="1855"
inkscape:window-height="1056"
inkscape:window-x="65"
inkscape:window-y="24"
inkscape:window-maximized="1" />
<metadata
id="metadata7">
<rdf:RDF>
<cc:Work
rdf:about="">
<dc:format>image/svg+xml</dc:format>
<dc:type
rdf:resource="http://purl.org/dc/dcmitype/StillImage" />
<dc:title></dc:title>
</cc:Work>
</rdf:RDF>
</metadata>
<g
inkscape:label="Layer 1"
inkscape:groupmode="layer"
id="layer1"
transform="translate(0,-1036.3622)">
<g
id="g3126"
style="fill:#ffffff"
transform="matrix(-0.82573651,0,0,0.82573651,17.683335,189.65762)">
<rect
transform="matrix(0.72609461,0.6875948,-0.71445905,0.69967726,0,0)"
ry="0"
rx="0"
y="735.83148"
x="744.50134"
height="11.990089"
width="3.0727561"
id="rect3120"
style="fill:#ffffff;fill-opacity:1;stroke:none" />
<rect
style="fill:#ffffff;fill-opacity:1;stroke:none"
id="rect3124"
width="3.0727561"
height="11.990089"
x="743.80646"
y="745.44446"
rx="0"
ry="0"
transform="matrix(-0.71538329,0.69873224,0.72518508,0.68855399,0,0)" />
</g>
</g>
</svg>

After

(image error) Size: 2.5 KiB

Binary file not shown.

Before

(image error) Size: 192 B

After

(image error) Size: 229 B

View file

@ -0,0 +1,84 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<!-- Created with Inkscape (http://www.inkscape.org/) -->
<svg
xmlns:dc="http://purl.org/dc/elements/1.1/"
xmlns:cc="http://creativecommons.org/ns#"
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
xmlns:svg="http://www.w3.org/2000/svg"
xmlns="http://www.w3.org/2000/svg"
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
width="16"
height="16"
id="svg2"
version="1.1"
inkscape:version="0.48.4 r9939"
sodipodi:docname="calendar_previous.svg"
inkscape:export-filename="/var/www/html/sdk/instances/suitecrm-development-mysql/themes/SuiteP/images/calendar_previous.png"
inkscape:export-xdpi="45"
inkscape:export-ydpi="45">
<defs
id="defs4" />
<sodipodi:namedview
id="base"
pagecolor="#ffffff"
bordercolor="#666666"
borderopacity="1.0"
inkscape:pageopacity="0.0"
inkscape:pageshadow="2"
inkscape:zoom="16"
inkscape:cx="30.430872"
inkscape:cy="15.221847"
inkscape:document-units="px"
inkscape:current-layer="layer1"
showgrid="false"
inkscape:window-width="1855"
inkscape:window-height="1056"
inkscape:window-x="65"
inkscape:window-y="24"
inkscape:window-maximized="1" />
<metadata
id="metadata7">
<rdf:RDF>
<cc:Work
rdf:about="">
<dc:format>image/svg+xml</dc:format>
<dc:type
rdf:resource="http://purl.org/dc/dcmitype/StillImage" />
<dc:title></dc:title>
</cc:Work>
</rdf:RDF>
</metadata>
<g
inkscape:label="Layer 1"
inkscape:groupmode="layer"
id="layer1"
transform="translate(0,-1036.3622)">
<g
id="g3126"
style="fill:#ffffff"
transform="matrix(0.82573651,0,0,0.82573651,-1.6833344,189.65762)">
<rect
transform="matrix(0.72609461,0.6875948,-0.71445905,0.69967726,0,0)"
ry="0"
rx="0"
y="735.83148"
x="744.50134"
height="11.990089"
width="3.0727561"
id="rect3120"
style="fill:#ffffff;fill-opacity:1;stroke:none" />
<rect
style="fill:#ffffff;fill-opacity:1;stroke:none"
id="rect3124"
width="3.0727561"
height="11.990089"
x="743.80646"
y="745.44446"
rx="0"
ry="0"
transform="matrix(-0.71538329,0.69873224,0.72518508,0.68855399,0,0)" />
</g>
</g>
</svg>

After

(image error) Size: 2.5 KiB

BIN
themes/SuiteP/js/arrow.gif Normal file

Binary file not shown.

After

(image error) Size: 66 B

BIN
themes/SuiteP/js/cross.gif Normal file

Binary file not shown.

After

(image error) Size: 83 B

BIN
themes/SuiteP/js/hs.png Normal file

Binary file not shown.

After

(image error) Size: 2.6 KiB

BIN
themes/SuiteP/js/hv.png Normal file

Binary file not shown.

After

(image error) Size: 2.8 KiB

View file

@ -0,0 +1,41 @@
{*
/*********************************************************************************
* SugarCRM Community Edition is a customer relationship management program developed by
* SugarCRM, Inc. Copyright (C) 2004-2013 SugarCRM Inc.
* SuiteCRM is an extension to SugarCRM Community Edition developed by Salesagility Ltd.
* Copyright (C) 2011 - 2014 Salesagility Ltd.
*
* This program is free software; you can redistribute it and/or modify it under
* the terms of the GNU Affero General Public License version 3 as published by the
* Free Software Foundation with the addition of the following permission added
* to Section 15 as permitted in Section 7(a): FOR ANY PART OF THE COVERED WORK
* IN WHICH THE COPYRIGHT IS OWNED BY SUGARCRM, SUGARCRM DISCLAIMS THE WARRANTY
* OF NON INFRINGEMENT OF THIRD PARTY RIGHTS.
*
* This program is distributed in the hope that it will be useful, but WITHOUT
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
* FOR A PARTICULAR PURPOSE. See the GNU Affero General Public License for more
* details.
*
* You should have received a copy of the GNU Affero General Public License along with
* this program; if not, see http://www.gnu.org/licenses or write to the Free
* Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
* 02110-1301 USA.
*
* You can contact SugarCRM, Inc. headquarters at 10050 North Wolfe Road,
* SW2-130, Cupertino, CA 95014, USA. or at email address contact@sugarcrm.com.
*
* The interactive user interfaces in modified source and object code versions
* of this program must display Appropriate Legal Notices, as required under
* Section 5 of the GNU Affero General Public License version 3.
*
* In accordance with Section 7(b) of the GNU Affero General Public License version 3,
* these Appropriate Legal Notices must retain the display of the "Powered by
* SugarCRM" logo and "Supercharged by SuiteCRM" logo. If the display of the logos is not
* reasonably feasible for technical reasons, the Appropriate Legal Notices must
* display the words "Powered by SugarCRM" and "Supercharged by SuiteCRM".
********************************************************************************/
*}

View file

@ -89,9 +89,9 @@
{/if}
<div class="{if $controls}monthHeader{/if}">
<div style='float: left; width: 20%;'>{$previous}</div>
<div style='float: left; width: 60%; text-align: center;'><h3>{$date_info}</h3></div>
<div style='float: right;'>{$next}</div>
<br style='clear:both;'>
<div class="row {if $controls}monthHeader{/if}">
<div class="col-xs-1">{$previous}</div>
<div class="col-xs-10 text-center"><h3>{$date_info}</h3></div>
<div class="col-xs-1 text-right">{$next}</div>
<br>
</div>