Skip to content

Commit

Permalink
Remove leading zeros to match lint
Browse files Browse the repository at this point in the history
  • Loading branch information
gagik committed Jun 7, 2024
1 parent f0b9926 commit 8e72be3
Show file tree
Hide file tree
Showing 9 changed files with 46 additions and 46 deletions.
4 changes: 2 additions & 2 deletions src/ui/ConnectToServer/ConnectToServer.scss
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@
top: -$spacer;

&__Btn {
margin: 0 ($spacer * 0.25);
margin: 0 ($spacer * .25);
}
}

Expand Down Expand Up @@ -116,6 +116,6 @@
}

&__ControlBtn {
margin: $spacer * 0.25;
margin: $spacer * .25;
}
}
20 changes: 10 additions & 10 deletions src/ui/Greeting/Greeting.scss
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ $history-panel-icon-size: 20px;

&__ActionsPanel,
&__HistoryPanel {
padding: $spacer * 0.5;
padding: $spacer * .5;
}

&__ActionsPanel {
Expand Down Expand Up @@ -61,12 +61,12 @@ $history-panel-icon-size: 20px;

&__Status {
margin: 0;
padding: $spacer * 0.25;
padding: $spacer * .25;
text-align: center;
}

&__Icon {
margin-right: $spacer * 0.5;
margin-right: $spacer * .5;
}

&__Progress {
Expand All @@ -93,7 +93,7 @@ $history-panel-icon-size: 20px;
display: flex;

& > * {
margin: 0 ($spacer * 0.25);
margin: 0 ($spacer * .25);
}
}

Expand All @@ -104,7 +104,7 @@ $history-panel-icon-size: 20px;

&__DownloadDemo {
font-size: .7rem;
margin-top: $spacer * 0.5;
margin-top: $spacer * .5;
}

&__MarketingPanel {
Expand All @@ -128,7 +128,7 @@ $history-panel-icon-size: 20px;

&__Icon {
height: $history-panel-icon-size;
margin: $spacer * 0.5;
margin: $spacer * .5;
width: $history-panel-icon-size;
}

Expand All @@ -147,7 +147,7 @@ $history-panel-icon-size: 20px;
flex-direction: column;
height: 100%;
justify-content: center;
padding: $spacer * 0.5;
padding: $spacer * .5;
text-align: center;
user-select: none;

Expand Down Expand Up @@ -183,21 +183,21 @@ $history-panel-icon-size: 20px;
justify-content: center;

& > * {
margin: $spacer * 0.25;
margin: $spacer * .25;
}
}

&__Feedback {
flex-grow: 1;
margin: ($spacer * 0.5) 0;
margin: ($spacer * .5) 0;
resize: none;
}

&__Footer {
text-align: center;

& > * {
margin: 0 $spacer * 0.25;
margin: 0 $spacer * .25;
}
}
}
Expand Down
8 changes: 4 additions & 4 deletions src/ui/Greeting/MarketingPanel/MarketingPanel.scss
Original file line number Diff line number Diff line change
Expand Up @@ -28,9 +28,9 @@ $hr-color: rgba($dove, .33);

&__PreviewToggle {
background: $content-background;
bottom: - $spacer * 0.5;
bottom: - $spacer * .5;
font-size: .8rem;
padding: $spacer * 0.25;
padding: $spacer * .25;
position: absolute;
text-align: center;
width: 100%;
Expand Down Expand Up @@ -100,8 +100,8 @@ $hr-color: rgba($dove, .33);
}

blockquote {
border-left: ($spacer * 0.125) solid $dove;
padding-left: $spacer * 0.5;
border-left: ($spacer * .125) solid $dove;
padding-left: $spacer * .5;
}

ul,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
font-size: 1rem;

& > * {
margin-left: $spacer * 0.25;
margin-left: $spacer * .25;
}
}
}
Expand Down Expand Up @@ -60,7 +60,7 @@
justify-content: center;

& > * {
margin: $spacer * 0.25;
margin: $spacer * .25;
}
}
}
Expand Down Expand Up @@ -91,7 +91,7 @@
}

&__ListControl {
$list-control-gutter: $spacer * 0.5;
$list-control-gutter: $spacer * .5;
background: $window-background;
border: $input-border-width solid $input-border-color;
border-radius: $input-border-radius;
Expand Down
24 changes: 12 additions & 12 deletions src/ui/RealmBrowser/LeftSidebar/LeftSidebar.scss
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
.LeftSidebar {
display: flex;
flex-direction: column;
padding: $spacer * 0.5;
padding: $spacer * .5;
padding-bottom: 0;

&__Header {
Expand All @@ -34,16 +34,16 @@
font-size: .9rem;
font-weight: bold;
justify-content: space-between;
margin-bottom: $spacer * 0.5;
padding-bottom: $spacer * 0.5;
margin-bottom: $spacer * .5;
padding-bottom: $spacer * .5;
padding-left: $spacer;
text-transform: uppercase;
}

&__Classes {
flex-grow: 1;
flex-shrink: 0;
margin: 0 (-$spacer * 0.5);
margin: 0 (-$spacer * .5);
overflow-x: hidden;
overflow-y: auto;
}
Expand Down Expand Up @@ -72,7 +72,7 @@
&__Name {
flex-shrink: 1;
overflow: hidden;
padding-right: $spacer * 0.25;
padding-right: $spacer * .25;
text-overflow: ellipsis;
white-space: nowrap;
}
Expand Down Expand Up @@ -103,7 +103,7 @@
border-radius: 2px;
bottom: 5px;
content: "";
left: $spacer * 0.5;
left: $spacer * .5;
position: absolute;
top: 5px;
width: 4px;
Expand All @@ -130,7 +130,7 @@

&__Text {
font-size: .8rem;
margin-right: $spacer * 0.5;
margin-right: $spacer * .5;
overflow: hidden;
text-overflow: ellipsis;
}
Expand All @@ -154,7 +154,7 @@
border-radius: 2px;
bottom: 5px;
content: "";
left: $spacer * 0.5;
left: $spacer * .5;
position: absolute;
top: 0;
width: 4px;
Expand All @@ -165,7 +165,7 @@
&__ReadOnlyHint {
color: $elephant;
font-size: .75rem;
margin: $spacer * 0.5;
margin: $spacer * .5;
overflow: hidden;
text-align: center;
text-overflow: ellipsis;
Expand All @@ -175,14 +175,14 @@
&__Subscriptions {
font-size: .8rem;
overflow-y: auto;
padding: $spacer * 0.25;
padding: $spacer * .25;
}

&__SubscriptionItem {
display: flex;
font-family: $font-family-monospace;
list-style: none;
padding: $spacer * 0.25;
padding: $spacer * .25;
}

&__SubscriptionItemQuery {
Expand All @@ -191,6 +191,6 @@

&__SubscriptionItemControls > i {
cursor: pointer;
margin-left: $spacer * 0.5;
margin-left: $spacer * .5;
}
}
16 changes: 8 additions & 8 deletions src/ui/RealmBrowser/RealmBrowser.scss
Original file line number Diff line number Diff line change
Expand Up @@ -58,12 +58,12 @@
align-items: center;
background: $window-background;
display: flex;
padding: $spacer * 0.5;
padding: $spacer * .5;

&__Changes {
align-items: center;
display: flex;
margin-right: $spacer * 0.5;
margin-right: $spacer * .5;
}

&__Filter {
Expand All @@ -72,7 +72,7 @@
}

&__Button {
margin-left: $spacer * 0.5;
margin-left: $spacer * .5;
}
}

Expand All @@ -95,7 +95,7 @@
display: flex;
height: $realm-browser-header-height;
position: absolute;
right: $spacer * 0.5;
right: $spacer * .5;
top: 0;
z-index: 1;

Expand Down Expand Up @@ -239,7 +239,7 @@
cursor: ew-resize;
height: 100%;
position: absolute;
right: -$realm-browser-header-handle-width * 0.5;
right: -$realm-browser-header-handle-width * .5;
top: 0;
width: $realm-browser-header-handle-width;
z-index: 1;
Expand Down Expand Up @@ -366,7 +366,7 @@

&__Count {
flex: 0 0 0;
margin-left: $spacer * 0.25;
margin-left: $spacer * .25;
white-space: nowrap;
}
}
Expand Down Expand Up @@ -485,7 +485,7 @@

&__UnsavedChanges,
&__Controls {
padding: $spacer * 0.5;
padding: $spacer * .5;
}

&__UnsavedChanges {
Expand All @@ -499,7 +499,7 @@
justify-content: center;

* {
margin-left: $spacer * 0.5;
margin-left: $spacer * .5;
}
}
}
Expand Down
8 changes: 4 additions & 4 deletions src/ui/reusable/Sidebar/Sidebar.scss
Original file line number Diff line number Diff line change
Expand Up @@ -78,11 +78,11 @@
width: $resize-handle-width;

&--left {
left: - $resize-handle-width * 0.5;
left: - $resize-handle-width * .5;
}

&--right {
right: - $resize-handle-width * 0.5;
right: - $resize-handle-width * .5;
}

&--closed {
Expand Down Expand Up @@ -185,10 +185,10 @@
flex-wrap: wrap;
justify-content: center;
margin-top: auto;
padding: 3 * $spacer * 0.25;
padding: 3 * $spacer * .25;

& > * {
margin: $spacer * 0.25;
margin: $spacer * .25;
}
}

Expand Down
4 changes: 2 additions & 2 deletions src/ui/reusable/Sidebar/variables.scss
Original file line number Diff line number Diff line change
Expand Up @@ -22,11 +22,11 @@ $resize-handle-background: transparent;

$toggle-button-width: 1.75rem;
$toggle-button-height: 2.5rem;
$toggle-button-overhang: $toggle-button-width * 0.5;
$toggle-button-overhang: $toggle-button-width * .5;

$sidebar-shadow: $raised-shadow-color;
$sidebar-shadow-hover: rgba($sidebar-shadow, .2);
$sidebar-transition-duration: .3s;
$sidebar-background: $window-background;
$sidebar-border-color: mix($elephant, $dove, 25%);
$sidebar-closed-width: $toggle-button-width * 0.5;
$sidebar-closed-width: $toggle-button-width * .5;
2 changes: 1 addition & 1 deletion src/windows/SentryErrorBoundary/ErrorOverlay.scss
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@
&__IdExplanation {
color: $charcoal;
margin: 0;
padding: $spacer * 0.5;
padding: $spacer * .5;
text-align: center;
}

Expand Down

0 comments on commit 8e72be3

Please sign in to comment.