##// END OF EJS Templates
styling: capitalisation and spinner colours
lisaq -
r706:3de79f46 default
parent child Browse files
Show More
@@ -12,5 +12,15 b''
12 --primary-color: @rcblue;
12 --primary-color: @rcblue;
13 --light-primary-color: @rclightblue;
13 --light-primary-color: @rclightblue;
14 --dark-primary-color: @rcdarkblue;
14 --dark-primary-color: @rcdarkblue;
15 --primary-text-color: @grey2;
15 --primary-text-color: @text-color;
16
17 --paper-spinner-layer-1-color: @grey6;
18 --paper-spinner-layer-2-color: @grey5;
19 --paper-spinner-layer-3-color: @grey4;
20 --paper-spinner-layer-4-color: @grey3;
16 }
21 }
22
23 .paper-toggle-button {
24 display: inline;
25 }
26
@@ -10,7 +10,7 b''
10
10
11 <div class="panel panel-default">
11 <div class="panel panel-default">
12 <div class="panel-heading">
12 <div class="panel-heading">
13 <h3 class="panel-title">${_('Your live notification settings')}</h3>
13 <h3 class="panel-title">${_('Your Live Notification Settings')}</h3>
14 </div>
14 </div>
15 <div class="panel-body">
15 <div class="panel-body">
16
16
@@ -23,13 +23,11 b''
23 <div class="fields">
23 <div class="fields">
24 <div class="field">
24 <div class="field">
25 <div class="label">
25 <div class="label">
26 <label for="new_email">${_('Notifications status')}:</label>
26 <label for="new_email">${_('Notifications Status')}:</label>
27 </div>
27 </div>
28 <div class="checkboxes">
28 <div class="checkboxes">
29 <div style="display: inline-block">
29 <paper-toggle-button class="paper-toggle-button" on-change="toggleNotifications" ${'checked' if c.rhodecode_user.get_instance().user_data.get('notification_status') else ''}></paper-toggle-button>
30 <paper-toggle-button on-change="toggleNotifications" ${'checked' if c.rhodecode_user.get_instance().user_data.get('notification_status') else ''}></paper-toggle-button>
31 <paper-tooltip>Toggle your notifications on/off globally.</paper-tooltip>
30 <paper-tooltip>Toggle your notifications on/off globally.</paper-tooltip>
32 </div>
33 <template is="dom-if" if="{{changeNotificationsLoading}}">
31 <template is="dom-if" if="{{changeNotificationsLoading}}">
34 <paper-spinner active class="toggle-ajax-spinner"></paper-spinner>
32 <paper-spinner active class="toggle-ajax-spinner"></paper-spinner>
35 </template>
33 </template>
General Comments 0
You need to be logged in to leave comments. Login now