dolibarr 24.0.0-beta
styles.css.php
Go to the documentation of this file.
1<?php
2/* Copyright (C) 2018 Laurent Destailleur <eldy@users.sourceforge.net>
3 *
4 * This program is free software; you can redistribute it and/or modify
5 * it under the terms of the GNU General Public License as published by
6 * the Free Software Foundation; either version 3 of the License, or
7 * (at your option) any later version.
8 *
9 * This program is distributed in the hope that it will be useful,
10 * but WITHOUT ANY WARRANTY; without even the implied warranty of
11 * MERCHANTABILITY or FI8TNESS FOR A PARTICULAR PURPOSE. See the
12 * GNU General Public License for more details.
13 *
14 * You should have received a copy of the GNU General Public License
15 * along with this program. If not, see <https://www.gnu.org/licenses/>.
16 */
17
23//if (! defined('NOREQUIREUSER')) define('NOREQUIREUSER','1'); // Not disabled because need to load personalized language
24//if (! defined('NOREQUIREDB')) define('NOREQUIREDB','1'); // Not disabled to increase speed. Language code is found on url.
25if (!defined('NOREQUIRESOC')) {
26 define('NOREQUIRESOC', '1');
27}
28//if (! defined('NOREQUIRETRAN')) define('NOREQUIRETRAN','1'); // Not disabled because need to do translations
29if (!defined('NOCSRFCHECK')) {
30 define('NOCSRFCHECK', 1);
31}
32if (!defined('NOTOKENRENEWAL')) {
33 define('NOTOKENRENEWAL', 1);
34}
35if (!defined('NOLOGIN')) {
36 define('NOLOGIN', 1); // File must be accessed by logon page so without login
37}
38//if (! defined('NOREQUIREMENU')) define('NOREQUIREMENU',1); // We need top menu content
39if (!defined('NOREQUIREHTML')) {
40 define('NOREQUIREHTML', 1);
41}
42if (!defined('NOREQUIREAJAX')) {
43 define('NOREQUIREAJAX', '1');
44}
45
46session_cache_limiter('public');
47
48require_once '../../../main.inc.php';
49require_once DOL_DOCUMENT_ROOT.'/core/lib/functions2.lib.php';
50
51// Define css type
52top_httphead('text/css');
53// Important: Following code is to avoid page request by browser and PHP CPU at each Dolibarr page access.
54header('Cache-Control: max-age=3600, public, must-revalidate');
55
56?>
57
58html {
59 min-height: 100%; height: 100%;
60}
61
62div.ticketform {
63 font-family: arial;
64 position: static;
65/* padding: 2em 1em;
66 overflow-x: auto;
67 border: 2px solid rgb(153, 153, 153);
68 background-color: rgb(255, 255, 255);
69 box-shadow: 2px 2px 2px rgb(245, 245, 245);
70 border-radius: 10px 10px 10px 10px;
71 margin: 1.5em;
72 background : #ffffff;
73*/
74 text-align: center;
75}
76
77div.ticketform .index_create, div.ticketform .index_display {
78 display: inline-block;
79 width: 200px;
80 height: 60px;
81 text-align: center;
82 vertical-align: middle;
83 margin: 20px;
84 text-transform: uppercase;
85}
86
87#form_create_ticket, #form_view_ticket
88{
89 margin-left: 10px;
90 margin-right: 10px;
91 padding-left:1em;
92 padding-right:1em;
93 padding-top:1.5em;
94 padding-bottom:12px;
95
96 border: 1px solid #C0C0C0;
97 background-color: #E0E0E0;
98
99 -moz-box-shadow: 4px 4px 4px #DDD;
100 -webkit-box-shadow: 4px 4px 4px #DDD;
101 box-shadow: 4px 4px 4px #DDD;
102
103 border-radius: 8px;
104 border:solid 1px rgba(168,168,168,.4);
105 border-top:solid 1px f8f8f8;
106 background-color: #f8f8f8;
107}
108
109#form_create_ticket input.text, #form_create_ticket textarea { width:450px;}
110
111@media only screen and (max-width: 767px)
112{
113 #form_create_ticket input.text, #form_create_ticket textarea { width: unset;}
114
115 #form_create_ticket, #form_view_ticket
116 {
117 margin-left: 0;
118 margin-right: 0;
119 }
120}
121
122.ticketform {
123 a.butAction {
124 box-shadow: 3px 3px 10px #ddd;
125 /* background-color: #666; */
126 }
127}
print $object position
Definition edit.php:206
if(!defined( 'NOREQUIREMENU')) if(!empty(GETPOST('seteventmessages', 'alpha'))) if(!function_exists("llxHeader")) top_httphead($contenttype='text/html', $forcenocache=0)
Show HTTP header.