dolibarr 21.0.0-alpha
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.
54if (empty($dolibarr_nocache)) {
55 header('Cache-Control: max-age=3600, public, must-revalidate');
56} else {
57 header('Cache-Control: no-cache');
58}
59
60?>
61
62html {
63 min-height: 100%; height: 100%;
64}
65
66div.ticketform {
67 font-family: arial;
68 position: static;
69/* padding: 2em 1em;
70 overflow-x: auto;
71 border: 2px solid rgb(153, 153, 153);
72 background-color: rgb(255, 255, 255);
73 box-shadow: 2px 2px 2px rgb(245, 245, 245);
74 border-radius: 10px 10px 10px 10px;
75 margin: 1.5em;
76 background : #ffffff;
77*/
78 text-align: center;
79}
80
81div.ticketform .index_create, div.ticketform .index_display {
82 display: inline-block;
83 width: 200px;
84 height: 60px;
85 text-align: center;
86 vertical-align: middle;
87 margin: 20px;
88 text-transform: uppercase;
89}
90
91#form_create_ticket, #form_view_ticket
92{
93 margin-left: 10px;
94 margin-right: 10px;
95 padding-left:1em;
96 padding-right:1em;
97 padding-top:1.5em;
98 padding-bottom:12px;
99
100 border: 1px solid #C0C0C0;
101 background-color: #E0E0E0;
102
103 -moz-box-shadow: 4px 4px 4px #DDD;
104 -webkit-box-shadow: 4px 4px 4px #DDD;
105 box-shadow: 4px 4px 4px #DDD;
106
107 border-radius: 8px;
108 border:solid 1px rgba(168,168,168,.4);
109 border-top:solid 1px f8f8f8;
110 background-color: #f8f8f8;
111}
112
113#form_create_ticket input.text, #form_create_ticket textarea { width:450px;}
114
115@media only screen and (max-width: 767px)
116{
117 #form_create_ticket input.text, #form_create_ticket textarea { width: unset;}
118
119 #form_create_ticket, #form_view_ticket
120 {
121 margin-left: 0;
122 margin-right: 0;
123 }
124}
125
126.ticketform {
127 a.butAction {
128 box-shadow: 3px 3px 10px #ddd;
129 /* background-color: #666; */
130 }
131}
print $object position
Definition edit.php:195
if(!defined( 'NOREQUIREMENU')) if(!empty(GETPOST('seteventmessages', 'alpha'))) if(!function_exists("llxHeader")) top_httphead($contenttype='text/html', $forcenocache=0)
Show HTTP header.