diff --git a/build/less/reset.less b/build/less/reset.less new file mode 100644 index 000000000..562891ab8 --- /dev/null +++ b/build/less/reset.less @@ -0,0 +1,406 @@ +/*! normalize.css v2.1.3 | MIT License | git.io/normalize */ + +/* ========================================================================== + HTML5 display definitions + ========================================================================== */ + +/** + * Correct `block` display not defined in IE 8/9. + */ + +article, +aside, +details, +figcaption, +figure, +footer, +header, +hgroup, +main, +nav, +section, +summary { + display: block; +} + +/** + * Correct `inline-block` display not defined in IE 8/9. + */ + +audio, +canvas, +video { + display: inline-block; +} + +/** + * Prevent modern browsers from displaying `audio` without controls. + * Remove excess height in iOS 5 devices. + */ + +audio:not([controls]) { + display: none; + height: 0; +} + +/** + * Address `[hidden]` styling not present in IE 8/9. + * Hide the `template` element in IE, Safari, and Firefox < 22. + */ + +[hidden], +template { + display: none; +} + +/* ========================================================================== + Base + ========================================================================== */ + +/** + * 1. Set default font family to sans-serif. + * 2. Prevent iOS text size adjust after orientation change, without disabling + * user zoom. + */ + +html { + font-family: sans-serif; /* 1 */ + -ms-text-size-adjust: 100%; /* 2 */ + -webkit-text-size-adjust: 100%; /* 2 */ +} + +/** + * Remove default margin. + */ + +body { + margin: 0; +} + +/* ========================================================================== + Links + ========================================================================== */ + +/** + * Remove the gray background color from active links in IE 10. + */ + +a { + background: transparent; +} + +/** + * Address `outline` inconsistency between Chrome and other browsers. + */ + +a:focus { + outline: thin dotted; +} + +/** + * Improve readability when focused and also mouse hovered in all browsers. + */ + +a:active, +a:hover { + outline: 0; +} + +/* ========================================================================== + Typography + ========================================================================== */ + +/** + * Address variable `h1` font-size and margin within `section` and `article` + * contexts in Firefox 4+, Safari 5, and Chrome. + */ + +h1 { + font-size: 2em; + margin: 0.67em 0; +} + +/** + * Address styling not present in IE 8/9, Safari 5, and Chrome. + */ + +abbr[title] { + border-bottom: 1px dotted; +} + +/** + * Address style set to `bolder` in Firefox 4+, Safari 5, and Chrome. + */ + +b, +strong { + font-weight: bold; +} + +/** + * Address styling not present in Safari 5 and Chrome. + */ + +dfn { + font-style: italic; +} + +/** + * Address differences between Firefox and other browsers. + */ + +hr { + -moz-box-sizing: content-box; + box-sizing: content-box; + height: 0; +} + +/** + * Address styling not present in IE 8/9. + */ + +mark { + background: #ff0; + color: #000; +} + +/** + * Correct font family set oddly in Safari 5 and Chrome. + */ + +code, +kbd, +pre, +samp { + font-family: monospace, serif; + font-size: 1em; +} + +/** + * Improve readability of pre-formatted text in all browsers. + */ + +pre { + white-space: pre-wrap; +} + +/** + * Set consistent quote types. + */ + +q { + quotes: "\201C" "\201D" "\2018" "\2019"; +} + +/** + * Address inconsistent and variable font size in all browsers. + */ + +small { + font-size: 80%; +} + +/** + * Prevent `sub` and `sup` affecting `line-height` in all browsers. + */ + +sub, +sup { + font-size: 75%; + line-height: 0; + position: relative; + vertical-align: baseline; +} + +sup { + top: -0.5em; +} + +sub { + bottom: -0.25em; +} + +/* ========================================================================== + Embedded content + ========================================================================== */ + +/** + * Remove border when inside `a` element in IE 8/9. + */ + +img { + border: 0; +} + +/** + * Correct overflow displayed oddly in IE 9. + */ + +svg:not(:root) { + overflow: hidden; +} + +/* ========================================================================== + Figures + ========================================================================== */ + +/** + * Address margin not present in IE 8/9 and Safari 5. + */ + +figure { + margin: 0; +} + +/* ========================================================================== + Forms + ========================================================================== */ + +/** + * Define consistent border, margin, and padding. + */ + +fieldset { + border: 1px solid #c0c0c0; + margin: 0 2px; + padding: 0.35em 0.625em 0.75em; +} + +/** + * 1. Correct `color` not being inherited in IE 8/9. + * 2. Remove padding so people aren't caught out if they zero out fieldsets. + */ + +legend { + border: 0; /* 1 */ + padding: 0; /* 2 */ +} + +/** + * 1. Correct font family not being inherited in all browsers. + * 2. Correct font size not being inherited in all browsers. + * 3. Address margins set differently in Firefox 4+, Safari 5, and Chrome. + */ + +button, +input, +select, +textarea { + font-family: inherit; /* 1 */ + font-size: 100%; /* 2 */ + margin: 0; /* 3 */ +} + +/** + * Address Firefox 4+ setting `line-height` on `input` using `!important` in + * the UA stylesheet. + */ + +button, +input { + line-height: normal; +} + +/** + * Address inconsistent `text-transform` inheritance for `button` and `select`. + * All other form control elements do not inherit `text-transform` values. + * Correct `button` style inheritance in Chrome, Safari 5+, and IE 8+. + * Correct `select` style inheritance in Firefox 4+ and Opera. + */ + +button, +select { + text-transform: none; +} + +/** + * 1. Avoid the WebKit bug in Android 4.0.* where (2) destroys native `audio` + * and `video` controls. + * 2. Correct inability to style clickable `input` types in iOS. + * 3. Improve usability and consistency of cursor style between image-type + * `input` and others. + */ + +button, +html input[type="button"], /* 1 */ +input[type="reset"], +input[type="submit"] { + -webkit-appearance: button; /* 2 */ + cursor: pointer; /* 3 */ +} + +/** + * Re-set default cursor for disabled elements. + */ + +button[disabled], +html input[disabled] { + cursor: default; +} + +/** + * 1. Address box sizing set to `content-box` in IE 8/9/10. + * 2. Remove excess padding in IE 8/9/10. + */ + +input[type="checkbox"], +input[type="radio"] { + box-sizing: border-box; /* 1 */ + padding: 0; /* 2 */ +} + +/** + * 1. Address `appearance` set to `searchfield` in Safari 5 and Chrome. + * 2. Address `box-sizing` set to `border-box` in Safari 5 and Chrome + * (include `-moz` to future-proof). + */ + +input[type="search"] { + -webkit-appearance: textfield; /* 1 */ + -moz-box-sizing: content-box; + -webkit-box-sizing: content-box; /* 2 */ + box-sizing: content-box; +} + +/** + * Remove inner padding and search cancel button in Safari 5 and Chrome + * on OS X. + */ + +input[type="search"]::-webkit-search-cancel-button, +input[type="search"]::-webkit-search-decoration { + -webkit-appearance: none; +} + +/** + * Remove inner padding and border in Firefox 4+. + */ + +button::-moz-focus-inner, +input::-moz-focus-inner { + border: 0; + padding: 0; +} + +/** + * 1. Remove default vertical scrollbar in IE 8/9. + * 2. Improve readability and alignment in all browsers. + */ + +textarea { + overflow: auto; /* 1 */ + vertical-align: top; /* 2 */ +} + +/* ========================================================================== + Tables + ========================================================================== */ + +/** + * Remove most spacing between table cells. + */ + +table { + border-collapse: collapse; + border-spacing: 0; +} \ No newline at end of file diff --git a/build/less/site.less b/build/less/site.less new file mode 100644 index 000000000..945c53d5c --- /dev/null +++ b/build/less/site.less @@ -0,0 +1,74 @@ +@import "themes/default/global.variables"; +@import "reset.less"; + +/******************************* + Page +*******************************/ + +html, +body { + font-size: @fontSize; +} + +body { + background: @bodyBackground; + font-family: @fontFamily; + margin: 0px; + padding: 0px; + color: #555555; + min-width: 320px; +} + +/******************************* + Text +*******************************/ + +h1, +h2, +h3, +h4, +h5 { + margin: 1em 0em 1rem; + padding: 0em; +} + +p { + margin: 1em 0em; +} +p:first-child { + margin-top: 0em; +} +p:last-child { + margin-bottom: 0em; +} + +/*------------------- + Links +--------------------*/ + +a { + color: @linkColor; + text-decoration: @linkUnderline; +} +a:hover { + color: @linkHoverColor; +} + + +/******************************* + Highlighting +*******************************/ + +::-webkit-selection { + background-color: @highlightBackground; + color: @highlightColor; +} +::-moz-selection { + background-color: @highlightBackground; + color: @highlightColor; +} +::selection { + background-color: @highlightBackground; + color: @highlightColor; +} + diff --git a/build/less/themes/basic/elements/button.overrides b/build/less/themes/basic/elements/button.overrides new file mode 100644 index 000000000..627300769 --- /dev/null +++ b/build/less/themes/basic/elements/button.overrides @@ -0,0 +1,4 @@ +/******************************* + Overrides +*******************************/ + diff --git a/build/less/themes/basic/elements/button.variables b/build/less/themes/basic/elements/button.variables new file mode 100644 index 000000000..651b71753 --- /dev/null +++ b/build/less/themes/basic/elements/button.variables @@ -0,0 +1,39 @@ +/*------------------- + Button Variables +--------------------*/ + +/* Button Variables */ +@textTransform: none; +@fontWeight: normal; +@textColor: #333333; + +@borderRadius: 0.25em; + +@backgroundColor: #EEEEEE; +@backgroundImage: none; +@boxShadow: none; + +@hoverBackgroundColor: #DDDDDD; +@hoverBackgroundImage: none; +@hoverBoxShadow: none; + +@downBackgroundColor: #D0D0D0; +@downBackgroundImage: none; +@downBoxShadow: none; + +@activeBackgroundColor: #CCCCCC; +@activeBackgroundImage: none; +@activeBoxShadow: none; + +@verticalBoxShadow: none; + +@loadingBackgroundColor: #F0F0F0; + +@mini: 0.6rem; +@tiny: 0.7rem; +@small: 0.85rem; +@medium: 0.92rem; +@large: 1rem; +@big: 1.125rem; +@huge: 1.25rem; +@massive: 1.3rem; diff --git a/build/minified/reset.min.css b/build/minified/reset.min.css new file mode 100644 index 000000000..8390abfb3 --- /dev/null +++ b/build/minified/reset.min.css @@ -0,0 +1,14 @@ +/* +* # Semantic UI +* Version: 0.12.0 +* http://github.com/jlukic/semantic-ui +* +* +* Copyright 2014 Contributors +* Released under the MIT license +* http://opensource.org/licenses/MIT +* +* Released: 01/13/2014 +*/ + +article,aside,details,figcaption,figure,footer,header,hgroup,main,nav,section,summary{display:block}audio,canvas,video{display:inline-block}audio:not([controls]){display:none;height:0}[hidden],template{display:none}html{font-family:sans-serif;-ms-text-size-adjust:100%;-webkit-text-size-adjust:100%}body{margin:0}a{background:transparent}a:focus{outline:thin dotted}a:active,a:hover{outline:0}h1{font-size:2em;margin:.67em 0}abbr[title]{border-bottom:1px dotted}b,strong{font-weight:700}dfn{font-style:italic}hr{-moz-box-sizing:content-box;-webkit-box-sizing:content-box;box-sizing:content-box;height:0}mark{background:#ff0;color:#000}code,kbd,pre,samp{font-family:monospace,serif;font-size:1em}pre{white-space:pre-wrap}q{quotes:"\201C" "\201D" "\2018" "\2019"}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sup{top:-.5em}sub{bottom:-.25em}img{border:0}svg:not(:root){overflow:hidden}figure{margin:0}fieldset{border:1px solid silver;margin:0 2px;padding:.35em .625em .75em}legend{border:0;padding:0}button,input,select,textarea{font-family:inherit;font-size:100%;margin:0}button,input{line-height:normal}button,select{text-transform:none}button,html input[type=button],input[type=reset],input[type=submit]{-webkit-appearance:button;cursor:pointer}button[disabled],html input[disabled]{cursor:default}input[type=checkbox],input[type=radio]{-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;padding:0}input[type=search]{-webkit-appearance:textfield;-moz-box-sizing:content-box;-webkit-box-sizing:content-box;box-sizing:content-box}input[type=search]::-webkit-search-cancel-button,input[type=search]::-webkit-search-decoration{-webkit-appearance:none}button::-moz-focus-inner,input::-moz-focus-inner{border:0;padding:0}textarea{overflow:auto;vertical-align:top}table{border-collapse:collapse;border-spacing:0} \ No newline at end of file diff --git a/build/minified/site.min.css b/build/minified/site.min.css new file mode 100644 index 000000000..64890fb73 --- /dev/null +++ b/build/minified/site.min.css @@ -0,0 +1,14 @@ +/* +* # Semantic UI +* Version: 0.12.0 +* http://github.com/jlukic/semantic-ui +* +* +* Copyright 2014 Contributors +* Released under the MIT license +* http://opensource.org/licenses/MIT +* +* Released: 01/13/2014 +*/ + +article,aside,details,figcaption,figure,footer,header,hgroup,main,nav,section,summary{display:block}audio,canvas,video{display:inline-block}audio:not([controls]){display:none;height:0}[hidden],template{display:none}html{font-family:sans-serif;-ms-text-size-adjust:100%;-webkit-text-size-adjust:100%}body{margin:0}a{background:transparent}a:focus{outline:thin dotted}a:active,a:hover{outline:0}h1{font-size:2em;margin:.67em 0}abbr[title]{border-bottom:1px dotted}b,strong{font-weight:700}dfn{font-style:italic}hr{-moz-box-sizing:content-box;-webkit-box-sizing:content-box;box-sizing:content-box;height:0}mark{background:#ff0;color:#000}code,kbd,pre,samp{font-family:monospace,serif;font-size:1em}pre{white-space:pre-wrap}q{quotes:"\201C" "\201D" "\2018" "\2019"}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sup{top:-.5em}sub{bottom:-.25em}img{border:0}svg:not(:root){overflow:hidden}figure{margin:0}fieldset{border:1px solid silver;margin:0 2px;padding:.35em .625em .75em}legend{border:0;padding:0}button,input,select,textarea{font-family:inherit;font-size:100%;margin:0}button,input{line-height:normal}button,select{text-transform:none}button,html input[type=button],input[type=reset],input[type=submit]{-webkit-appearance:button;cursor:pointer}button[disabled],html input[disabled]{cursor:default}input[type=checkbox],input[type=radio]{-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;padding:0}input[type=search]{-webkit-appearance:textfield;-moz-box-sizing:content-box;-webkit-box-sizing:content-box;box-sizing:content-box}input[type=search]::-webkit-search-cancel-button,input[type=search]::-webkit-search-decoration{-webkit-appearance:none}button::-moz-focus-inner,input::-moz-focus-inner{border:0;padding:0}textarea{overflow:auto;vertical-align:top}table{border-collapse:collapse;border-spacing:0}html,body{font-size:15px}body{background:#fcfcfc;font-family:Open Sans,Helvetica Neue,Helvetica,Arial,sans-serif;margin:0;padding:0;color:#555;min-width:320px}h1,h2,h3,h4,h5{margin:1em 0 1rem;padding:0}p{margin:1em 0}p:first-child{margin-top:0}p:last-child{margin-bottom:0}a{color:#009fda;text-decoration:none}a:hover{color:#00b2f3}::-webkit-selection{background-color:#ffc;color:rgba(0,0,0,.7)}::-moz-selection{background-color:#ffc;color:rgba(0,0,0,.7)}::selection{background-color:#ffc;color:rgba(0,0,0,.7)} \ No newline at end of file diff --git a/build/minified/themes/basic/elements/button.overrides b/build/minified/themes/basic/elements/button.overrides new file mode 100644 index 000000000..627300769 --- /dev/null +++ b/build/minified/themes/basic/elements/button.overrides @@ -0,0 +1,4 @@ +/******************************* + Overrides +*******************************/ + diff --git a/build/minified/themes/basic/elements/button.variables b/build/minified/themes/basic/elements/button.variables new file mode 100644 index 000000000..651b71753 --- /dev/null +++ b/build/minified/themes/basic/elements/button.variables @@ -0,0 +1,39 @@ +/*------------------- + Button Variables +--------------------*/ + +/* Button Variables */ +@textTransform: none; +@fontWeight: normal; +@textColor: #333333; + +@borderRadius: 0.25em; + +@backgroundColor: #EEEEEE; +@backgroundImage: none; +@boxShadow: none; + +@hoverBackgroundColor: #DDDDDD; +@hoverBackgroundImage: none; +@hoverBoxShadow: none; + +@downBackgroundColor: #D0D0D0; +@downBackgroundImage: none; +@downBoxShadow: none; + +@activeBackgroundColor: #CCCCCC; +@activeBackgroundImage: none; +@activeBoxShadow: none; + +@verticalBoxShadow: none; + +@loadingBackgroundColor: #F0F0F0; + +@mini: 0.6rem; +@tiny: 0.7rem; +@small: 0.85rem; +@medium: 0.92rem; +@large: 1rem; +@big: 1.125rem; +@huge: 1.25rem; +@massive: 1.3rem; diff --git a/build/packaged/themes/basic/elements/button.overrides b/build/packaged/themes/basic/elements/button.overrides new file mode 100644 index 000000000..627300769 --- /dev/null +++ b/build/packaged/themes/basic/elements/button.overrides @@ -0,0 +1,4 @@ +/******************************* + Overrides +*******************************/ + diff --git a/build/packaged/themes/basic/elements/button.variables b/build/packaged/themes/basic/elements/button.variables new file mode 100644 index 000000000..651b71753 --- /dev/null +++ b/build/packaged/themes/basic/elements/button.variables @@ -0,0 +1,39 @@ +/*------------------- + Button Variables +--------------------*/ + +/* Button Variables */ +@textTransform: none; +@fontWeight: normal; +@textColor: #333333; + +@borderRadius: 0.25em; + +@backgroundColor: #EEEEEE; +@backgroundImage: none; +@boxShadow: none; + +@hoverBackgroundColor: #DDDDDD; +@hoverBackgroundImage: none; +@hoverBoxShadow: none; + +@downBackgroundColor: #D0D0D0; +@downBackgroundImage: none; +@downBoxShadow: none; + +@activeBackgroundColor: #CCCCCC; +@activeBackgroundImage: none; +@activeBoxShadow: none; + +@verticalBoxShadow: none; + +@loadingBackgroundColor: #F0F0F0; + +@mini: 0.6rem; +@tiny: 0.7rem; +@small: 0.85rem; +@medium: 0.92rem; +@large: 1rem; +@big: 1.125rem; +@huge: 1.25rem; +@massive: 1.3rem; diff --git a/build/uncompressed/reset.css b/build/uncompressed/reset.css new file mode 100644 index 000000000..8e880d20c --- /dev/null +++ b/build/uncompressed/reset.css @@ -0,0 +1,425 @@ +/*! normalize.css v2.1.3 | MIT License | git.io/normalize */ + +/* ========================================================================== + HTML5 display definitions + ========================================================================== */ + +/** + * Correct `block` display not defined in IE 8/9. + */ + +article, +aside, +details, +figcaption, +figure, +footer, +header, +hgroup, +main, +nav, +section, +summary { + display: block; +} + +/** + * Correct `inline-block` display not defined in IE 8/9. + */ + +audio, +canvas, +video { + display: inline-block; +} + +/** + * Prevent modern browsers from displaying `audio` without controls. + * Remove excess height in iOS 5 devices. + */ + +audio:not([controls]) { + display: none; + height: 0; +} + +/** + * Address `[hidden]` styling not present in IE 8/9. + * Hide the `template` element in IE, Safari, and Firefox < 22. + */ + +[hidden], +template { + display: none; +} + +/* ========================================================================== + Base + ========================================================================== */ + +/** + * 1. Set default font family to sans-serif. + * 2. Prevent iOS text size adjust after orientation change, without disabling + * user zoom. + */ + +html { + font-family: sans-serif; + /* 1 */ + -ms-text-size-adjust: 100%; + /* 2 */ + -webkit-text-size-adjust: 100%; + /* 2 */ +} + +/** + * Remove default margin. + */ + +body { + margin: 0; +} + +/* ========================================================================== + Links + ========================================================================== */ + +/** + * Remove the gray background color from active links in IE 10. + */ + +a { + background: transparent; +} + +/** + * Address `outline` inconsistency between Chrome and other browsers. + */ + +a:focus { + outline: thin dotted; +} + +/** + * Improve readability when focused and also mouse hovered in all browsers. + */ + +a:active, +a:hover { + outline: 0; +} + +/* ========================================================================== + Typography + ========================================================================== */ + +/** + * Address variable `h1` font-size and margin within `section` and `article` + * contexts in Firefox 4+, Safari 5, and Chrome. + */ + +h1 { + font-size: 2em; + margin: 0.67em 0; +} + +/** + * Address styling not present in IE 8/9, Safari 5, and Chrome. + */ + +abbr[title] { + border-bottom: 1px dotted; +} + +/** + * Address style set to `bolder` in Firefox 4+, Safari 5, and Chrome. + */ + +b, +strong { + font-weight: bold; +} + +/** + * Address styling not present in Safari 5 and Chrome. + */ + +dfn { + font-style: italic; +} + +/** + * Address differences between Firefox and other browsers. + */ + +hr { + -moz-box-sizing: content-box; + -webkit-box-sizing: content-box; + box-sizing: content-box; + height: 0; +} + +/** + * Address styling not present in IE 8/9. + */ + +mark { + background: #ff0; + color: #000; +} + +/** + * Correct font family set oddly in Safari 5 and Chrome. + */ + +code, +kbd, +pre, +samp { + font-family: monospace, serif; + font-size: 1em; +} + +/** + * Improve readability of pre-formatted text in all browsers. + */ + +pre { + white-space: pre-wrap; +} + +/** + * Set consistent quote types. + */ + +q { + quotes: "\201C" "\201D" "\2018" "\2019"; +} + +/** + * Address inconsistent and variable font size in all browsers. + */ + +small { + font-size: 80%; +} + +/** + * Prevent `sub` and `sup` affecting `line-height` in all browsers. + */ + +sub, +sup { + font-size: 75%; + line-height: 0; + position: relative; + vertical-align: baseline; +} + +sup { + top: -0.5em; +} + +sub { + bottom: -0.25em; +} + +/* ========================================================================== + Embedded content + ========================================================================== */ + +/** + * Remove border when inside `a` element in IE 8/9. + */ + +img { + border: 0; +} + +/** + * Correct overflow displayed oddly in IE 9. + */ + +svg:not(:root) { + overflow: hidden; +} + +/* ========================================================================== + Figures + ========================================================================== */ + +/** + * Address margin not present in IE 8/9 and Safari 5. + */ + +figure { + margin: 0; +} + +/* ========================================================================== + Forms + ========================================================================== */ + +/** + * Define consistent border, margin, and padding. + */ + +fieldset { + border: 1px solid #c0c0c0; + margin: 0 2px; + padding: 0.35em 0.625em 0.75em; +} + +/** + * 1. Correct `color` not being inherited in IE 8/9. + * 2. Remove padding so people aren't caught out if they zero out fieldsets. + */ + +legend { + border: 0; + /* 1 */ + padding: 0; + /* 2 */ +} + +/** + * 1. Correct font family not being inherited in all browsers. + * 2. Correct font size not being inherited in all browsers. + * 3. Address margins set differently in Firefox 4+, Safari 5, and Chrome. + */ + +button, +input, +select, +textarea { + font-family: inherit; + /* 1 */ + font-size: 100%; + /* 2 */ + margin: 0; + /* 3 */ +} + +/** + * Address Firefox 4+ setting `line-height` on `input` using `!important` in + * the UA stylesheet. + */ + +button, +input { + line-height: normal; +} + +/** + * Address inconsistent `text-transform` inheritance for `button` and `select`. + * All other form control elements do not inherit `text-transform` values. + * Correct `button` style inheritance in Chrome, Safari 5+, and IE 8+. + * Correct `select` style inheritance in Firefox 4+ and Opera. + */ + +button, +select { + text-transform: none; +} + +/** + * 1. Avoid the WebKit bug in Android 4.0.* where (2) destroys native `audio` + * and `video` controls. + * 2. Correct inability to style clickable `input` types in iOS. + * 3. Improve usability and consistency of cursor style between image-type + * `input` and others. + */ + +button, +html input[type="button"], +input[type="reset"], +input[type="submit"] { + -webkit-appearance: button; + /* 2 */ + cursor: pointer; + /* 3 */ +} + +/** + * Re-set default cursor for disabled elements. + */ + +button[disabled], +html input[disabled] { + cursor: default; +} + +/** + * 1. Address box sizing set to `content-box` in IE 8/9/10. + * 2. Remove excess padding in IE 8/9/10. + */ + +input[type="checkbox"], +input[type="radio"] { + -webkit-box-sizing: border-box; + -moz-box-sizing: border-box; + box-sizing: border-box; + /* 1 */ + padding: 0; + /* 2 */ +} + +/** + * 1. Address `appearance` set to `searchfield` in Safari 5 and Chrome. + * 2. Address `box-sizing` set to `border-box` in Safari 5 and Chrome + * (include `-moz` to future-proof). + */ + +input[type="search"] { + -webkit-appearance: textfield; + /* 1 */ + -moz-box-sizing: content-box; + -webkit-box-sizing: content-box; + /* 2 */ + box-sizing: content-box; +} + +/** + * Remove inner padding and search cancel button in Safari 5 and Chrome + * on OS X. + */ + +input[type="search"]::-webkit-search-cancel-button, +input[type="search"]::-webkit-search-decoration { + -webkit-appearance: none; +} + +/** + * Remove inner padding and border in Firefox 4+. + */ + +button::-moz-focus-inner, +input::-moz-focus-inner { + border: 0; + padding: 0; +} + +/** + * 1. Remove default vertical scrollbar in IE 8/9. + * 2. Improve readability and alignment in all browsers. + */ + +textarea { + overflow: auto; + /* 1 */ + vertical-align: top; + /* 2 */ +} + +/* ========================================================================== + Tables + ========================================================================== */ + +/** + * Remove most spacing between table cells. + */ + +table { + border-collapse: collapse; + border-spacing: 0; +} \ No newline at end of file diff --git a/build/uncompressed/site.css b/build/uncompressed/site.css new file mode 100644 index 000000000..8e56540e5 --- /dev/null +++ b/build/uncompressed/site.css @@ -0,0 +1,598 @@ +/******************************* + Global Variables +*******************************/ + +/*------------------- + Paths +--------------------*/ + +/*------------------- + Page +--------------------*/ + +/*------------------- + Fonts +--------------------*/ + +/*------------------- + Icons +--------------------*/ + +/* Width of largest icon */ + +/******************************* + BG Colors +*******************************/ + +/******************************* + Colors +*******************************/ + +/*------------------- + Background +--------------------*/ + +/*--- Colors ---*/ + +/*--- Emotive ---*/ + +/*--- Neutrals ---*/ + +/*------------------- + Text Colors +--------------------*/ + +/*------------------- + Brand Colors +--------------------*/ + +/*------------------- + Borders +--------------------*/ + +/*------------------- + Sizes +--------------------*/ + +/*------------------- + Transitions +--------------------*/ + +/******************************* + States +*******************************/ + +/*------------------- + Disabled +--------------------*/ + +/*------------------- + Hover +--------------------*/ + +/*--- Colors ---*/ + +/*--- Emotive ---*/ + +/*--- Neutrals ---*/ + +/*------------------- + Down (:active) +--------------------*/ + +/*--- Colors ---*/ + +/*--- Emotive ---*/ + +/*--- Neutrals ---*/ + +/*------------------- + Active +--------------------*/ + +/*--- Standard ---*/ + +/*--- Emotive ---*/ + +/*--- Neutrals ---*/ + +/*! normalize.css v2.1.3 | MIT License | git.io/normalize */ + +/* ========================================================================== + HTML5 display definitions + ========================================================================== */ + +/** + * Correct `block` display not defined in IE 8/9. + */ + +article, +aside, +details, +figcaption, +figure, +footer, +header, +hgroup, +main, +nav, +section, +summary { + display: block; +} + +/** + * Correct `inline-block` display not defined in IE 8/9. + */ + +audio, +canvas, +video { + display: inline-block; +} + +/** + * Prevent modern browsers from displaying `audio` without controls. + * Remove excess height in iOS 5 devices. + */ + +audio:not([controls]) { + display: none; + height: 0; +} + +/** + * Address `[hidden]` styling not present in IE 8/9. + * Hide the `template` element in IE, Safari, and Firefox < 22. + */ + +[hidden], +template { + display: none; +} + +/* ========================================================================== + Base + ========================================================================== */ + +/** + * 1. Set default font family to sans-serif. + * 2. Prevent iOS text size adjust after orientation change, without disabling + * user zoom. + */ + +html { + font-family: sans-serif; + /* 1 */ + -ms-text-size-adjust: 100%; + /* 2 */ + -webkit-text-size-adjust: 100%; + /* 2 */ +} + +/** + * Remove default margin. + */ + +body { + margin: 0; +} + +/* ========================================================================== + Links + ========================================================================== */ + +/** + * Remove the gray background color from active links in IE 10. + */ + +a { + background: transparent; +} + +/** + * Address `outline` inconsistency between Chrome and other browsers. + */ + +a:focus { + outline: thin dotted; +} + +/** + * Improve readability when focused and also mouse hovered in all browsers. + */ + +a:active, +a:hover { + outline: 0; +} + +/* ========================================================================== + Typography + ========================================================================== */ + +/** + * Address variable `h1` font-size and margin within `section` and `article` + * contexts in Firefox 4+, Safari 5, and Chrome. + */ + +h1 { + font-size: 2em; + margin: 0.67em 0; +} + +/** + * Address styling not present in IE 8/9, Safari 5, and Chrome. + */ + +abbr[title] { + border-bottom: 1px dotted; +} + +/** + * Address style set to `bolder` in Firefox 4+, Safari 5, and Chrome. + */ + +b, +strong { + font-weight: bold; +} + +/** + * Address styling not present in Safari 5 and Chrome. + */ + +dfn { + font-style: italic; +} + +/** + * Address differences between Firefox and other browsers. + */ + +hr { + -moz-box-sizing: content-box; + -webkit-box-sizing: content-box; + box-sizing: content-box; + height: 0; +} + +/** + * Address styling not present in IE 8/9. + */ + +mark { + background: #ff0; + color: #000; +} + +/** + * Correct font family set oddly in Safari 5 and Chrome. + */ + +code, +kbd, +pre, +samp { + font-family: monospace, serif; + font-size: 1em; +} + +/** + * Improve readability of pre-formatted text in all browsers. + */ + +pre { + white-space: pre-wrap; +} + +/** + * Set consistent quote types. + */ + +q { + quotes: "\201C" "\201D" "\2018" "\2019"; +} + +/** + * Address inconsistent and variable font size in all browsers. + */ + +small { + font-size: 80%; +} + +/** + * Prevent `sub` and `sup` affecting `line-height` in all browsers. + */ + +sub, +sup { + font-size: 75%; + line-height: 0; + position: relative; + vertical-align: baseline; +} + +sup { + top: -0.5em; +} + +sub { + bottom: -0.25em; +} + +/* ========================================================================== + Embedded content + ========================================================================== */ + +/** + * Remove border when inside `a` element in IE 8/9. + */ + +img { + border: 0; +} + +/** + * Correct overflow displayed oddly in IE 9. + */ + +svg:not(:root) { + overflow: hidden; +} + +/* ========================================================================== + Figures + ========================================================================== */ + +/** + * Address margin not present in IE 8/9 and Safari 5. + */ + +figure { + margin: 0; +} + +/* ========================================================================== + Forms + ========================================================================== */ + +/** + * Define consistent border, margin, and padding. + */ + +fieldset { + border: 1px solid #c0c0c0; + margin: 0 2px; + padding: 0.35em 0.625em 0.75em; +} + +/** + * 1. Correct `color` not being inherited in IE 8/9. + * 2. Remove padding so people aren't caught out if they zero out fieldsets. + */ + +legend { + border: 0; + /* 1 */ + padding: 0; + /* 2 */ +} + +/** + * 1. Correct font family not being inherited in all browsers. + * 2. Correct font size not being inherited in all browsers. + * 3. Address margins set differently in Firefox 4+, Safari 5, and Chrome. + */ + +button, +input, +select, +textarea { + font-family: inherit; + /* 1 */ + font-size: 100%; + /* 2 */ + margin: 0; + /* 3 */ +} + +/** + * Address Firefox 4+ setting `line-height` on `input` using `!important` in + * the UA stylesheet. + */ + +button, +input { + line-height: normal; +} + +/** + * Address inconsistent `text-transform` inheritance for `button` and `select`. + * All other form control elements do not inherit `text-transform` values. + * Correct `button` style inheritance in Chrome, Safari 5+, and IE 8+. + * Correct `select` style inheritance in Firefox 4+ and Opera. + */ + +button, +select { + text-transform: none; +} + +/** + * 1. Avoid the WebKit bug in Android 4.0.* where (2) destroys native `audio` + * and `video` controls. + * 2. Correct inability to style clickable `input` types in iOS. + * 3. Improve usability and consistency of cursor style between image-type + * `input` and others. + */ + +button, +html input[type="button"], +input[type="reset"], +input[type="submit"] { + -webkit-appearance: button; + /* 2 */ + cursor: pointer; + /* 3 */ +} + +/** + * Re-set default cursor for disabled elements. + */ + +button[disabled], +html input[disabled] { + cursor: default; +} + +/** + * 1. Address box sizing set to `content-box` in IE 8/9/10. + * 2. Remove excess padding in IE 8/9/10. + */ + +input[type="checkbox"], +input[type="radio"] { + -webkit-box-sizing: border-box; + -moz-box-sizing: border-box; + box-sizing: border-box; + /* 1 */ + padding: 0; + /* 2 */ +} + +/** + * 1. Address `appearance` set to `searchfield` in Safari 5 and Chrome. + * 2. Address `box-sizing` set to `border-box` in Safari 5 and Chrome + * (include `-moz` to future-proof). + */ + +input[type="search"] { + -webkit-appearance: textfield; + /* 1 */ + -moz-box-sizing: content-box; + -webkit-box-sizing: content-box; + /* 2 */ + box-sizing: content-box; +} + +/** + * Remove inner padding and search cancel button in Safari 5 and Chrome + * on OS X. + */ + +input[type="search"]::-webkit-search-cancel-button, +input[type="search"]::-webkit-search-decoration { + -webkit-appearance: none; +} + +/** + * Remove inner padding and border in Firefox 4+. + */ + +button::-moz-focus-inner, +input::-moz-focus-inner { + border: 0; + padding: 0; +} + +/** + * 1. Remove default vertical scrollbar in IE 8/9. + * 2. Improve readability and alignment in all browsers. + */ + +textarea { + overflow: auto; + /* 1 */ + vertical-align: top; + /* 2 */ +} + +/* ========================================================================== + Tables + ========================================================================== */ + +/** + * Remove most spacing between table cells. + */ + +table { + border-collapse: collapse; + border-spacing: 0; +} + +/******************************* + Page +*******************************/ + +html, +body { + font-size: 15px; +} + +body { + background: #fcfcfc; + font-family: Open Sans, Helvetica Neue, Helvetica, Arial, sans-serif; + margin: 0px; + padding: 0px; + color: #555555; + min-width: 320px; +} + +/******************************* + Text +*******************************/ + +h1, +h2, +h3, +h4, +h5 { + margin: 1em 0em 1rem; + padding: 0em; +} + +p { + margin: 1em 0em; +} + +p:first-child { + margin-top: 0em; +} + +p:last-child { + margin-bottom: 0em; +} + +/*------------------- + Links +--------------------*/ + +a { + color: #009fda; + text-decoration: none; +} + +a:hover { + color: #00b2f3; +} + +/******************************* + Highlighting +*******************************/ + +::-webkit-selection { + background-color: #ffffcc; + color: rgba(0, 0, 0, 0.7); +} + +::-moz-selection { + background-color: #ffffcc; + color: rgba(0, 0, 0, 0.7); +} + +::selection { + background-color: #ffffcc; + color: rgba(0, 0, 0, 0.7); +} \ No newline at end of file diff --git a/build/uncompressed/themes/basic/elements/button.overrides b/build/uncompressed/themes/basic/elements/button.overrides new file mode 100644 index 000000000..627300769 --- /dev/null +++ b/build/uncompressed/themes/basic/elements/button.overrides @@ -0,0 +1,4 @@ +/******************************* + Overrides +*******************************/ + diff --git a/build/uncompressed/themes/basic/elements/button.variables b/build/uncompressed/themes/basic/elements/button.variables new file mode 100644 index 000000000..651b71753 --- /dev/null +++ b/build/uncompressed/themes/basic/elements/button.variables @@ -0,0 +1,39 @@ +/*------------------- + Button Variables +--------------------*/ + +/* Button Variables */ +@textTransform: none; +@fontWeight: normal; +@textColor: #333333; + +@borderRadius: 0.25em; + +@backgroundColor: #EEEEEE; +@backgroundImage: none; +@boxShadow: none; + +@hoverBackgroundColor: #DDDDDD; +@hoverBackgroundImage: none; +@hoverBoxShadow: none; + +@downBackgroundColor: #D0D0D0; +@downBackgroundImage: none; +@downBoxShadow: none; + +@activeBackgroundColor: #CCCCCC; +@activeBackgroundImage: none; +@activeBoxShadow: none; + +@verticalBoxShadow: none; + +@loadingBackgroundColor: #F0F0F0; + +@mini: 0.6rem; +@tiny: 0.7rem; +@small: 0.85rem; +@medium: 0.92rem; +@large: 1rem; +@big: 1.125rem; +@huge: 1.25rem; +@massive: 1.3rem; diff --git a/rtl/examples/feed.css b/rtl/examples/feed.css new file mode 100644 index 000000000..f1ad99296 --- /dev/null +++ b/rtl/examples/feed.css @@ -0,0 +1,103 @@ +/******************************* + Global +*******************************/ + +html, +body { + font-size: 15px; + height: 100%; +} + +body { + font-family: "Open Sans", "Helvetica Neue", "Helvetica", "Arial", sans-serif; + background: #FFFFFF; + margin: 0px; + padding: 0px; + color: #555555; + text-rendering: optimizeLegibility; + min-width: 320px; +} + +.ui.header { + font-family: 'Source Sans Pro', "Helvetica Neue", "Helvetica", "Arial", sans-serif; +} + +/******************************* + Global +*******************************/ + +/*------------------- + Sidebar +--------------------*/ + +#feed .sidebar { + overflow: visible; +} + +/*------------------- + Grid +--------------------*/ + +#feed .grid { + height: 100%; +} + +#feed > .grid > .column { + height: 100%; +} + +/*------------------- + Inbox +--------------------*/ + +#feed .inbox.tab { + background-color: #FFFFFF; +} + +#feed .inbox.tab .item { + padding-top: 1rem; + padding-bottom: 1rem; +} + +#feed .inbox.tab .item .rating { + margin-top: 0.2rem; +} + +#feed .inbox.tab .item .description { + margin-right: 2em; +} + +#feed .page { + float: left; + margin-top: 0.9em; +} + +#feed .middle.column { + padding: 1em 2em; +} + +#feed .middle.column h2 { + margin-top: 0em; +} + +#feed .right.column { + padding: 1em 2em; + background-color: #FAFAFA; +} + +/******************************* + Responsive +*******************************/ + +@media only screen and (max-width : 1000px) { + #feed .inbox .date { + float: none; + margin-bottom: 0.5em; + } +} + +@media only screen and (max-width : 1250px) { + #feed .left.column > .menu .item { + font-size: 1rem; + } +} \ No newline at end of file diff --git a/rtl/examples/feed.html b/rtl/examples/feed.html new file mode 100644 index 000000000..ec2d5e83a --- /dev/null +++ b/rtl/examples/feed.html @@ -0,0 +1,150 @@ + + + + + + + + + + Feed Example - Semantic + + + + + + + + + + + + + +
+
+
+ Menu +
+

+ + Inbox +

+ + + + + +
+ +
Showing 6 of 213
+ +
+
+

Weekly Webcomic Wrapup fought the law, and the law won

+ Tags: Unread Comics +

So there's this video game coming out Tuesday called Grand Theft Auto 5. Don't know if you've heard of it. Anyways, it's all about crime and gangs and some roughneck ne'er-do-wells, so I thought this would be the perfect time to talk about times when we've been... well, less than perfect.

+

When I was a young'un, I was a frequent visitor to the local swimming pool. I was also a frequent lover of AirHeads candy, which the pool happened to sell. Waiting, watching, stalking the counter like a big cat in the savannah, I waited for the perfect opportunity to strike. While the lifeguards were busy, I snuck through the gate, reached up and took both cherry and "mystery white" AirHeads. I quickly ran out to the sidewalk and reveled in my sweet, delicious victory... for all of ten seconds, before I felt guilty enough to sneak back in and return the .20 worth of candy I had stolen.

+

While you confess your crimes - hopefully minor, and nothing you can be persecuted for - take a moment to enjoy this week's webcomics, and vote for your favorite after the jump.

+
+
Save
+
Delete
+
+
+ + + \ No newline at end of file diff --git a/rtl/examples/feed.js b/rtl/examples/feed.js new file mode 100644 index 000000000..891d1e37a --- /dev/null +++ b/rtl/examples/feed.js @@ -0,0 +1,23 @@ +$(document) + .ready(function() { + + $('.filter.menu .item') + .tab() + ; + + $('.ui.rating') + .rating({ + clearable: true + }) + ; + + $('.ui.sidebar') + .sidebar('attach events', '.launch.button') + ; + + $('.ui.dropdown') + .dropdown() + ; + + }) +; \ No newline at end of file diff --git a/rtl/examples/homepage.css b/rtl/examples/homepage.css new file mode 100644 index 000000000..78eea14c7 --- /dev/null +++ b/rtl/examples/homepage.css @@ -0,0 +1,192 @@ +/******************************* + Global +*******************************/ + +html, +body { + font-size: 15px; + height: 100%; +} + +body { + font-family: "Open Sans", "Helvetica Neue", "Helvetica", "Arial", sans-serif; + background: #FFFFFF; + margin: 0px; + padding: 0px; + color: #555555; + text-rendering: optimizeLegibility; + min-width: 320px; +} + +/******************************* + UI Overrides +*******************************/ + +.ui.header { + font-family: 'Source Sans Pro', "Helvetica Neue", "Helvetica", "Arial", sans-serif; +} + +.ui.header, +h1, +h2 { + font-weight: normal !important; +} + +h1.ui.header { + font-size: 3em; +} + +h4.ui.header, +h5.ui.header, +.ui.icon.header { + font-weight: bold !important; +} + +.ui.button { + font-weight: normal; + text-decoration: none; +} + +a { + color: #009FDA; + text-decoration: none; + -webkit-transition: color 0.3s ease; + transition: color 0.3s ease; +} + +a:hover { + color: #00BAFF; +} + +p a { + font-weight: bold; +} + +/******************************* + Global +*******************************/ + +.menu .right.menu > .mobile.item { + display: none; +} + +.ui.page.grid.segment { + padding-top: 3.5rem; + padding-bottom: 3.5rem; +} + +.masthead.segment { + background-image: url(images/bg.jpg); + -webkit-background-size: cover; + background-size: cover; + margin: 0em; + padding-top: 4rem; + overflow: hidden; + -webkit-box-shadow: 0 -20px 10px 0 rgba(0, 0, 0, 0.1) inset !important; + box-shadow: 0 -20px 10px 0 rgba(0, 0, 0, 0.1) inset !important; +} + +.masthead.segment .column { + position: relative; +} + +.masthead.segment .information { + margin: 3em 280px 1em 1em; +} + +.masthead.segment .information p { + max-width: 600px; + margin: 0em 0em 2em 0px; + font-size: 1.2em; +} + +.masthead.segment h1.ui.header .sub { + font-size: 0.7em; +} + +.masthead.segment .image { + position: absolute; + right: 0%; + bottom: -110px; +} + +.overview .divided.grid .header + p { + min-height: 100px; +} + +.ui.shape .icon, +.link.list .icon { + margin: 0em; + padding: 0em; +} + +.ui.cube.shape .side { + background-color: transparent; +} + +/******************************* + Responsive +*******************************/ + +/* Mobile Only */ + +@media only screen and (max-width : 768px) { + .ui.page.grid.segment { + padding-top: 2rem; + padding-bottom: 2rem; + } + + .menu .right.menu > .item { + display: none; + } + + .menu .right.menu > .mobile.item { + display: block; + } + + h1.ui.header { + font-size: 1.5em; + } + + .masthead.segment { + -webkit-background-size: auto; + background-size: auto; + } + + .masthead.segment .information { + margin-right: 190px; + } + + .masthead.segment .image { + bottom: -65px; + width: 150px; + } + + .masthead.segment .button { + font-size: 1rem; + } + + .overview .divided.grid .header .icon { + font-size: 1.5em; + } + + .overview .divided.grid .header + p { + min-height: 0px; + } + + .masthead.segment .column { + font-size: 0.7rem; + } + + .masthead.segment .column p { + display: none; + } + + .selection.list .right.floated { + display: none; + } +} + +@media only screen and (max-width : 1000px) { + +} \ No newline at end of file diff --git a/rtl/examples/homepage.html b/rtl/examples/homepage.html new file mode 100644 index 000000000..43e5690ce --- /dev/null +++ b/rtl/examples/homepage.html @@ -0,0 +1,294 @@ + + + + + + + + + + Homepage Example - Semantic + + + + + + + + + + + + +
+
+ + + +
+
+
+
+
+
+
+
+ + Courses +
+

Take your kitty to a cat-ducation course and learn how to treat her well.

+

Learn

+
+
+
+ + Library +
+

Dig through our cat library to found out amazing things you can do with your kitty.

+

Research

+
+
+
+ + Community +
+

Get feedback on your cat from a community of loving pet owners on our online bulletin board system.

+

Share

+
+
+
+
+ +
+
+
+

+ Cat Tips Right In Your Inbox +

+
+
+
+
+

How to Win Your Cats Attention

+

Getting your cat to notice you is a large part of being a pet owner. Although I have a lot of patience for writing things about cats, perhaps this might be enough body copy to make this section of text look filled out.

+

This and other tips can be found in our newsletter, amazing right?

+
+
Read More
+ +
+
+

More articles

+
+
+ How to win in a fight with a cat +
Jan 20, 2023
+
+
+ A Supposedly Fun Cat Toy I will Never Buy Again +
Jan 1, 2023
+
+
+ Much ado about yarn +
Dec 20, 2022
+
+
+
+
+
+

Get Our Amazing Newsletter Bi-Daily

+

Sign up and get spammed with cats every day. We have no unsubscribe button!

+
+
+ + +
Sign up
+
+
+
+
+
+
+
+ +
+
+
+

+ Many Companies Rely on Our Cat Knowledge +

+
+
+
+
+
+
+
+
+ +
+
+ +
+
+ +
+
+ +
+
+ +
+
+ +
+
+
+
+
+
+
+
+ +
+
+ +
+
+ +
+
+ +
+
+ +
+
+ +
+
+
+
+
+
+
+
+ +
+
+ +
+
+ +
+
+ +
+
+ +
+
+ +
+
+
+
+
+
+
+
+ +
+
+ +
+
+ +
+
+ +
+
+ +
+
+ +
+
+
+
+
+
+
+
+
+
+
Courses
+ +
+
+
Library
+ +
+
+
Community
+ +
+
+
+
+

Contact Us

+ + 237 Catberry Road
+ Milton Keynes, London
+
+

(404) 867-5309

+
+
+ + + diff --git a/rtl/examples/homepage.js b/rtl/examples/homepage.js new file mode 100644 index 000000000..658018721 --- /dev/null +++ b/rtl/examples/homepage.js @@ -0,0 +1,57 @@ +$(document) + .ready(function() { + + var + changeSides = function() { + $('.ui.shape') + .eq(0) + .shape('flip over') + .end() + .eq(1) + .shape('flip over') + .end() + .eq(2) + .shape('flip back') + .end() + .eq(3) + .shape('flip back') + .end() + ; + }, + validationRules = { + firstName: { + identifier : 'email', + rules: [ + { + type : 'empty', + prompt : 'Please enter an e-mail' + }, + { + type : 'email', + prompt : 'Please enter a valid e-mail' + } + ] + } + } + ; + + $('.ui.dropdown') + .dropdown({ + on: 'hover' + }) + ; + + $('.ui.form') + .form(validationRules, { + on: 'blur' + }) + ; + + $('.masthead .information') + .transition('scale in') + ; + + setInterval(changeSides, 3000); + + }) +; \ No newline at end of file diff --git a/rtl/examples/images/bg.jpg b/rtl/examples/images/bg.jpg new file mode 100644 index 000000000..325b22d5d Binary files /dev/null and b/rtl/examples/images/bg.jpg differ diff --git a/rtl/examples/images/cat.png b/rtl/examples/images/cat.png new file mode 100644 index 000000000..0babcb441 Binary files /dev/null and b/rtl/examples/images/cat.png differ diff --git a/rtl/less/reset.less b/rtl/less/reset.less new file mode 100644 index 000000000..fb9c32b23 --- /dev/null +++ b/rtl/less/reset.less @@ -0,0 +1,406 @@ +/*! normalize.css v2.1.3 | MIT License | git.io/normalize */ + +/* ========================================================================== + HTML5 display definitions + ========================================================================== */ + +/** + * Correct %60block` display not defined in IE 8/9. + */ + +article, +aside, +details, +figcaption, +figure, +footer, +header, +hgroup, +main, +nav, +section, +summary { + display: block; +} + +/** + * Correct `inline-block` display not defined in IE 8/9. + */ + +audio, +canvas, +video { + display: inline-block; +} + +/** + * Prevent modern browsers from displaying `audio` without controls. + * Remove excess height in iOS 5 devices. + */ + +audio:not([controls]) { + display: none; + height: 0; +} + +/** + * Address `[hidden]` styling not present in IE 8/9. + * Hide the `template` element in IE, Safari, and Firefox < 22. + */ + +[hidden], +template { + display: none; +} + +/* ========================================================================== + Base + ========================================================================== */ + +/** + * 1. Set default font family to sans-serif. + * 2. Prevent iOS text size adjust after orientation change, without disabling + * user zoom. + */ + +html { + font-family: sans-serif; /* 1 */ + -ms-text-size-adjust: 100%; /* 2 */ + -webkit-text-size-adjust: 100%; /* 2 */ +} + +/** + * Remove default margin. + */ + +body { + margin: 0; +} + +/* ========================================================================== + Links + ========================================================================== */ + +/** + * Remove the gray background color from active links in IE 10. + */ + +a { + background: transparent; +} + +/** + * Address `outline` inconsistency between Chrome and other browsers. + */ + +a:focus { + outline: thin dotted; +} + +/** + * Improve readability when focused and also mouse hovered in all browsers. + */ + +a:active, +a:hover { + outline: 0; +} + +/* ========================================================================== + Typography + ========================================================================== */ + +/** + * Address variable `h1` font-size and margin within `section` and `article` + * contexts in Firefox 4+, Safari 5, and Chrome. + */ + +h1 { + font-size: 2em; + margin: 0.67em 0; +} + +/** + * Address styling not present in IE 8/9, Safari 5, and Chrome. + */ + +abbr[title] { + border-bottom: 1px dotted; +} + +/** + * Address style set to `bolder` in Firefox 4+, Safari 5, and Chrome. + */ + +b, +strong { + font-weight: bold; +} + +/** + * Address styling not present in Safari 5 and Chrome. + */ + +dfn { + font-style: italic; +} + +/** + * Address differences between Firefox and other browsers. + */ + +hr { + -moz-box-sizing: content-box; + box-sizing: content-box; + height: 0; +} + +/** + * Address styling not present in IE 8/9. + */ + +mark { + background: #ff0; + color: #000; +} + +/** + * Correct font family set oddly in Safari 5 and Chrome. + */ + +code, +kbd, +pre, +samp { + font-family: monospace, serif; + font-size: 1em; +} + +/** + * Improve readability of pre-formatted text in all browsers. + */ + +pre { + white-space: pre-wrap; +} + +/** + * Set consistent quote types. + */ + +q { + quotes: "\201C" "\201D" "\2018" "\2019"; +} + +/** + * Address inconsistent and variable font size in all browsers. + */ + +small { + font-size: 80%; +} + +/** + * Prevent `sub` and `sup` affecting `line-height` in all browsers. + */ + +sub, +sup { + font-size: 75%; + line-height: 0; + position: relative; + vertical-align: baseline; +} + +sup { + top: -0.5em; +} + +sub { + bottom: -0.25em; +} + +/* ========================================================================== + Embedded content + ========================================================================== */ + +/** + * Remove border when inside `a` element in IE 8/9. + */ + +img { + border: 0; +} + +/** + * Correct overflow displayed oddly in IE 9. + */ + +svg:not(:root) { + overflow: hidden; +} + +/* ========================================================================== + Figures + ========================================================================== */ + +/** + * Address margin not present in IE 8/9 and Safari 5. + */ + +figure { + margin: 0; +} + +/* ========================================================================== + Forms + ========================================================================== */ + +/** + * Define consistent border, margin, and padding. + */ + +fieldset { + border: 1px solid #c0c0c0; + margin: 0 2px; + padding: 0.35em 0.625em 0.75em; +} + +/** + * 1. Correct `color` not being inherited in IE 8/9. + * 2. Remove padding so people aren't caught out if they zero out fieldsets. + */ + +legend { + border: 0; /* 1 */ + padding: 0; /* 2 */ +} + +/** + * 1. Correct font family not being inherited in all browsers. + * 2. Correct font size not being inherited in all browsers. + * 3. Address margins set differently in Firefox 4+, Safari 5, and Chrome. + */ + +button, +input, +select, +textarea { + font-family: inherit; /* 1 */ + font-size: 100%; /* 2 */ + margin: 0; /* 3 */ +} + +/** + * Address Firefox 4+ setting `line-height` on `input` using `!important` in + * the UA stylesheet. + */ + +button, +input { + line-height: normal; +} + +/** + * Address inconsistent `text-transform` inheritance for `button` and `select`. + * All other form control elements do not inherit `text-transform` values. + * Correct `button` style inheritance in Chrome, Safari 5+, and IE 8+. + * Correct `select` style inheritance in Firefox 4+ and Opera. + */ + +button, +select { + text-transform: none; +} + +/** + * 1. Avoid the WebKit bug in Android 4.0.* where (2) destroys native `audio` + * and `video` controls. + * 2. Correct inability to style clickable `input` types in iOS. + * 3. Improve usability and consistency of cursor style between image-type + * `input` and others. + */ + +button, +html input[type="button"], /* 1 */ +input[type="reset"], +input[type="submit"] { + -webkit-appearance: button; /* 2 */ + cursor: pointer; /* 3 */ +} + +/** + * Re-set default cursor for disabled elements. + */ + +button[disabled], +html input[disabled] { + cursor: default; +} + +/** + * 1. Address box sizing set to `content-box` in IE 8/9/10. + * 2. Remove excess padding in IE 8/9/10. + */ + +input[type="checkbox"], +input[type="radio"] { + box-sizing: border-box; /* 1 */ + padding: 0; /* 2 */ +} + +/** + * 1. Address `appearance` set to `searchfield` in Safari 5 and Chrome. + * 2. Address `box-sizing` set to `border-box` in Safari 5 and Chrome + * (include `-moz` to future-proof). + */ + +input[type="search"] { + -webkit-appearance: textfield; /* 1 */ + -moz-box-sizing: content-box; + -webkit-box-sizing: content-box; /* 2 */ + box-sizing: content-box; +} + +/** + * Remove inner padding and search cancel button in Safari 5 and Chrome + * on OS X. + */ + +input[type="search"]::-webkit-search-cancel-button, +input[type="search"]::-webkit-search-decoration { + -webkit-appearance: none; +} + +/** + * Remove inner padding and border in Firefox 4+. + */ + +button::-moz-focus-inner, +input::-moz-focus-inner { + border: 0; + padding: 0; +} + +/** + * 1. Remove default vertical scrollbar in IE 8/9. + * 2. Improve readability and alignment in all browsers. + */ + +textarea { + overflow: auto; /* 1 */ + vertical-align: top; /* 2 */ +} + +/* ========================================================================== + Tables + ========================================================================== */ + +/** + * Remove most spacing between table cells. + */ + +table { + border-collapse: collapse; + border-spacing: 0; +} \ No newline at end of file diff --git a/rtl/less/site.less b/rtl/less/site.less new file mode 100644 index 000000000..945c53d5c --- /dev/null +++ b/rtl/less/site.less @@ -0,0 +1,74 @@ +@import "themes/default/global.variables"; +@import "reset.less"; + +/******************************* + Page +*******************************/ + +html, +body { + font-size: @fontSize; +} + +body { + background: @bodyBackground; + font-family: @fontFamily; + margin: 0px; + padding: 0px; + color: #555555; + min-width: 320px; +} + +/******************************* + Text +*******************************/ + +h1, +h2, +h3, +h4, +h5 { + margin: 1em 0em 1rem; + padding: 0em; +} + +p { + margin: 1em 0em; +} +p:first-child { + margin-top: 0em; +} +p:last-child { + margin-bottom: 0em; +} + +/*------------------- + Links +--------------------*/ + +a { + color: @linkColor; + text-decoration: @linkUnderline; +} +a:hover { + color: @linkHoverColor; +} + + +/******************************* + Highlighting +*******************************/ + +::-webkit-selection { + background-color: @highlightBackground; + color: @highlightColor; +} +::-moz-selection { + background-color: @highlightBackground; + color: @highlightColor; +} +::selection { + background-color: @highlightBackground; + color: @highlightColor; +} + diff --git a/rtl/less/themes/basic/elements/button.overrides b/rtl/less/themes/basic/elements/button.overrides new file mode 100644 index 000000000..627300769 --- /dev/null +++ b/rtl/less/themes/basic/elements/button.overrides @@ -0,0 +1,4 @@ +/******************************* + Overrides +*******************************/ + diff --git a/rtl/less/themes/basic/elements/button.variables b/rtl/less/themes/basic/elements/button.variables new file mode 100644 index 000000000..651b71753 --- /dev/null +++ b/rtl/less/themes/basic/elements/button.variables @@ -0,0 +1,39 @@ +/*------------------- + Button Variables +--------------------*/ + +/* Button Variables */ +@textTransform: none; +@fontWeight: normal; +@textColor: #333333; + +@borderRadius: 0.25em; + +@backgroundColor: #EEEEEE; +@backgroundImage: none; +@boxShadow: none; + +@hoverBackgroundColor: #DDDDDD; +@hoverBackgroundImage: none; +@hoverBoxShadow: none; + +@downBackgroundColor: #D0D0D0; +@downBackgroundImage: none; +@downBoxShadow: none; + +@activeBackgroundColor: #CCCCCC; +@activeBackgroundImage: none; +@activeBoxShadow: none; + +@verticalBoxShadow: none; + +@loadingBackgroundColor: #F0F0F0; + +@mini: 0.6rem; +@tiny: 0.7rem; +@small: 0.85rem; +@medium: 0.92rem; +@large: 1rem; +@big: 1.125rem; +@huge: 1.25rem; +@massive: 1.3rem; diff --git a/rtl/minified/reset.min.css b/rtl/minified/reset.min.css new file mode 100644 index 000000000..8390abfb3 --- /dev/null +++ b/rtl/minified/reset.min.css @@ -0,0 +1,14 @@ +/* +* # Semantic UI +* Version: 0.12.0 +* http://github.com/jlukic/semantic-ui +* +* +* Copyright 2014 Contributors +* Released under the MIT license +* http://opensource.org/licenses/MIT +* +* Released: 01/13/2014 +*/ + +article,aside,details,figcaption,figure,footer,header,hgroup,main,nav,section,summary{display:block}audio,canvas,video{display:inline-block}audio:not([controls]){display:none;height:0}[hidden],template{display:none}html{font-family:sans-serif;-ms-text-size-adjust:100%;-webkit-text-size-adjust:100%}body{margin:0}a{background:transparent}a:focus{outline:thin dotted}a:active,a:hover{outline:0}h1{font-size:2em;margin:.67em 0}abbr[title]{border-bottom:1px dotted}b,strong{font-weight:700}dfn{font-style:italic}hr{-moz-box-sizing:content-box;-webkit-box-sizing:content-box;box-sizing:content-box;height:0}mark{background:#ff0;color:#000}code,kbd,pre,samp{font-family:monospace,serif;font-size:1em}pre{white-space:pre-wrap}q{quotes:"\201C" "\201D" "\2018" "\2019"}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sup{top:-.5em}sub{bottom:-.25em}img{border:0}svg:not(:root){overflow:hidden}figure{margin:0}fieldset{border:1px solid silver;margin:0 2px;padding:.35em .625em .75em}legend{border:0;padding:0}button,input,select,textarea{font-family:inherit;font-size:100%;margin:0}button,input{line-height:normal}button,select{text-transform:none}button,html input[type=button],input[type=reset],input[type=submit]{-webkit-appearance:button;cursor:pointer}button[disabled],html input[disabled]{cursor:default}input[type=checkbox],input[type=radio]{-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;padding:0}input[type=search]{-webkit-appearance:textfield;-moz-box-sizing:content-box;-webkit-box-sizing:content-box;box-sizing:content-box}input[type=search]::-webkit-search-cancel-button,input[type=search]::-webkit-search-decoration{-webkit-appearance:none}button::-moz-focus-inner,input::-moz-focus-inner{border:0;padding:0}textarea{overflow:auto;vertical-align:top}table{border-collapse:collapse;border-spacing:0} \ No newline at end of file diff --git a/rtl/minified/site.min.css b/rtl/minified/site.min.css new file mode 100644 index 000000000..64890fb73 --- /dev/null +++ b/rtl/minified/site.min.css @@ -0,0 +1,14 @@ +/* +* # Semantic UI +* Version: 0.12.0 +* http://github.com/jlukic/semantic-ui +* +* +* Copyright 2014 Contributors +* Released under the MIT license +* http://opensource.org/licenses/MIT +* +* Released: 01/13/2014 +*/ + +article,aside,details,figcaption,figure,footer,header,hgroup,main,nav,section,summary{display:block}audio,canvas,video{display:inline-block}audio:not([controls]){display:none;height:0}[hidden],template{display:none}html{font-family:sans-serif;-ms-text-size-adjust:100%;-webkit-text-size-adjust:100%}body{margin:0}a{background:transparent}a:focus{outline:thin dotted}a:active,a:hover{outline:0}h1{font-size:2em;margin:.67em 0}abbr[title]{border-bottom:1px dotted}b,strong{font-weight:700}dfn{font-style:italic}hr{-moz-box-sizing:content-box;-webkit-box-sizing:content-box;box-sizing:content-box;height:0}mark{background:#ff0;color:#000}code,kbd,pre,samp{font-family:monospace,serif;font-size:1em}pre{white-space:pre-wrap}q{quotes:"\201C" "\201D" "\2018" "\2019"}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sup{top:-.5em}sub{bottom:-.25em}img{border:0}svg:not(:root){overflow:hidden}figure{margin:0}fieldset{border:1px solid silver;margin:0 2px;padding:.35em .625em .75em}legend{border:0;padding:0}button,input,select,textarea{font-family:inherit;font-size:100%;margin:0}button,input{line-height:normal}button,select{text-transform:none}button,html input[type=button],input[type=reset],input[type=submit]{-webkit-appearance:button;cursor:pointer}button[disabled],html input[disabled]{cursor:default}input[type=checkbox],input[type=radio]{-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;padding:0}input[type=search]{-webkit-appearance:textfield;-moz-box-sizing:content-box;-webkit-box-sizing:content-box;box-sizing:content-box}input[type=search]::-webkit-search-cancel-button,input[type=search]::-webkit-search-decoration{-webkit-appearance:none}button::-moz-focus-inner,input::-moz-focus-inner{border:0;padding:0}textarea{overflow:auto;vertical-align:top}table{border-collapse:collapse;border-spacing:0}html,body{font-size:15px}body{background:#fcfcfc;font-family:Open Sans,Helvetica Neue,Helvetica,Arial,sans-serif;margin:0;padding:0;color:#555;min-width:320px}h1,h2,h3,h4,h5{margin:1em 0 1rem;padding:0}p{margin:1em 0}p:first-child{margin-top:0}p:last-child{margin-bottom:0}a{color:#009fda;text-decoration:none}a:hover{color:#00b2f3}::-webkit-selection{background-color:#ffc;color:rgba(0,0,0,.7)}::-moz-selection{background-color:#ffc;color:rgba(0,0,0,.7)}::selection{background-color:#ffc;color:rgba(0,0,0,.7)} \ No newline at end of file diff --git a/rtl/minified/themes/basic/elements/button.overrides b/rtl/minified/themes/basic/elements/button.overrides new file mode 100644 index 000000000..627300769 --- /dev/null +++ b/rtl/minified/themes/basic/elements/button.overrides @@ -0,0 +1,4 @@ +/******************************* + Overrides +*******************************/ + diff --git a/rtl/minified/themes/basic/elements/button.variables b/rtl/minified/themes/basic/elements/button.variables new file mode 100644 index 000000000..651b71753 --- /dev/null +++ b/rtl/minified/themes/basic/elements/button.variables @@ -0,0 +1,39 @@ +/*------------------- + Button Variables +--------------------*/ + +/* Button Variables */ +@textTransform: none; +@fontWeight: normal; +@textColor: #333333; + +@borderRadius: 0.25em; + +@backgroundColor: #EEEEEE; +@backgroundImage: none; +@boxShadow: none; + +@hoverBackgroundColor: #DDDDDD; +@hoverBackgroundImage: none; +@hoverBoxShadow: none; + +@downBackgroundColor: #D0D0D0; +@downBackgroundImage: none; +@downBoxShadow: none; + +@activeBackgroundColor: #CCCCCC; +@activeBackgroundImage: none; +@activeBoxShadow: none; + +@verticalBoxShadow: none; + +@loadingBackgroundColor: #F0F0F0; + +@mini: 0.6rem; +@tiny: 0.7rem; +@small: 0.85rem; +@medium: 0.92rem; +@large: 1rem; +@big: 1.125rem; +@huge: 1.25rem; +@massive: 1.3rem; diff --git a/rtl/packaged/themes/basic/elements/button.overrides b/rtl/packaged/themes/basic/elements/button.overrides new file mode 100644 index 000000000..627300769 --- /dev/null +++ b/rtl/packaged/themes/basic/elements/button.overrides @@ -0,0 +1,4 @@ +/******************************* + Overrides +*******************************/ + diff --git a/rtl/packaged/themes/basic/elements/button.variables b/rtl/packaged/themes/basic/elements/button.variables new file mode 100644 index 000000000..651b71753 --- /dev/null +++ b/rtl/packaged/themes/basic/elements/button.variables @@ -0,0 +1,39 @@ +/*------------------- + Button Variables +--------------------*/ + +/* Button Variables */ +@textTransform: none; +@fontWeight: normal; +@textColor: #333333; + +@borderRadius: 0.25em; + +@backgroundColor: #EEEEEE; +@backgroundImage: none; +@boxShadow: none; + +@hoverBackgroundColor: #DDDDDD; +@hoverBackgroundImage: none; +@hoverBoxShadow: none; + +@downBackgroundColor: #D0D0D0; +@downBackgroundImage: none; +@downBoxShadow: none; + +@activeBackgroundColor: #CCCCCC; +@activeBackgroundImage: none; +@activeBoxShadow: none; + +@verticalBoxShadow: none; + +@loadingBackgroundColor: #F0F0F0; + +@mini: 0.6rem; +@tiny: 0.7rem; +@small: 0.85rem; +@medium: 0.92rem; +@large: 1rem; +@big: 1.125rem; +@huge: 1.25rem; +@massive: 1.3rem; diff --git a/rtl/uncompressed/reset.css b/rtl/uncompressed/reset.css new file mode 100644 index 000000000..5b2d5503e --- /dev/null +++ b/rtl/uncompressed/reset.css @@ -0,0 +1,425 @@ +/*! normalize.css v2.1.3 | MIT License | git.io/normalize */ + +/* ========================================================================== + HTML5 display definitions + ========================================================================== */ + +/** + * Correct %60block` display not defined in IE 8/9. + */ + +article, +aside, +details, +figcaption, +figure, +footer, +header, +hgroup, +main, +nav, +section, +summary { + display: block; +} + +/** + * Correct `inline-block` display not defined in IE 8/9. + */ + +audio, +canvas, +video { + display: inline-block; +} + +/** + * Prevent modern browsers from displaying `audio` without controls. + * Remove excess height in iOS 5 devices. + */ + +audio:not([controls]) { + display: none; + height: 0; +} + +/** + * Address `[hidden]` styling not present in IE 8/9. + * Hide the `template` element in IE, Safari, and Firefox < 22. + */ + +[hidden], +template { + display: none; +} + +/* ========================================================================== + Base + ========================================================================== */ + +/** + * 1. Set default font family to sans-serif. + * 2. Prevent iOS text size adjust after orientation change, without disabling + * user zoom. + */ + +html { + font-family: sans-serif; + /* 1 */ + -ms-text-size-adjust: 100%; + /* 2 */ + -webkit-text-size-adjust: 100%; + /* 2 */ +} + +/** + * Remove default margin. + */ + +body { + margin: 0; +} + +/* ========================================================================== + Links + ========================================================================== */ + +/** + * Remove the gray background color from active links in IE 10. + */ + +a { + background: transparent; +} + +/** + * Address `outline` inconsistency between Chrome and other browsers. + */ + +a:focus { + outline: thin dotted; +} + +/** + * Improve readability when focused and also mouse hovered in all browsers. + */ + +a:active, +a:hover { + outline: 0; +} + +/* ========================================================================== + Typography + ========================================================================== */ + +/** + * Address variable `h1` font-size and margin within `section` and `article` + * contexts in Firefox 4+, Safari 5, and Chrome. + */ + +h1 { + font-size: 2em; + margin: 0.67em 0; +} + +/** + * Address styling not present in IE 8/9, Safari 5, and Chrome. + */ + +abbr[title] { + border-bottom: 1px dotted; +} + +/** + * Address style set to `bolder` in Firefox 4+, Safari 5, and Chrome. + */ + +b, +strong { + font-weight: bold; +} + +/** + * Address styling not present in Safari 5 and Chrome. + */ + +dfn { + font-style: italic; +} + +/** + * Address differences between Firefox and other browsers. + */ + +hr { + -moz-box-sizing: content-box; + -webkit-box-sizing: content-box; + box-sizing: content-box; + height: 0; +} + +/** + * Address styling not present in IE 8/9. + */ + +mark { + background: #ff0; + color: #000; +} + +/** + * Correct font family set oddly in Safari 5 and Chrome. + */ + +code, +kbd, +pre, +samp { + font-family: monospace, serif; + font-size: 1em; +} + +/** + * Improve readability of pre-formatted text in all browsers. + */ + +pre { + white-space: pre-wrap; +} + +/** + * Set consistent quote types. + */ + +q { + quotes: "\201C" "\201D" "\2018" "\2019"; +} + +/** + * Address inconsistent and variable font size in all browsers. + */ + +small { + font-size: 80%; +} + +/** + * Prevent `sub` and `sup` affecting `line-height` in all browsers. + */ + +sub, +sup { + font-size: 75%; + line-height: 0; + position: relative; + vertical-align: baseline; +} + +sup { + top: -0.5em; +} + +sub { + bottom: -0.25em; +} + +/* ========================================================================== + Embedded content + ========================================================================== */ + +/** + * Remove border when inside `a` element in IE 8/9. + */ + +img { + border: 0; +} + +/** + * Correct overflow displayed oddly in IE 9. + */ + +svg:not(:root) { + overflow: hidden; +} + +/* ========================================================================== + Figures + ========================================================================== */ + +/** + * Address margin not present in IE 8/9 and Safari 5. + */ + +figure { + margin: 0; +} + +/* ========================================================================== + Forms + ========================================================================== */ + +/** + * Define consistent border, margin, and padding. + */ + +fieldset { + border: 1px solid #c0c0c0; + margin: 0 2px; + padding: 0.35em 0.625em 0.75em; +} + +/** + * 1. Correct `color` not being inherited in IE 8/9. + * 2. Remove padding so people aren't caught out if they zero out fieldsets. + */ + +legend { + border: 0; + /* 1 */ + padding: 0; + /* 2 */ +} + +/** + * 1. Correct font family not being inherited in all browsers. + * 2. Correct font size not being inherited in all browsers. + * 3. Address margins set differently in Firefox 4+, Safari 5, and Chrome. + */ + +button, +input, +select, +textarea { + font-family: inherit; + /* 1 */ + font-size: 100%; + /* 2 */ + margin: 0; + /* 3 */ +} + +/** + * Address Firefox 4+ setting `line-height` on `input` using `!important` in + * the UA stylesheet. + */ + +button, +input { + line-height: normal; +} + +/** + * Address inconsistent `text-transform` inheritance for `button` and `select`. + * All other form control elements do not inherit `text-transform` values. + * Correct `button` style inheritance in Chrome, Safari 5+, and IE 8+. + * Correct `select` style inheritance in Firefox 4+ and Opera. + */ + +button, +select { + text-transform: none; +} + +/** + * 1. Avoid the WebKit bug in Android 4.0.* where (2) destroys native `audio` + * and `video` controls. + * 2. Correct inability to style clickable `input` types in iOS. + * 3. Improve usability and consistency of cursor style between image-type + * `input` and others. + */ + +button, +html input[type="button"], +input[type="reset"], +input[type="submit"] { + -webkit-appearance: button; + /* 2 */ + cursor: pointer; + /* 3 */ +} + +/** + * Re-set default cursor for disabled elements. + */ + +button[disabled], +html input[disabled] { + cursor: default; +} + +/** + * 1. Address box sizing set to `content-box` in IE 8/9/10. + * 2. Remove excess padding in IE 8/9/10. + */ + +input[type="checkbox"], +input[type="radio"] { + -webkit-box-sizing: border-box; + -moz-box-sizing: border-box; + box-sizing: border-box; + /* 1 */ + padding: 0; + /* 2 */ +} + +/** + * 1. Address `appearance` set to `searchfield` in Safari 5 and Chrome. + * 2. Address `box-sizing` set to `border-box` in Safari 5 and Chrome + * (include `-moz` to future-proof). + */ + +input[type="search"] { + -webkit-appearance: textfield; + /* 1 */ + -moz-box-sizing: content-box; + -webkit-box-sizing: content-box; + /* 2 */ + box-sizing: content-box; +} + +/** + * Remove inner padding and search cancel button in Safari 5 and Chrome + * on OS X. + */ + +input[type="search"]::-webkit-search-cancel-button, +input[type="search"]::-webkit-search-decoration { + -webkit-appearance: none; +} + +/** + * Remove inner padding and border in Firefox 4+. + */ + +button::-moz-focus-inner, +input::-moz-focus-inner { + border: 0; + padding: 0; +} + +/** + * 1. Remove default vertical scrollbar in IE 8/9. + * 2. Improve readability and alignment in all browsers. + */ + +textarea { + overflow: auto; + /* 1 */ + vertical-align: top; + /* 2 */ +} + +/* ========================================================================== + Tables + ========================================================================== */ + +/** + * Remove most spacing between table cells. + */ + +table { + border-collapse: collapse; + border-spacing: 0; +} \ No newline at end of file diff --git a/rtl/uncompressed/site.css b/rtl/uncompressed/site.css new file mode 100644 index 000000000..6376b98c8 --- /dev/null +++ b/rtl/uncompressed/site.css @@ -0,0 +1,598 @@ +/******************************* + Global Variables +*******************************/ + +/*------------------- + Paths +--------------------*/ + +/*------------------- + Page +--------------------*/ + +/*------------------- + Fonts +--------------------*/ + +/*------------------- + Icons +--------------------*/ + +/* Width of largest icon */ + +/******************************* + BG Colors +*******************************/ + +/******************************* + Colors +*******************************/ + +/*------------------- + Background +--------------------*/ + +/*--- Colors ---*/ + +/*--- Emotive ---*/ + +/*--- Neutrals ---*/ + +/*------------------- + Text Colors +--------------------*/ + +/*------------------- + Brand Colors +--------------------*/ + +/*------------------- + Borders +--------------------*/ + +/*------------------- + Sizes +--------------------*/ + +/*------------------- + Transitions +--------------------*/ + +/******************************* + States +*******************************/ + +/*------------------- + Disabled +--------------------*/ + +/*------------------- + Hover +--------------------*/ + +/*--- Colors ---*/ + +/*--- Emotive ---*/ + +/*--- Neutrals ---*/ + +/*------------------- + Down (:active) +--------------------*/ + +/*--- Colors ---*/ + +/*--- Emotive ---*/ + +/*--- Neutrals ---*/ + +/*------------------- + Active +--------------------*/ + +/*--- Standard ---*/ + +/*--- Emotive ---*/ + +/*--- Neutrals ---*/ + +/*! normalize.css v2.1.3 | MIT License | git.io/normalize */ + +/* ========================================================================== + HTML5 display definitions + ========================================================================== */ + +/** + * Correct %60block` display not defined in IE 8/9. + */ + +article, +aside, +details, +figcaption, +figure, +footer, +header, +hgroup, +main, +nav, +section, +summary { + display: block; +} + +/** + * Correct `inline-block` display not defined in IE 8/9. + */ + +audio, +canvas, +video { + display: inline-block; +} + +/** + * Prevent modern browsers from displaying `audio` without controls. + * Remove excess height in iOS 5 devices. + */ + +audio:not([controls]) { + display: none; + height: 0; +} + +/** + * Address `[hidden]` styling not present in IE 8/9. + * Hide the `template` element in IE, Safari, and Firefox < 22. + */ + +[hidden], +template { + display: none; +} + +/* ========================================================================== + Base + ========================================================================== */ + +/** + * 1. Set default font family to sans-serif. + * 2. Prevent iOS text size adjust after orientation change, without disabling + * user zoom. + */ + +html { + font-family: sans-serif; + /* 1 */ + -ms-text-size-adjust: 100%; + /* 2 */ + -webkit-text-size-adjust: 100%; + /* 2 */ +} + +/** + * Remove default margin. + */ + +body { + margin: 0; +} + +/* ========================================================================== + Links + ========================================================================== */ + +/** + * Remove the gray background color from active links in IE 10. + */ + +a { + background: transparent; +} + +/** + * Address `outline` inconsistency between Chrome and other browsers. + */ + +a:focus { + outline: thin dotted; +} + +/** + * Improve readability when focused and also mouse hovered in all browsers. + */ + +a:active, +a:hover { + outline: 0; +} + +/* ========================================================================== + Typography + ========================================================================== */ + +/** + * Address variable `h1` font-size and margin within `section` and `article` + * contexts in Firefox 4+, Safari 5, and Chrome. + */ + +h1 { + font-size: 2em; + margin: 0.67em 0; +} + +/** + * Address styling not present in IE 8/9, Safari 5, and Chrome. + */ + +abbr[title] { + border-bottom: 1px dotted; +} + +/** + * Address style set to `bolder` in Firefox 4+, Safari 5, and Chrome. + */ + +b, +strong { + font-weight: bold; +} + +/** + * Address styling not present in Safari 5 and Chrome. + */ + +dfn { + font-style: italic; +} + +/** + * Address differences between Firefox and other browsers. + */ + +hr { + -moz-box-sizing: content-box; + -webkit-box-sizing: content-box; + box-sizing: content-box; + height: 0; +} + +/** + * Address styling not present in IE 8/9. + */ + +mark { + background: #ff0; + color: #000; +} + +/** + * Correct font family set oddly in Safari 5 and Chrome. + */ + +code, +kbd, +pre, +samp { + font-family: monospace, serif; + font-size: 1em; +} + +/** + * Improve readability of pre-formatted text in all browsers. + */ + +pre { + white-space: pre-wrap; +} + +/** + * Set consistent quote types. + */ + +q { + quotes: "\201C" "\201D" "\2018" "\2019"; +} + +/** + * Address inconsistent and variable font size in all browsers. + */ + +small { + font-size: 80%; +} + +/** + * Prevent `sub` and `sup` affecting `line-height` in all browsers. + */ + +sub, +sup { + font-size: 75%; + line-height: 0; + position: relative; + vertical-align: baseline; +} + +sup { + top: -0.5em; +} + +sub { + bottom: -0.25em; +} + +/* ========================================================================== + Embedded content + ========================================================================== */ + +/** + * Remove border when inside `a` element in IE 8/9. + */ + +img { + border: 0; +} + +/** + * Correct overflow displayed oddly in IE 9. + */ + +svg:not(:root) { + overflow: hidden; +} + +/* ========================================================================== + Figures + ========================================================================== */ + +/** + * Address margin not present in IE 8/9 and Safari 5. + */ + +figure { + margin: 0; +} + +/* ========================================================================== + Forms + ========================================================================== */ + +/** + * Define consistent border, margin, and padding. + */ + +fieldset { + border: 1px solid #c0c0c0; + margin: 0 2px; + padding: 0.35em 0.625em 0.75em; +} + +/** + * 1. Correct `color` not being inherited in IE 8/9. + * 2. Remove padding so people aren't caught out if they zero out fieldsets. + */ + +legend { + border: 0; + /* 1 */ + padding: 0; + /* 2 */ +} + +/** + * 1. Correct font family not being inherited in all browsers. + * 2. Correct font size not being inherited in all browsers. + * 3. Address margins set differently in Firefox 4+, Safari 5, and Chrome. + */ + +button, +input, +select, +textarea { + font-family: inherit; + /* 1 */ + font-size: 100%; + /* 2 */ + margin: 0; + /* 3 */ +} + +/** + * Address Firefox 4+ setting `line-height` on `input` using `!important` in + * the UA stylesheet. + */ + +button, +input { + line-height: normal; +} + +/** + * Address inconsistent `text-transform` inheritance for `button` and `select`. + * All other form control elements do not inherit `text-transform` values. + * Correct `button` style inheritance in Chrome, Safari 5+, and IE 8+. + * Correct `select` style inheritance in Firefox 4+ and Opera. + */ + +button, +select { + text-transform: none; +} + +/** + * 1. Avoid the WebKit bug in Android 4.0.* where (2) destroys native `audio` + * and `video` controls. + * 2. Correct inability to style clickable `input` types in iOS. + * 3. Improve usability and consistency of cursor style between image-type + * `input` and others. + */ + +button, +html input[type="button"], +input[type="reset"], +input[type="submit"] { + -webkit-appearance: button; + /* 2 */ + cursor: pointer; + /* 3 */ +} + +/** + * Re-set default cursor for disabled elements. + */ + +button[disabled], +html input[disabled] { + cursor: default; +} + +/** + * 1. Address box sizing set to `content-box` in IE 8/9/10. + * 2. Remove excess padding in IE 8/9/10. + */ + +input[type="checkbox"], +input[type="radio"] { + -webkit-box-sizing: border-box; + -moz-box-sizing: border-box; + box-sizing: border-box; + /* 1 */ + padding: 0; + /* 2 */ +} + +/** + * 1. Address `appearance` set to `searchfield` in Safari 5 and Chrome. + * 2. Address `box-sizing` set to `border-box` in Safari 5 and Chrome + * (include `-moz` to future-proof). + */ + +input[type="search"] { + -webkit-appearance: textfield; + /* 1 */ + -moz-box-sizing: content-box; + -webkit-box-sizing: content-box; + /* 2 */ + box-sizing: content-box; +} + +/** + * Remove inner padding and search cancel button in Safari 5 and Chrome + * on OS X. + */ + +input[type="search"]::-webkit-search-cancel-button, +input[type="search"]::-webkit-search-decoration { + -webkit-appearance: none; +} + +/** + * Remove inner padding and border in Firefox 4+. + */ + +button::-moz-focus-inner, +input::-moz-focus-inner { + border: 0; + padding: 0; +} + +/** + * 1. Remove default vertical scrollbar in IE 8/9. + * 2. Improve readability and alignment in all browsers. + */ + +textarea { + overflow: auto; + /* 1 */ + vertical-align: top; + /* 2 */ +} + +/* ========================================================================== + Tables + ========================================================================== */ + +/** + * Remove most spacing between table cells. + */ + +table { + border-collapse: collapse; + border-spacing: 0; +} + +/******************************* + Page +*******************************/ + +html, +body { + font-size: 15px; +} + +body { + background: #fcfcfc; + font-family: Open Sans, Helvetica Neue, Helvetica, Arial, sans-serif; + margin: 0px; + padding: 0px; + color: #555555; + min-width: 320px; +} + +/******************************* + Text +*******************************/ + +h1, +h2, +h3, +h4, +h5 { + margin: 1em 0em 1rem; + padding: 0em; +} + +p { + margin: 1em 0em; +} + +p:first-child { + margin-top: 0em; +} + +p:last-child { + margin-bottom: 0em; +} + +/*------------------- + Links +--------------------*/ + +a { + color: #009fda; + text-decoration: none; +} + +a:hover { + color: #00b2f3; +} + +/******************************* + Highlighting +*******************************/ + +::-webkit-selection { + background-color: #ffffcc; + color: rgba(0, 0, 0, 0.7); +} + +::-moz-selection { + background-color: #ffffcc; + color: rgba(0, 0, 0, 0.7); +} + +::selection { + background-color: #ffffcc; + color: rgba(0, 0, 0, 0.7); +} \ No newline at end of file diff --git a/rtl/uncompressed/themes/basic/elements/button.overrides b/rtl/uncompressed/themes/basic/elements/button.overrides new file mode 100644 index 000000000..627300769 --- /dev/null +++ b/rtl/uncompressed/themes/basic/elements/button.overrides @@ -0,0 +1,4 @@ +/******************************* + Overrides +*******************************/ + diff --git a/rtl/uncompressed/themes/basic/elements/button.variables b/rtl/uncompressed/themes/basic/elements/button.variables new file mode 100644 index 000000000..651b71753 --- /dev/null +++ b/rtl/uncompressed/themes/basic/elements/button.variables @@ -0,0 +1,39 @@ +/*------------------- + Button Variables +--------------------*/ + +/* Button Variables */ +@textTransform: none; +@fontWeight: normal; +@textColor: #333333; + +@borderRadius: 0.25em; + +@backgroundColor: #EEEEEE; +@backgroundImage: none; +@boxShadow: none; + +@hoverBackgroundColor: #DDDDDD; +@hoverBackgroundImage: none; +@hoverBoxShadow: none; + +@downBackgroundColor: #D0D0D0; +@downBackgroundImage: none; +@downBoxShadow: none; + +@activeBackgroundColor: #CCCCCC; +@activeBackgroundImage: none; +@activeBoxShadow: none; + +@verticalBoxShadow: none; + +@loadingBackgroundColor: #F0F0F0; + +@mini: 0.6rem; +@tiny: 0.7rem; +@small: 0.85rem; +@medium: 0.92rem; +@large: 1rem; +@big: 1.125rem; +@huge: 1.25rem; +@massive: 1.3rem;