Browse Source

fix: stylistic fixes

develop
Ezerous 4 years ago
parent
commit
dc7a092c07
  1. 5
      packages/concordia-app/src/assets/css/index.css
  2. 2
      packages/concordia-app/src/components/TopicList/TopicListRow/index.jsx
  3. 8
      packages/concordia-app/src/layouts/MainLayout/MainLayoutMenu/styles.css
  4. 4
      packages/concordia-app/src/views/Home/Board/index.jsx
  5. 6
      packages/concordia-app/src/views/Home/Board/styles.css
  6. 4
      packages/concordia-app/src/views/Profile/styles.css
  7. 4
      packages/concordia-app/src/views/Topic/TopicCreate/index.jsx
  8. 5
      packages/concordia-app/src/views/Topic/TopicCreate/styles.css

5
packages/concordia-app/src/assets/css/index.css

@ -65,3 +65,8 @@ div {
-o-user-select: none; -o-user-select: none;
user-select: none; user-select: none;
} }
textarea, input, button, select {
font-family: inherit;
font-size: inherit;
}

2
packages/concordia-app/src/components/TopicList/TopicListRow/index.jsx

@ -160,9 +160,7 @@ const TopicListRow = (props) => {
</Grid> </Grid>
</Grid.Column> </Grid.Column>
</Grid> </Grid>
</Segment> </Segment>
</Dimmer.Dimmable> </Dimmer.Dimmable>
); );
}, [history, loading, numberOfReplies, t, timeAgo, topicAuthor, topicAuthorAddress, topicAuthorMeta, topicId, topicSubject]); }, [history, loading, numberOfReplies, t, timeAgo, topicAuthor, topicAuthorAddress, topicAuthorMeta, topicId, topicSubject]);

8
packages/concordia-app/src/layouts/MainLayout/MainLayoutMenu/styles.css

@ -11,3 +11,11 @@
position: relative; position: relative;
border-bottom: solid rgba(255, 255, 255,0.2) 1px; border-bottom: solid rgba(255, 255, 255,0.2) 1px;
} }
#main-layout-menu .link.item {
border-radius: 0;
}
#main-layout-menu .link.item::before {
background: rgba(255, 255, 255,0.2);
}

4
packages/concordia-app/src/views/Home/Board/index.jsx

@ -36,7 +36,7 @@ const Board = (props) => {
? (<TopicList topicIds={_.rangeRight(0, numberOfTopics)} />) ? (<TopicList topicIds={_.rangeRight(0, numberOfTopics)} />)
: (!hasSignedUp : (!hasSignedUp
? ( ? (
<div id="no-topic-message" className="vertical-center-in-parent"> <div id="no-topic-message" className="vertical-center-in-parent unselectable">
<Header textAlign="center" as="h2"> <Header textAlign="center" as="h2">
{t('board.header.no.topics.message')} {t('board.header.no.topics.message')}
</Header> </Header>
@ -46,7 +46,7 @@ const Board = (props) => {
</div> </div>
) )
: ( : (
<div id="no-topic-message" className="vertical-center-in-parent"> <div id="no-topic-message" className="vertical-center-in-parent unselectable">
<Header textAlign="center" as="h2"> <Header textAlign="center" as="h2">
{t('board.header.no.topics.message')} {t('board.header.no.topics.message')}
</Header> </Header>

6
packages/concordia-app/src/views/Home/Board/styles.css

@ -1,8 +1,12 @@
#no-topic-message { #no-topic-message {
padding-top: 7rem; padding-top: 22rem;
clear: both; clear: both;
} }
#no-topic-message > .header {
color: white;
}
#new-topic-button{ #new-topic-button{
float:right; float:right;
margin-top: 1px; margin-top: 1px;

4
packages/concordia-app/src/views/Profile/styles.css

@ -1,3 +1,7 @@
#profile-container { #profile-container {
height: auto !important; height: auto !important;
} }
#profile-container .ui.tabular.menu > [class="item"] {
color: white;
}

4
packages/concordia-app/src/views/Topic/TopicCreate/index.jsx

@ -100,7 +100,7 @@ const TopicCreate = (props) => {
<Header id="new-topic-header" as="h2">New Topic</Header> <Header id="new-topic-header" as="h2">New Topic</Header>
<Form loading={posting}> <Form loading={posting}>
<Form.Field required> <Form.Field required>
<label htmlFor="form-topic-create-field-subject"> <label className="form-topic-create-header" htmlFor="form-topic-create-field-subject">
{t('topic.create.form.subject.field.label')} {t('topic.create.form.subject.field.label')}
</label> </label>
<Input <Input
@ -113,7 +113,7 @@ const TopicCreate = (props) => {
/> />
</Form.Field> </Form.Field>
<Form.Field required> <Form.Field required>
<label htmlFor="form-topic-create-field-message"> <label className="form-topic-create-header" htmlFor="form-topic-create-field-message">
{t('topic.create.form.content.field.label')} {t('topic.create.form.content.field.label')}
</label> </label>
<TextArea <TextArea

5
packages/concordia-app/src/views/Topic/TopicCreate/styles.css

@ -1,6 +1,11 @@
#new-topic-header { #new-topic-header {
padding: 2rem; padding: 2rem;
text-align: center; text-align: center;
color: white;
}
.form-topic-create-header{
color: white !important;
} }
.form-textarea-required { .form-textarea-required {

Loading…
Cancel
Save