Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix: CSS linting issues #414

Merged
merged 1 commit into from
Jan 17, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 1 addition & 5 deletions assets/css/brightcove_playlist.css
Original file line number Diff line number Diff line change
@@ -1,17 +1,13 @@
.brightcove-playlist {
background-color: white;
background-color: var(--bc-color-white);
font-size: 80%;
padding: 20px 20px 10px 20px;
}

.brightcove-playlist-masthead {}

h3.brightcove-playlist-title {
margin: 0 0 10px 0;
}

.brightcove-playlist-description {}

.brightcove-playlist-item {
border-top: 1px solid #eee;
display: table;
Expand Down
6 changes: 3 additions & 3 deletions assets/css/components/colors.css
Original file line number Diff line number Diff line change
Expand Up @@ -7,17 +7,17 @@ div.brightcove-messages {
text-align: left;
width: calc(100% - 4px);

.updated {
& .updated {
margin-bottom: 15px;
margin-left: 0;
}
}

div.brightcove-uploader {

div.brightcove-messages {
& div.brightcove-messages {

.updated {
& .updated {
margin: 20px 15px 2px;
}
}
Expand Down
34 changes: 17 additions & 17 deletions assets/css/components/modals.css
Original file line number Diff line number Diff line change
@@ -1,60 +1,60 @@
.brightcove-modal {

.media-frame-title,
.media-frame-router,
.media-frame-content,
.media-frame-toolbar {
& .media-frame-title,
& .media-frame-router,
& .media-frame-content,
& .media-frame-toolbar {
left: 0;
}

.brightcove-media {
& .brightcove-media {
overflow: hidden;
}

.brightcove {
& .brightcove {

.wp-filter {
& .wp-filter {
border: 0;
box-shadow: none;
margin: 0;
right: 0;
width: 100%;
}

.media-toolbar-secondary {
& .media-toolbar-secondary {
min-width: 280px;
padding: 0;
}

.media-toolbar-primary.search-form {
& .media-toolbar-primary.search-form {

input[type="search"] {
& input[type="search"] {
float: left;
margin: 0;
padding-bottom: 0;
width: 200px;
}
}

#media-search {
& #media-search {
float: left;
margin-left: 10px;
margin-right: 5px;
}
}

.pending-uploads {
& .pending-uploads {
display: block;
margin: 20px;
width: calc(100% - 40px);
}

.brightcove-upload-queued-files {
& .brightcove-upload-queued-files {
border: 0;
width: 100%;
}

.brightcove.media-frame-content {
& .brightcove.media-frame-content {
padding: 0 20px;
width: 100%;

Expand All @@ -63,13 +63,13 @@
}
}

.brightcove.video-preview {
& .brightcove.video-preview {
margin-top: 20px;
}

.video-preview-frame {
& .video-preview-frame {

.brightcove {
& .brightcove {

&.media-frame-content {
border-right: 1px solid #ddd;
Expand Down
26 changes: 13 additions & 13 deletions assets/css/components/playlists.css
Original file line number Diff line number Diff line change
Expand Up @@ -7,64 +7,64 @@
padding: 20px;
width: 100%;

.settings {
& .settings {
margin-bottom: 20px;
max-width: 50%;
}

.playlist-name {
& .playlist-name {
font-weight: 700;

span {
& span {
display: inline-block;
margin-left: 10px;
margin-right: 20px;
}

input {
& input {
width: 65%;
}
}

.playlist-videos-list {
& .playlist-videos-list {
border-right: 1px solid #ddd;
clear: both;
}

.playlist-add-videos-list,
.playlist-videos-list {
& .playlist-add-videos-list,
& .playlist-videos-list {
box-sizing: border-box;
float: left;
width: 50%;

h2 {
& h2 {
border-bottom: 1px solid #ddd;
margin-bottom: 0;
padding-bottom: 10px;
padding-left: 10px;
}

ul {
& ul {
height: 450px;
overflow: auto;
}

.attachment {
& .attachment {
width: 100% !important;
}

.thumbnail {
& .thumbnail {
float: left;
width: 162px;
}

.bc-info {
& .bc-info {
clear: none;
float: left;
margin-left: 10px;
}

.row-actions {
& .row-actions {
clear: both;
display: block;
left: auto;
Expand Down
14 changes: 7 additions & 7 deletions assets/css/components/uploads.css
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@

.brightcove-pending-upload {

td {
& td {
cursor: pointer;

&:nth-child(1) {
Expand All @@ -33,8 +33,8 @@

.brightcove-pending-upload.selected {
background-color: #35a3ca; /* copied from sidebar menu */
td {
color: #fff;
& td {
color: var(--bc-color-white);
}
}

Expand All @@ -56,17 +56,17 @@
}

.pending-uploads {
background-color: #fff;
background-color: var(--bc-color-white);
display: table-cell;
text-align: left;
vertical-align: top;
width: 70%;

table.widefat {
& table.widefat {
border: 0;
}

.brightcove-start-upload {
& .brightcove-start-upload {
margin-bottom: 10px;
margin-left: 10px;
}
Expand All @@ -75,7 +75,7 @@
.brightcove-media,
.brightcove-media-videos {

.spinner {
& .spinner {
float: none;
margin: 5px 0;
vertical-align: top;
Expand Down
Loading
Loading