Browse Source

feat(feedback): tweak styling (#2791)

- Green stars
- Label for feedback box
- Adjust margins/padding
j8
virtuacoplenny 7 years ago
parent
commit
3285d647e6

+ 0
- 4
css/_variables.scss View File

@@ -80,10 +80,6 @@ $feedbackInputBg: #fff;
80 80
 $feedbackTextColor: #000;
81 81
 $feedbackInputTextColor: #333;
82 82
 $feedbackInputPlaceholderColor: #777;
83
-$rateStarLabelColor: #333;
84
-$rateStarDefault: #ccc;
85
-$rateStarActivity: #165ecc;
86
-$rateStarSize: 34px;
87 83
 
88 84
 /**
89 85
  * Modals

+ 3
- 7
css/modals/feedback/_feedback.scss View File

@@ -47,10 +47,6 @@
47 47
 
48 48
 .feedback-dialog {
49 49
     .details {
50
-        margin-top: 20px;
51
-        padding-left: 60px;
52
-        padding-right: 60px;
53
-
54 50
         textarea {
55 51
             min-height: 100px;
56 52
         }
@@ -82,10 +78,10 @@
82 78
         }
83 79
 
84 80
         .star-btn {
85
-            color: $rateStarDefault;
81
+            color: inherit;
86 82
             cursor: pointer;
87 83
             display: inline-block;
88
-            font-size: $rateStarSize;
84
+            font-size: 34px;
89 85
             outline: none;
90 86
             position: relative;
91 87
             text-decoration: none;
@@ -94,7 +90,7 @@
94 90
             &.active,
95 91
             &:hover,
96 92
             &.starHover {
97
-                color: $rateStarActivity;
93
+                color: #36B37E;
98 94
             };
99 95
 
100 96
         }

+ 2
- 1
lang/main.json View File

@@ -506,7 +506,8 @@
506 506
         "average": "Average",
507 507
         "bad": "Bad",
508 508
         "good": "Good",
509
-        "rateExperience": "Please rate your meeting experience.",
509
+        "detailsLabel": "Tell us more about it.",
510
+        "rateExperience": "Rate your meeting experience",
510 511
         "veryBad": "Very Bad",
511 512
         "veryGood": "Very Good"
512 513
     },

+ 1
- 2
react/features/feedback/components/FeedbackDialog.web.js View File

@@ -224,9 +224,8 @@ class FeedbackDialog extends Component {
224 224
                             autoFocus = { true }
225 225
                             className = 'input-control'
226 226
                             id = 'feedbackTextArea'
227
-                            isLabelHidden = { true }
227
+                            label = { t('feedback.detailsLabel') }
228 228
                             onChange = { this._onMessageChange }
229
-                            placeholder = { t('dialog.feedbackHelp') }
230 229
                             shouldFitContainer = { true }
231 230
                             value = { message } />
232 231
                     </div>

Loading…
Cancel
Save