X-Git-Url: https://osm.etsi.org/gitweb/?p=osm%2FUI.git;a=blobdiff_plain;f=skyquake%2Fframework%2Fstyle%2Fbase.scss;fp=skyquake%2Fframework%2Fstyle%2Fbase.scss;h=02dbee058231c8c773c7c959901a4d1d9c2376cf;hp=0000000000000000000000000000000000000000;hb=e29efc315df33d546237e270470916e26df391d6;hpb=9c5e457509ba5a1822c316635c6308874e61b4b9 diff --git a/skyquake/framework/style/base.scss b/skyquake/framework/style/base.scss new file mode 100644 index 000000000..02dbee058 --- /dev/null +++ b/skyquake/framework/style/base.scss @@ -0,0 +1,433 @@ +/* /fonts +############################################################################ */ + +/* Source Sans Pro */ +@font-face{ + font-family: 'Source Sans Pro'; + font-stretch: normal; + font-style: normal; + font-weight: 200; + src: url('/fonts/SourceSansPro-ExtraLight.otf.woff') format('woff'); +} + +@font-face{ + font-family: 'Source Sans Pro'; + font-stretch: normal; + font-style: italic; + font-weight: 200; + src: url('/fonts/SourceSansPro-ExtraLightIt.otf.woff') format('woff'); +} + +@font-face{ + font-family: 'Source Sans Pro'; + font-stretch: normal; + font-style: normal; + font-weight: 300; + src: url('/fonts/SourceSansPro-Light.otf.woff') format('woff'); +} + +@font-face{ + font-family: 'Source Sans Pro'; + font-stretch: normal; + font-style: italic; + font-weight: 300; + src: url('/fonts/SourceSansPro-LightIt.otf.woff') format('woff'); +} + +@font-face{ + font-family: 'Source Sans Pro'; + font-stretch: normal; + font-style: normal; + font-weight: 400; + src: url('/fonts/SourceSansPro-Regular.otf.woff') format('woff'); +} + +@font-face{ + font-family: 'Source Sans Pro'; + font-stretch: normal; + font-style: italic; + font-weight: 400; + src: url('/fonts/SourceSansPro-It.otf.woff') format('woff'); +} + +@font-face{ + font-family: 'Source Sans Pro'; + font-stretch: normal; + font-style: normal; + font-weight: 600; + src: url('/fonts/SourceSansPro-Semibold.otf.woff') format('woff'); +} + +@font-face{ + font-family: 'Source Sans Pro'; + font-stretch: normal; + font-style: italic; + font-weight: 600; + src: url('/fonts/SourceSansPro-SemiboldIt.otf.woff') format('woff'); +} + +@font-face{ + font-family: 'Source Sans Pro'; + font-stretch: normal; + font-style: normal; + font-weight: 700; + src: url('/fonts/SourceSansPro-Bold.otf.woff') format('woff'); +} + +@font-face{ + font-family: 'Source Sans Pro'; + font-stretch: normal; + font-style: italic; + font-weight: 700; + src: url('/fonts/SourceSansPro-BoldIt.otf.woff') format('woff'); +} + +@font-face{ + font-family: 'Source Sans Pro'; + font-stretch: normal; + font-style: normal; + font-weight: 900; + src: url('/fonts/SourceSansPro-Black.otf.woff') format('woff'); +} + +@font-face{ + font-family: 'Source Sans Pro'; + font-stretch: normal; + font-style: italic; + font-weight: 900; + src: url('/fonts/SourceSansPro-BlackIt.otf.woff') format('woff'); +} + +/* Source Sans Code */ +@font-face{ + font-family: 'Source Sans Code'; + font-stretch: normal; + font-style: normal; + font-weight: 200; + src: url('/fonts/SourceSansCode-ExtraLight.otf.woff') format('woff'); +} + +@font-face{ + font-family: 'Source Sans Code'; + font-stretch: normal; + font-style: italic; + font-weight: 200; + src: url('/fonts/SourceSansCode-ExtraLightIt.otf.woff') format('woff'); +} + +@font-face{ + font-family: 'Source Sans Code'; + font-stretch: normal; + font-style: normal; + font-weight: 300; + src: url('/fonts/SourceSansCode-Light.otf.woff') format('woff'); +} + +@font-face{ + font-family: 'Source Sans Code'; + font-stretch: normal; + font-style: italic; + font-weight: 300; + src: url('/fonts/SourceSansCode-LightIt.otf.woff') format('woff'); +} + +@font-face{ + font-family: 'Source Sans Code'; + font-stretch: normal; + font-style: normal; + font-weight: 400; + src: url('/fonts/SourceSansCode-Regular.otf.woff') format('woff'); +} + +@font-face{ + font-family: 'Source Sans Code'; + font-stretch: normal; + font-style: italic; + font-weight: 400; + src: url('/fonts/SourceSansCode-It.otf.woff') format('woff'); +} + +@font-face{ + font-family: 'Source Sans Code'; + font-stretch: normal; + font-style: normal; + font-weight: 600; + src: url('/fonts/SourceSansCode-Semibold.otf.woff') format('woff'); +} + +@font-face{ + font-family: 'Source Sans Code'; + font-stretch: normal; + font-style: italic; + font-weight: 600; + src: url('/fonts/SourceSansCode-SemiboldIt.otf.woff') format('woff'); +} + +@font-face{ + font-family: 'Source Sans Code'; + font-stretch: normal; + font-style: normal; + font-weight: 700; + src: url('/fonts/SourceSansCode-Bold.otf.woff') format('woff'); +} + +@font-face{ + font-family: 'Source Sans Code'; + font-stretch: normal; + font-style: italic; + font-weight: 700; + src: url('/fonts/SourceSansCode-BoldIt.otf.woff') format('woff'); +} + +@font-face{ + font-family: 'Source Sans Code'; + font-stretch: normal; + font-style: normal; + font-weight: 900; + src: url('/fonts/SourceSansCode-Black.otf.woff') format('woff'); +} + +@font-face{ + font-family: 'Source Sans Code'; + font-stretch: normal; + font-style: italic; + font-weight: 900; + src: url('/fonts/SourceSansCode-BlackIt.otf.woff') format('woff'); +} + + +/* ICONS +############################################################################ */ + +.svg-24px { + fill: black; + height: 24px; + width: 24px; +} + + + +/* ROOT +############################################################################ */ + +*, *::before, *::after { + box-sizing: border-box; +} + +html { + font-family: "Source Sans Pro", helvetica, arial, sans-serif; + font-size: 16px; + height: 100%; + line-height: 1; + -ms-text-size-adjust: 100%; + -webkit-text-size-adjust: 100%; + width: 100%; +} + +body { + height: 100%; + margin: 0; + width: 100% +} + + + +/* DISPLAY +############################################################################ */ + +article, +aside, +details, +figcaption, +figure, +footer, +header, +main, +menu, +nav, +section, +summary { + display: block; +} + +progress { + vertical-align: baseline; +} + + + +/* LINKS +############################################################################ */ + +a { + background-color: transparent; + -webkit-text-decoration-skip: objects; +} + +a:active, +a:hover { + outline-width: 0; +} + + + +/* TEXT-LEVEL SEMANTICS +############################################################################ */ + +abbr[title] { + border-bottom: none; + text-decoration: underline; + text-decoration: underline dotted; +} + +b, +strong { + font-weight: bolder; +} + +h1 { + font-size: 2em; + margin: 0.67em 0; +} + +small { + font-size: 80%; +} + +sub, +sup { + font-size: 75%; + line-height: 0; + position: relative; + vertical-align: baseline; +} +sub { + bottom: -0.25em; +} +sup { + top: -0.5em; +} + + + +/* EMBEDDED CONTENT +############################################################################ */ + +svg:not(:root) { + overflow: hidden; +} + + + +/* GROUPING CONTENT +############################################################################ */ + +code, +kbd, +pre, +samp { + font-family: monospace, monospace; + font-size: 1em; +} + +hr { + box-sizing: content-box; + height: 0; + overflow: visible; +} + +dl { + -webkit-margin-before: 0px; + -webkit-margin-after: 0px; +} + +/* FORMS +############################################################################ */ + +button, +input, +select, +textarea { + font: inherit; + margin: 0; +} + +optgroup { + font-weight: bold; +} + +button, +input { + overflow: visible; +} + +button, +select { + text-transform: none; +} + +button, +html [type="button"], +[type="reset"], +[type="submit"] { + -webkit-appearance: button; +} + +button::-moz-focus-inner, +[type="button"]::-moz-focus-inner, +[type="reset"]::-moz-focus-inner, +[type="submit"]::-moz-focus-inner { + border-style: none; + padding: 0; +} + +button:-moz-focusring, +[type="button"]:-moz-focusring, +[type="reset"]:-moz-focusring, +[type="submit"]:-moz-focusring { + outline: 1px dotted ButtonText; +} + +fieldset { + border: 1px solid #c0c0c0; + margin: 0 2px; + padding: 0.35em 0.625em 0.75em; +} + +legend { + box-sizing: border-box; + color: inherit; + display: table; + max-width: 100%; + padding: 0; + white-space: normal; +} + +textarea { + overflow: auto; +} + +[type="number"]::-webkit-inner-spin-button, +[type="number"]::-webkit-outer-spin-button { + height: auto; +} + +[type="search"] { + -webkit-appearance: textfield; + outline-offset: -2px; +} + +[type="search"]::-webkit-search-cancel-button, +[type="search"]::-webkit-search-decoration { + -webkit-appearance: none; +} + +::-webkit-input-placeholder { + color: inherit; + opacity: 0.54; +} + +::-webkit-file-upload-button { + -webkit-appearance: button; + font: inherit; +}