Skip to content

Commit

Permalink
Correct rgba typos in CSS
Browse files Browse the repository at this point in the history
  • Loading branch information
Badatos committed Nov 3, 2023
1 parent 5e5dac5 commit 486b7e7
Show file tree
Hide file tree
Showing 12 changed files with 43 additions and 43 deletions.
2 changes: 1 addition & 1 deletion pod/chapter/static/css/chapters.css
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ table.scroll thead th.chapter_time_end {

form#form_chapter,
form#form_chapter_import {
background-color: rgba(0 0 0 0.05);
background-color: rgb(0 0 0 / 5%);
}

.form-group.row p {
Expand Down
4 changes: 2 additions & 2 deletions pod/chapter/static/css/videojs-chapters.css
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
top: 0;
height: 100%;
width: 20%;
background-color: rgba(43 51 63 0.7);
background-color: rgb(43 51 63 / 70%);
overflow-y: auto;
cursor: default;
z-index: 2;
Expand Down Expand Up @@ -48,7 +48,7 @@
list-style-type: none;
text-align: -webkit-match-parent;
margin: 0 3px;
border-top: 1px solid rgba(0 0 0 0.8);
border-top: 1px solid rgb(0 0 0 / 80%);
}

.chapters-list ol li a {
Expand Down
6 changes: 3 additions & 3 deletions pod/completion/static/css/caption_maker.css
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,7 @@
}

.newEditorBlock:hover {
background-color: rgba(223 230 246 0.4);
background-color: rgb(223 230 246 / 40%);
}

.newEditorBlock > textarea {
Expand All @@ -129,7 +129,7 @@

.captionBeingEdited {
border-left: 3px solid var(--pod-primary);
background-color: rgba(223 230 246 0.4);
background-color: rgb(223 230 246 / 40%);
}

.captionTimestamps {
Expand Down Expand Up @@ -226,7 +226,7 @@
.regionHighligh {
position: absolute;
z-index: 1;
background-color: rgba(173 50 122 0.5);
background-color: rgb(173 50 122 / 50%);
height: 3px;
}

Expand Down
2 changes: 1 addition & 1 deletion pod/cut/static/css/video_cut.css
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ input[type="range"]::-ms-thumb {
/* --bs-btn-focus-shadow-rgb: var(--pod-primary-rgb); */
--bs-btn-focus-shadow-rgb: 200, 200, 253;
--bs-btn-focus-box-shadow: 0 0 0 0.25rem
rgba(var(--bs-btn-focus-shadow-rgb) 0.5);
rgb(var(--bs-btn-focus-shadow-rgb) / 50%);
}

input[type="range"]:active::-webkit-slider-thumb,
Expand Down
2 changes: 1 addition & 1 deletion pod/enrichment/static/css/enrichment.css
Original file line number Diff line number Diff line change
Expand Up @@ -55,5 +55,5 @@ table.scroll thead th {
}

form#form_enrich {
background-color: rgba(0 0 0 0.05);
background-color: rgb(0 0 0 / 5%);
}
2 changes: 1 addition & 1 deletion pod/enrichment/static/css/videojs-slides.css
Original file line number Diff line number Diff line change
Expand Up @@ -213,7 +213,7 @@
top: -0.5rem;
height: 100%;
position: relative;
background: rgba(100 100 100 0.5);
background: rgb(100 100 100 / 50%);
}

.vjs-chapbar-holder {
Expand Down
4 changes: 2 additions & 2 deletions pod/main/static/css/dark.css
Original file line number Diff line number Diff line change
Expand Up @@ -98,14 +98,14 @@
background-color: var(--background-color);
color: var(--pod-font-color);
border-color: var(--pod-primary);
box-shadow: 0 0 0 0.2rem rgba(126 126 126 0.25);
box-shadow: 0 0 0 .2rem rgb(126 126 126 / 25%);
}

[data-theme="dark"]
.category_modal_videos_list
.infinite-item
.checked_overlay {
background-color: rgba(0 0 0 0.8);
background-color: rgb(0 0 0 / 80%);
}

[data-theme="dark"] #card-takenote .header:hover {
Expand Down
30 changes: 15 additions & 15 deletions pod/main/static/css/pod.css
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
:root {
/* COMMON COLORS */
--color-black: #000;
--color-black-alpha: rgba(0 0 0 0.6);
--color-black-alpha: rgb(0 0 0 / 60%);
--color-alto: #ddd;
--color-silver: #ccc;
--color-silver-chalice: #aaa;
Expand Down Expand Up @@ -312,8 +312,8 @@ a:not(.btn):focus {
background-color 0.3s ease-in-out,
color 0.3s ease-in-out;
color: var(--pod-font-color);
box-shadow: 0.05rem 0.05rem 0.2rem 0.05rem rgba(0 0 0 0.2);
border-radius: 0.15rem;
box-shadow: .05rem .05rem .2rem .05rem rgb(0 0 0 / 20%);
border-radius: .15rem;
margin-top: 1rem;
}

Expand Down Expand Up @@ -682,7 +682,7 @@ div.card a img {
}

.errors > .form-control:focus {
box-shadow: 0 0 0 0.25rem rgba(var(--bs-danger-rgb) 0.25);
box-shadow: 0 0 0 0.25rem rgb(var(--bs-danger-rgb) / 25%);
border-color: var(--bs-danger);
}

Expand Down Expand Up @@ -810,7 +810,7 @@ body {

.accordion {
--bs-accordion-active-color: var(--pod-link-color);
--bs-accordion-active-bg: rgba(var(--bs-primary-rgb) 0.1);
--bs-accordion-active-bg: rgb(var(--bs-primary-rgb) 10%);
--bs-accordion-btn-focus-border-color: var(--pod-primary);
}

Expand Down Expand Up @@ -993,8 +993,8 @@ body {
.pod-navbar {
background: var(--pod-background);
box-shadow:
0 1px 3px rgba(0 0 0 0.12),
0 1px 2px rgba(0 0 0 0.24);
0 1px 3px rgb(0 0 0 / 12%),
0 1px 2px rgb(0 0 0 / 24%);
}

.pod-info-video {
Expand Down Expand Up @@ -1175,8 +1175,8 @@ body {
.pod-card--video {
border: none;
box-shadow:
0 3px 6px rgba(0 0 0 0.16),
0 3px 6px rgba(0 0 0 0.23);
0 3px 6px rgb(0 0 0 / 16%),
0 3px 6px rgb(0 0 0 / 23%);
background: var(--pod-background);
}

Expand All @@ -1199,7 +1199,7 @@ body {
transition: all 0.15s ease;
z-index: 5;
padding-top: 5rem;
box-shadow: 0.05rem 0.05rem 0.2rem 0.05rem rgba(0 0 0 0.2);
box-shadow: 0.05rem 0.05rem 0.2rem 0.05rem rgb(0 0 0 / 20%);
}

.pod-aside.show {
Expand Down Expand Up @@ -1446,11 +1446,11 @@ div.disabled,
a.player-element.disabled {
background-image: linear-gradient(
45deg,
rgba(0 0 0 0.2) 25%,
rgb(0 0 0 / 20%) 25%,
transparent 25%,
transparent 50%,
rgba(0 0 0 0.2) 50%,
rgba(0 0 0 0.2) 75%,
rgb(0 0 0 / 20%) 50%,
rgb(0 0 0 / 20%) 75%,
transparent 75%,
transparent
);
Expand Down Expand Up @@ -1493,7 +1493,7 @@ a.player-element.disabled {
}

.bg-primary .podfile-icon-selector:focus-visible {
box-shadow: 0 0 0 0.25rem rgba(0 0 0 0.5);
box-shadow: 0 0 0 0.25rem rgb(0 0 0 / 50%);
}

/** Django 3 Admin pages
Expand Down Expand Up @@ -1579,7 +1579,7 @@ body[data-admin-utc-offset]

.select2-container--focus,
.cke_focus {
box-shadow: 0 0 0 0.25rem rgba(var(--pod-primary-rgb) 0.25);
box-shadow: 0 0 0 0.25rem rgb(var(--pod-primary-rgb) / 25%);
border-radius: 5px;
}

Expand Down
12 changes: 6 additions & 6 deletions pod/podfile/static/podfile/css/podfile.css
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ button.close {
pointer-events: auto;
background-color: #fff;
background-clip: padding-box;
border: 1px solid rgba(0 0 0 0.2);
border: 1px solid rgb(0 0 0 / 20%);
outline: 0;
max-width: 100% !important;
width: calc(100% - 2em);
Expand Down Expand Up @@ -102,7 +102,7 @@ button.close {
#podfile .col {
padding: 5px;
background: white;
border: 1px solid rgba(0 0 0 0.125);
border: 1px solid rgb(0 0 0 / 12.5%);
}

#podifle .card-body {
Expand Down Expand Up @@ -144,7 +144,7 @@ button.close {
display: flex;
justify-content: space-between;
align-items: center;
border: 1px solid rgba(0 0 0 0.08);
border: 1px solid rgb(0 0 0 / 8%);
padding: 0.8em;
}

Expand Down Expand Up @@ -182,8 +182,8 @@ button.close {
padding: 0.8em 0;
width: 400px;
max-width: 100%;
border: 1px solid rgba(0 0 0 0.1);
box-shadow: 0 8px 10px 4px rgba(0 0 0 0.08);
border: 1px solid rgb(0 0 0 / 10%);
box-shadow: 0 8px 10px 4px rgb(0 0 0 / 8%);
position: absolute;
top: 100%;
}
Expand Down Expand Up @@ -333,7 +333,7 @@ button.close {
border: 1px solid #ccc;
font-size: 14px;
padding: 0.4em;
color: rgba(0 0 0 0.75);
color: rgb(0 0 0 / 75%);
flex: none;
height: 35px;
}
Expand Down
10 changes: 5 additions & 5 deletions pod/video/static/css/comment-style.css
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,10 @@
*/

:root {
/* --content-primary-color: rgba(6, 14, 29, .75); */
/* --content-primary-color: rgb(6 14 29 / 75%); */
--primary-background-color: #f8f9fa;
--third-background-color: rgb(255 255 255);
--content-secondary-color: rgba(54 56 58 0.65);
--content-secondary-color: rgb(54 56 58 / 65%);
--content-third-color: #696969;
--padding-comment-content: 25px;
--margin-between-comment: 1em;
Expand Down Expand Up @@ -103,7 +103,7 @@
position: fixed;
inset: 0;
min-height: 100vh;
background-color: rgba(54 56 58 0.5);
background-color: rgb(54 56 58 / 50%);
}

.comment_main .confirm_delete.show {
Expand Down Expand Up @@ -344,7 +344,7 @@
0% {
background-color: #f9f99b;

/* rgba(255 234 59) */
/* rgb(255 234 59) */
}

100% {
Expand All @@ -356,7 +356,7 @@
@keyframes deletecomment {
0% {
position: relative;
box-shadow: 0 0 8px 8px rgba(255 0 0 0.3) !important;
box-shadow: 0 0 8px 8px rgb(255 0 0 / 30%) !important;
z-index: 9999;
transform: translateX(0);
}
Expand Down
6 changes: 3 additions & 3 deletions pod/video/static/css/video-iframe.css
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ body {
border-radius: 0;
padding: 0;
margin: 0;
background-color: rgba(250 250 250 0.9);
background-color: rgb(250 250 250 / 90%);
z-index: 10;
}

Expand Down Expand Up @@ -63,7 +63,7 @@ body {
*/

.list-group-item {
background-color: rgba(250 250 250 0.9) !important;
background-color: rgb(250 250 250 / 90%) !important;
}

.iframe-header {
Expand Down Expand Up @@ -108,7 +108,7 @@ body {
/* bottom: 0; */
position: absolute;
background-color: #2b333f;
background-color: rgba(43 51 63 0.7);
background-color: rgb(43 51 63 / 70%);
z-index: 10;
height: 30px;
padding: 0 0.5em;
Expand Down
6 changes: 3 additions & 3 deletions pod/video/static/css/video_category.css
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@
display: flex;
position: absolute;
margin: 0.2em 0.4em;
background-color: rgba(255 255 255 0.8);
background-color: rgb(255 255 255 / 80%);
border: 2px solid var(--pod-link-color);
border-radius: var(--bs-border-radius-sm);
inset: 0;
Expand Down Expand Up @@ -192,8 +192,8 @@
}

.categories_list_item:not(.active):hover {
background-color: rgba(149 149 149 0.09);
border-color: rgba(149 149 149 0.09);
background-color: rgb(149 149 149 / 9%);
border-color: rgb(149 149 149 / 9%);
}

.categories_list_item.active .cat_title {
Expand Down

0 comments on commit 486b7e7

Please sign in to comment.