Merge branch 'master' into csstheming

# Conflicts:
#	src/elements/PageTitle/PageTitle.module.css
#	src/elements/Preview/Preview.module.css
#	src/elements/SideBar/SideBar.module.css
#	src/index.css
#	src/pages/Player/Player.js
#	src/pages/Player/Player.module.css
#	src/pages/SettingsPage/SettingsPage.module.css
This commit is contained in:
2020-08-05 22:55:03 +02:00
24 changed files with 147 additions and 185 deletions

View File

@ -39,7 +39,7 @@ class Preview extends React.Component {
<div className={style.videopreview + ' ' + themeStyle.secbackground + ' '+ themeStyle.preview} onClick={() => this.itemClick()}>
<div className={style.previewtitle + ' '+ themeStyle.lighttextcolor}>{this.state.name}</div>
<div className={style.previewpic}>
{this.state.previewpicture != null ?
{this.state.previewpicture !== null ?
<img className={style.previewimage}
src={this.state.previewpicture}
alt='Pic loading.'/> :

View File

@ -1,15 +1,17 @@
.previewtitle {
height: 20px;
text-align: center;
font-weight: bold;
max-width: 266px;
font-size: smaller;
font-weight: bold;
height: 20px;
max-width: 266px;
text-align: center;
}
.previewpic {
min-width: 266px;
min-height: 150px;
height: 80%;
min-height: 150px;
min-width: 266px;
overflow: hidden;
text-align: center;
}
@ -17,14 +19,14 @@
.loadAnimation {
display: inline-block;
line-height: 150px;
vertical-align: center;
vertical-align: middle;
}
.previewimage {
min-height: 150px;
max-height: 400px;
min-width: 266px;
max-width: 410px;
min-height: 150px;
min-width: 266px;
}
.previewbottom {
@ -32,12 +34,12 @@
}
.videopreview {
border-radius: 20px;
cursor: pointer;
float: left;
margin-left: 25px;
margin-top: 25px;
cursor: pointer;
opacity: 0.85;
border-radius: 20px;
}
.videopreview:hover {
@ -46,11 +48,11 @@
}
.tagpreview {
text-transform: uppercase;
font-weight: bolder;
font-size: x-large;
text-align: center;
font-weight: bolder;
height: 150px;
text-align: center;
text-transform: uppercase;
width: 266px;
}