Skip to content
Snippets Groups Projects
Commit d6060f83 authored by Reinoud Bokhorst's avatar Reinoud Bokhorst
Browse files

OSB-31: fixed some styling

parent 346a794f
No related branches found
No related tags found
2 merge requests!89Monitoring maintenance Epic branch merge,!1Resolve OSB-13 "Monitoringmaintenance "
...@@ -45,7 +45,7 @@ ...@@ -45,7 +45,7 @@
font-size: 80%; font-size: 80%;
text-align: center; } text-align: center; }
.stv-rstm-summary-header { .stv-rtsm-summary-row .row-header {
width: 12rem !important; width: 12rem !important;
min-width: 12rem !important; min-width: 12rem !important;
cursor: pointer; } cursor: pointer; }
...@@ -79,7 +79,7 @@ ...@@ -79,7 +79,7 @@
to { to {
transform: rotate(0deg); } } transform: rotate(0deg); } }
.stv-rstm-summary-header-dropdownbutton { .stv-rtsm-summary-row .row-header-dropdownbutton {
display: inline; display: inline;
float: right; float: right;
animation: animation-close; animation: animation-close;
...@@ -87,14 +87,9 @@ ...@@ -87,14 +87,9 @@
animation-iteration-count: 1; animation-iteration-count: 1;
animation-timing-function: linear; } animation-timing-function: linear; }
.stv-rstm-summary-header-dropdownbutton-up { .stv-rtsm-summary-row .row-header-dropdownbutton-up {
transform: rotate(180deg); transform: rotate(180deg);
animation: animation-open; animation: animation-open;
animation-duration: 100ms; animation-duration: 100ms;
animation-iteration-count: 1; animation-iteration-count: 1;
animation-timing-function: linear; } animation-timing-function: linear; }
.stv-rstm-summary-header-text {
display: inline;
float: left;
margin-right: 1rem !important; }
...@@ -280,13 +280,13 @@ class RTSMSummaryLine extends Component { ...@@ -280,13 +280,13 @@ class RTSMSummaryLine extends Component {
} }
let dropdownAdditionStyles = "" let dropdownAdditionStyles = ""
if(this.state.displaySingleTests) dropdownAdditionStyles += "stv-rstm-summary-header-dropdownbutton-up" if(this.state.displaySingleTests) dropdownAdditionStyles += "row-header-dropdownbutton-up"
jsx = ( jsx = (
<React.Fragment> <React.Fragment>
<tr className='stv-rtsm-summary-row'> <tr className='stv-rtsm-summary-row'>
<td className="stv-rstm-summary-header" onClick={this.toggleDisplaySingleTests}> <td className="row-header" onClick={this.toggleDisplaySingleTests}>
RT {this.renderDateRange(this.props.data)} RT {this.renderDateRange(this.props.data)}
<DropDownIcon className={"stv-rstm-summary-header-dropdownbutton " + dropdownAdditionStyles} color="black" /> <DropDownIcon className={"row-header-dropdownbutton " + dropdownAdditionStyles} color="black" />
</td> </td>
{summaryLine} {summaryLine}
</tr> </tr>
......
...@@ -51,7 +51,7 @@ ...@@ -51,7 +51,7 @@
text-align: center; text-align: center;
} }
.stv-rstm-summary-header { .stv-rtsm-summary-row .row-header {
width: 12rem !important; width: 12rem !important;
min-width: 12rem !important; min-width: 12rem !important;
cursor: pointer; cursor: pointer;
...@@ -101,7 +101,7 @@ ...@@ -101,7 +101,7 @@
} }
} }
.stv-rstm-summary-header-dropdownbutton { .stv-rtsm-summary-row .row-header-dropdownbutton {
display: inline; display: inline;
float: right; float: right;
animation: animation-close; animation: animation-close;
...@@ -110,16 +110,10 @@ ...@@ -110,16 +110,10 @@
animation-timing-function: linear; animation-timing-function: linear;
} }
.stv-rstm-summary-header-dropdownbutton-up { .stv-rtsm-summary-row .row-header-dropdownbutton-up {
transform: rotate(180deg); transform: rotate(180deg);
animation: animation-open; animation: animation-open;
animation-duration: 100ms; animation-duration: 100ms;
animation-iteration-count: 1; animation-iteration-count: 1;
animation-timing-function: linear; animation-timing-function: linear;
} }
.stv-rstm-summary-header-text {
display: inline;
float: left;
margin-right: 1rem !important;
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment