mirror of
https://github.com/SchildiChat/element-web.git
synced 2024-10-01 01:26:12 -04:00
Merge pull request #641 from vector-im/push-rules-settings
Push rules settings
This commit is contained in:
commit
37e8a35967
@ -33,9 +33,9 @@ module.exports.components['structures.ViewSource'] = require('./components/struc
|
|||||||
module.exports.components['views.elements.ImageView'] = require('./components/views/elements/ImageView');
|
module.exports.components['views.elements.ImageView'] = require('./components/views/elements/ImageView');
|
||||||
module.exports.components['views.elements.Spinner'] = require('./components/views/elements/Spinner');
|
module.exports.components['views.elements.Spinner'] = require('./components/views/elements/Spinner');
|
||||||
module.exports.components['views.globals.MatrixToolbar'] = require('./components/views/globals/MatrixToolbar');
|
module.exports.components['views.globals.MatrixToolbar'] = require('./components/views/globals/MatrixToolbar');
|
||||||
module.exports.components['views.login.CustomServerDialog'] = require('./components/views/login/VectorCustomServerDialog');
|
module.exports.components['views.login.VectorCustomServerDialog'] = require('./components/views/login/VectorCustomServerDialog');
|
||||||
module.exports.components['views.login.LoginFooter'] = require('./components/views/login/VectorLoginFooter');
|
module.exports.components['views.login.VectorLoginFooter'] = require('./components/views/login/VectorLoginFooter');
|
||||||
module.exports.components['views.login.LoginHeader'] = require('./components/views/login/VectorLoginHeader');
|
module.exports.components['views.login.VectorLoginHeader'] = require('./components/views/login/VectorLoginHeader');
|
||||||
module.exports.components['views.messages.DateSeparator'] = require('./components/views/messages/DateSeparator');
|
module.exports.components['views.messages.DateSeparator'] = require('./components/views/messages/DateSeparator');
|
||||||
module.exports.components['views.messages.MessageTimestamp'] = require('./components/views/messages/MessageTimestamp');
|
module.exports.components['views.messages.MessageTimestamp'] = require('./components/views/messages/MessageTimestamp');
|
||||||
module.exports.components['views.messages.SenderProfile'] = require('./components/views/messages/SenderProfile');
|
module.exports.components['views.messages.SenderProfile'] = require('./components/views/messages/SenderProfile');
|
||||||
@ -45,3 +45,4 @@ module.exports.components['views.rooms.RoomDNDView'] = require('./components/vie
|
|||||||
module.exports.components['views.rooms.RoomDropTarget'] = require('./components/views/rooms/RoomDropTarget');
|
module.exports.components['views.rooms.RoomDropTarget'] = require('./components/views/rooms/RoomDropTarget');
|
||||||
module.exports.components['views.rooms.RoomTooltip'] = require('./components/views/rooms/RoomTooltip');
|
module.exports.components['views.rooms.RoomTooltip'] = require('./components/views/rooms/RoomTooltip');
|
||||||
module.exports.components['views.rooms.SearchBar'] = require('./components/views/rooms/SearchBar');
|
module.exports.components['views.rooms.SearchBar'] = require('./components/views/rooms/SearchBar');
|
||||||
|
module.exports.components['views.settings.Notifications'] = require('./components/views/settings/Notifications');
|
||||||
|
@ -25,7 +25,7 @@ module.exports = React.createClass({
|
|||||||
render: function() {
|
render: function() {
|
||||||
return (
|
return (
|
||||||
<div className="mx_ErrorDialog">
|
<div className="mx_ErrorDialog">
|
||||||
<div className="mx_ErrorDialogTitle">
|
<div className="mx_Dialog_title">
|
||||||
Custom Server Options
|
Custom Server Options
|
||||||
</div>
|
</div>
|
||||||
<div className="mx_Dialog_content">
|
<div className="mx_Dialog_content">
|
||||||
|
1020
src/components/views/settings/Notifications.js
Normal file
1020
src/components/views/settings/Notifications.js
Normal file
File diff suppressed because it is too large
Load Diff
@ -187,8 +187,7 @@ input[type=text]:focus, textarea:focus {
|
|||||||
padding-right: 1em;
|
padding-right: 1em;
|
||||||
}
|
}
|
||||||
|
|
||||||
.mx_ErrorDialogTitle,
|
.mx_Dialog_title {
|
||||||
.mx_QuestionDialogTitle {
|
|
||||||
min-height: 16px;
|
min-height: 16px;
|
||||||
padding: 12px;
|
padding: 12px;
|
||||||
border-bottom: 1px solid #a4a4a4;
|
border-bottom: 1px solid #a4a4a4;
|
||||||
@ -196,3 +195,14 @@ input[type=text]:focus, textarea:focus {
|
|||||||
font-size: 18px;
|
font-size: 18px;
|
||||||
line-height: 1.4;
|
line-height: 1.4;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.mx_TextInputDialog_label {
|
||||||
|
text-align: left;
|
||||||
|
padding-bottom: 12px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.mx_TextInputDialog_input {
|
||||||
|
color: #747474;
|
||||||
|
font-weight: 300;
|
||||||
|
font-size: 15px;
|
||||||
|
}
|
||||||
|
@ -86,6 +86,13 @@ limitations under the License.
|
|||||||
border-bottom: 1px solid #eee;
|
border-bottom: 1px solid #eee;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.mx_UserSettings h3 {
|
||||||
|
font-weight: bold;
|
||||||
|
font-size: 15px;
|
||||||
|
margin-top: 4px;
|
||||||
|
margin-bottom: 4px;
|
||||||
|
}
|
||||||
|
|
||||||
.mx_UserSettings_section {
|
.mx_UserSettings_section {
|
||||||
margin-left: 63px;
|
margin-left: 63px;
|
||||||
margin-top: 28px;
|
margin-top: 28px;
|
||||||
@ -104,8 +111,7 @@ limitations under the License.
|
|||||||
float: left;
|
float: left;
|
||||||
}
|
}
|
||||||
|
|
||||||
.mx_UserSettings_profileTableRow,
|
.mx_UserSettings_profileTableRow
|
||||||
.mx_UserSettings_notifTableRow
|
|
||||||
{
|
{
|
||||||
display: table-row;
|
display: table-row;
|
||||||
}
|
}
|
||||||
@ -137,24 +143,6 @@ limitations under the License.
|
|||||||
font-size: 16px;
|
font-size: 16px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.mx_UserSettings_profileInputCell .mx_EditableText_placeholder {
|
|
||||||
color: rgba(74, 74, 74, 0.5);
|
|
||||||
}
|
|
||||||
|
|
||||||
.mx_UserSettings_notifInputCell {
|
|
||||||
display: table-cell;
|
|
||||||
padding-bottom: 21px;
|
|
||||||
padding-right: 8px;
|
|
||||||
width: 16px;
|
|
||||||
}
|
|
||||||
|
|
||||||
.mx_UserSettings_notifLabelCell
|
|
||||||
{
|
|
||||||
padding-bottom: 21px;
|
|
||||||
width: 270px;
|
|
||||||
display: table-cell;
|
|
||||||
}
|
|
||||||
|
|
||||||
.mx_UserSettings_logout {
|
.mx_UserSettings_logout {
|
||||||
float: right;
|
float: right;
|
||||||
margin-right: 32px;
|
margin-right: 32px;
|
||||||
|
@ -0,0 +1,62 @@
|
|||||||
|
/*
|
||||||
|
Copyright 2015, 2016 OpenMarket Ltd
|
||||||
|
|
||||||
|
Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
|
you may not use this file except in compliance with the License.
|
||||||
|
You may obtain a copy of the License at
|
||||||
|
|
||||||
|
http://www.apache.org/licenses/LICENSE-2.0
|
||||||
|
|
||||||
|
Unless required by applicable law or agreed to in writing, software
|
||||||
|
distributed under the License is distributed on an "AS IS" BASIS,
|
||||||
|
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||||
|
See the License for the specific language governing permissions and
|
||||||
|
limitations under the License.
|
||||||
|
*/
|
||||||
|
|
||||||
|
.mx_UserNotifSettings_tableRow
|
||||||
|
{
|
||||||
|
display: table-row;
|
||||||
|
}
|
||||||
|
|
||||||
|
.mx_UserNotifSettings_inputCell {
|
||||||
|
display: table-cell;
|
||||||
|
padding-bottom: 21px;
|
||||||
|
padding-right: 8px;
|
||||||
|
width: 16px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.mx_UserNotifSettings_labelCell
|
||||||
|
{
|
||||||
|
padding-bottom: 21px;
|
||||||
|
width: 270px;
|
||||||
|
display: table-cell;
|
||||||
|
}
|
||||||
|
|
||||||
|
.mx_UserNotifSettings_pushRulesTableWrapper {
|
||||||
|
padding-bottom: 21px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.mx_UserNotifSettings_pushRulesTable {
|
||||||
|
width: 100%;
|
||||||
|
table-layout: fixed;
|
||||||
|
}
|
||||||
|
|
||||||
|
.mx_UserNotifSettings_pushRulesTable thead {
|
||||||
|
font-weight: bold;
|
||||||
|
font-size: 15px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.mx_UserNotifSettings_pushRulesTable tbody th {
|
||||||
|
font-weight: 400;
|
||||||
|
font-size: 15px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.mx_UserNotifSettings_pushRulesTable tbody th:first-child {
|
||||||
|
text-align: left;
|
||||||
|
}
|
||||||
|
|
||||||
|
.mx_UserNotifSettings_keywords {
|
||||||
|
cursor: pointer;
|
||||||
|
color: #76cfa6;
|
||||||
|
}
|
Loading…
Reference in New Issue
Block a user