Skip to content

Commit

Permalink
fix: revert accidental pushes to master (#751)
Browse files Browse the repository at this point in the history
  • Loading branch information
jbadan committed Mar 3, 2020
1 parent 98245f1 commit fbac0fe
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 26 deletions.
2 changes: 0 additions & 2 deletions README.md
@@ -1,8 +1,6 @@
# Fundamental Library Styles

[![npm version](https://badge.fury.io/js/fundamental-styles.svg)](https://badge.fury.io/js/fundamental-styles)
[![Minified Size](https://badgen.net/bundlephobia/min/fundamental-styles)](https://bundlephobia.com/result?p=fundamental-styles)
[![Minzipped Size](https://badgen.net/bundlephobia/minzip/fundamental-styles)](https://bundlephobia.com/result?p=fundamental-styles)
[![Build Status](https://travis-ci.com/SAP/fundamental-styles.svg?branch=master)](https://travis-ci.com/SAP/fundamental-styles)
[![Slack](https://img.shields.io/badge/slack-ui--fundamentals-blue.svg?logo=slack)](https://join.slack.com/t/ui-fundamentals/shared_invite/enQtNTIzOTU0Mzc2NTc5LWQzZWI5MWFhYjE5OTc4YzliN2JhOTc1ZjQxZTg1YjZiMWZiYzRkNjMwYzgyMmFkYmNhZDVjMWE5MDIzOWEzMmM)

Expand Down
2 changes: 1 addition & 1 deletion src/mixins/_forms.scss
Expand Up @@ -149,7 +149,7 @@

@include fd-rtl() {
&::after {
left: $fd-radio-label-padding;
left: $fd-radio-label-padding - $fd-radio-focus-offset;
right: $margin - $fd-radio-focus-offset;
}
}
Expand Down
23 changes: 0 additions & 23 deletions src/radio.scss
Expand Up @@ -48,10 +48,6 @@ $block: #{$fd-namespace}-radio;
align-items: center;
overflow: hidden;
padding: $fd-radio-outer-circle-margin 0 $fd-radio-outer-circle-margin $fd-radio-outer-circle-margin;

@include fd-rtl() {
padding: $fd-radio-outer-circle-margin $fd-radio-outer-circle-margin $fd-radio-outer-circle-margin 0;
}

&::before {
content: "";
Expand All @@ -65,19 +61,11 @@ $block: #{$fd-namespace}-radio;
font-family: "SAP-icons";
background-color: var(--sapField_Background);
margin-right: $fd-radio-outer-circle-margin;
margin-left: 0;
color: var(--sapSelectedColor);
border: var(--sapField_BorderWidth) solid var(--sapField_BorderColor);
border-radius: 50%;
}

@include fd-rtl() {
&::before {
margin-left: $fd-radio-outer-circle-margin;
margin-right: 0;
}
}

@include fd-hover() {
&::before {
background-color: var(--sapField_Hover_Background);
Expand Down Expand Up @@ -132,23 +120,12 @@ $block: #{$fd-namespace}-radio;
+ .#{$block}__label {
padding: $fd-radio-outer-circle-margin-compact 0 $fd-radio-outer-circle-margin-compact $fd-radio-outer-circle-margin-compact;

@include fd-rtl() {
padding: $fd-radio-outer-circle-margin-compact $fd-radio-outer-circle-margin-compact $fd-radio-outer-circle-margin-compact 0;
}
&::before {
font-size: 0.4375rem;
height: $fd-radio-inner-circle-diameter-compact;
width: $fd-radio-inner-circle-diameter-compact;
min-width: $fd-radio-inner-circle-diameter-compact;
margin-right: $fd-radio-outer-circle-margin-compact;
margin-left: 0
}

@include fd-rtl() {
&::before {
margin-left: $fd-radio-outer-circle-margin-compact;
margin-right: 0;
}
}
}

Expand Down

0 comments on commit fbac0fe

Please sign in to comment.