Commit 4b09bc72 authored by Axel Bocciarelli's avatar Axel Bocciarelli
Browse files

Remove unused styles

parent 4e1cae42
.App {
text-align: center;
}
.App-logo {
animation: App-logo-spin infinite 20s linear;
height: 80px;
}
.App-header {
background-color: #222;
height: 150px;
padding: 20px;
color: white;
}
.App-title {
font-size: 1.5em;
}
.App-intro {
font-size: large;
}
@keyframes App-logo-spin {
from {
transform: rotate(0deg);
}
to {
transform: rotate(360deg);
}
}
.App-top-margin {
margin-top: 95px;
}
......@@ -27,7 +27,6 @@ import { getRemainingSessionTime } from './helpers/auth';
import { doLogOut, doSilentRefreshFromSSO } from './actions/login';
import keycloak from './config/sso/keycloak';
import Menu from './components/Menu/Menu';
import './App.css';
import { fetchAllInvestigations } from './actions/investigations';
import { fetchDataCollections } from './actions/datacollections';
import { useQuery } from './helpers/hooks';
......
import React from 'react';
import { Glyphicon } from 'react-bootstrap';
import DatasetDownloadButton from '../DatasetDownloadButton';
import './DatasetFooter.css';
class DatasetFooter extends React.Component {
render() {
return (
<div className="container-fluid">
<div className="pull-left">
<span>
{' '}
<Glyphicon glyph="folder-open" /> {this.props.location}
</span>
</div>
<div className="pull-right">
<DatasetDownloadButton
sessionId={this.props.sessionId}
id={this.props.dataset.id}
/>
</div>
function DatasetFooter(props) {
const { location, sessionId, dataset } = props;
return (
<div className="container-fluid">
<div className="pull-left">
<span>
{' '}
<Glyphicon glyph="folder-open" /> {location}
</span>
</div>
<div className="pull-right">
<DatasetDownloadButton sessionId={sessionId} id={dataset.id} />
</div>
);
}
</div>
);
}
export default DatasetFooter;
.column_parameter_value {
font-size: 12px;
font-weight: bold;
}
.table > tr {
border-top: 1px rgb(221, 221, 221) solid;
font-size: 11px;
}
import React from 'react';
import ResponsiveTable from '../../Table/ResponsiveTable';
import './DatasetMetadataTab.css';
class DatasetMetadataTab extends React.Component {
fieldFormatter(cell, row) {
......
.column_parameter_value {
font-size: 12px;
font-weight: bold;
}
.table > tr {
border-top: 1px rgb(221, 221, 221) solid;
font-size: 11px;
}
......@@ -9,7 +9,6 @@ import ParameterTableWidget from '../../Instrument/ParameterTableWidget';
import GalleryDatasetThumbnail from '../GalleryDatasetThumbnail';
import EMDatasetSummary from './EMDatasetSummary';
import MXDatasetSummary from './MXDatasetSummary';
import './DatasetSummary.css';
class DatasetSummary extends React.Component {
getParameters() {
......
......@@ -4,7 +4,6 @@ import moment from 'moment';
import { getDatasetParameterValueByName } from '../../../helpers';
import ParameterTableWidget from '../../Instrument/ParameterTableWidget';
import GalleryDatasetThumbnail from '../GalleryDatasetThumbnail';
import './DatasetSummary.css';
class EMDatasetSummary extends React.Component {
getParameters() {
......
......@@ -4,7 +4,6 @@ import moment from 'moment';
import { getDatasetParameterValueByName } from '../../../helpers';
import ParameterTableWidget from '../../Instrument/ParameterTableWidget';
import GalleryDatasetThumbnail from '../GalleryDatasetThumbnail';
import './DatasetSummary.css';
class MXDatasetSummary extends React.Component {
getParameters() {
......
.column_parameter_value {
font-size: 12px;
font-weight: bold;
}
.table > tr {
border-top: 1px rgb(221, 221, 221) solid;
font-size: 11px;
}
import React from 'react';
import './DatasetTechniqueTab.css';
import ResponsiveTable from '../../Table/ResponsiveTable';
function DatasetTechniqueTab(props) {
......
.column_parameter_value {
font-size: 12px;
font-weight: bold;
}
.table > tr {
border-top: 1px rgb(221, 221, 221) solid;
font-size: 11px;
}
import React from 'react';
import { Col, Grid, Image, Row } from 'react-bootstrap';
import { getFileByEventId } from '../../../api/icat/icatPlus';
import './PublicationSummary.css';
class PublicationSummary extends React.Component {
getImageFromGalleyByIndex(index) {
......
.list-group-item {
padding-top: 2px !important;
padding-right: 5px !important;
padding-bottom: 2px !important;
padding-left: 5px !important;
}
a {
color: #007bff;
text-decoration: none;
background-color: transparent;
-webkit-text-decoration-skip: objects;
}
.borderRadius-5 {
border-radius: 5px;
}
.font-1p4rem {
font-size: 1.4rem;
}
.investigation-table-container {
margin-right: 10px;
margin-left: 10px;
}
.investigation-row-disabled {
color: gray;
}
.arrow-prev,
.arrow-next {
width: 10px;
}
.customInnerWrapperClass {
transform: translate3d(0, 0, 0);
transition: transform 0.4s ease 0s;
width: unset !important;
text-align: left;
user-select: none;
white-space: nowrap;
}
.customWrapperClass {
overflow: hidden;
user-select: none;
flex: 1 1 100px;
}
......@@ -2,7 +2,6 @@ import { sortBy } from 'lodash-es';
import PropTypes from 'prop-types';
import React from 'react';
import { Button, Col, Grid, Label, Row } from 'react-bootstrap';
import './TagList.css';
/**
* React component which renders a list of tags in a panel
......
/* layout */
.row {
display: flex;
flex-direction: row;
width: 100%;
}
.col {
flex: 1;
padding: 15px;
}
.row > .col:first-child {
border-right: 1px solid #ccc;
}
.row > .col:last-child {
background: #fafafa;
}
.flex {
display: flex;
}
.wrap {
flex-wrap: wrap;
}
.column {
flex-direction: column;
}
.align-center {
align-items: center;
}
.justify-center {
justify-content: center;
}
.justify-space-between {
justify-content: space-between;
}
.text-center {
text-align: center;
}
@media all and (max-width: 767px) {
.row {
flex-direction: column;
}
.row > .col:first-child {
border-right: none;
max-width: none;
}
}
/* apps */
.authors-list {
color: #9d9d9d;
font-weight: bold;
}
.ratings-list {
padding: 10px 0;
}
.avg-rating {
color: #6b6b6b;
margin-left: 5px;
}
.stars {
color: gold;
}
.location {
color: salmon;
margin-right: 5px;
}
.meetup-location {
margin: 4px 0;
}
.book-title {
white-space: normal;
margin-top: 4px;
}
.book-title-card {
white-space: normal;
margin-top: 4px;
max-height: 45px;
}
.book-image {
height: 150px;
width: 110px;
background-size: cover;
}
.book-header {
font-weight: bold;
margin-bottom: 5px;
}
.book-content {
background: white;
margin: 10px 0;
box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12), 0 1px 2px rgba(0, 0, 0, 0.24);
}
.meetup-title {
white-space: normal;
}
.meetup-topics {
height: 35px;
overflow: hidden;
}
.meetup-topic {
background-color: #dedede;
color: #555;
padding: 5px 10px;
margin: 5px;
border-radius: 4px;
}
.meetup-topic:first-child {
margin-left: 0;
}
.col .meetup-list-image {
background-size: cover;
}
......@@ -136,3 +136,8 @@ pre {
.selection-row {
background-color: powderblue;
}
.table > tr {
border-top: 1px rgb(221, 221, 221) solid;
font-size: 11px;
}
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment