[TASK] Follow-up: Buttons CSS definition 60/27260/4
authorFelix Kopp <felix-source@phorax.com>
Sun, 2 Feb 2014 11:55:05 +0000 (12:55 +0100)
committerWouter Wolters <typo3@wouterwolters.nl>
Sun, 2 Feb 2014 15:57:53 +0000 (16:57 +0100)
Moves definitions to CSS/structure.
Also fixes right margin for a.t3-button.

Change-Id: Ib51e8b7e3c11e0a4cf474b6322aaeaed11c63b55
Resolves: #55588
Related: #55539
Releases: 6.2
Reviewed-on: https://review.typo3.org/27260
Reviewed-by: Marcin Sągol
Tested-by: Marcin Sągol
Reviewed-by: Wouter Wolters
Tested-by: Wouter Wolters
typo3/sysext/t3skin/Resources/Public/Css/structure/main_form.css
typo3/sysext/t3skin/Resources/Public/Css/visual/main_form.css

index 73d2712..fcca18d 100644 (file)
@@ -10,11 +10,14 @@ form {
        margin-bottom: 1.25em;
 }
 
+.t3-button,
 input,
 textarea,
 button {
-       padding: 3px 6px;
+       display: inline-block;
        margin: 0 0.5em 0.5em 0;
+       padding: 3px 6px;
+       vertical-align: middle;
 }
 
 input[type=checkbox] {
index 79ced28..4aebbc3 100644 (file)
@@ -28,32 +28,25 @@ input[type="checkbox"] {
 /* - - - - - - - - - - - - - - - - - - - - -
 Buttons
 - - - - - - - - - - - - - - - - - - - - - */
+
 .t3-button,
 button,
 input[type="submit"],
 input[type="reset"],
 input[type="button"] {
-       font-size: 12px;
-       line-height: 1.5em;
-       display: inline-block;
-       margin-bottom: 0;
-       font-weight: normal;
-       text-align: center;
-       vertical-align: middle;
-       cursor: pointer;
+       background-color: #E0E0E0;
        background-image: none;
+       border: 1px solid #7c7c7c;
+       border-radius: 2px;
+       color: #434343;
+       cursor: pointer;
        white-space: nowrap;
        -webkit-user-select: none;
        -moz-user-select: none;
        -ms-user-select: none;
         -o-user-select: none;
        user-select: none;
-       border-radius: 2px;
        text-decoration: none!important;
-       padding: 6px 10px;
-       background-color: #E0E0E0;
-       border: 1px solid #7c7c7c;
-       color: #434343;
 }
 
 .t3-button:hover,