Files
pezkuwi-telemetry/frontend/src/components/Settings/Setting.css
T
Daniel Maricic bb8e804567 Restructure the js app (#243)
* prettier

* linter

* add prettier, and format the code

* remove common, merge it with frontend

* refactor the app

* better lint and code fix

* travis for the frontend app

* travis build script

Signed-off-by: Daniel Maricic <daniel@woss.io>

* lint and build

* update the README.md

Signed-off-by: Daniel Maricic <daniel@woss.io>

* change the commands to reflect refactor

Signed-off-by: Daniel Maricic <daniel@woss.io>

* prettier and tslint are friends

Signed-off-by: Daniel Maricic <daniel@woss.io>

* code that wasn't linted properly before

Signed-off-by: Daniel Maricic <daniel@woss.io>

* prettier rc got deleted

* workgin on making the travis pass

Signed-off-by: Daniel Maricic <daniel@woss.io>

* travis build please?

Signed-off-by: Daniel Maricic <daniel@woss.io>

* update readme.md

Signed-off-by: Daniel Maricic <daniel@woss.io>

* dockerfile deleted from fronted - out of scope

Signed-off-by: Daniel Maricic <daniel@woss.io>

* remove

Signed-off-by: Daniel Maricic <daniel@woss.io>

* tsconfig

Signed-off-by: Daniel Maricic <daniel@woss.io>

* found the reason why EOL wasn't happening

Signed-off-by: Daniel Maricic <daniel@woss.io>

* type for the event in the ConnectionInput

as suggested

* strictnullCheck to true

* noImplicitAny

* noUnusedParams

* AfgHandling

* update

* fix Location.tsx

* Few minor fixes

* remove connection input and revert to original

* esnext fixes the imports for icons and non default `* as `

* update to the tsconfig.test.json don't use commonjs please

* fixed wrong comment for TIMEOUT_BASE

* return totem.svg and type decraration of maybe

Signed-off-by: Daniel Maricic <daniel@woss.io>

Co-authored-by: Will <w.kopp@kigroup.de>
2020-04-06 15:38:45 +02:00

47 lines
700 B
CSS

.Setting {
color: #635f5f;
padding: 0;
margin: 0 0 8px 0;
cursor: pointer;
}
.Setting-on {
color: #fff;
}
.Setting .Icon {
margin-right: 10px;
}
.Setting-switch {
width: 40px;
height: 18px;
border-radius: 18px;
display: block;
float: right;
position: relative;
background: #444;
transition: background-color 0.15s linear, border-color 0.15s linear;
}
.Setting-on .Setting-switch {
background: #e6007a;
border-color: #e6007a;
}
.Setting-knob {
width: 18px;
height: 18px;
border-radius: 19px;
display: block;
position: absolute;
left: 0;
top: 0;
background: #fff;
transition: left 0.15s ease-in-out;
}
.Setting-on .Setting-knob {
left: 22px;
}