How to use the @uifabric/styling.FontWeights.regular function in @uifabric/styling

To help you get started, we’ve selected a few @uifabric/styling examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github OfficeDev / office-ui-fabric-react / packages / date-time / src / components / CalendarDayGrid / CalendarDayGrid.styles.ts View on Github external
margin: 0,
      padding: 0,
      borderRight: '1px solid',
      borderColor: palette.neutralLight,
      backgroundColor: palette.neutralLighterAlt,
      color: palette.neutralSecondary,
      boxSizing: 'border-box',
      width: 28,
      height: 28,
      fontWeight: FontWeights.regular,
      fontSize: FontSizes.small
    },
    dayOutsideBounds: disabledStyle,
    dayOutsideNavigatedMonth: lightenDaysOutsideNavigatedMonth && {
      color: palette.neutralSecondary,
      fontWeight: FontWeights.regular
    },
    dayButton: [
      getFocusStyle(theme, { inset: -2 }),
      {
        width: 24,
        height: 24,
        lineHeight: 24,
        fontSize: FontSizes.small,
        fontWeight: 'inherit',
        borderRadius: 2,
        border: 'none',
        padding: 0,
        color: 'inherit',
        backgroundColor: 'transparent',
        cursor: 'pointer',
        overflow: 'visible', // explicitly specify for IE11
github microsoft / pai / src / webportal / src / app / job / job-view / fabric / job-detail / components / summary.jsx View on Github external
return (
      <div>
        {/* summary */}
        
          {/* summary-row-1 */}
          <div>
            <div style="{{">
              <div style="{{">
                {jobInfo.name}
              </div>
              {jobInfo.frameworkName &amp;&amp; (
                <div>
                   (
                        </div></div></div></div>
github microsoft / pai / src / webportal / src / app / job / job-view / fabric / job-detail / components / summary.jsx View on Github external
const {modalTitle, monacoProps} = this.state;
    const {className, jobInfo, jobConfig, reloading, onStopJob, onReload} = this.props;

    return (
      <div>
        {/* summary */}
        
          {/* summary-row-1 */}
          <div>
            <div>
              <div style="{{minWidth:">
                <div style="{{">
                  {jobInfo.name}
                </div>
              </div>
              <div>
                <div>
                  
                </div>
                <div>
                  {printDateTime(DateTime.fromMillis(jobInfo.jobStatus.createdTime))}
                </div>
                <div>
                  </div></div></div></div></div>
github OfficeDev / office-ui-fabric-react / packages / date-time / src / components / Calendar / CalendarPicker / CalendarPicker.styles.ts View on Github external
padding: 0,
        margin: '0 12px 0 0',
        color: palette.neutralPrimary,
        backgroundColor: 'transparent',
        border: 'none',
        borderRadius: 2,
        overflow: 'visible', // explicitly specify for IE11
        selectors: {
          '&:nth-child(4n + 4)': {
            marginRight: 0
          },
          '&:nth-child(n + 9)': {
            marginBottom: 0
          },
          '& div': {
            fontWeight: FontWeights.regular
          },
          '&:hover': {
            color: palette.neutralDark,
            backgroundColor: palette.neutralLight,
            cursor: 'pointer',
            outline: '1px solid transparent'
          },
          '&:active': {
            backgroundColor: palette.themeLight
          }
        }
      }
    ],
    current: highlightCurrent
      ? {
          color: palette.white,
github microsoft / pai / src / webportal / src / app / user / fabric / user-profile / header.jsx View on Github external
if (error) {
      setError(error);
      return;
    }
    setProcessing(true);
    onEditProfile({ email }).finally(() =&gt; setProcessing(false));
  });

  return (
    <div>
      {/* summary left */}
      <div>
        <div>
          <div style="{{">
            {userInfo.username}
          </div>
          <div>
            
              <div>{userInfo.admin ?  : }</div>
            
          </div>
        </div>
        <div></div></div></div>
github OfficeDev / office-ui-fabric-react / packages / react-cards / src / components / Card / examples / Card.Vertical.Example.tsx View on Github external
root: {
        color: '#333333',
        fontWeight: FontWeights.semibold
      }
    };
    const helpfulTextStyles: ITextStyles = {
      root: {
        color: '#333333',
        fontWeight: FontWeights.regular
      }
    };
    const iconStyles: IIconStyles = {
      root: {
        color: '#0078D4',
        fontSize: 16,
        fontWeight: FontWeights.regular
      }
    };
    const footerCardSectionStyles: ICardSectionStyles = {
      root: {
        borderTop: '1px solid #F3F2F1'
      }
    };
    const backgroundImageCardSectionStyles: ICardSectionStyles = {
      root: {
        backgroundImage: 'url(https://placehold.it/256x144)',
        backgroundPosition: 'center center',
        backgroundSize: 'cover',
        height: 144
      }
    };
    const dateTextStyles: ITextStyles = {
github OfficeDev / office-ui-fabric-react / packages / react-cards / src / components / Card / examples / Card.Horizontal.Example.tsx View on Github external
const siteTextStyles: ITextStyles = {
      root: {
        color: '#025F52',
        fontWeight: FontWeights.semibold
      }
    };
    const descriptionTextStyles: ITextStyles = {
      root: {
        color: '#333333',
        fontWeight: FontWeights.regular
      }
    };
    const helpfulTextStyles: ITextStyles = {
      root: {
        color: '#333333',
        fontWeight: FontWeights.regular
      }
    };
    const iconStyles: IIconStyles = {
      root: {
        color: '#0078D4',
        fontSize: 16,
        fontWeight: FontWeights.regular
      }
    };
    const footerCardSectionStyles: ICardSectionStyles = {
      root: {
        alignSelf: 'stretch',
        borderLeft: '1px solid #F3F2F1'
      }
    };
github OfficeDev / office-ui-fabric-react / packages / fluent-theme / src / fluent / styles / Dialog.styles.ts View on Github external
padding: '14px 14px 0 0',
      selectors: {
        '.ms-Dialog-button': {
          color: palette.neutralSecondary
        },
        '.ms-Dialog-button:hover': {
          color: palette.neutralDark,
          borderRadius: effects.roundedCorner2
        }
      }
    },
    inner: {
      padding: '0 24px 24px 24px'
    },
    subText: {
      fontWeight: FontWeights.regular
    }
  };
};
github microsoft / BotFramework-Composer / Composer / packages / client / src / components / ProjectTree / styles.ts View on Github external
export const navItem = (isActive: boolean, isSubItemActive: boolean) => css`
  width: 100%;
  position: relative;
  font-size: 12px;
  color: #605e5c;
  background: ${isActive && !isSubItemActive ? '#f2f2f2' : 'transparent'};
  font-weight: ${isActive ? FontWeights.semibold : FontWeights.regular};
  &: hover {
    color: #605e5c;
    background: #f2f2f2;
  }
  &:focus {
    outline: none;
    .ms-Fabric--isFocusVisible &::after {
      top: 0px;
      right: 1px;
      bottom: 0px;
      left: 1px;
      content: '';
      position: absolute;
      z-index: 1;
      border: 1px solid ${NeutralColors.white};
      border-image: initial;
github OfficeDev / office-ui-fabric-react / packages / react-cards / src / components / Card / examples / Card.Vertical.Example.tsx View on Github external
const siteTextStyles: ITextStyles = {
      root: {
        color: '#025F52',
        fontWeight: FontWeights.semibold
      }
    };
    const descriptionTextStyles: ITextStyles = {
      root: {
        color: '#333333',
        fontWeight: FontWeights.semibold
      }
    };
    const helpfulTextStyles: ITextStyles = {
      root: {
        color: '#333333',
        fontWeight: FontWeights.regular
      }
    };
    const iconStyles: IIconStyles = {
      root: {
        color: '#0078D4',
        fontSize: 16,
        fontWeight: FontWeights.regular
      }
    };
    const footerCardSectionStyles: ICardSectionStyles = {
      root: {
        borderTop: '1px solid #F3F2F1'
      }
    };
    const backgroundImageCardSectionStyles: ICardSectionStyles = {
      root: {