How to use the @uifabric/styling.FontWeights.semibold 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 / Calendar / CalendarPicker / CalendarPicker.styles.ts View on Github external
width: 196,
        padding: 12,
        boxSizing: 'content-box',
        overflow: 'hidden'
      },
      className
    ],
    headerContainer: {
      display: 'flex'
    },
    currentItemButton: [
      getFocusStyle(theme, { inset: -1 }),
      {
        ...headerAnimationStyle,
        fontSize: FontSizes.medium,
        fontWeight: FontWeights.semibold,
        textAlign: 'left',
        backgroundColor: 'transparent',
        flexGrow: 1,
        padding: '0 4px 0 10px',
        border: 'none',
        overflow: 'visible' // explicitly specify for IE11
      },
      hasHeaderClickCallback && {
        selectors: {
          '&:hover, &:active': {
            cursor: !hasHeaderClickCallback ? 'default' : 'pointer',
            color: palette.neutralDark,
            outline: '1px solid transparent',
            backgroundColor: palette.neutralLight
          }
        }
github microsoft / BotFramework-Composer / Composer / packages / extensions / obiformeditor / src / Form / fields / RootField.tsx View on Github external
<br>
                <a rel="noopener noreferrer" href="{sdkOverrides.helpLink}">
                  {sdkOverrides.helpLinkText}
                </a>
              
            )}
          <p></p>
        )}
      

      {props.children}

      {showMetadata &amp;&amp; (
        <div>
          <div style="{{">
            <span style="{{">
              {formatMessage('ID number')}
            </span>
            <span style="{{">{get(formData, '$designer.id')}</span>
          </div>
        </div>
      )}
    
  );
};
github microsoft / pai / src / webportal / src / app / home / index / bottom.jsx View on Github external
<div>
    <div>
      <div>
        <div style="{{">
          Submit a hello-world job
        </div>
        <div style="{{">
          With submitting a hello-world job, this section introduces more
          knowledge about job, so that you can write your own job configuration
          easily.
        </div>
      </div>
      </div></div>
github microsoft / pai / src / webportal / src / app / home / index / bottom.jsx View on Github external
className={c(
        t.w33L,
        t.w100,
        t.mt0L,
        t.mt5,
        t.tc,
        t.flex,
        t.flexColumn,
        t.itemsCenter,
        t.justifyBetween,
      )}
    &gt;
      <div>
        <div style="{{">
          Use VS Code Extension to work with Jobs
        </div>
        <div style="{{">
          OpenPAI Client is a VS Code extension to connect PAI clusters, submit
          AI jobs, and manage files on HDFS, etc. You need to install the
          extension in VS code before using it.
        </div>
      </div>
github microsoft / BotFramework-Composer / Composer / packages / extensions / obiformeditor / src / Form / fields / RootField.tsx View on Github external
const designerName = formData &amp;&amp; formData.$designer &amp;&amp; formData.$designer.name;

    return designerName || dialogName || sdkOverrides.title || title || schema.title || startCase(name);
  };

  const getDescription = (): string =&gt; {
    return sdkOverrides.description || description || schema.description || '';
  };

  return (
    <div id="{props.id}">
      <div>
        
        {sdkOverrides.description !== false &amp;&amp; (description || schema.description) &amp;&amp; (
          <p>
            {getDescription()}
            {sdkOverrides.helpLink &amp;&amp; sdkOverrides.helpLinkText &amp;&amp; (
              &lt;&gt;
                <br>
                <br>
                <a rel="noopener noreferrer" href="{sdkOverrides.helpLink}">
                  {sdkOverrides.helpLinkText}
                </a>
              
            )}
          </p>
        )}</div></div>
github OfficeDev / office-ui-fabric-react / packages / date-time / src / components / Calendar / CalendarPicker / CalendarPicker.styles.ts View on Github external
fontWeight: FontWeights.semibold
            },
            '&:hover': {
              backgroundColor: palette.themePrimary
            }
          }
        }
      : {},
    selected: highlightSelected
      ? {
          color: palette.neutralPrimary,
          backgroundColor: palette.themeLight,
          fontWeight: FontWeights.semibold,
          selectors: {
            '& div': {
              fontWeight: FontWeights.semibold
            },
            '&:hover, &:active': {
              backgroundColor: palette.themeLight
            }
          }
        }
      : {},
    disabled: {
      selectors: {
        '&, &:disabled, & button': {
          color: palette.neutralTertiaryAlt,
          pointerEvents: 'none'
        }
      }
    }
  };
github OfficeDev / office-ui-fabric-react / packages / fluent-theme / src / fluent / styles / Label.styles.ts View on Github external
export const LabelStyles = (props: ILabelStyleProps): Partial =&gt; {
  const { theme, disabled } = props;
  const { palette } = theme;

  return {
    root: [
      {
        fontWeight: FontWeights.semibold
      },
      disabled &amp;&amp; {
        color: palette.neutralTertiary
      }
    ]
  };
};
github OfficeDev / office-ui-fabric-react / packages / date-time / src / components / Calendar / CalendarDay / CalendarDay.styles.ts View on Github external
position: 'relative',
      display: 'inline-flex',
      height: 28,
      lineHeight: 44,
      width: '100%'
    },
    monthAndYear: [
      getFocusStyle(theme, { inset: 1 }),
      {
        ...headerAnimationStyle,
        alignItems: 'center',
        fontSize: FontSizes.medium,
        color: palette.neutralPrimary,
        display: 'inline-block',
        flexGrow: 1,
        fontWeight: FontWeights.semibold,
        padding: '0 4px 0 10px',
        border: 'none',
        backgroundColor: 'transparent',
        borderRadius: 2,
        lineHeight: 28,
        overflow: 'hidden',
        whiteSpace: 'nowrap',
        textAlign: 'left',
        textOverflow: 'ellipsis'
      },
      headerIsClickable && {
        selectors: {
          '&:hover': {
            cursor: 'pointer',
            background: palette.neutralLight,
            color: palette.black
github OfficeDev / office-ui-fabric-react / packages / react-cards / src / components / Card / examples / Card.Vertical.Example.tsx View on Github external
border: 'none',
        color: '#333333',
        height: 'auto',
        minHeight: 0,
        minWidth: 0,
        padding: 0,

        selectors: {
          ':hover': {
            color: '#0078D4'
          }
        }
      },
      textContainer: {
        fontSize: 12,
        fontWeight: FontWeights.semibold
      }
    };

    const sectionStackTokens: IStackTokens = { childrenGap: 30 };
    const cardTokens: ICardTokens = { childrenMargin: 12 };
    const footerCardSectionTokens: ICardSectionTokens = { padding: '12px 0px 0px' };
    const backgroundImageCardSectionTokens: ICardSectionTokens = { padding: 12 };
    const agendaCardSectionTokens: ICardSectionTokens = { childrenGap: 0 };
    const attendantsCardSectionTokens: ICardSectionTokens = { childrenGap: 6 };

    return (
github OfficeDev / office-ui-fabric-react / packages / react-cards / src / components / Card / examples / Card.Vertical.Example.tsx View on Github external
public render(): JSX.Element {
    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: {