2658fd2abdc0ca5f82cd908118d3a108630a3bf7
[Packages/TYPO3.CMS.git] / typo3 / sysext / t3skin / Resources / Private / Styles / TYPO3 / _main_form.less
1 /**
2 * This file is part of the TYPO3 CMS project.
3 *
4 * It is free software; you can redistribute it and/or modify it under
5 * the terms of the GNU General Public License, either version 2
6 * of the License, or any later version.
7 *
8 * For the full copyright and license information, please read the
9 * LICENSE.txt file that was distributed with this source code.
10 *
11 * The TYPO3 project - inspiring people to share!
12 */
13
14 /* - - - - - - - - - - - - - - - - - - - - -
15 Form
16 - - - - - - - - - - - - - - - - - - - - - */
17
18 #typo3-docbody form {
19 margin-bottom: 1.25em;
20 }
21
22 textarea,
23 button {
24 display: inline-block;
25 margin: 0 0.5em 0.5em 0;
26 padding: 3px 6px;
27 vertical-align: middle;
28 }
29
30
31 /* - - - - - - - - - - - - - - - - - - - - -
32 Form
33 - - - - - - - - - - - - - - - - - - - - - */
34
35 input,
36 textarea,
37 button {
38 background-color: #fefefe;
39 border: 1px solid #7c7c7c;
40 border-radius: 2px;
41 }
42
43 input:focus,
44 textarea:focus,
45 button:focus {
46 border-color: rgb(50, 160, 255);
47 box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.075), 0 0 6px rgba(50, 160, 255, 0.6);
48 outline: 0;
49 }
50
51 textarea.fixed-font {
52 font-family: "Lucida Console", "Lucida Sans Typewriter", "Bitstream Vera Sans Mono", monospace;
53 }
54
55 .checkbox,
56 .checkbox:hover,
57 input[type="checkbox"] {
58 background: none;
59 border: none;
60 cursor: pointer;
61 }
62
63 /* - - - - - - - - - - - - - - - - - - - - -
64 Buttons
65 - - - - - - - - - - - - - - - - - - - - - */
66
67 .btn {
68 text-shadow: 0 1px 1px rgba(0, 0, 0, 0.25);
69 padding: ceil(@padding-base-vertical / 2) ceil(@padding-base-horizontal * 2);
70 }
71
72 .btn:hover {
73 transition: background-color 0.1s ease;
74 }
75
76 /* Deprecated HTML5 definitions */
77 .t3-button,
78 button,
79 input[type=submit],
80 input[type=button],
81 input[type=reset] {
82 .btn;
83 .btn-default;
84 }
85
86 /* - - - - - - - - - - - - - - - - - - - - -
87 Groups
88 - - - - - - - - - - - - - - - - - - - - - */
89
90 .t3-form-field-group {
91 margin-bottom: 1.5em;
92 }
93
94 /* - - - - - - - - - - - - - - - - - - - - -
95 Go back A-tags
96 - - - - - - - - - - - - - - - - - - - - - */
97
98 a.typo3-goBack img {
99 margin-right: 5px;
100 vertical-align: middle;
101 }
102
103 span.typo3-moduleHeader img {
104 margin-right: 4px;
105 vertical-align: middle;
106 }
107
108 a.typo3-goBack {
109 font-weight: bold;
110 }