mirror of
https://github.com/danbulant/dots-hyprland
synced 2026-05-24 12:22:09 +00:00
sideleft: conversions: style adjustments
This commit is contained in:
parent
4f5d4f802e
commit
e5ff109bef
3 changed files with 6 additions and 6 deletions
|
|
@ -20,8 +20,8 @@ const conversions = [
|
|||
forcePrecision: true,
|
||||
},
|
||||
{
|
||||
unit1: 'degrees',
|
||||
unit2: 'radians',
|
||||
unit1: 'deg',
|
||||
unit2: 'rad',
|
||||
unit1Default: 90,
|
||||
formula1to2: '{{x}} * Math.PI / 180',
|
||||
formula2to1: '{{x}} * 180 / Math.PI',
|
||||
|
|
@ -63,13 +63,13 @@ export default () => {
|
|||
const ValueBox = ({ unit, initValue = 0, updateCallback }) => {
|
||||
const unitName = Label({
|
||||
xalign: 0,
|
||||
className: 'txt txt-smallie',
|
||||
className: 'txt txt-smallie txt-semibold margin-top-2 margin-left-2',
|
||||
label: `${unit}`,
|
||||
});
|
||||
const entry = Entry({
|
||||
hexpand: 'true',
|
||||
widthChars: 10,
|
||||
className: 'txt-small techfont',
|
||||
className: 'txt-small techfont margin-left-2',
|
||||
text: `${initValue}`,
|
||||
onChange: updateCallback,
|
||||
});
|
||||
|
|
|
|||
|
|
@ -403,7 +403,7 @@
|
|||
@include button-minsize;
|
||||
}
|
||||
|
||||
@each $spacing in (5, 8, 10, 15, 20) {
|
||||
@each $spacing in (2, 5, 8, 10, 15, 20) {
|
||||
@each $dir in ("top", "bottom", "left", "right") {
|
||||
.margin-#{$dir}-#{$spacing} {
|
||||
margin-#{$dir}: 0.068rem * $spacing;
|
||||
|
|
|
|||
|
|
@ -512,7 +512,7 @@ $colorpicker_rounding: 0.341rem;
|
|||
|
||||
.sidebar-module-csscalc-valuebox {
|
||||
@include small-rounding;
|
||||
padding: 0.341rem;
|
||||
padding: 0.477rem;
|
||||
background-color: $layer2;
|
||||
color: $onLayer2;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue