bigbluebutton-Github/bigbluebutton-html5/public/stylesheets/toggleSwitch.css
Tainan Felipe 4d6f4b3ded
Refactor: Make bundle using webpack (#20811)
* Refactor: Make bundle using webpack

* Fix: restore after install codes and a few settings

* Fix: build script folder permission

* Refactor: Remove support to async import on audio bridges

* Upgrade npm using nvm

* Avoid questions on npm ci execution

* Let npm ci install dev dependencies (as we need the build tools here)

* Fix: enconding

* Fix: old lock files

* Remove: bbb-config dependency to bbb-html5 service, bbb-html5 isn't a service anymore

* Fix: TS errors

* Fix: eslint

* Fix: chat styles

* npm install with "lockfileVersion": 3 (newer npm)

* build: allow nodejs 22

* node 22; drop meteor from CI and bbb-conf

* TEMP: use bbb-install without mongo but with node 22 and newer image

* build: relax nodejs condition to not trip 22.6

* build: ensure dir /usr/share/bigbluebutton/nginx exists

* init sites-available/bbb; drop disable-transparent-

* nginx complaining of missing file and ;

* TMP: print status of services

* WIP: tweak nginx location to debug

* Fix: webcam widgets alignments

* akka-apps -- update location of settings.yml

* build: add locales path for nginx

* docs and config changes for removal of meteor

* Fix: build encoding and locales enpoint folder path

* build: set wss url for media

* Add: Enable minimizer and modify to Terser

* Fix: TS errors

---------

Co-authored-by: Tiago Jacobs <tiago.jacobs@gmail.com>
Co-authored-by: Anton Georgiev <anto.georgiev@gmail.com>
Co-authored-by: Anton Georgiev <antobinary@users.noreply.github.com>
2024-08-09 13:58:44 -04:00

124 lines
2.5 KiB
CSS

.react-toggle {
display: inline-block;
position: relative;
cursor: pointer;
background-color: transparent;
border: 0;
padding: 0;
-webkit-touch-callout: none;
-webkit-user-select: none;
-khtml-user-select: none;
-moz-user-select: none;
-ms-user-select: none;
user-select: none;
-webkit-tap-highlight-color: rgba(0,0,0,0);
-webkit-tap-highlight-color: transparent;
}
.react-toggle-screenreader-only {
border: 0;
clip: rect(0 0 0 0);
height: 1px;
margin: -1px;
overflow: hidden;
padding: 0;
position: absolute;
width: 1px;
}
.react-toggle--disabled {
cursor: not-allowed;
opacity: 0.5;
transition: opacity calc(var(--enableAnimation) * 0.25s);
}
.react-toggle-track {
overflow: hidden;
width: 3.5rem;
height: 1.5rem;
padding: 0;
border-radius: 2rem;
background-color: var(--color-danger);
transition: all calc(var(--enableAnimation) * 0.2s) ease;
}
.react-toggle-track:dir(rtl) {
width: 4rem;
}
.react-toggle--checked .react-toggle-track {
background-color: var(--color-success);
}
.react-toggle-track-check {
position: absolute;
color: white;
width: 1rem;
line-height: 1.5rem;
font-size: 0.8rem;
left: 0.5rem;
opacity: 0;
transition: opacity calc(var(--enableAnimation) * 0.25s) ease;
}
.react-toggle-track-check:dir(rtl) {
left: 0.8rem;
}
.react-toggle--checked .react-toggle-track-check {
opacity: 1;
transition: opacity calc(var(--enableAnimation) * 0.25s) ease;
}
.react-toggle-track-x {
position: absolute;
color: white;
width: 1rem;
line-height: 1.5rem;
font-size: 0.8rem;
left: 1.7rem;
opacity: 1;
transition: opacity calc(var(--enableAnimation) * 0.25s) ease;
}
.react-toggle-track-x:dir(rtl) {
left: 2.2rem;
}
.react-toggle--checked .react-toggle-track-x {
opacity: 0;
}
.react-toggle-thumb {
transition: all 0.5s cubic-bezier(0.23, 1, 0.32, 1) 0ms;
position: absolute;
top: 1px;
left: 1px;
width: 1.35rem;
height: 1.35rem;
border-radius: 50%;
background-color: #FAFAFA;
box-sizing: border-box;
transition: opacity calc(var(--enableAnimation) * 0.25s) ease;
box-shadow: 2px 0px 10px -1px rgba(0,0,0,0.4);
}
.react-toggle--checked .react-toggle-thumb {
left: 2.1rem;
box-shadow: -2px 0px 10px -1px rgba(0,0,0,0.4);
}
.react-toggle--checked:dir(rtl) .react-toggle-thumb:dir(rtl) {
left: 2.6rem;
}
.react-toggle--focus .react-toggle-thumb {
box-shadow: 0px 0px 2px 3px var(--color-primary);
}
.react-toggle:active:not(.react-toggle--disabled) .react-toggle-thumb {
box-shadow: 0px 0px 5px 5px var(--color-primary);
}