Add deprecation and refactor notices to legacy styles

This commit is contained in:
Chi Vinh Le
2017-08-30 19:56:24 +07:00
parent 67b0624c90
commit 4ce6206516
8 changed files with 36 additions and 9 deletions
@@ -1,3 +1,7 @@
/**
* @TODO: deprecated as this file contains styles from multiple components. Please refactor.
*/
.container {
display: flex;
@@ -1,3 +1,7 @@
/**
* @TODO: deprecated as this file contains styles from multiple components. Please refactor.
*/
.Dashboard {
display: flex;
}
@@ -1,3 +1,7 @@
/**
* @TODO: deprecated as this file contains styles from multiple components. Please refactor.
*/
:root {
--row-height: 60px;
}
@@ -1,12 +1,12 @@
.Install {
.install {
max-width: 900px;
margin: 0 auto;
text-align: center;
padding: 50px 0;
}
h2 {
font-size: 2em;
font-weight: 500;
margin: 0;
}
.header {
font-size: 2em;
font-weight: 500;
margin: 0;
}
@@ -1,5 +1,5 @@
import React, {Component} from 'react';
import styles from './style.css';
import styles from './Install.css';
import {Wizard, WizardNav} from 'coral-ui';
import Layout from 'coral-admin/src/components/ui/Layout';
@@ -37,11 +37,11 @@ export default class Install extends Component {
return (
<Layout restricted={true}>
<div className={styles.Install}>
<div className={styles.install}>
{
!install.alreadyInstalled ? (
<div>
<h2>Welcome to the Coral Project</h2>
<h2 className={styles.header}>Welcome to the Coral Project</h2>
{ install.step !== 0 ? <WizardNav items={install.navItems} currentStep={install.step} icon='check'/> : null }
<Wizard
currentStep={install.step}
@@ -1,3 +1,8 @@
/**
* @TODO: deprecated as this file contains styles from multiple components. Please remove this file
* when styles have been refactored.
*/
.step {
padding: 20px 0;
@@ -1,3 +1,8 @@
/**
* @TODO: deprecated as this file contains styles from multiple components. Please remove this file
* when styles have been refactored.
*/
@custom-media --big-viewport (min-width: 780px);
.listContainer {
@@ -1,3 +1,8 @@
/**
* @TODO: deprecated as default styles should be included in the components.
* Please remove this file when styles have been refactored.
*/
* {
font-family: inherit;
font-style: inherit;