Skip to content
Snippets Groups Projects
Commit d94586cf authored by Ramesh Kumar's avatar Ramesh Kumar
Browse files

TMSS-297: Updated style and class names

parent e2fbccc7
No related branches found
No related tags found
1 merge request!209Resolve TMSS-297
...@@ -53,6 +53,10 @@ a{ ...@@ -53,6 +53,10 @@ a{
margin-bottom: 10px; margin-bottom: 10px;
} }
.main-content {
margin-top:20px;
}
.main-content span,a{ .main-content span,a{
font-size: 14px; font-size: 14px;
} }
......
...@@ -23,14 +23,3 @@ ...@@ -23,14 +23,3 @@
border-top: none; border-top: none;
} }
} }
.app-header {
display: flex;
justify-content: space-between;
align-items: baseline;
}
.app-header .app-header-name {
margin-bottom: 0;
}
.app-header .app-header-actions i {
margin-left: 20px;
}
\ No newline at end of file
...@@ -22,12 +22,12 @@ export default ({ title, subTitle, actions, ...props}) => { ...@@ -22,12 +22,12 @@ export default ({ title, subTitle, actions, ...props}) => {
}; };
return ( return (
<div className="app-header"> <div className="page-header">
<div className="title"> <div className="title">
<h2 className="app-header-name">{title || page.title}</h2> <h2 className="page-title">{title || page.title}</h2>
{(page.subTitle || subTitle) && <h6 className="app-header-subtitle">{subTitle || page.subTitle}</h6>} {(page.subTitle || subTitle) && <h6 className="page-subtitle">{subTitle || page.subTitle}</h6>}
</div> </div>
<div className="app-header-actions"> <div className="page-action-menu">
{(actions || []).map(action => { {(actions || []).map(action => {
return ( return (
<Link to={{ ...action.props }} title={action.title || ''} onClick={() => onClickLink(action)}> <Link to={{ ...action.props }} title={action.title || ''} onClick={() => onClickLink(action)}>
......
...@@ -12,3 +12,4 @@ ...@@ -12,3 +12,4 @@
@import "./_dashboard"; @import "./_dashboard";
@import "./_breadcrumb"; @import "./_breadcrumb";
@import "./_viewtable"; @import "./_viewtable";
@import "./_pageheader";
.page-header {
display: flex;
justify-content: space-between;
align-items: baseline;
border-bottom: 1px solid #e0e0e0;
margin-bottom: 10px;
padding-bottom: 5px;
}
.page-title {
margin-bottom: 0;
}
.page-subtitle {
color: #b4b2b2;
font-size: 100%;
font-weight: 400;
margin-bottom: 0px;
}
.page-action-menu i {
margin-left: 5px;
}
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment