asx4e-saaaa-aaaao-a2qbq-cai.icp0.io Open in urlscan Pro
2a00:fb01:400:200:5000:eeff:fe3d:aa0d  Public Scan

URL: https://asx4e-saaaa-aaaao-a2qbq-cai.icp0.io/cm/mode/css/gss.html
Submission: On December 20 via api from US — Scanned from FR

Form analysis 1 forms found in the DOM

<form><textarea id="code" name="code">/* Some example Closure Stylesheets */

@provide 'some.styles';

@require 'other.styles';

@component {

@def FONT_FAMILY           "Times New Roman", Georgia, Serif;
@def FONT_SIZE_NORMAL      15px;
@def FONT_NORMAL           normal FONT_SIZE_NORMAL FONT_FAMILY;

@def BG_COLOR              rgb(235, 239, 249);

@def DIALOG_BORDER_COLOR   rgb(107, 144, 218);
@def DIALOG_BG_COLOR       BG_COLOR;

@def LEFT_HAND_NAV_WIDTH    180px;
@def LEFT_HAND_NAV_PADDING  3px;

@defmixin size(WIDTH, HEIGHT) {
  width: WIDTH;
  height: HEIGHT;
}

body {
  background-color: BG_COLOR;
  margin: 0;
  padding: 3em 6em;
  font: FONT_NORMAL;
  color: #000;
}

#navigation a {
  font-weight: bold;
  text-decoration: none !important;
}

.dialog {
  background-color: DIALOG_BG_COLOR;
  border: 1px solid DIALOG_BORDER_COLOR;
}

.content {
  position: absolute;
  margin-left: add(LEFT_HAND_NAV_PADDING,  /* padding left */
                   LEFT_HAND_NAV_WIDTH,
                   LEFT_HAND_NAV_PADDING); /* padding right */

}

.logo {
  @mixin size(150px, 55px);
  background-image: url('http://www.google.com/images/logo_sm.gif');
}

}
</textarea></form>

Text Content

CODEMIRROR

 * Home
 * Manual
 * Code

 * Language modes
 * Closure Stylesheets (GSS)


CLOSURE STYLESHEETS (GSS) MODE

/* Some example Closure Stylesheets */ @provide 'some.styles'; @require
'other.styles'; @component { @def FONT_FAMILY "Times New Roman", Georgia, Serif;
@def FONT_SIZE_NORMAL 15px; @def FONT_NORMAL normal FONT_SIZE_NORMAL
FONT_FAMILY; @def BG_COLOR rgb(235, 239, 249); @def DIALOG_BORDER_COLOR rgb(107,
144, 218); @def DIALOG_BG_COLOR BG_COLOR; @def LEFT_HAND_NAV_WIDTH 180px; @def
LEFT_HAND_NAV_PADDING 3px; @defmixin size(WIDTH, HEIGHT) { width: WIDTH; height:
HEIGHT; } body { background-color: BG_COLOR; margin: 0; padding: 3em 6em; font:
FONT_NORMAL; color: #000; } #navigation a { font-weight: bold; text-decoration:
none !important; } .dialog { background-color: DIALOG_BG_COLOR; border: 1px
solid DIALOG_BORDER_COLOR; } .content { position: absolute; margin-left:
add(LEFT_HAND_NAV_PADDING, /* padding left */ LEFT_HAND_NAV_WIDTH,
LEFT_HAND_NAV_PADDING); /* padding right */ } .logo { @mixin size(150px, 55px);
background-image: url('http://www.google.com/images/logo_sm.gif'); } }

A mode for Closure Stylesheets (GSS).

MIME type defined: text/x-gss.

Parsing/Highlighting Tests: normal, verbose.