Merge pull request #5295 from vector-im/luke/groups-room-directory-esque

CSS for Modifying GroupView UI matrix-org/matrix-react-sdk#1475
This commit is contained in:
Luke Barnard 2017-10-16 13:52:38 +02:00 committed by GitHub
commit 102651332a
13 changed files with 61 additions and 26 deletions

View File

@ -330,7 +330,7 @@ module.exports = React.createClass({
<div className="mx_RightPanel_icon" > <div className="mx_RightPanel_icon" >
<TintableSvg src="img/icons-room-add.svg" width="35" height="35" /> <TintableSvg src="img/icons-room-add.svg" width="35" height="35" />
</div> </div>
<div className="mx_RightPanel_message">{ _t('Add room to this group') }</div> <div className="mx_RightPanel_message">{ _t('Add rooms to this group') }</div>
</AccessibleButton> </AccessibleButton>
); );
} }

View File

@ -216,6 +216,5 @@
"State Key": "Status-Schlüssel", "State Key": "Status-Schlüssel",
"Invite to this group": "In diese Gruppe einladen", "Invite to this group": "In diese Gruppe einladen",
"Filter results": "Ergebnisse filtern", "Filter results": "Ergebnisse filtern",
"You must specify an event type!": "Du musst einen Event-Typ spezifizieren!", "You must specify an event type!": "Du musst einen Event-Typ spezifizieren!"
"Add room to this group": "Raum zu dieser Gruppe hinzufügen"
} }

View File

@ -213,5 +213,5 @@
"Set Password": "Set Password", "Set Password": "Set Password",
"Couldn't load home page": "Couldn't load home page", "Couldn't load home page": "Couldn't load home page",
"Invite to this group": "Invite to this group", "Invite to this group": "Invite to this group",
"Add room to this group": "Add room to this group" "Add rooms to this group": "Add rooms to this group"
} }

View File

@ -219,7 +219,6 @@
"Set Password": "Establecer contrasinal", "Set Password": "Establecer contrasinal",
"Couldn't load home page": "Non se cargou a páxina de inicio", "Couldn't load home page": "Non se cargou a páxina de inicio",
"Invite to this group": "Convidar a este grupo", "Invite to this group": "Convidar a este grupo",
"Add room to this group": "Engadir sala a este grupo",
"You might have configured them in a client other than Riot. You cannot tune them in Riot but they still apply": "Pode que os configurase nun cliente diferente de Riot. Non pode establecelos desde Riot pero aínda así aplicaranse", "You might have configured them in a client other than Riot. You cannot tune them in Riot but they still apply": "Pode que os configurase nun cliente diferente de Riot. Non pode establecelos desde Riot pero aínda así aplicaranse",
"Riot/Android &amp; matrix-android-sdk chat": "Chat para Riot/Android &amp; matrix-android-sdk" "Riot/Android &amp; matrix-android-sdk chat": "Chat para Riot/Android &amp; matrix-android-sdk"
} }

View File

@ -207,6 +207,5 @@
"State Key": "Állapot kulcs", "State Key": "Állapot kulcs",
"Invite to this group": "Meghívás ebbe a csoportba", "Invite to this group": "Meghívás ebbe a csoportba",
"Filter results": "Találatok szűrése", "Filter results": "Találatok szűrése",
"You must specify an event type!": "Meg kell határoznod az esemény típusát!", "You must specify an event type!": "Meg kell határoznod az esemény típusát!"
"Add room to this group": "Szoba hozzáadása ehhez a csoporthoz"
} }

View File

@ -206,6 +206,5 @@
"Event Type": "Tipo di Evento", "Event Type": "Tipo di Evento",
"Event Content": "Contenuto dell'Evento", "Event Content": "Contenuto dell'Evento",
"State Key": "Chiave dello Stato", "State Key": "Chiave dello Stato",
"Invite to this group": "Invita in questo gruppo", "Invite to this group": "Invita in questo gruppo"
"Add room to this group": "Aggiungi stanza a questo gruppo"
} }

View File

@ -207,6 +207,5 @@
"Event sent!": "Event verstuurd!", "Event sent!": "Event verstuurd!",
"Event Type": "Event-type", "Event Type": "Event-type",
"Event Content": "Event-inhoud", "Event Content": "Event-inhoud",
"State Key": "Toestandssleutel", "State Key": "Toestandssleutel"
"Add room to this group": "Voeg een ruimte aan deze groep toe"
} }

View File

@ -209,6 +209,5 @@
"Couldn't load home page": "Não foi possível carregar a página inicial", "Couldn't load home page": "Não foi possível carregar a página inicial",
"Invite to this group": "Convidar para este grupo", "Invite to this group": "Convidar para este grupo",
"Filter results": "Filtrar resultados", "Filter results": "Filtrar resultados",
"You must specify an event type!": "Tem que especificar um tipo de evento!", "You must specify an event type!": "Tem que especificar um tipo de evento!"
"Add room to this group": "Adicionar sala a este grupo"
} }

View File

@ -210,6 +210,5 @@
"Event Type": "Tipo do Evento", "Event Type": "Tipo do Evento",
"Event Content": "Conteúdo do Evento", "Event Content": "Conteúdo do Evento",
"State Key": "Chave do Estado", "State Key": "Chave do Estado",
"Invite to this group": "Convide para este grupo", "Invite to this group": "Convide para este grupo"
"Add room to this group": "Adicione sala para este grupo"
} }

View File

@ -214,6 +214,5 @@
"State Key": "Ключ состояния", "State Key": "Ключ состояния",
"Invite to this group": "Пригласить в эту группу", "Invite to this group": "Пригласить в эту группу",
"Filter results": "Фильтрация результатов", "Filter results": "Фильтрация результатов",
"You must specify an event type!": "Необходимо указать тип мероприятия!", "You must specify an event type!": "Необходимо указать тип мероприятия!"
"Add room to this group": "Добавить комнату в эту группу"
} }

View File

@ -207,6 +207,5 @@
"Event Type": "Тип західу", "Event Type": "Тип західу",
"Event Content": "Зміст заходу", "Event Content": "Зміст заходу",
"State Key": "Ключ стану", "State Key": "Ключ стану",
"Invite to this group": "Запросити в цю групу", "Invite to this group": "Запросити в цю групу"
"Add room to this group": "Додати кімнату в цю группу"
} }

View File

@ -207,6 +207,5 @@
"State Key": "狀態金鑰", "State Key": "狀態金鑰",
"Invite to this group": "邀請進入此群組", "Invite to this group": "邀請進入此群組",
"Filter results": "過濾結果", "Filter results": "過濾結果",
"You must specify an event type!": "您必須指定事件類型!", "You must specify an event type!": "您必須指定事件類型!"
"Add room to this group": "新增聊天室到此群組"
} }

View File

@ -19,6 +19,9 @@ limitations under the License.
width: 100%; width: 100%;
margin-left: auto; margin-left: auto;
margin-right: auto; margin-right: auto;
display: flex;
flex-direction: column;
overflow: hidden;
} }
.mx_GroupView_error { .mx_GroupView_error {
@ -27,15 +30,13 @@ limitations under the License.
.mx_GroupView_header { .mx_GroupView_header {
max-width: 960px; max-width: 960px;
margin: auto;
height: 70px; height: 70px;
align-items: center; align-items: center;
display: flex; display: flex;
margin-bottom: 20px;
} }
.mx_GroupView_header_view { .mx_GroupView_header_view {
border-bottom: 1px solid #e5e5e5; border-bottom: 1px solid $primary-hairline-color;
} }
.mx_GroupView_header_avatar, .mx_GroupView_header_info { .mx_GroupView_header_avatar, .mx_GroupView_header_info {
@ -133,9 +134,53 @@ limitations under the License.
top: 5px; top: 5px;
} }
.mx_GroupView_body {
display: flex;
flex-direction: column;
flex-grow: 1;
}
.mx_GroupView_rooms {
flex-grow: 1;
display: flex;
flex-direction: column;
min-height: 200px;
user-select: none;
}
.mx_GroupView_rooms_header h3 {
margin-bottom: 10px
}
.mx_GroupView_rooms_header .mx_AccessibleButton {
padding-left: 14px;
margin-bottom: 14px;
height: 24px;
}
.mx_GroupView_rooms_header_addButton {
display: inline-block;
}
.mx_GroupView_rooms_header_addButton_label {
display: inline-block;
vertical-align: top;
line-height: 24px;
padding-left: 28px;
color: $accent-color;
}
.mx_GroupView_rooms .mx_RoomDetailList {
flex-grow: 1;
border-top: 1px solid $primary-hairline-color;
padding-top: 10px;
}
.mx_GroupView .mx_RoomView_messageListWrapper {
justify-content: flex-start;
}
.mx_GroupView_membershipSection { .mx_GroupView_membershipSection {
margin-left: auto;
margin-right: auto;
margin-bottom: 11px; margin-bottom: 11px;
color: $greyed-fg-color; color: $greyed-fg-color;
} }