diff --git a/chat/src/App.css b/chat/src/App.css index 8db6beac7..3d968563e 100644 --- a/chat/src/App.css +++ b/chat/src/App.css @@ -45,7 +45,7 @@ body { .App-side { height: 100%; flex: 1; - background: var(--gray-500); + background-color: var(--gray-500); position: relative; } @@ -69,7 +69,7 @@ body { .App-drawer { z-index: 2; display: flex; - background: var(--background); + background-color: var(--background); height: 100%; } @@ -135,4 +135,4 @@ lite-youtube { .btn-secondary:focus { border: none !important; box-shadow: none !important; -} \ No newline at end of file +} diff --git a/chat/src/features/chat/ActivityList.css b/chat/src/features/chat/ActivityList.css index 763807152..b7cbb09ad 100644 --- a/chat/src/features/chat/ActivityList.css +++ b/chat/src/features/chat/ActivityList.css @@ -31,5 +31,5 @@ .ActivityList-activity:hover { cursor: pointer; - background: #ffffff05; -} \ No newline at end of file + background-color: #ffffff05; +} diff --git a/chat/src/features/chat/ChatMessage.css b/chat/src/features/chat/ChatMessage.css index d338ad70f..39a972387 100644 --- a/chat/src/features/chat/ChatMessage.css +++ b/chat/src/features/chat/ChatMessage.css @@ -5,7 +5,7 @@ } .ChatMessage__isDm { - background: var(--gray-800); + background-color: var(--gray-800); border-top: 1px dashed var(--primary); border-bottom: 1px dashed var(--primary); } @@ -69,7 +69,7 @@ right: 0; cursor: pointer; z-index: 5; - background: none !important; + background-color: none !important; border: none !important; box-shadow: none !important; display: flex; @@ -77,7 +77,7 @@ } .ChatMessage-actions-button button { - background: none !important; + background-color: none !important; border: none !important; padding: 0 !important; } @@ -95,7 +95,7 @@ right: 0; bottom: 0; left: 0; - background: rgba(20, 20, 20, 0.85); + background-color: rgba(20, 20, 20, 0.85); display: flex; align-items: center; justify-content: flex-end; @@ -106,7 +106,7 @@ .ChatMessage-actions button { font-size: 10px; - background: none !important; + background-color: none !important; } /* List */ @@ -121,5 +121,5 @@ } .ChatMessageList-group:nth-child(even) { - background: rgba(255, 255, 255, 0.025); + background-color: rgba(255, 255, 255, 0.025); } diff --git a/chat/src/features/chat/ChatMessage.tsx b/chat/src/features/chat/ChatMessage.tsx index 5a172e798..58a4b1a15 100644 --- a/chat/src/features/chat/ChatMessage.tsx +++ b/chat/src/features/chat/ChatMessage.tsx @@ -130,7 +130,7 @@ export function ChatMessage({ style={ isMention && !dm ? { - background: `#${themeColor}25`, + background-color: `#${themeColor}25`, borderLeft: `1px solid #${themeColor}`, } : {} diff --git a/files/assets/css/4chan.css b/files/assets/css/4chan.css index c2d8970e3..e463fbb21 100644 --- a/files/assets/css/4chan.css +++ b/files/assets/css/4chan.css @@ -71,7 +71,7 @@ blockquote p { } .transparent { - background: None !important; + background-color: None !important; } .btn { @@ -87,7 +87,8 @@ blockquote p { } .navbar-light, .navbar .container-fluid, #mobile-bottom-navigation-bar { - background:#ffe url(/assets/images/4chan.webp); + background-color:#ffe; + background-image: url(/assets/images/4chan.webp); background-size: contain; } @@ -139,7 +140,7 @@ blockquote a { } .comment-anchor:target, .unread { - background: #ffffff88 !important; + background-color: #ffffff88 !important; } .sidebar diff --git a/files/assets/css/coffee.css b/files/assets/css/coffee.css index fded876ba..351cdbf6d 100644 --- a/files/assets/css/coffee.css +++ b/files/assets/css/coffee.css @@ -75,7 +75,7 @@ blockquote { } .transparent { - background: None !important; + background-color: None !important; } .btn { @@ -91,7 +91,7 @@ blockquote { } .comment-anchor:target, .unread { - background: #ffffff88 !important; + background-color: #ffffff88 !important; } .sidebar diff --git a/files/assets/css/dark.css b/files/assets/css/dark.css index 43a5167b2..15a33dff2 100644 --- a/files/assets/css/dark.css +++ b/files/assets/css/dark.css @@ -29,17 +29,17 @@ } .form-control { - background: transparent; + background-color: transparent; border-color: var(--primary) !important; } .btn { - background: transparent; + background-color: transparent; border-color: var(--primary) !important; } .form-control:disabled, [readonly] { - background: transparent; + background-color: transparent; border-color: var(--primary) !important; } @@ -64,7 +64,7 @@ pre { } .transparent { - background: None !important; + background-color: None !important; } diff --git a/files/assets/css/light.css b/files/assets/css/light.css index a083d65f8..f18d8fcd8 100644 --- a/files/assets/css/light.css +++ b/files/assets/css/light.css @@ -30,17 +30,17 @@ } .form-control { - background: transparent; + background-color: transparent; border-color: var(--primary) !important; } .btn { - background: transparent; + background-color: transparent; border-color: var(--primary) !important; } .form-control:disabled, [readonly] { - background: transparent; + background-color: transparent; border-color: var(--primary) !important; } @@ -65,7 +65,7 @@ pre { } .transparent { - background: None !important; + background-color: None !important; } blockquote { @@ -77,7 +77,7 @@ blockquote { } .comment-anchor:target, .unread { - background: #00000055 !important; + background-color: #00000055 !important; } h5.post-title a:visited { diff --git a/files/assets/css/main.css b/files/assets/css/main.css index e0409f3c7..bb9ffdaea 100644 --- a/files/assets/css/main.css +++ b/files/assets/css/main.css @@ -1,6 +1,6 @@ @charset "UTF-8"; button { - background: none; + background-color: none; border: none; padding: 0; margin: 0; @@ -1021,7 +1021,7 @@ input[type=submit].btn-follow, input[type=reset].btn-follow, input[type=button]. width: 1rem; height: 1rem; content: ""; - background: no-repeat 50%/50% 50%; + background-color: no-repeat 50%/50% 50%; } .custom-checkbox .custom-control-label::before { border-radius: 0.35rem; @@ -1185,7 +1185,7 @@ nav height: 1.5em; vertical-align: middle; content: ""; - background: no-repeat center center; + background-color: no-repeat center center; background-size: 100% 100%; } @media (max-width: 767.98px) { @@ -2812,7 +2812,7 @@ ol > li::before { height: auto; } .navbar-toggler-icon, .navbar-dark .navbar-toggler-icon, .navbar-light .navbar-toggler-icon { - background: transparent; + background-color: transparent; } .navbar-toggler, .navbar-dark .navbar-toggler, .navbar-light .navbar-toggler { border: none; @@ -3021,7 +3021,7 @@ label.color-radio span { color: var(--muted); border-color: var(--muted); border-width: 2px; - background: #dee2e6; + background-color: #dee2e6; transition: none; } .form-control:disabled, [readonly] { @@ -4456,7 +4456,7 @@ pre .com, code .com { width: 100%; overflow-x: auto; white-space: nowrap; - background: transparent; + background-color: transparent; } #thread .post-title { font-size: 16px; @@ -4468,7 +4468,7 @@ pre .com, code .com { padding: 0; } #submit .submission .footer { - background: transparent; + background-color: transparent; padding: 1rem 0; } .footer .list-inline-item { @@ -4587,10 +4587,10 @@ span.green { border: 2px solid #e9ecef; } .btn { - background: transparent; + background-color: transparent; } .form-control { - background: transparent; + background-color: transparent; } .navbar-light .navbar-nav .nav-link { border-radius: 5px; @@ -4642,7 +4642,7 @@ span.green { background-color: var(--background) !important; } .nobackground { - background: None !important; + background-color: None !important; } textarea { resize: both !important; @@ -5149,7 +5149,7 @@ html { display: block; } .comment-anchor:target, .unread { - background: #ffffff22 !important; + background-color: #ffffff22 !important; padding: 12px; padding-bottom: 4px; } @@ -5158,8 +5158,8 @@ html { padding: 2px 5px 3px 5px; border-radius: 5px; color:white!important; - background: -moz-linear-gradient(180deg, red, orange, yellow, green, blue, indigo, violet); - background: -webkit-linear-gradient(left, red, orange, yellow, green, blue, indigo, violet ); + background-color: -moz-linear-gradient(180deg, red, orange, yellow, green, blue, indigo, violet); + background-color: -webkit-linear-gradient(left, red, orange, yellow, green, blue, indigo, violet ); text-shadow:-1px -1px 0 black,1px -1px 0 black,-1px 1px 0 black,1px 1px 0 black; } @@ -5183,7 +5183,7 @@ html { display: flex; flex-direction: column; padding: 0; - background: var(--gray-600); + background-color: var(--gray-600); } .popover-body { @@ -5233,7 +5233,7 @@ a.emojitab { } .emoji2 { - background: None!important; + background-color: None!important; width:60px; overflow: hidden; border: none; @@ -5254,7 +5254,7 @@ a.emojitab { } .notif-count { - background: red; + background-color: red; border-radius: 20%; color: white; padding: 2px 5px; @@ -6112,8 +6112,8 @@ g { margin: 5px 1px; border-radius: 5px; color:white!important; - background: -moz-linear-gradient(180deg, red, orange, yellow, green, blue, indigo, violet); - background: -webkit-linear-gradient(left, red, orange, yellow, green, blue, indigo, violet ); + background-color: -moz-linear-gradient(180deg, red, orange, yellow, green, blue, indigo, violet); + background-color: -webkit-linear-gradient(left, red, orange, yellow, green, blue, indigo, violet ); text-shadow:-1px -1px 0 black,1px -1px 0 black,-1px 1px 0 black,1px 1px 0 black; font-weight: 600; border: 2px solid var(--primary); @@ -6194,8 +6194,8 @@ g { .btn-rainbow { color:white !important; - background: -moz-linear-gradient(180deg, red, orange, yellow, green, blue, indigo, violet) !important; - background: -webkit-linear-gradient(left, red, orange, yellow, green, blue, indigo, violet ) !important; + background-color: -moz-linear-gradient(180deg, red, orange, yellow, green, blue, indigo, violet) !important; + background-color: -webkit-linear-gradient(left, red, orange, yellow, green, blue, indigo, violet ) !important; text-shadow:-1px -1px 0 black,1px -1px 0 black,-1px 1px 0 black,1px 1px 0 black !important; } @@ -6326,7 +6326,7 @@ div.markdown { } .popover-bio-div::-webkit-scrollbar { - background: transparent; + background-color: transparent; } .popover-badges-div { @@ -6337,7 +6337,7 @@ div.markdown { } .popover-badges-div::-webkit-scrollbar { - background: transparent; + background-color: transparent; } @media (max-width: 768px) { @@ -6395,7 +6395,7 @@ div.markdown { .modlog-action { display: flex; flex-wrap: wrap; - background: var(--gray-600) !important; + background-color: var(--gray-600) !important; position: relative; align-items: center; justify-content: space-between; diff --git a/files/assets/css/midnight.css b/files/assets/css/midnight.css index 86d17e0c8..41e94850d 100644 --- a/files/assets/css/midnight.css +++ b/files/assets/css/midnight.css @@ -27,7 +27,7 @@ body, .navbar-light, .navbar-dark, .card, .modal-content, .comment-write textare } .transparent, #login { - background: None !important; + background-color: None !important; } .tooltip-inner { diff --git a/files/assets/css/transparent.css b/files/assets/css/transparent.css index a97d8ef43..44d549b8b 100644 --- a/files/assets/css/transparent.css +++ b/files/assets/css/transparent.css @@ -9,7 +9,7 @@ } .container, #userpage > div.container-fluid, #root > div.App { - background: rgba(28, 34, 41, 0.90) !important; + background-color: rgba(28, 34, 41, 0.90) !important; } .fixed-bottom, .popover, .modal-content, .dropdown-menu, .navbar, body, .form-control, #speed-carot-modal { @@ -17,5 +17,5 @@ } .App-side, .flaggers, .comment-section { - background: transparent !important; + background-color: transparent !important; } diff --git a/files/assets/css/tron.css b/files/assets/css/tron.css index c1e8baa31..93ae72f99 100644 --- a/files/assets/css/tron.css +++ b/files/assets/css/tron.css @@ -203,7 +203,7 @@ } .transparent { - background: None !important; + background-color: None !important; } .btn-danger.disabled, .btn-danger:disabled { diff --git a/files/assets/css/win98.css b/files/assets/css/win98.css index 963a7a85b..8d031ae96 100644 --- a/files/assets/css/win98.css +++ b/files/assets/css/win98.css @@ -36,7 +36,7 @@ } .pseudo-submit-form .card-header, .card-blank .card-header, .navbar-light, .nav, .flex-row.bg-gray-200.sticky.justify-content-center.d-flex.d-sm-none.mt-3.mb-3.mb-sm-5.rounded { - background: var(--white) !important; + background-color: var(--white) !important; color: var(--white) !important; } .navbar-light > *, .navbar-brand, .nav-link{ @@ -47,7 +47,7 @@ border: 2px outset white !important; border-bottom: 2px solid #a7a5a1 !important; border-right: 2px solid #a7a5a1 !important; - background: var(--gray-500) !important; + background-color: var(--gray-500) !important; color: #000 !important; } @@ -63,7 +63,7 @@ } .dropdown-menu, .btn:hover { - background: var(--gray-500) !important; + background-color: var(--gray-500) !important; color: #000 !important; } @@ -103,7 +103,7 @@ blockquote { } .form-control, .form-control:disabled, [readonly] { - background: white !important; + background-color: white !important; color: black !important } @@ -116,7 +116,7 @@ blockquote { } .transparent { - background: None !important; + background-color: None !important; } .black { @@ -145,7 +145,7 @@ blockquote { } #thread { - background: var(--white) !important; + background-color: var(--white) !important; } #profilestuff > * { @@ -153,7 +153,7 @@ blockquote { } .comment-anchor:target, .unread { - background: #ffffffaa !important; + background-color: #ffffffaa !important; } .sidebar diff --git a/files/assets/offline.html b/files/assets/offline.html index e6067c4a4..6260a6cc9 100644 --- a/files/assets/offline.html +++ b/files/assets/offline.html @@ -8,7 +8,7 @@ } body { - background: var(--background); + background-color: var(--background); } .center { @@ -38,7 +38,7 @@ .button { background-color: var(--background)!important; - background: 0 0; + background-color: 0 0; font-weight: 600; font-size: 1rem; border-radius: 0.2rem; diff --git a/files/routes/settings.py b/files/routes/settings.py index 8e53b6e35..07e4df743 100644 --- a/files/routes/settings.py +++ b/files/routes/settings.py @@ -39,7 +39,7 @@ def settings_personal(v:User): @auth_required @ratelimit_user() def remove_background(v): - if v.background: + if v.background-color: v.background = None if v.theme == 'transparent': v.theme = 'midnight' g.db.add(v) @@ -264,7 +264,7 @@ def settings_personal_post(v): theme = request.values.get("theme") if not updated and theme: if theme in THEMES: - if theme == "transparent" and not v.background: + if theme == "transparent" and not v.background-color: abort(409, "You need to set a background to use the transparent theme") v.theme = theme if theme == "win98": v.themecolor = "30409f" diff --git a/files/templates/casino/roulette_screen.html b/files/templates/casino/roulette_screen.html index dac0aed21..9e51a2a7d 100644 --- a/files/templates/casino/roulette_screen.html +++ b/files/templates/casino/roulette_screen.html @@ -398,7 +398,7 @@ flex: 1; height: 60px; border: 1px solid white; - background: green; + background-color: green; display: flex; align-items: center; justify-content: center; @@ -407,15 +407,15 @@ } .roulette-table-number__black { - background: black; + background-color: black; } .roulette-table-number__red { - background: red; + background-color: red; } .roulette-table-number__green { - background: green; + background-color: green; } .roulette-table-row { @@ -428,7 +428,7 @@ flex: 1; height: 60px; border: 1px solid white; - background: green; + background-color: green; display: flex; align-items: center; justify-content: center; @@ -441,7 +441,7 @@ .roulette-table-line, .roulette-table-1to1 { border: 1px solid white; - background: green; + background-color: green; display: flex; align-items: center; justify-content: center; diff --git a/files/templates/header.html b/files/templates/header.html index a26700515..640c8d092 100644 --- a/files/templates/header.html +++ b/files/templates/header.html @@ -107,7 +107,7 @@ {% if v %} {% if v.notifications_count %} - {{v.notifications_count}} + {{v.notifications_count}} {% else %} {% endif %} @@ -151,7 +151,7 @@ {% if v.notifications_count %} {% else %}