[BUGFIX] Workspaces: Fix broken buttons in frontend 97/37097/5
authorAndreas Fernandez <a.fernandez@scripting-base.de>
Mon, 23 Feb 2015 07:08:45 +0000 (08:08 +0100)
committerMarkus Klein <klein.t3@reelworx.at>
Wed, 25 Feb 2015 16:56:24 +0000 (17:56 +0100)
Adds a font size to the button text, so the button text in the
"send stage" windows in the workspace dialogs used in the
frontend become visible again. Also, a background color is
added to the top buttons to fix the "cut".

Resolves: #65102
Releases: master, 6.2
Change-Id: I928299e602829b322e3c6515367bcf1ac59b2479
Reviewed-on: http://review.typo3.org/37097
Reviewed-by: Tymoteusz Motylewski <t.motylewski@gmail.com>
Tested-by: Tymoteusz Motylewski <t.motylewski@gmail.com>
Reviewed-by: Nicole Cordes <typo3@cordes.co>
Reviewed-by: Frederic Gaus <gaus@flagbit.de>
Tested-by: Frederic Gaus <gaus@flagbit.de>
Reviewed-by: Markus Klein <klein.t3@reelworx.at>
Tested-by: Markus Klein <klein.t3@reelworx.at>
typo3/sysext/workspaces/Resources/Public/StyleSheet/preview.css

index c190172..76fcadd 100644 (file)
@@ -6,6 +6,10 @@
  * Tabs
  */
 
+.x-btn button {
+       font-size: 12px;
+}
+
 /* panel containing the tabs */
 .x-tab-panel-header {
        background-color: #3f3f3f;
@@ -80,8 +84,9 @@ ul.x-tab-strip-top {
        color: #ffffff;
 }
 
-/* text in tabs should not be italic.. why should it be? */
-.x-tab-strip em {
+/* text in tabs and buttons should not be italic.. why should it be? */
+.x-tab-strip em,
+.x-btn-text {
        font-style: normal;
 }
 
@@ -258,8 +263,7 @@ ul.x-tab-strip-top {
        float: right;
 }
 #feToolbarButtonNextStage.x-btn, #feToolbarButtonPreviousStage.x-btn, #feToolbarButtonDiscardStage.x-btn {
-       background-image: url('../Images/button_approve.png');
-       background-repeat: repeat-x;
+       background: url('../Images/button_approve.png') #55A245 repeat-x;
        border: 1px solid #7c7c7c;
        border-radius: 1px;
        margin-right: 10px;
@@ -275,9 +279,11 @@ ul.x-tab-strip-top {
        color:#7c7c7c;
 }
 #feToolbarButtonPreviousStage.x-btn {
+       background-color: #D5D5D5;
        background-image: url('../Images/button_reject.png');
 }
 #feToolbarButtonDiscardStage.x-btn {
+       background-color: #CD0505;
        background-image: url('../Images/button_discard.png');
 }
 #sendToStageWindow .x-btn {