<p>Return the value of the <code>warnStyle</code> property.</p>
<p>Contents: CSS style(s) to apply to any message
with a severity class of "WARN".
198987
public java.lang.String getWarnStyle() {
        return (java.lang.String) getStateHelper().eval(PropertyKeys.warnStyle);

    }
892034
function getStats(css) {
  postcss()
    .use(cssstats) // TODO: If this doesn't work then use cssstats()
    .process(css)
    .then((result) => {
      result.messages.forEach((message) => {
        console.log(message);
      });
    });
}
688504
public com.google.javascript.jscomp.Requirement.Severity getSeverity() {
    com.google.javascript.jscomp.Requirement.Severity result = com.google.javascript.jscomp.Requirement.Severity.valueOf(severity_);
    return result == null ? com.google.javascript.jscomp.Requirement.Severity.WARNING : result;
  }
1190864
@Override
	public String getCssValue(String propertyName) throws WidgetException {
		try {
		    //HUUPS I changed the implementation (FIX abug?) Why not use findElement?
			return getGUIDriver().getWrappedDriver().findElement(locator).getCssValue(propertyName);
		} catch (Exception e) {
			throw new WidgetException("Error while getting CSS value", locator, e);
		}
	}
846269
public java.lang.String getErrorClass() {
        return (java.lang.String) getStateHelper().eval(PropertyKeys.errorClass);

    }
929548
function parseStyles(s) {
  var parser = new parserlib.css.Parser();
  var result = { property: Object.create(null), priority: Object.create(null) };
  parser.addListener("property", function(e) {
    if (e.invalid) return; // Skip errors
    result.property[e.property.text] = e.value.text;
    if (e.important) result.priority[e.property.text] = 'important';
  });
  s = (''+s).replace(/^;/, '');
  parser.parseStyleAttribute(s);
  return result;
}
1130890
function warn() {

  if(suppressWarnings) return

  var args = NS ? [chalk.bold.gray(NS)] : []
  for(var i=0; i<arguments.length; i++) {
    var arg = arguments[i];
    args.push(chalk.bold.yellow.bgRed( typeof arg === "object" ? JSON.stringify(arg) : arg ))
    
    // adds a separator
    if(i < arguments.length-1) args.push(chalk.gray("|"));
  }
  if(testWarn)  testWarn(args);
  else          console.warn.apply(null, args)
}
1013164
public HtmlTree getStyleSheetProperties() {
        String stylesheetfile = configuration.stylesheetfile;
        DocPath stylesheet;
        if (stylesheetfile.isEmpty()) {
            stylesheet = DocPaths.STYLESHEET;
        } else {
            DocFile file = DocFile.createFileForInput(configuration, stylesheetfile);
            stylesheet = DocPath.create(file.getName());
        }
        HtmlTree link = HtmlTree.LINK("stylesheet", "text/css",
                pathToRoot.resolve(stylesheet).getPath(),
                "Style");
        return link;
    }
1268902
public static String generateCssStyle(CmsObject cms) {

        StringBuffer result = new StringBuffer(128);
        result.append("<style type='text/css'>\n");
        String contents = "";
        try {
            contents = new String(
                cms.readFile(CmsWorkplace.VFS_PATH_COMMONS + "style/report.css").getContents(),
                OpenCms.getSystemInfo().getDefaultEncoding());
        } catch (Exception e) {
            // ignore
        }
        if (CmsStringUtil.isEmpty(contents)) {
            // css file not found, create default styles
            result.append(
                "body       { box-sizing: border-box; -moz-box-sizing: border-box; padding: 2px; margin: 0; color: /*begin-color WindowText*/#000000/*end-color*/; background-color: /*begin-color Window*/#ffffff/*end-color*/; font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 11px; }\n");
            result.append(
                "div.main   { box-sizing: border-box; -moz-box-sizing: border-box; color: /*begin-color WindowText*/#000000/*end-color*/; white-space: nowrap; }\n");
            result.append("span.head  { color: #000099; font-weight: bold; }\n");
            result.append("span.note  { color: #666666; }\n");
            result.append("span.ok    { color: #009900; }\n");
            result.append("span.warn  { color: #990000; padding-left: 40px; }\n");
            result.append("span.err   { color: #990000; font-weight: bold; padding-left: 40px; }\n");
            result.append("span.throw { color: #990000; font-weight: bold; }\n");
            result.append("span.link1 { color: #666666; }\n");
            result.append("span.link2 { color: #666666; padding-left: 40px; }\n");
            result.append("span.link2 { color: #990000; }\n");
        } else {
            result.append(contents);
        }
        result.append("</style>\n");
        return result.toString();
    }
353427
public List<String> getCss() {
        return stream(properties.getOrDefault("css", "").split(","))
            .map(String::trim).filter(x -> x.length() > 0).collect(toList());
    }
358372
public void displayWarning(final String message) {
        notificationMessage.showNotification(SPUIStyleDefinitions.SP_NOTIFICATION_WARNING_MESSAGE_STYLE, null, message,
                true);
    }
835501
def get_style_code(self, label):
        

        for style in self.styles:
            if style[0] == label:
                return style[1]

        msg = _("Label {label} is invalid.").format(label=label)
        raise ValueError(msg)
944753
function warnWithId(message, id) {
    var styles = [];
    if (id) {
      message = '%c' + id + '%c ' + message;
      styles.push('color: #cebd9f;');
      styles.push('');
    }
    logWithStyles(message, 'warn', styles);
  }
240050
public void writeWarningResult(int line, String value) {
        logger.debug("Write Warning result => line:{} value:{}", line, value);
        writeValue(resultColumnName, line, value);
    }
220106
public java.lang.String getInfoStyle() {
        return (java.lang.String) getStateHelper().eval(PropertyKeys.infoStyle);

    }
1374173
def get_admonition(cssclass, title, text):
    
    rst = ("\n\n.. admonition:: " + title + "\n") if title else "\n\n.. note:: \n"
    rst += "\t:class: alert alert-" + cssclass + "\n\n"
    for line in text.splitlines():
        rst += "\t" + line + "\n"

    rst += "\n"
    return rst
1241055
public fontStyleTypes getStyleType() {
        fontStyleTypes styleType = fontStyleTypes.PLAIN;
        if ( mTextView.getTypeface().getStyle() == Typeface.BOLD) styleType = fontStyleTypes.BOLD;
        else if ( mTextView.getTypeface().getStyle() == Typeface.ITALIC) styleType = fontStyleTypes.ITALIC;
        else if ( mTextView.getTypeface().getStyle() == Typeface.BOLD_ITALIC) styleType = fontStyleTypes.BOLDITALIC;
        return styleType;
    }