1
0
Fork 0

Improve playback speed style

This commit is contained in:
Chocobozzz 2018-03-01 13:02:09 +01:00
parent 57886d6671
commit a73c582e5b
No known key found for this signature in database
GPG key ID: 583A612D890159BE
2 changed files with 31 additions and 6 deletions

View file

@ -220,8 +220,12 @@ $control-bar-height: 34px;
.vjs-playback-rate { .vjs-playback-rate {
font-size: 10px; font-size: 10px;
margin-right: 60px; margin-right: 48px;
margin-top: 2px;
.vjs-playback-rate-value {
font-size: 13px;
line-height: $control-bar-height;
}
} }
.vjs-mute-control { .vjs-mute-control {
@ -369,6 +373,10 @@ $control-bar-height: 34px;
font-size: 5em; font-size: 5em;
} }
.vjs-playback-rate {
display: none;
}
.vjs-peertube { .vjs-peertube {
padding: 0 !important; padding: 0 !important;

View file

@ -1,19 +1,36 @@
import * as Sequelize from 'sequelize' import * as Sequelize from 'sequelize'
import { import {
AllowNull, BeforeCreate, BeforeUpdate, Column, CreatedAt, DataType, Default, DefaultScope, HasMany, HasOne, Is, IsEmail, Model, AllowNull,
Scopes, Table, UpdatedAt BeforeCreate,
BeforeUpdate,
Column,
CreatedAt,
DataType,
Default,
DefaultScope,
HasMany,
HasOne,
Is,
IsEmail,
Model,
Scopes,
Table,
UpdatedAt
} from 'sequelize-typescript' } from 'sequelize-typescript'
import { hasUserRight, USER_ROLE_LABELS, UserRight } from '../../../shared' import { hasUserRight, USER_ROLE_LABELS, UserRight } from '../../../shared'
import { User, UserRole } from '../../../shared/models/users' import { User, UserRole } from '../../../shared/models/users'
import { import {
isUserAutoPlayVideoValid, isUserDisplayNSFWValid, isUserPasswordValid, isUserRoleValid, isUserUsernameValid, isUserAutoPlayVideoValid,
isUserDisplayNSFWValid,
isUserPasswordValid,
isUserRoleValid,
isUserUsernameValid,
isUserVideoQuotaValid isUserVideoQuotaValid
} from '../../helpers/custom-validators/users' } from '../../helpers/custom-validators/users'
import { comparePassword, cryptPassword } from '../../helpers/peertube-crypto' import { comparePassword, cryptPassword } from '../../helpers/peertube-crypto'
import { OAuthTokenModel } from '../oauth/oauth-token' import { OAuthTokenModel } from '../oauth/oauth-token'
import { getSort, throwIfNotValid } from '../utils' import { getSort, throwIfNotValid } from '../utils'
import { VideoChannelModel } from '../video/video-channel' import { VideoChannelModel } from '../video/video-channel'
import { VideoCommentModel } from '../video/video-comment'
import { AccountModel } from './account' import { AccountModel } from './account'
@DefaultScope({ @DefaultScope({