You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cordova.apache.org by st...@apache.org on 2014/03/14 00:33:29 UTC
[1/5] Cleaning up the repo
Repository: cordova-registry-web
Updated Branches:
refs/heads/refactor 074012f83 -> 3243029e8
http://git-wip-us.apache.org/repos/asf/cordova-registry-web/blob/3243029e/attachments/css/topcoat-mobile-light.min.css
----------------------------------------------------------------------
diff --git a/attachments/css/topcoat-mobile-light.min.css b/attachments/css/topcoat-mobile-light.min.css
deleted file mode 100755
index d65b674..0000000
--- a/attachments/css/topcoat-mobile-light.min.css
+++ /dev/null
@@ -1 +0,0 @@
-.button-bar{display:table;table-layout:fixed;white-space:nowrap;margin:0;padding:0}.button-bar__item{display:table-cell;width:auto;border-radius:0}.button-bar__item>input{position:absolute;overflow:hidden;padding:0;border:0;opacity:.001;z-index:1;vertical-align:top;outline:0}.button-bar__button{border-radius:inherit}.button-bar__item:disabled{opacity:.3;cursor:default;pointer-events:none}.button,.topcoat-button,.topcoat-button--quiet,.topcoat-button--large,.topcoat-button--large--quiet,.topcoat-button--cta,.topcoat-button--large--cta,.topcoat-button-bar__button,.topcoat-button-bar__button--large{position:relative;display:inline-block;vertical-align:top;-moz-box-sizing:border-box;box-sizing:border-box;background-clip:padding-box;padding:0;margin:0;font:inherit;color:inherit;background:transparent;border:0;cursor:default;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;text-overflow:ellipsis;white-space:nowrap;overflow:hidden;text-decoration:none}.b
utton--quiet{background:transparent;border:1px solid transparent;box-shadow:none}.button--disabled,.topcoat-button:disabled,.topcoat-button--quiet:disabled,.topcoat-button--large:disabled,.topcoat-button--large--quiet:disabled,.topcoat-button--cta:disabled,.topcoat-button--large--cta:disabled,.topcoat-button-bar__button:disabled,.topcoat-button-bar__button--large:disabled{opacity:.3;cursor:default;pointer-events:none}.topcoat-button,.topcoat-button--quiet,.topcoat-button--large,.topcoat-button--large--quiet,.topcoat-button--cta,.topcoat-button--large--cta,.topcoat-button-bar__button,.topcoat-button-bar__button--large{padding:0 1.25rem;font-size:16px;line-height:3rem;letter-spacing:1px;color:#454545;text-shadow:0 1px #fff;vertical-align:top;background-color:#e5e9e8;box-shadow:inset 0 1px #fff;border:1px solid #9daca9;border-radius:6px}.topcoat-button:hover,.topcoat-button--quiet:hover,.topcoat-button--large:hover,.topcoat-button--large--quiet:hover,.topcoat-button-bar__button:hover,.
topcoat-button-bar__button--large:hover{background-color:#eff1f1}.topcoat-button:focus,.topcoat-button--quiet:focus,.topcoat-button--quiet:hover:focus,.topcoat-button--large:focus,.topcoat-button--large--quiet:focus,.topcoat-button--large--quiet:hover:focus,.topcoat-button--cta:focus,.topcoat-button--large--cta:focus,.topcoat-button-bar__button:focus,.topcoat-button-bar__button--large:focus{border:1px solid #0036ff;box-shadow:inset 0 1px rgba(255,255,255,.36),0 0 0 2px #6fb5f1;outline:0}.topcoat-button:active,.topcoat-button--large:active,.topcoat-button-bar__button:active,.topcoat-button-bar__button--large:active,:checked+.topcoat-button-bar__button{border:1px solid #9daca9;background-color:#d2d6d6;box-shadow:inset 0 1px rgba(0,0,0,.1)}.topcoat-button--quiet{background:transparent;border:1px solid transparent;box-shadow:none}.topcoat-button--quiet:hover,.topcoat-button--large--quiet:hover{text-shadow:0 1px #fff;border:1px solid #9daca9;box-shadow:inset 0 1px #fff}.topcoat-button--q
uiet:active,.topcoat-button--quiet:focus:active,.topcoat-button--large--quiet:active,.topcoat-button--large--quiet:focus:active{color:#454545;text-shadow:0 1px #fff;background-color:#d2d6d6;border:1px solid #9daca9;box-shadow:inset 0 1px rgba(0,0,0,.1)}.topcoat-button--large,.topcoat-button--large--quiet,.topcoat-button-bar__button--large{font-size:1.3rem;font-weight:400;line-height:4.375rem;padding:0 1.25rem}.topcoat-button--large--quiet{background:transparent;border:1px solid transparent;box-shadow:none}.topcoat-button--cta,.topcoat-button--large--cta{border:1px solid #134f7f;background-color:#288edf;box-shadow:inset 0 1px rgba(255,255,255,.36);color:#fff;font-weight:500;text-shadow:0 -1px rgba(0,0,0,.36)}.topcoat-button--cta:hover,.topcoat-button--large--cta:hover{background-color:#4ca1e4}.topcoat-button--cta:active,.topcoat-button--large--cta:active{background-color:#1e7dc8;box-shadow:inset 0 1px rgba(0,0,0,.12)}.topcoat-button--large--cta{font-size:1.3rem;font-weight:400;line-h
eight:4.375rem;padding:0 1.25rem}.button-bar,.topcoat-button-bar{display:table;table-layout:fixed;white-space:nowrap;margin:0;padding:0}.button-bar__item,.topcoat-button-bar__item{display:table-cell;width:auto;border-radius:0}.button-bar__item>input,.topcoat-button-bar__item>input{position:absolute;overflow:hidden;padding:0;border:0;opacity:.001;z-index:1;vertical-align:top;outline:0}.button-bar__button{border-radius:inherit}.button-bar__item:disabled{opacity:.3;cursor:default;pointer-events:none}.topcoat-button-bar>.topcoat-button-bar__item:first-child{border-top-left-radius:6px;border-bottom-left-radius:6px}.topcoat-button-bar>.topcoat-button-bar__item:last-child{border-top-right-radius:6px;border-bottom-right-radius:6px}.topcoat-button-bar__item:first-child>.topcoat-button-bar__button,.topcoat-button-bar__item:first-child>.topcoat-button-bar__button--large{border-right:0}.topcoat-button-bar__item:last-child>.topcoat-button-bar__button,.topcoat-button-bar__item:last-child>.topcoat
-button-bar__button--large{border-left:0}.topcoat-button-bar__button{border-radius:inherit}.topcoat-button-bar__button:focus,.topcoat-button-bar__button--large:focus{z-index:1}.topcoat-button-bar__button--large{border-radius:inherit}.button{position:relative;display:inline-block;vertical-align:top;-moz-box-sizing:border-box;box-sizing:border-box;background-clip:padding-box;padding:0;margin:0;font:inherit;color:inherit;background:transparent;border:0;cursor:default;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;text-overflow:ellipsis;white-space:nowrap;overflow:hidden;text-decoration:none}.button--quiet{background:transparent;border:1px solid transparent;box-shadow:none}.button--disabled{opacity:.3;cursor:default;pointer-events:none}.button,.topcoat-button,.topcoat-button--quiet,.topcoat-button--large,.topcoat-button--large--quiet,.topcoat-button--cta,.topcoat-button--large--cta{position:relative;display:inline-block;vertical-align:top;-moz-box-s
izing:border-box;box-sizing:border-box;background-clip:padding-box;padding:0;margin:0;font:inherit;color:inherit;background:transparent;border:0;cursor:default;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;text-overflow:ellipsis;white-space:nowrap;overflow:hidden;text-decoration:none}.button--quiet{background:transparent;border:1px solid transparent;box-shadow:none}.button--disabled,.topcoat-button:disabled,.topcoat-button--quiet:disabled,.topcoat-button--large:disabled,.topcoat-button--large--quiet:disabled,.topcoat-button--cta:disabled,.topcoat-button--large--cta:disabled{opacity:.3;cursor:default;pointer-events:none}.topcoat-button,.topcoat-button--quiet,.topcoat-button--large,.topcoat-button--large--quiet,.topcoat-button--cta,.topcoat-button--large--cta{padding:0 1.25rem;font-size:16px;line-height:3rem;letter-spacing:1px;color:#454545;text-shadow:0 1px #fff;vertical-align:top;background-color:#e5e9e8;box-shadow:inset 0 1px #fff;border:1px s
olid #9daca9;border-radius:6px}.topcoat-button:hover,.topcoat-button--quiet:hover,.topcoat-button--large:hover,.topcoat-button--large--quiet:hover{background-color:#eff1f1}.topcoat-button:focus,.topcoat-button--quiet:focus,.topcoat-button--quiet:hover:focus,.topcoat-button--large:focus,.topcoat-button--large--quiet:focus,.topcoat-button--large--quiet:hover:focus,.topcoat-button--cta:focus,.topcoat-button--large--cta:focus{border:1px solid #0036ff;box-shadow:inset 0 1px rgba(255,255,255,.36),0 0 0 2px #6fb5f1;outline:0}.topcoat-button:active,.topcoat-button--large:active{border:1px solid #9daca9;background-color:#d2d6d6;box-shadow:inset 0 1px rgba(0,0,0,.1)}.topcoat-button--quiet{background:transparent;border:1px solid transparent;box-shadow:none}.topcoat-button--quiet:hover,.topcoat-button--large--quiet:hover{text-shadow:0 1px #fff;border:1px solid #9daca9;box-shadow:inset 0 1px #fff}.topcoat-button--quiet:active,.topcoat-button--quiet:focus:active,.topcoat-button--large--quiet:acti
ve,.topcoat-button--large--quiet:focus:active{color:#454545;text-shadow:0 1px #fff;background-color:#d2d6d6;border:1px solid #9daca9;box-shadow:inset 0 1px rgba(0,0,0,.1)}.topcoat-button--large,.topcoat-button--large--quiet{font-size:1.3rem;font-weight:400;line-height:4.375rem;padding:0 1.25rem}.topcoat-button--large--quiet{background:transparent;border:1px solid transparent;box-shadow:none}.topcoat-button--cta,.topcoat-button--large--cta{border:1px solid #134f7f;background-color:#288edf;box-shadow:inset 0 1px rgba(255,255,255,.36);color:#fff;font-weight:500;text-shadow:0 -1px rgba(0,0,0,.36)}.topcoat-button--cta:hover,.topcoat-button--large--cta:hover{background-color:#4ca1e4}.topcoat-button--cta:active,.topcoat-button--large--cta:active{background-color:#1e7dc8;box-shadow:inset 0 1px rgba(0,0,0,.12)}.topcoat-button--large--cta{font-size:1.3rem;font-weight:400;line-height:4.375rem;padding:0 1.25rem}input[type=checkbox]{position:absolute;overflow:hidden;padding:0;border:0;opacity:.0
01;z-index:1;vertical-align:top;outline:0}.checkbox{-moz-box-sizing:border-box;box-sizing:border-box;background-clip:padding-box;position:relative;display:inline-block;vertical-align:top;cursor:default;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.checkbox__label{position:relative;display:inline-block;vertical-align:top;cursor:default;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.checkbox--disabled{opacity:.3;cursor:default;pointer-events:none}.checkbox:before,.checkbox:after{content:'';position:absolute}.checkbox:before{-moz-box-sizing:border-box;box-sizing:border-box;background-clip:padding-box}input[type=checkbox]{position:absolute;overflow:hidden;padding:0;border:0;opacity:.001;z-index:1;vertical-align:top;outline:0}.checkbox,.topcoat-checkbox__checkmark{-moz-box-sizing:border-box;box-sizing:border-box;background-clip:padding-box;position:relative;display:inline-block;vertical-align:top;cursor:defaul
t;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.checkbox__label,.topcoat-checkbox{position:relative;display:inline-block;vertical-align:top;cursor:default;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.checkbox--disabled,input[type=checkbox]:disabled+.topcoat-checkbox__checkmark{opacity:.3;cursor:default;pointer-events:none}.checkbox:before,.checkbox:after,.topcoat-checkbox__checkmark:before,.topcoat-checkbox__checkmark:after{content:'';position:absolute}.checkbox:before,.topcoat-checkbox__checkmark:before{-moz-box-sizing:border-box;box-sizing:border-box;background-clip:padding-box}.topcoat-checkbox__checkmark{height:2rem}input[type=checkbox]{height:2rem;width:2rem;margin-top:0;margin-right:-2rem;margin-bottom:-2rem;margin-left:0}input[type=checkbox]:checked+.topcoat-checkbox__checkmark:after{opacity:1}.topcoat-checkbox{line-height:2rem}.topcoat-checkbox__checkmark:before{width:2rem;height:2rem;background
:#e5e9e8;border:1px solid #9daca9;border-radius:3px;box-shadow:inset 0 1px #fff}.topcoat-checkbox__checkmark{width:2rem;height:2rem}.topcoat-checkbox__checkmark:after{top:1px;left:2px;opacity:0;width:28px;height:11px;background:transparent;border:7px solid #454545;border-width:7px;border-top:0;border-right:0;border-radius:2px;-webkit-transform:rotate(-50deg);-ms-transform:rotate(-50deg);transform:rotate(-50deg)}input[type=checkbox]:focus+.topcoat-checkbox__checkmark:before{border:1px solid #0036ff;box-shadow:inset 0 1px rgba(255,255,255,.36),0 0 0 2px #6fb5f1}input[type=checkbox]:active+.topcoat-checkbox__checkmark:before{border:1px solid #9daca9;background-color:#d2d6d6;box-shadow:inset 0 1px rgba(0,0,0,.1)}input[type=checkbox]:disabled:active+.topcoat-checkbox__checkmark:before{border:1px solid #9daca9;background:#e5e9e8;box-shadow:inset 0 1px #fff}.button,.topcoat-icon-button,.topcoat-icon-button--quiet,.topcoat-icon-button--large,.topcoat-icon-button--large--quiet{position:relat
ive;display:inline-block;vertical-align:top;-moz-box-sizing:border-box;box-sizing:border-box;background-clip:padding-box;padding:0;margin:0;font:inherit;color:inherit;background:transparent;border:0;cursor:default;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;text-overflow:ellipsis;white-space:nowrap;overflow:hidden;text-decoration:none}.button--quiet{background:transparent;border:1px solid transparent;box-shadow:none}.button--disabled,.topcoat-icon-button:disabled,.topcoat-icon-button--quiet:disabled,.topcoat-icon-button--large:disabled,.topcoat-icon-button--large--quiet:disabled{opacity:.3;cursor:default;pointer-events:none}.topcoat-icon-button,.topcoat-icon-button--quiet,.topcoat-icon-button--large,.topcoat-icon-button--large--quiet{padding:0 .75rem;line-height:3rem;letter-spacing:1px;color:#454545;text-shadow:0 1px #fff;vertical-align:baseline;background-color:#e5e9e8;box-shadow:inset 0 1px #fff;border:1px solid #9daca9;border-radius:6px}.t
opcoat-icon-button:hover,.topcoat-icon-button--quiet:hover,.topcoat-icon-button--large:hover,.topcoat-icon-button--large--quiet:hover{background-color:#eff1f1}.topcoat-icon-button:focus,.topcoat-icon-button--quiet:focus,.topcoat-icon-button--quiet:hover:focus,.topcoat-icon-button--large:focus,.topcoat-icon-button--large--quiet:focus,.topcoat-icon-button--large--quiet:hover:focus{border:1px solid #0036ff;box-shadow:inset 0 1px rgba(255,255,255,.36),0 0 0 2px #6fb5f1;outline:0}.topcoat-icon-button:active,.topcoat-icon-button--large:active{border:1px solid #9daca9;background-color:#d2d6d6;box-shadow:inset 0 1px rgba(0,0,0,.1)}.topcoat-icon-button--quiet{background:transparent;border:1px solid transparent;box-shadow:none}.topcoat-icon-button--quiet:hover,.topcoat-icon-button--large--quiet:hover{text-shadow:0 1px #fff;border:1px solid #9daca9;box-shadow:inset 0 1px #fff}.topcoat-icon-button--quiet:active,.topcoat-icon-button--quiet:focus:active,.topcoat-icon-button--large--quiet:active,.
topcoat-icon-button--large--quiet:focus:active{color:#454545;text-shadow:0 1px #fff;background-color:#d2d6d6;border:1px solid #9daca9;box-shadow:inset 0 1px rgba(0,0,0,.1)}.topcoat-icon-button--large,.topcoat-icon-button--large--quiet{width:4.375rem;height:4.375rem;line-height:4.375rem}.topcoat-icon-button--large--quiet{background:transparent;border:1px solid transparent;box-shadow:none}.topcoat-icon,.topcoat-icon--large{position:relative;display:inline-block;vertical-align:top;overflow:hidden;width:1.62rem;height:1.62rem;vertical-align:middle;top:-1px}.topcoat-icon--large{width:2.499999998125rem;height:2.499999998125rem;top:-2px}.input{padding:0;margin:0;font:inherit;color:inherit;background:transparent;border:0;-moz-box-sizing:border-box;box-sizing:border-box;background-clip:padding-box;vertical-align:top;outline:0}.input:disabled{opacity:.3;cursor:default;pointer-events:none}.list{padding:0;margin:0;font:inherit;color:inherit;background:transparent;border:0;cursor:default;-webkit
-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;overflow:auto;-webkit-overflow-scrolling:touch}.list__header{margin:0}.list__container{padding:0;margin:0;list-style-type:none}.list__item{margin:0;padding:0}.list,.topcoat-list{padding:0;margin:0;font:inherit;color:inherit;background:transparent;border:0;cursor:default;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;overflow:auto;-webkit-overflow-scrolling:touch}.list__header,.topcoat-list__header{margin:0}.list__container,.topcoat-list__container{padding:0;margin:0;list-style-type:none}.list__item,.topcoat-list__item{margin:0;padding:0}.topcoat-list{border-top:1px solid #9daca9;border-bottom:1px solid #fff;background-color:#e5e9e8}.topcoat-list__header{padding:4px 20px;font-size:.9em;font-weight:400;background-color:#d2d6d6;color:#454545;text-shadow:0 1px 0 rgba(255,255,255,.5);border-top:1px solid rgba(255,255,255,.5);border-bottom:1px solid rgba(255,255,255,.23)}.to
pcoat-list__container{border-top:1px solid #9daca9;color:#454545}.topcoat-list__item{padding:1.25rem;border-top:1px solid #fff;border-bottom:1px solid #9daca9}.topcoat-list__item:first-child{border-top:1px solid #d6dcdb}.navigation-bar{-moz-box-sizing:border-box;box-sizing:border-box;background-clip:padding-box;white-space:nowrap;overflow:hidden;word-spacing:0;padding:0;margin:0;font:inherit;color:inherit;background:transparent;border:0;cursor:default;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.navigation-bar__item{-moz-box-sizing:border-box;box-sizing:border-box;background-clip:padding-box;position:relative;display:inline-block;vertical-align:top;padding:0;margin:0;font:inherit;color:inherit;background:transparent;border:0}.navigation-bar__title{padding:0;margin:0;font:inherit;color:inherit;background:transparent;border:0;text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.navigation-bar,.topcoat-navigation-bar{-moz-box-sizing:border
-box;box-sizing:border-box;background-clip:padding-box;white-space:nowrap;overflow:hidden;word-spacing:0;padding:0;margin:0;font:inherit;color:inherit;background:transparent;border:0;cursor:default;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.navigation-bar__item,.topcoat-navigation-bar__item{-moz-box-sizing:border-box;box-sizing:border-box;background-clip:padding-box;position:relative;display:inline-block;vertical-align:top;padding:0;margin:0;font:inherit;color:inherit;background:transparent;border:0}.navigation-bar__title,.topcoat-navigation-bar__title{padding:0;margin:0;font:inherit;color:inherit;background:transparent;border:0;text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.topcoat-navigation-bar{height:4.375rem;padding-left:1rem;padding-right:1rem;background:#e5e9e8;color:#454545;box-shadow:inset 0 -1px #9daca9,0 1px #d6dcdb}.topcoat-navigation-bar__item{margin:0;line-height:4.375rem;vertical-align:top}.topcoat-navigation-bar_
_title{font-size:1.3rem;font-weight:400;color:#454545}.notification{position:relative;display:inline-block;vertical-align:top;-moz-box-sizing:border-box;box-sizing:border-box;background-clip:padding-box;padding:0;margin:0;font:inherit;color:inherit;background:transparent;border:0;cursor:default;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;text-overflow:ellipsis;white-space:nowrap;overflow:hidden;text-decoration:none}.notification,.topcoat-notification{position:relative;display:inline-block;vertical-align:top;-moz-box-sizing:border-box;box-sizing:border-box;background-clip:padding-box;padding:0;margin:0;font:inherit;color:inherit;background:transparent;border:0;cursor:default;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;text-overflow:ellipsis;white-space:nowrap;overflow:hidden;text-decoration:none}.topcoat-notification{padding:.15em .5em .2em;border-radius:2px;background-color:#ec514e;color:#fff}input[typ
e=radio]{position:absolute;overflow:hidden;padding:0;border:0;opacity:.001;z-index:1;vertical-align:top;outline:0}.radio-button{-moz-box-sizing:border-box;box-sizing:border-box;background-clip:padding-box;position:relative;display:inline-block;vertical-align:top;cursor:default;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.radio-button__label{position:relative;display:inline-block;vertical-align:top;cursor:default;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.radio-button:before,.radio-button:after{content:'';position:absolute;border-radius:100%}.radio-button:after{top:50%;left:50%;-webkit-transform:translate(-50%,-50%);-ms-transform:translate(-50%,-50%);transform:translate(-50%,-50%)}.radio-button:before{-moz-box-sizing:border-box;box-sizing:border-box;background-clip:padding-box}.radio-button--disabled{opacity:.3;cursor:default;pointer-events:none}input[type=radio]{position:absolute;overflow:hidden;padd
ing:0;border:0;opacity:.001;z-index:1;vertical-align:top;outline:0}.radio-button,.topcoat-radio-button__checkmark{-moz-box-sizing:border-box;box-sizing:border-box;background-clip:padding-box;position:relative;display:inline-block;vertical-align:top;cursor:default;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.radio-button__label,.topcoat-radio-button{position:relative;display:inline-block;vertical-align:top;cursor:default;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.radio-button:before,.radio-button:after,.topcoat-radio-button__checkmark:before,.topcoat-radio-button__checkmark:after{content:'';position:absolute;border-radius:100%}.radio-button:after,.topcoat-radio-button__checkmark:after{top:50%;left:50%;-webkit-transform:translate(-50%,-50%);-ms-transform:translate(-50%,-50%);transform:translate(-50%,-50%)}.radio-button:before,.topcoat-radio-button__checkmark:before{-moz-box-sizing:border-box;box-sizing
:border-box;background-clip:padding-box}.radio-button--disabled,input[type=radio]:disabled+.topcoat-radio-button__checkmark{opacity:.3;cursor:default;pointer-events:none}input[type=radio]{height:1.875rem;width:1.875rem;margin-top:0;margin-right:-1.875rem;margin-bottom:-1.875rem;margin-left:0}input[type=radio]:checked+.topcoat-radio-button__checkmark:after{opacity:1}.topcoat-radio-button{color:#454545;line-height:1.875rem}.topcoat-radio-button__checkmark:before{width:1.875rem;height:1.875rem;background:#e5e9e8;border:1px solid #9daca9;box-shadow:inset 0 1px #fff}.topcoat-radio-button__checkmark{position:relative;width:1.875rem;height:1.875rem}.topcoat-radio-button__checkmark:after{opacity:0;width:.875rem;height:.875rem;background:#454545;border:1px solid rgba(0,0,0,.1);box-shadow:0 1px rgba(255,255,255,.5);-webkit-transform:none;-ms-transform:none;transform:none;top:7px;left:7px}input[type=radio]:focus+.topcoat-radio-button__checkmark:before{border:1px solid #0036ff;box-shadow:inset
0 1px rgba(255,255,255,.36),0 0 0 2px #6fb5f1}input[type=radio]:active+.topcoat-radio-button__checkmark:before{border:1px solid #9daca9;background-color:#d2d6d6;box-shadow:inset 0 1px rgba(0,0,0,.1)}input[type=radio]:disabled:active+.topcoat-radio-button__checkmark:before{border:1px solid #9daca9;background:#e5e9e8;box-shadow:inset 0 1px #fff}.range{padding:0;margin:0;font:inherit;color:inherit;background:transparent;border:0;-moz-box-sizing:border-box;box-sizing:border-box;background-clip:padding-box;vertical-align:top;outline:0;-webkit-appearance:none}.range__thumb{cursor:pointer}.range__thumb--webkit{cursor:pointer;-webkit-appearance:none}.range:disabled{opacity:.3;cursor:default;pointer-events:none}.range,.topcoat-range{padding:0;margin:0;font:inherit;color:inherit;background:transparent;border:0;-moz-box-sizing:border-box;box-sizing:border-box;background-clip:padding-box;vertical-align:top;outline:0;-webkit-appearance:none}.range__thumb,.topcoat-range::-moz-range-thumb{cursor:p
ointer}.range__thumb--webkit,.topcoat-range::-webkit-slider-thumb{cursor:pointer;-webkit-appearance:none}.range:disabled,.topcoat-range:disabled{opacity:.3;cursor:default;pointer-events:none}.topcoat-range{border-radius:6px;border:1px solid #9daca9;background-color:#d6dcdb;height:1rem;border-radius:30px}.topcoat-range::-moz-range-track{border-radius:6px;border:1px solid #9daca9;background-color:#d6dcdb;height:1rem;border-radius:30px}.topcoat-range::-webkit-slider-thumb{height:3rem;width:2rem;background-color:#e5e9e8;border:1px solid #9daca9;border-radius:6px;box-shadow:inset 0 1px #fff}.topcoat-range::-moz-range-thumb{height:3rem;width:2rem;background-color:#e5e9e8;border:1px solid #9daca9;border-radius:6px;box-shadow:inset 0 1px #fff}.topcoat-range:focus::-webkit-slider-thumb{border:1px solid #0036ff;box-shadow:inset 0 1px rgba(255,255,255,.36),0 0 0 2px #6fb5f1}.topcoat-range:focus::-moz-range-thumb{border:1px solid #0036ff;box-shadow:inset 0 1px rgba(255,255,255,.36),0 0 0 2px #6
fb5f1}.topcoat-range:active::-webkit-slider-thumb{border:1px solid #9daca9;box-shadow:inset 0 1px #fff}.topcoat-range:active::-moz-range-thumb{border:1px solid #9daca9;box-shadow:inset 0 1px #fff}.search-input{padding:0;margin:0;font:inherit;color:inherit;background:transparent;border:0;-moz-box-sizing:border-box;box-sizing:border-box;background-clip:padding-box;vertical-align:top;outline:0;-webkit-appearance:none}input[type=search]::-webkit-search-cancel-button{-webkit-appearance:none}.search-input:disabled{opacity:.3;cursor:default;pointer-events:none}.search-input,.topcoat-search-input,.topcoat-search-input--large{padding:0;margin:0;font:inherit;color:inherit;background:transparent;border:0;-moz-box-sizing:border-box;box-sizing:border-box;background-clip:padding-box;vertical-align:top;outline:0;-webkit-appearance:none}input[type=search]::-webkit-search-cancel-button{-webkit-appearance:none}.search-input:disabled,.topcoat-search-input:disabled,.topcoat-search-input--large:disabled
{opacity:.3;cursor:default;pointer-events:none}.topcoat-search-input,.topcoat-search-input--large{line-height:3rem;height:3rem;font-size:16px;border:1px solid #9daca9;background-color:#fff;box-shadow:inset 0 1px 0 rgba(0,0,0,.23);color:#454545;padding:0 0 0 2rem;border-radius:30px;background-image:url(../img/search.svg);background-position:1rem center;background-repeat:no-repeat;background-size:16px}.topcoat-search-input:focus,.topcoat-search-input--large:focus{background-color:#fff;color:#454545;border:1px solid #0036ff;box-shadow:inset 0 1px 0 rgba(0,0,0,.23),0 0 0 2px #6fb5f1}.topcoat-search-input::-webkit-search-cancel-button,.topcoat-search-input::-webkit-search-decoration,.topcoat-search-input--large::-webkit-search-cancel-button,.topcoat-search-input--large::-webkit-search-decoration{margin-right:5px}.topcoat-search-input:focus::-webkit-input-placeholder,.topcoat-search-input:focus::-webkit-input-placeholder{color:#c6c8c8}.topcoat-search-input:disabled::-webkit-input-placehol
der{color:#454545}.topcoat-search-input:disabled::-moz-placeholder{color:#454545}.topcoat-search-input:disabled:-ms-input-placeholder{color:#454545}.topcoat-search-input--large{line-height:4.375rem;height:4.375rem;font-size:1.3rem;font-weight:400;padding:0 0 0 2.9rem;border-radius:40px;background-position:1.2rem center;background-size:1.3rem}.topcoat-search-input--large:disabled{color:#454545}.topcoat-search-input--large:disabled::-webkit-input-placeholder{color:#454545}.topcoat-search-input--large:disabled::-moz-placeholder{color:#454545}.topcoat-search-input--large:disabled:-ms-input-placeholder{color:#454545}.switch{position:relative;display:inline-block;vertical-align:top;-moz-box-sizing:border-box;box-sizing:border-box;background-clip:padding-box}.switch__input{position:absolute;overflow:hidden;padding:0;border:0;opacity:.001;z-index:1;vertical-align:top;outline:0}.switch__toggle{position:relative;display:inline-block;vertical-align:top;-moz-box-sizing:border-box;box-sizing:bor
der-box;background-clip:padding-box;padding:0;margin:0;font:inherit;color:inherit;background:transparent;border:0;cursor:default;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.switch__toggle:before,.switch__toggle:after{content:'';position:absolute;z-index:-1;-moz-box-sizing:border-box;box-sizing:border-box;background-clip:padding-box}.switch--disabled{opacity:.3;cursor:default;pointer-events:none}.switch,.topcoat-switch{position:relative;display:inline-block;vertical-align:top;-moz-box-sizing:border-box;box-sizing:border-box;background-clip:padding-box}.switch__input,.topcoat-switch__input{position:absolute;overflow:hidden;padding:0;border:0;opacity:.001;z-index:1;vertical-align:top;outline:0}.switch__toggle,.topcoat-switch__toggle{position:relative;display:inline-block;vertical-align:top;-moz-box-sizing:border-box;box-sizing:border-box;background-clip:padding-box;padding:0;margin:0;font:inherit;color:inherit;background:transparent;border:0;cu
rsor:default;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.switch__toggle:before,.switch__toggle:after,.topcoat-switch__toggle:before,.topcoat-switch__toggle:after{content:'';position:absolute;z-index:-1;-moz-box-sizing:border-box;box-sizing:border-box;background-clip:padding-box}.switch--disabled,.topcoat-switch__input:disabled+.topcoat-switch__toggle{opacity:.3;cursor:default;pointer-events:none}.topcoat-switch{font-size:16px;padding:0 1.25rem;border-radius:6px;border:1px solid #9daca9;overflow:hidden;width:6rem}.topcoat-switch__toggle:before,.topcoat-switch__toggle:after{top:-1px;width:5rem}.topcoat-switch__toggle:before{content:'ON';color:#288edf;background-color:#e5f1fb;right:1rem;padding-left:1.5rem}.topcoat-switch__toggle{line-height:3rem;height:3rem;width:2rem;border-radius:6px;color:#454545;text-shadow:0 1px #fff;background-color:#e5e9e8;border:1px solid #9daca9;margin-left:-1.3rem;margin-bottom:-1px;margin-top:-1px;box-shadow:inset 0
1px #fff;-webkit-transition:margin-left .05s ease-in-out;transition:margin-left .05s ease-in-out}.topcoat-switch__toggle:after{content:'OFF';background-color:#d2d6d6;left:1rem;padding-left:2rem}.topcoat-switch__input:checked+.topcoat-switch__toggle{margin-left:2.7rem}.topcoat-switch__input:active+.topcoat-switch__toggle{border:1px solid #9daca9;box-shadow:inset 0 1px #fff}.topcoat-switch__input:focus+.topcoat-switch__toggle{border:1px solid #0036ff;box-shadow:0 0 0 2px #6fb5f1}.topcoat-switch__input:disabled+.topcoat-switch__toggle:after,.topcoat-switch__input:disabled+.topcoat-switch__toggle:before{background:transparent}.button,.topcoat-tab-bar__button{position:relative;display:inline-block;vertical-align:top;-moz-box-sizing:border-box;box-sizing:border-box;background-clip:padding-box;padding:0;margin:0;font:inherit;color:inherit;background:transparent;border:0;cursor:default;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;text-overflow:ellips
is;white-space:nowrap;overflow:hidden;text-decoration:none}.button--quiet{background:transparent;border:1px solid transparent;box-shadow:none}.button--disabled,.topcoat-tab-bar__button:disabled{opacity:.3;cursor:default;pointer-events:none}.button-bar,.topcoat-tab-bar{display:table;table-layout:fixed;white-space:nowrap;margin:0;padding:0}.button-bar__item,.topcoat-tab-bar__item{display:table-cell;width:auto;border-radius:0}.button-bar__item>input,.topcoat-tab-bar__item>input{position:absolute;overflow:hidden;padding:0;border:0;opacity:.001;z-index:1;vertical-align:top;outline:0}.button-bar__button{border-radius:inherit}.button-bar__item:disabled{opacity:.3;cursor:default;pointer-events:none}.topcoat-tab-bar__button{padding:0 1.25rem;height:3rem;line-height:3rem;letter-spacing:1px;color:#454545;text-shadow:0 1px #fff;vertical-align:top;background-color:#e5e9e8;box-shadow:inset 0 1px #fff;border-top:1px solid #9daca9}.topcoat-tab-bar__button:active,.topcoat-tab-bar__button--large:acti
ve,:checked+.topcoat-tab-bar__button{color:#288edf;background-color:#e5f1fb;box-shadow:inset 0 0 1px rgba(0,0,0,.1)}.topcoat-tab-bar__button:focus,.topcoat-tab-bar__button--large:focus{z-index:1;box-shadow:inset 0 1px rgba(255,255,255,.36),0 0 0 2px #6fb5f1;outline:0}.input,.topcoat-text-input,.topcoat-text-input--large{padding:0;margin:0;font:inherit;color:inherit;background:transparent;border:0;-moz-box-sizing:border-box;box-sizing:border-box;background-clip:padding-box;vertical-align:top;outline:0}.input:disabled,.topcoat-text-input:disabled,.topcoat-text-input--large:disabled{opacity:.3;cursor:default;pointer-events:none}.topcoat-text-input,.topcoat-text-input--large{line-height:3rem;font-size:16px;letter-spacing:1px;padding:0 1.25rem;border:1px solid #9daca9;border-radius:6px;background-color:#fff;box-shadow:inset 0 1px rgba(0,0,0,.1);color:#454545;vertical-align:top}.topcoat-text-input:focus,.topcoat-text-input--large:focus{background-color:#fff;color:#454545;border:1px solid
#0036ff;box-shadow:0 0 0 2px #6fb5f1}.topcoat-text-input:disabled::-webkit-input-placeholder{color:#454545}.topcoat-text-input:disabled::-moz-placeholder{color:#454545}.topcoat-text-input:disabled:-ms-input-placeholder{color:#454545}.topcoat-text-input:invalid{border:1px solid #ec514e}.topcoat-text-input--large{line-height:4.375rem;font-size:1.3rem}.topcoat-text-input--large:disabled{color:#454545}.topcoat-text-input--large:disabled::-webkit-input-placeholder{color:#454545}.topcoat-text-input--large:disabled::-moz-placeholder{color:#454545}.topcoat-text-input--large:disabled:-ms-input-placeholder{color:#454545}.topcoat-text-input--large:invalid{border:1px solid #ec514e}.textarea{-moz-box-sizing:border-box;box-sizing:border-box;background-clip:padding-box;padding:0;margin:0;font:inherit;color:inherit;background:transparent;border:0;vertical-align:top;resize:none;outline:0}.textarea:disabled{opacity:.3;cursor:default;pointer-events:none}.textarea,.topcoat-textarea,.topcoat-textarea--l
arge{-moz-box-sizing:border-box;box-sizing:border-box;background-clip:padding-box;padding:0;margin:0;font:inherit;color:inherit;background:transparent;border:0;vertical-align:top;resize:none;outline:0}.textarea:disabled,.topcoat-textarea:disabled,.topcoat-textarea--large:disabled{opacity:.3;cursor:default;pointer-events:none}.topcoat-textarea,.topcoat-textarea--large{padding:2rem;font-size:2.5rem;font-weight:400;border-radius:6px;line-height:3rem;border:1px solid #9daca9;background-color:#fff;box-shadow:inset 0 1px rgba(0,0,0,.1);color:#454545;letter-spacing:1px}.topcoat-textarea:focus,.topcoat-textarea--large:focus{background-color:#fff;color:#454545;border:1px solid #0036ff;box-shadow:0 0 0 2px #6fb5f1}.topcoat-textarea:disabled::-webkit-input-placeholder{color:#454545}.topcoat-textarea:disabled::-moz-placeholder{color:#454545}.topcoat-textarea:disabled:-ms-input-placeholder{color:#454545}.topcoat-textarea--large{font-size:3rem;line-height:4.375rem}.topcoat-textarea--large:disable
d{color:#454545}.topcoat-textarea--large:disabled::-webkit-input-placeholder{color:#454545}.topcoat-textarea--large:disabled::-moz-placeholder{color:#454545}.topcoat-textarea--large:disabled:-ms-input-placeholder{color:#454545}@font-face{font-family:"Source Sans";src:url(../font/SourceSansPro-Regular.otf)}@font-face{font-family:"Source Sans";src:url(../font/SourceSansPro-Light.otf);font-weight:200}@font-face{font-family:"Source Sans";src:url(../font/SourceSansPro-Semibold.otf);font-weight:600}body{margin:0;padding:0;background:#dfe2e2;color:#000;font:16px "Source Sans",helvetica,arial,sans-serif;font-weight:400}:focus{outline-color:transparent;outline-style:none}.topcoat-icon--menu-stack{background:url(../img/hamburger_dark.svg) no-repeat;background-size:cover}.quarter{width:25%}.half{width:50%}.three-quarters{width:75%}.third{width:33.333%}.two-thirds{width:66.666%}.full{width:100%}.left{text-align:left}.center{text-align:center}.right{text-align:right}.reset-ui{-moz-box-sizing:bor
der-box;box-sizing:border-box;background-clip:padding-box;position:relative;display:inline-block;vertical-align:top;padding:0;margin:0;font:inherit;color:inherit;background:transparent;border:0;cursor:default;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;text-overflow:ellipsis;white-space:nowrap;overflow:hidden}
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/cordova-registry-web/blob/3243029e/attachments/index.html
----------------------------------------------------------------------
diff --git a/attachments/index.html b/attachments/index.html
index 5d4b760..35c90f8 100644
--- a/attachments/index.html
+++ b/attachments/index.html
@@ -76,12 +76,7 @@
<script type="text/javascript" src="js/controllers/packageDetails.js"></script>
<script type="text/javascript" src="js/controllers/viewAll.js"></script>
<script type="text/javascript" src="js/controllers/search.js"></script>
- <script type="text/javascript" src="js/directives/ng-enter.js"></script>
<script type="text/javascript" src="js/directives/topbar.js"></script>
<script type="text/javascript" src="js/directives/pluginlist.js"></script>
-
- <!-- <script type="text/javascript" src="js/services/search-service.js"></script>-->
-
-
</body>
</html>
http://git-wip-us.apache.org/repos/asf/cordova-registry-web/blob/3243029e/attachments/js/app.js
----------------------------------------------------------------------
diff --git a/attachments/js/app.js b/attachments/js/app.js
index 1b21909..2590f1a 100644
--- a/attachments/js/app.js
+++ b/attachments/js/app.js
@@ -10,9 +10,8 @@ angular.module('registry', ['ngRoute', 'registry.controllers', 'ngSanitize', 're
when('/package/:id', {templateUrl:'/partials/views/packageDetails.html', controller:'PackageDetailsController'}).
when('/search', {templateUrl:'/partials/views/search.html', controller:'SearchController'});
// otherwise({redirectTo: '/'});
- //$location.html5Mode(true); // use pushState instead of hash for urls
}]).
- // Initialization function for the app
- run(['$rootScope', function ($rootScope) {
-}]);
+
+// Initialization function for the app
+run(['$rootScope', function ($rootScope) {}]);
http://git-wip-us.apache.org/repos/asf/cordova-registry-web/blob/3243029e/attachments/js/controllers/viewAll.js
----------------------------------------------------------------------
diff --git a/attachments/js/controllers/viewAll.js b/attachments/js/controllers/viewAll.js
index 179c1eb..db1292e 100644
--- a/attachments/js/controllers/viewAll.js
+++ b/attachments/js/controllers/viewAll.js
@@ -1,10 +1,7 @@
-angular.module('registry.controllers').controller('ViewAllController', ['$rootScope', '$scope', '$location', '$http', 'Downloads' , function($rootScope, $scope, $location, $http, Downloads) {
-
- $scope.totalPlugins = null;
- $scope.downloads = Downloads.data;
-
+angular.module('registry.controllers').controller('ViewAllController', ['$rootScope', '$scope', '$http', function($rootScope, $scope, $http) {
+
$scope.getPlugins = function(){
- $http({method: 'GET', url:('/api/_all_docs?include_docs=true&limit=100&skip=3')}).
+ $http({method: 'GET', url:('/api/_all_docs?include_docs=true&skip=3')}).
success(function(data, status, headers, config) {
console.log(data);
$scope.plugins = data.rows;
@@ -14,6 +11,7 @@ angular.module('registry.controllers').controller('ViewAllController', ['$rootSc
}).
error(function(data, status){
if (status === 404){
+ //todo: setup a 404 page
console.log('need to redirect to a 404 page')
}
console.log(status)
@@ -21,5 +19,4 @@ angular.module('registry.controllers').controller('ViewAllController', ['$rootSc
}
$scope.getPlugins();
-
}]);
http://git-wip-us.apache.org/repos/asf/cordova-registry-web/blob/3243029e/attachments/js/services.js
----------------------------------------------------------------------
diff --git a/attachments/js/services.js b/attachments/js/services.js
index b7cea8c..62efba3 100644
--- a/attachments/js/services.js
+++ b/attachments/js/services.js
@@ -5,12 +5,6 @@ service.factory('Downloads', function($http, $window, $q) {
var promise;
var Downloads = {
getDownloads:function(){
- //var downloads = $window.sessionStorage.getItem("Downloads") ? JSON.parse($window.sessionStorage.getItem("Downloads")) : {data:{}, arrData:[]};
- //var a_week_ago = 1000*60*60*24*7;
- //var now = new Date().valueOf();
-
- //console.log("arraylength: " + downloads.arrData.length);
- //if (downloads.arrData.length === 0 || !downloads.timestamp || (downloads.timestamp < (now - a_week_ago)))
if (!promise){
promise = $http.get('/downloads/_design/downloads/_view/byId?group=true').then(function(data) {
var downloads = {data:{}, arrData:[]};
@@ -36,7 +30,6 @@ service.factory('Downloads', function($http, $window, $q) {
return promise;
}
};
-
return Downloads;
});
http://git-wip-us.apache.org/repos/asf/cordova-registry-web/blob/3243029e/attachments/js/services/search-service.js
----------------------------------------------------------------------
diff --git a/attachments/js/services/search-service.js b/attachments/js/services/search-service.js
deleted file mode 100644
index 6070829..0000000
--- a/attachments/js/services/search-service.js
+++ /dev/null
@@ -1,8 +0,0 @@
-//Search service
-'use strict';
-
-angular.module('registry').service('SearchService', ['$q', '$rootScope', '$routeParams', '$http', function($q, $rootScope, $routeParams, $http) {
-
- this.searchText = $routeParams.searchText || '';
-
-}]);
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/cordova-registry-web/blob/3243029e/attachments/js/site.js
----------------------------------------------------------------------
diff --git a/attachments/js/site.js b/attachments/js/site.js
deleted file mode 100644
index 89e05b8..0000000
--- a/attachments/js/site.js
+++ /dev/null
@@ -1,977 +0,0 @@
-if (!Object.keys) {
- Object.keys = function (obj) {
- var keys = [];
- for (i in obj) keys.push(i);
- return keys;
- }
-}
-if (!Array.prototype.forEach) {
- Array.prototype.forEach = function (cb) {
- for (var i=0;i<this.length;i++) {
- cb(this[i]);
- }
- }
-}
-
-
-// escape functionality taken from https://github.com/natevw/flatstache.js/
-var _re1 = /[&\"'<>\\]/g;
-var escape_map = {"&": "&", "\\": "\", "\"": """, "'": "'", "<": "<", ">": ">"};
-var escapeHTML = function(s) {
- if (!s) return s;
- return s.toString().replace(_re1, function(c) { return escape_map[c]; });
-}
-
-var request = function (options, callback) {
- options.success = function (obj) {
- callback(null, obj);
- }
- options.error = function (err) {
- if (err) callback(err);
- else callback(true);
- }
- if (options.data && typeof options.data == 'object') {
- options.data = JSON.stringify(options.data)
- }
- if (!options.dataType) options.processData = false;
- if (!options.dataType) options.contentType = 'application/json';
- if (!options.dataType) options.dataType = 'json';
- $.ajax(options)
-}
-
-function prettyDate(time) {
- if (time.indexOf('.') !== -1) time = time.slice(0, time.indexOf('.'))+'Z'
- var date = new Date((time || "").replace(/-/g,"/").replace(/[TZ]/g," ")),
- date = new Date(date.getTime() - (date.getTimezoneOffset() * 1000 * 60))
- diff = (((new Date()).getTime() - date.getTime()) / 1000),
- day_diff = Math.floor(diff / 86400)
- ;
-
- if (day_diff === -1) return "now"
- if ( day_diff >= 31) return day_diff + ' days ago';
- if ( isNaN(day_diff) || day_diff < 0 || day_diff >= 31 ) return;
-
- return day_diff == 0 && (
- diff < 60 && "just now" ||
- diff < 120 && "1 minute ago" ||
- diff < 3600 && Math.floor( diff / 60 ) + " minutes ago" ||
- diff < 7200 && "1 hour ago" ||
- diff < 86400 && Math.floor( diff / 3600 ) + " hours ago") ||
- day_diff == 1 && "Yesterday" ||
- day_diff < 7 && day_diff + " days ago" ||
- day_diff < 31 && Math.ceil( day_diff / 7 ) + " weeks ago";
-}
-
-function isGithubUrl(url) {
- return url.slice(0, 'http://github.com'.length) === 'http://github.com' ||
- url.slice(0, 'https://github.com'.length) === 'https://github.com' ||
- url.slice(0, 'git://github.com'.length) === 'git://github.com';
-}
-
-$.expr[":"].exactly = function(obj, index, meta, stack){
- return ($(obj).text() == meta[3])
-}
-
-var param = function( a ) {
- // Query param builder from jQuery, had to copy out to remove conversion of spaces to +
- // This is important when converting datastructures to querystrings to send to CouchDB.
- var s = [];
- if ( jQuery.isArray(a) || a.jquery ) {
- jQuery.each( a, function() { add( this.name, this.value ); });
- } else {
- for ( var prefix in a ) { buildParams( prefix, a[prefix] ); }
- }
- return s.join("&");
- function buildParams( prefix, obj ) {
- if ( jQuery.isArray(obj) ) {
- jQuery.each( obj, function( i, v ) {
- if ( /\[\]$/.test( prefix ) ) { add( prefix, v );
- } else { buildParams( prefix + "[" + ( typeof v === "object" || jQuery.isArray(v) ? i : "") +"]", v )}
- });
- } else if ( obj != null && typeof obj === "object" ) {
- jQuery.each( obj, function( k, v ) { buildParams( prefix + "[" + k + "]", v ); });
- } else { add( prefix, obj ); }
- }
- function add( key, value ) {
- value = jQuery.isFunction(value) ? value() : value;
- s[ s.length ] = encodeURIComponent(key) + "=" + encodeURIComponent(value);
- }
-}
-
-function clearContent () {
- $('div#content').html('')
- $('div#totals').html('')
-}
-
-var app = {};
-app.index = function () {
- var currentTerms = []
- , searchResults = {}
- , docs = {}
- , currentSearch = ''
- , lastSearchForPage = ''
- , limit = 15
- ;
- clearContent();
- $('#tabs a').removeClass('selected');
- $('#tabs a.tab-find').addClass('selected');
-
- $('div#content').html(
- '' +
- '<div id="search-box">' +
- '<div id="search-box-input">' +
- '<input id="search-input"></input>' +
- '</div>' +
- '</div>' +
- '<div id="main-container">' +
- '<div id="results"></div>' +
- '<div class="spacer"></div>' +
- '<div id="top-packages">' +
- '<div id="latest-packages"><div class="top-title">Latest Updates</div></div>' +
- '<div id="top-dep-packages"><div class="top-title">Most Depended On</div></div>' +
- '</div>' +
- '<div class="spacer"></div>' +
- '</div>'
- )
-
- request({url:'/api/_all_docs?limit=0'}, function (err, resp) {
- $('div#totals').html('<a href="/#/_browse/all">' + (resp.total_rows - 1) +' total packages</a>')
- })
-
- request({url:'/_view/updated?descending=true&limit='+limit+'&include_docs=false'}, function (err, resp) {
- resp.rows.forEach(function (row) {
- $('<div class="top-package"></div>')
- .append('<div class="top-package-title"><a href="#/'+row.id+'">'+row.id+'</a></div>')
- .append('<div class="top-package-updated">'+prettyDate(row.key) +'</div>')
- .append('<div class="spacer"></div>')
- .appendTo('div#latest-packages')
- })
- })
-
- request({url:'/_list/dependencies_limit/dependencies?group=true&descending=true&list_limit='+limit}, function (err, resp) {
- var results = {};
- resp.rows.forEach(function (row) {
- $('<div class="top-package"></div>')
- .append('<div class="top-package-title"><a href="#/'+escapeHTML(row.key)+'">'+escapeHTML(row.key)+'</a></div>')
- .append('<div class="top-package-dep">'+escapeHTML(row.value)+'</div>')
- .append('<div class="spacer"></div>')
- .appendTo('div#top-dep-packages')
- })
- })
-
- var updateResults = function () {
- currentSearch = $('input#search-input').val().toLowerCase();
- currentTerms = $.trim(currentSearch).split(' ');
- if (lastSearchForPage === currentSearch) return;
- if (currentSearch == '') $('div#top-packages').show();
- else $('div#top-packages').hide();
- var docsInPage = {}
- , ranked = {}
- ;
- currentTerms.forEach(function (term) {
- if (searchResults[term] && searchResults[term] !== 'pending') {
- searchResults[term].forEach(function (id) {
- if (docs[id] !== 'pending') docsInPage[id] = docs[id]
- });
- }
- })
- for (i in docsInPage) {
- var doc = docsInPage[i];
- doc.rank = 0
- doc.tagsInSearch = [];
- if (doc.description) {
- doc.htmlDescription = doc.description.split('&').join('&')
- .split('"').join('"')
- .split('<').join('<')
- .split('>').join('>')
- }
-
- if (doc._id.toLowerCase() === currentSearch) doc.rank += 1000
-
- if (doc['dist-tags'] && doc['dist-tags'].latest) {
- var tags = doc.versions[doc['dist-tags'].latest].keywords || doc.versions[doc['dist-tags'].latest].tags || [];
- } else {
- var tags = [];
- }
-
- tags = tags.map(function (tag) {
- return tag.split('&').join('&')
- .split('"').join('"')
- .split('<').join('<')
- .split('>').join('>')
- })
- currentTerms.forEach(function (t) {
- t = t.toLowerCase();
- if (doc._id.toLowerCase().indexOf(t.toLowerCase()) !== -1) doc.rank += 750;
- if (tags.indexOf(t) !== -1) {
- doc.rank += 300;
- doc.tagsInSearch.push(t);
- }
- if (doc.description && doc.description.toLowerCase().indexOf(t) !== -1) {
- doc.rank += 100;
- var i = 0;
- while (doc.htmlDescription.toLowerCase().indexOf(t, i) !== -1) {
- var i = doc.htmlDescription.toLowerCase().indexOf(t, i);
- doc.htmlDescription =
- ( doc.htmlDescription.slice(0, i)
- + '<span class="desc-term">'
- + doc.htmlDescription.slice(i, i+t.length)
- + '</span>'
- + doc.htmlDescription.slice(i + t.length)
- )
- ;
- i = i + t.length + '<span class="desc-term"></span>'.length
- }
-
- }
- doc.tags = tags;
- })
-
- if (!ranked[doc.rank]) ranked[doc.rank] = [];
- ranked[doc.rank].push(doc);
- }
-
- $('div#results').html('');
- var keys = Object.keys(ranked);
- for (var i=0;i<keys.length;i++) keys[i] = parseInt(keys[i])
- keys.sort(function(a,b){return a - b;});
- keys.reverse();
- if (keys.length === 0) {
- $('div#results').html('<div>No Results</div>')
- }
- keys.forEach(function (i) { ranked[i].forEach(function (doc) {
- var result = $(
- '<div class="result-container">' +
- '<div class="result">' +
- '<span class="result-name"><a href="#/'+doc._id+'">'+doc._id+'</a></span>' +
- '<span class="result-desc">'+(doc.htmlDescription || '') + '</span>' +
- '<div class="result-tags"></div>' +
- '<div class="spacer"></div>' +
- '</div>' +
- '</div>' +
- '<div class="spacer"></div>'
- )
-
- if (doc.tags.length > 0) {
- doc.tags.forEach(function (tag) {
- result.find('div.result-tags').append('<span class="tag">'+tag+'</span>')
- })
- }
-
- result.appendTo('div#results')
- $('span.tag').click(function () {
- $('input#search-input').val($(this).text()).change();
- })
- })})
-
- lastSearchForPage = currentSearch;
- }
-
- var hcTimer = null;
- var handleChange = function () {
- if (hcTimer) clearTimeout(hcTimer);
- hcTimer = setTimeout(handleChange_, 100);
- }
- function handleChange_ () {
- currentSearch = $('input#search-input').val().toLowerCase();
- currentTerms = $.trim(currentSearch).split(' ')
- if (currentSearch === '') {
- $('div#results').html('')
- $('div#top-packages').show();
- }
- lastSearchForPage = ''
- var terms = currentTerms
- , c = currentSearch
- , tlength = terms.length
- ;
-
- terms.forEach(function (term) {
- if (!searchResults[term]) {
- searchResults[term] = 'pending'
- var qs = param(
- { startkey: JSON.stringify(term)
- , endkey: JSON.stringify(term+'ZZZZZZZZZZZZZZZZZZZ')
- , limit:25
- }
- )
- ;
- request({url:'/_list/search/search?'+qs}, function (err, resp) {
- var docids = [];
- searchResults[term] = [];
- resp.rows.forEach(function (row) {
- searchResults[term].push(row.key);
- row.value.name = row.value.name.toLowerCase();
- docs[row.key] = row.value;
- updateResults();
- })
- if (docids.length === 0) {
- lastSearchForPage = '';
- updateResults();
- return
- }
-
- })
- } else {tlength -= 1}
- })
- if (tlength == 0) {lastSearchForPage = ''; updateResults()}
- }
-
- $('input#search-input').change(handleChange);
- $('input#search-input').keyup(handleChange)
- $("input#search-input").focus();
-};
-
-app.showPackage = function () {
- var id = this.params.id;
- clearContent();
- request({url:'/showPackage.html?id='+id, dataType:'html'}, function (e, resp) {
- $('div#content').html('<div id="main-container">'+resp+'</div>');
- })
- /*
- var package = $('div#main-container')
-
- package.append('<div class="package-label">Plugin ID</div>')
- package.append('<div class="package-title">'+doc._id+'</div>')
- package.append('<div class="spacer"></div>')
- package.append('<div class="spacer"></div>')
-
- package.append('<div class="package-label">Description</div>')
- package.append('<div class="package-description">'+doc.description+'</div>')
- package.append('<div class="spacer"></div>')
-
- package.append('<hr>')
-
-
- if (doc['dist-tags'] && doc['dist-tags'].latest) {
- if (doc.versions[doc['dist-tags'].latest].homepage) {
- package.append('<div class="pkg-link"><a href="'+escapeHTML(doc.versions[doc['dist-tags'].latest].homepage)+'">'+escapeHTML(doc.versions[doc['dist-tags'].latest].homepage)+'</a>')
- }
- }
-
- if (typeof doc.repository === 'string') {
- repositoryUrl = doc.repository;
- doc.repository = {
- type: (isGithubUrl(repositoryUrl) ? 'git' : 'unknown'),
- url: repositoryUrl
- }
- }
- if (doc.repository && doc.repository.type === 'git' && isGithubUrl(doc.repository.url) ) {
- package.append('<div class="pkg-link"><a class="github" href="' + escapeHTML(doc.repository.url.replace('.git', '').replace('git://', 'https://')) + '">github</a></div>')
- }
-
-
- package.append('<div class="spacer"></div>')
- if (doc.time && doc.time.modified) {
- package.append('<div class="last-updated">Last updated: '+prettyDate(doc.time.modified)+'</div>')
- }
- if (doc.author && doc.author.name) {
- package.append('<div class="author">by: <a href="/#/_author/'+encodeURIComponent(doc.author.name)+'">'+doc.author.name+'</div>')
- }
-
-
- //
- // if (doc.maintainers && doc.maintainers.length > 0) {
- // var maintainers = $('<div class="package-maintainers"></div>').appendTo(package);
- // doc.maintainers.forEach(function (m) {
- // maintainers.append('<div class="package-maintainer">maintainer: '+m.name+' </div>')
- // })
- // }
-
- package.append(
- '<div id="versions-container">' +
- '<div id="version-list"></div>' +
- '<div id="version-info"></div>' +
- '<div class="spacer"></div>' +
- '</div>'
- )
-
- var showVersion = function (version) {
- var v = doc.versions[version];
-
- if (v.description) {
- v.htmlDescription = v.description.split('&').join('&')
- .split('"').join('"')
- .split('<').join('<')
- .split('>').join('>')
- } else {
- v.htmlDescription = ""
- }
-
- $('div#version-info').html(
- '<div class="version-info-cell">' +
- '<div class="version-info-key">Description</div>' +
- '<div class="version-info-value">'+v.htmlDescription+'</div>' +
- '</div>' +
- '<div class="spacer"></div>' +
- '<div class="version-info-cell">' +
- '<div class="version-info-key">Version</div>' +
- '<div class="version-info-value">'+v.version+'</div>' +
- '</div>' +
- '<div class="spacer"></div>'
- );
-
- if (doc.time && doc.time[version]) {
- $('div#version-info').append(
- '<div class="version-info-cell">' +
- '<div class="version-info-key">Published</div>' +
- '<div class="version-info-value">' + prettyDate(doc.time[version]) + '</div>' +
- '</div>' +
- '<div class="spacer"></div>'
- )
- }
-
- if (v.tags) {
- var h = '[ ';
- v.tags.forEach(function (tag) {
- if (tag !== v.tags[0]) h += ', '
- h += ('<a href="/#/_tags/'+escapeHTML(tag)+'">'+escapeHTML(tag)+'</a>')
- })
- h += ' ]'
- $('div#version-info').append(
- '<div class="version-info-cell">' +
- '<div class="version-info-key">Tags</div>' +
- '<div class="version-info-value">' + h + '</div>' +
- '</div>' +
- '<div class="spacer"></div>'
- )
- }
-
- if (v.dependencies) {
- var h = ''
- for (i in v.dependencies) {
- h += '<a class="dep-link" href="#/'+escapeHTML(i)+'">'+escapeHTML(i)+'</a> '
- }
- $('div#version-info').append('<div class="version-info-cell">' +
- '<div class="version-info-key">Dependencies</div>' +
- '<div class="version-info-value">' + h + '</div>' +
- '</div>' +
- '<div class="spacer"></div>'
- )
- }
-
- if (v.homepage) {
- $('div#version-info').append(
- '<div class="version-info-cell">' +
- '<div class="version-info-key">Homepage</div>' +
- '<div class="version-info-value">' + escapeHTML(v.homepage) + '</div>' +
- '</div>' +
- '<div class="spacer"></div>'
- )
- }
- if (v.repository) {
- if (typeof v.repository === 'string') {
- repositoryUrl = v.repository;
- v.repository = {
- type: (isGithubUrl(repositoryUrl) ? 'git' : 'unknown'),
- url: repositoryUrl
- };
- }
- $('div#version-info').append(
- '<div class="version-info-cell">' +
- '<div class="version-info-key">Repository</div>' +
- '<div class="version-info-value">' +
- escapeHTML(v.repository.type) + ': <a href="' + escapeHTML(v.repository.url) + '">'+ escapeHTML(v.repository.url) + '</a>' +
- '</div>' +
- '</div>' +
- '<div class="spacer"></div>'
- )
- }
- if (v.bugs) {
- var bugs = $(
- '<div class="version-info-cell">' +
- '<div class="version-info-key">Bugs</div>' +
- '<div class="version-info-value"></div>' +
- '</div>' +
- '<div class="spacer"></div>'
- )
- var bugsHtml = ''
- if (v.bugs.email) {
- bugsHtml+= '<div>email: ' + '<a href="mailto='+v.bugs.email+'">'+v.bugs.email+'</a></div>'
- }
- if (v.bugs.url) {
- bugsHtml += '<div>url: ' + '<a href="'+v.bugs.url+'">'+v.bugs.url+'</a></div>'
- }
- bugs.find('div.version-info-value').html(bugsHtml)
- $('div#version-info').append(bugs)
- }
- if (v.engines) {
- var eng = [];
- for (i in v.engines) { eng.push( escapeHTML(i) + ' (' + escapeHTML(v.engines[i]) + ')' ); }
- $(
- '<div class="version-info-cell">' +
- '<div class="version-info-key">Engines</div>' +
- '<div class="version-info-value">'+eng.join(', ')+'</div>' +
- '</div>' +
- '<div class="spacer"></div>'
- ).appendTo('div#version-info');
- }
- if (v.licenses) {
- h = '';
- for (i in v.licenses) {
- h += '<a href="'+escapeHTML(v.licenses[i].url)+'">'+escapeHTML(v.licenses[i].type)+'</a>';
- }
- $(
- '<div class="version-info-cell">' +
- '<div class="version-info-key">Licenses</div>' +
- '<div class="version-info-value">'+h+'</div>' +
- '</div>' +
- '<div class="spacer"></div>'
- ).appendTo('div#version-info');
- }
-
- package.append('<section id="readme">'+doc.readme +'</section>');
-
-
- // +
- // '<div class="version-info-cell">' +
- // '<span class="version-info-key">Author</span>' +
- // '<span class="version-info-value">'+v.htmlDescription+'<span>' +
- // '</div>' +
- // '<div class="version-info-cell">' +
- // '<span class="version-info-key">Repository</span>' +
- // '<span class="version-info-value">'+v.htmlDescription+'<span>' +
- // '</div>' +
-
- }
- showVersion(doc['dist-tags'].latest);
-
- if (doc['dist-tags']) {
- for (i in doc['dist-tags']) {
- $('<div class="package-download">' +
- '<div id="'+doc['dist-tags'][i]+'" class="version-link">'+
- '<a href="' + doc.versions[doc['dist-tags'][i]].dist.tarball.replace('jsregistry:5984', 'registry.npmjs.org').replace('packages:5984', 'registry.npmjs.org')+'">'+i+'</a> ('+doc.versions[doc['dist-tags'][i]].version+')' +
- '</div>' +
- '</div>')
- .addClass('version-selected')
- .appendTo('div#version-list')
- ;
- }
- package.append('<br/>')
- }
-
- if (doc.versions) {
- var versions = Object.keys(doc.versions);
- versions.reverse();
- versions.forEach(function (i) {
- $('div#version-list').append(
- '<div class="package-download">' +
- '<div id="'+i+'" class="version-link">'+
- '<a href="'+doc.versions[i].dist.tarball.replace('jsregistry:5984', 'registry.npmjs.org').replace('packages:5984', 'registry.npmjs.org')+'">'+i+'</a>' +
- '</div>' +
- '</div>'
- )
- })
- }
-
- $('div.version-link').mouseover(function () {
- $('div.version-selected').removeClass('version-selected');
- $(this).parent().addClass('version-selected');
- $('div#version-info').css(
- { top: $(this).position().top - $(this).parent().parent().position().top
- , position:'relative'
- })
- showVersion(this.id)
- })
-
- var usersStr = '<h4>People who starred '+id+'</h4><div class="users"><p>'
- if (doc.users)
- for (var usingUser in doc.users)
- if (doc.users[usingUser])
- usersStr += (usersStr.length?' ':'')+'<span class="user">'+usingUser.replace(/</g, '<').replace(/>/g, '>')+'</span>'
- usersStr += '</p></div>'
- package.append(usersStr)
-
- request({url:'/_view/dependencies?reduce=false&key="'+id+'"'}, function (e, resp) {
- if (resp.rows.length === 0) return;
- var deps = ''
- deps += '<h4>Packages that depend on '+id+'</h4><div class="dependencies"><p>'
- for (var i=0;i<resp.rows.length;i++) {
- deps += '<span class="dep"><a class="dep" href="/#/' +
- resp.rows[i].id+'">'+resp.rows[i].id+'</a></span> '
- }
- deps += '</p></div>'
- package.append(deps)
- })*/
-}
-
-app.browse = function () {
- var limit = 100
- ;
- clearContent();
-
- $(
- '<div id="browse-anchors">' +
- '<a href="/#/_browse/all">all</a>' +
- '<a href="/#/_browse/tags">tags</a>' +
- '<a href="/#/_browse/author">author</a>' +
- '<a href="/#/_browse/updated">updated</a>' +
- '<a href="/#/_browse/deps">depended on</a>' +
- '</div>'
- )
- .appendTo('div#content')
-
- $('#tabs a').removeClass('selected');
- $('#tabs a.tab-browse').addClass('selected');
-
- var c = $('<div id="main-container"></div>')
- .appendTo('div#content')
- ;
- var fetch = function (url, cb) {
- $('div#more-all').remove();
- request({url:url(limit)}, function (err, resp) {
- cb(resp);
- limit += 100;
- $('<div id="more-all">Load 100 more</div>')
- .click(function () {fetch(url, cb);})
- .appendTo(c)
- ;
- })
- }
-
- var routes = {};
- routes.all = function () {
- fetch(
- function (limit) {
- return '/api/_all_docs?include_docs=true&limit='+limit+'&skip='+(limit - 100)
- }
- , function (r) {
- var h = ''
- r.rows.forEach(function (row) {
- if (!row.doc.description) row.doc.description = ""
- row.doc.htmlDescription = row.doc.description
- .split('&').join('&')
- .split('"').join('"')
- .split('<').join('<')
- .split('>').join('>')
- if (row.id[0] !== '_') {
- h += (
- '<div class="all-package">' +
- '<div class="all-package-name"><a href="/#/'+row.id+'">' + row.id + '</a></div>' +
- '<div class="all-package-desc">' + row.doc.htmlDescription + '</div>' +
- '</div>' +
- '<div class="spacer"></div>'
- )
- }
- });
- c.append(h);
- }
- );
- $('a:exactly("all")').css('text-decoration', 'underline');
- }
- routes.tags = function () {
- request({url:'/_view/tags?group=true'}, function (e, resp) {
- resp.rows.forEach(function (row) {
- c.append(
- '<div class="all-package">' +
- '<div class="all-package-name"><a href="/#/_tag/'+encodeURIComponent(row.key)+'">' + row.key + '</a></div>' +
- '<div class="all-package-desc">' + row.value + '</div>' +
- '</div>' +
- '<div class="spacer"></div>'
- )
- })
-
- request({url:'/_view/tags?reduce=false'}, function (e, resp) {
- resp.rows.forEach(function (row) {
- $('div.all-package-name:exactly("'+row.key+'")').next().append('<a href="/#/'+row.id+'" class="tag-val">'+row.id+'</a>')
- })
- $(self).remove();
- })
- })
- $('a:exactly("tags")').css('text-decoration', 'underline');
- }
- routes.author = function () {
- request({url:'/_view/author?group=true'}, function (e, resp) {
- resp.rows.forEach(function (row) {
- c.append(
- '<div class="all-package">' +
- '<div class="all-package-author"><a href="/#/_author/'+encodeURIComponent(row.key)+'">' + row.key + '</a></div>' +
- '<div class="all-package-auth-list">' + row.value + '</div>' +
- '</div>' +
- '<div class="spacer"></div>'
- )
- })
-
- request({url:'/_view/author?reduce=false'}, function (e, resp) {
- resp.rows.forEach(function (row) {
- $('div.all-package-author:exactly("'+row.key+'")').next().append('<a href="/#/'+row.id+'" class="tag-val">'+row.id+' </a>')
- })
- $(self).remove();
- })
- })
- $('a:exactly("author")').css('text-decoration', 'underline');
- }
- routes.updated = function () {
- request({url:'/_view/updated'}, function (e, resp) {
- resp.rows.reverse();
- resp.rows.forEach(function (row) {
- c.append(
- '<div class="all-package">' +
- '<div class="all-package-name">'+ prettyDate(row.key) +'</div>' +
- '<div class="all-package-value"><a href="/#/'+encodeURIComponent(row.id)+'">' + row.id + '</a></div>' +
- '</div>' +
- '<div class="spacer"></div>'
- )
- })
- })
- $('a:exactly("updated")').css('text-decoration', 'underline');
- }
- routes.deps = function () {
- request({url:'/_view/dependencies?group=true'}, function (e, resp) {
- var deps = {};
- resp.rows.forEach(function (row) {
- if (!deps[row.value]) deps[row.value] = []
- deps[row.value].push(row)
- })
- var keys = Object.keys(deps);
- keys.sort(function(a,b){return a - b;});
- keys.reverse();
- keys.forEach(function (k) {
- deps[k].forEach(function (row) {
- c.append(
- '<div class="all-package">' +
- '<div class="all-package-deps"><a href="/#/'+encodeURIComponent(row.key)+'">' + escapeHTML(row.key) + '</a></div>' +
- '<div class="all-package-deps-value">'+escapeHTML(row.value)+'</div>' +
- '</div>' +
- '<div class="spacer"></div>'
- )
- })
- })
- })
- $('a:exactly("depended on")').css('text-decoration', 'underline');
- }
- if (this.params.view) routes[this.params.view]();
-}
-app.tags = function () {
- var tag = this.params.tag.split('&').join('&')
- .split('"').join('"')
- .split('<').join('<')
- .split('>').join('>')
- clearContent();
- $('div#content')
- .append('<h2 style="text-align:center">tag: '+tag+'</h2>')
- .append('<div id="main-container"></div>');
- request({url:'/_view/tags?reduce=false&include_docs=true&key="'+tag+'"'}, function (e, resp) {
- resp.rows.forEach(function (row) {
- if (row.doc.description) {
- row.doc.htmlDescription = row.doc.description.split('&').join('&')
- .split('"').join('"')
- .split('<').join('<')
- .split('>').join('>')
- } else {
- row.doc.htmlDescription = ''
- }
- $('div#main-container').append(
- '<div class="all-package">' +
- '<div class="tags-pkg-name"><a href="/#/'+encodeURIComponent(row.key)+'">' + row.id + '</a></div>' +
- '<div class="tags-pkg-desc">'+row.doc.htmlDescription+'</div>' +
- '</div>' +
- '<div class="spacer"></div>'
- );
-
- })
- })
-}
-app.author = function () {
- var author = this.params.author;
- clearContent();
- $('div#content')
- .append('<h2 style="text-align:center">author: '+escapeHTML(author)+'</h2>')
- .append('<div id="main-container"></div>');
- request({url:'/_view/author?reduce=false&include_docs=true&key="'+author+'"'}, function (e, resp) {
- resp.rows.forEach(function (row) {
- if (row.doc.description) {
- row.doc.htmlDescription = row.doc.description.split('&').join('&')
- .split('"').join('"')
- .split('<').join('<')
- .split('>').join('>')
- } else {
- row.doc.htmlDescription = ''
- }
- $('div#main-container').append(
- '<div class="all-package">' +
- '<div class="tags-pkg-name"><a href="/#/'+encodeURIComponent(row.id)+'">' + row.id + '</a></div>' +
- '<div class="tags-pkg-desc">'+row.doc.htmlDescription+'</div>' +
- '</div>' +
- '<div class="spacer"></div>'
- );
-
- })
- })
-}
-
-app.stats = function() {
- clearContent();
-
- request({url:'/stats.html', dataType:'html'}, function (e, resp) {
- $('div#content').html('<div id="main-container">'+resp+'</div>');
- })
-}
-
-app.analytics = function () {
- clearContent();
- var view = this.params.view || "thisweek";
- $('div#content').html(
- '<div id="browse-anchors">' +
- '<a href="/#/_analytics/thisweek">This Week</a>' +
- '<a href="/#/_analytics/30days">30 Days</a>' +
- '<a href="/#/_analytics/alltime">All Time</a>' +
- '</div>' +
- '<div id="main-container">' +
- '<div id="analytics-created"></div>' +
- '<div id="analytics-latest"></div>' +
- '<div id="analytics-updated"></div>' +
- '</div>'
- )
-
- $('a:exactly("'+{thisweek:'This Week', '30days':'30 Days', alltime:'All Time'}[view]+'")').css('text-decoration', 'underline');
-
- $.getScript('/highcharts/highcharts.js', function () {
- var dt = new Date();
- if (view == 'thisweek') {
- dt.setDate(dt.getDate() - 7);
- }
- if (view == '30days') {
- dt.setDate(dt.getDate() - 30);
- }
-
- var series = [];
-
- var extract = function (resp, name) {
- var times = {};
- resp.rows.reverse();
- resp.rows.forEach(function (row) {
- if (view === 'thisweek') {
- var t = row.key[1].slice(0, 10);
- }
- if (view === '30days') {
- var t = row.key[1].slice(8, 10);
- }
- if (view === 'alltime') {
- var t = row.key[1].slice(0, 7);
- }
-
- if (!times[t]) times[t] = 0;
- times[t] += 1;
- })
- var x = {name:name, data:[]};
- for (i in times) {
- x.data.push(times[i]);
- }
- series.push(x);
- if (series.length === 3) graph(times);
- }
-
- graphNames =
- { thisweek: 'This Week'
- , '30days': '30 Days'
- , alltime: 'All Time'
- }
-
- var graph = function (times) {
- chart = new Highcharts.Chart(
- {
- chart: {
- renderTo: 'analytics-created',
- defaultSeriesType: 'line'
- },
- title: {
- text: graphNames[view]
- },
- xAxis: {
- categories: Object.keys(times)
- },
- tooltip: {
- enabled: false,
- formatter: function() {
- return '<b>'+ this.series.name +'</b><br/>'+
- this.x +': '+ this.y +'°C';
- }
- },
- plotOptions: {
- line: {
- dataLabels: {
- enabled: true
- },
- enableMouseTracking: false
- }
- },
- series: series
- });
- }
-
- if (view === 'thisweek' || view === '30days') {
- var endkey = dt.toISOString().slice(0, 10);
- }
- if (view === 'alltime') {
- var endkey = null;
- }
-
- request({url:'/_view/analytics?'+param(
- {reduce:'false'
- , descending:'true'
- , endkey:JSON.stringify(['created', endkey])
- , startkey:JSON.stringify(['created', new Date()])
- })},
- function (e, resp) {
- extract(resp, 'created')
- })
- request({url:'/_view/analytics?'+param(
- {reduce:'false'
- , descending:'true'
- , endkey:JSON.stringify(['update', endkey])
- , startkey:JSON.stringify(['update', new Date()])
- })},
- function (e, resp) {
-
- extract(resp, 'updated')
- })
- request({url:'/_view/analytics?'+param(
- {reduce:'false'
- , descending:'true'
- , endkey:JSON.stringify(['latest', endkey])
- , startkey:JSON.stringify(['latest', new Date()])
- })},
- function (e, resp) {
- extract(resp, 'latest')
- })
- })
-}
-
-$(function () {
- app.s = $.sammy(function () {
- // Index of all databases
- this.get('', app.index);
- this.get("#/", app.index);
- this.get("#/_analytics", app.analytics);
- this.get("#/_stats", app.stats);
- this.get("#/_analytics/:view", app.analytics);
- this.get("#/_browse", app.browse);
- this.get("#/_browse/:view", app.browse);
- this.get("#/_tag/:tag", app.tags);
- this.get("#/_author/:author", app.author);
- this.get("#/_install", function () {
- clearContent();
- request({url:'/install.html', dataType:'html'}, function (e, resp) {
- $('div#content').html('<div id="main-container">'+resp+'</div>');
- })
- });
- this.get("#/_publish", function () {
- clearContent();
- request({url:'/publish.html', dataType:'html'}, function (e, resp) {
- $('div#content').html('<div id="main-container">'+resp+'</div>');
- })
- });
- this.get("#/_more", function () {
- clearContent();
- $('#tabs a').removeClass('selected');
- $('#tabs a.tab-more').addClass('selected');
- request({url:'/more.html', dataType:'html'}, function (e, resp) {
- $('div#content').html('<div id="main-container">'+resp+'</div>');
- })
- });
- this.get("#/:id", app.showPackage);
-
-
- })
- app.s.run();
-});
http://git-wip-us.apache.org/repos/asf/cordova-registry-web/blob/3243029e/attachments/js/stats.js
----------------------------------------------------------------------
diff --git a/attachments/js/stats.js b/attachments/js/stats.js
deleted file mode 100644
index 9954301..0000000
--- a/attachments/js/stats.js
+++ /dev/null
@@ -1,66 +0,0 @@
-function clientStats() {
- var url = '/downloads/_design/downloads/_view/byClient?group=true'
- var xhr = new XMLHttpRequest();
- xhr.open('GET', url, true);
- xhr.onload = function(e) {
- var res = JSON.parse(xhr.responseText);
- if(res) {
- var data = res.rows;
- var clientStatsEm = document.getElementById('client_stats');
- var plugman = cordova_cli = unknown = total = 0;
- for(var i = 0 ; i < data.length ; i++) {
- total += data[i].value;
- if(data[i].key[1] === 'plugman') {
- plugman += data[i].value;
- } else if(data[i].key[1] === 'cordova-cli') {
- cordova_cli += data[i].value;
- } else {
- unknown += data[i].value;
- }
- }
- var totalEm = document.getElementById('total');
- totalEm.innerHTML = '<h1>Total Downloads: '+total+'</h1>';
- var plugmanPerc = plugman * 100 / total;
- var cordovaCliPerc = cordova_cli * 100 / total;
- var unknownPerc = unknown * 100 / total;
- var html = 'plugman '+Math.round(plugmanPerc)+'%<br/>';
- html += 'cordova-cli '+Math.round(cordovaCliPerc)+'%<br/>';
- html += 'unknown '+Math.round(unknownPerc)+'%<br/>';
- clientStatsEm.innerHTML = html;
- }
- };
- xhr.send();
-};
-
-function downloadStats() {
- var url = '/downloads/_design/downloads/_view/byId?group=true';
- var xhr = new XMLHttpRequest();
- xhr.open('GET', url, true);
- xhr.onload = function(e) {
- var res = JSON.parse(xhr.responseText);
- if(res) {
- var downloads = res.rows;
- var downloadsEm = document.getElementById('downloads');
- downloads.sort(function(a,b) { return b.value - a.value; });
- for(var i = 0 ; i < downloads.length ; i++) {
- var row = document.createElement('tr');
- var rank = i+1;
- row.innerHTML = '<td>'+rank+'</td><td>'+downloads[i].key+'</td>'+'<td>'+downloads[i].value+'</td>';
- downloadsEm.appendChild(row);
- }
- clientStats();
- } else {
- document.getElementById('total').innerHTML = "Cannot get download data :-("
- }
- };
- xhr.send();
-}
-
-$(document).ready(function() {
- downloadStats();
-});
-
-//window.addEventListener('load', function load(event) {
-// window.removeEventListener('load');
-// downloadStats();
-//}, false);
[4/5] Cleaning up the repo
Posted by st...@apache.org.
http://git-wip-us.apache.org/repos/asf/cordova-registry-web/blob/3243029e/attachments/css/topcoat-mobile-dark.css
----------------------------------------------------------------------
diff --git a/attachments/css/topcoat-mobile-dark.css b/attachments/css/topcoat-mobile-dark.css
deleted file mode 100755
index 1150c35..0000000
--- a/attachments/css/topcoat-mobile-dark.css
+++ /dev/null
@@ -1,3759 +0,0 @@
-/**
-*
-* Copyright 2012 Adobe Systems Inc.;
-*
-* Licensed under the Apache License, Version 2.0 (the "License");
-* you may not use this file except in compliance with the License.
-* You may obtain a copy of the License at
-*
-* http://www.apache.org/licenses/LICENSE-2.0
-*
-* Unless required by applicable law or agreed to in writing, software
-* distributed under the License is distributed on an "AS IS" BASIS,
-* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-* See the License for the specific language governing permissions and
-* limitations under the License.
-*
-*/
-
-.button-bar {
- display: table;
- table-layout: fixed;
- white-space: nowrap;
- margin: 0;
- padding: 0;
-}
-
-.button-bar__item {
- display: table-cell;
- width: auto;
- border-radius: 0;
-}
-
-.button-bar__item > input {
- position: absolute;
- overflow: hidden;
- padding: 0;
- border: 0;
- opacity: 0.001;
- z-index: 1;
- vertical-align: top;
- outline: none;
-}
-
-.button-bar__button {
- border-radius: inherit;
-}
-
-.button-bar__item:disabled {
- opacity: 0.3;
- cursor: default;
- pointer-events: none;
-}
-
-/**
-*
-* Copyright 2012 Adobe Systems Inc.;
-*
-* Licensed under the Apache License, Version 2.0 (the "License");
-* you may not use this file except in compliance with the License.
-* You may obtain a copy of the License at
-*
-* http://www.apache.org/licenses/LICENSE-2.0
-*
-* Unless required by applicable law or agreed to in writing, software
-* distributed under the License is distributed on an "AS IS" BASIS,
-* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-* See the License for the specific language governing permissions and
-* limitations under the License.
-*
-*/
-
-/**
-*
-* Copyright 2012 Adobe Systems Inc.;
-*
-* Licensed under the Apache License, Version 2.0 (the "License");
-* you may not use this file except in compliance with the License.
-* You may obtain a copy of the License at
-*
-* http://www.apache.org/licenses/LICENSE-2.0
-*
-* Unless required by applicable law or agreed to in writing, software
-* distributed under the License is distributed on an "AS IS" BASIS,
-* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-* See the License for the specific language governing permissions and
-* limitations under the License.
-*
-*/
-
-/**
-*
-* Copyright 2012 Adobe Systems Inc.;
-*
-* Licensed under the Apache License, Version 2.0 (the "License");
-* you may not use this file except in compliance with the License.
-* You may obtain a copy of the License at
-*
-* http://www.apache.org/licenses/LICENSE-2.0
-*
-* Unless required by applicable law or agreed to in writing, software
-* distributed under the License is distributed on an "AS IS" BASIS,
-* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-* See the License for the specific language governing permissions and
-* limitations under the License.
-*
-*/
-
-.button,
-.topcoat-button,
-.topcoat-button--quiet,
-.topcoat-button--large,
-.topcoat-button--large--quiet,
-.topcoat-button--cta,
-.topcoat-button--large--cta,
-.topcoat-button-bar__button,
-.topcoat-button-bar__button--large {
- position: relative;
- display: inline-block;
- vertical-align: top;
- -moz-box-sizing: border-box;
- box-sizing: border-box;
- background-clip: padding-box;
- padding: 0;
- margin: 0;
- font: inherit;
- color: inherit;
- background: transparent;
- border: none;
- cursor: default;
- -webkit-user-select: none;
- -moz-user-select: none;
- -ms-user-select: none;
- user-select: none;
- text-overflow: ellipsis;
- white-space: nowrap;
- overflow: hidden;
- text-decoration: none;
-}
-
-.button--quiet {
- background: transparent;
- border: 1px solid transparent;
- box-shadow: none;
-}
-
-.button--disabled,
-.topcoat-button:disabled,
-.topcoat-button--quiet:disabled,
-.topcoat-button--large:disabled,
-.topcoat-button--large--quiet:disabled,
-.topcoat-button--cta:disabled,
-.topcoat-button--large--cta:disabled,
-.topcoat-button-bar__button:disabled,
-.topcoat-button-bar__button--large:disabled {
- opacity: 0.3;
- cursor: default;
- pointer-events: none;
-}
-
-.topcoat-button,
-.topcoat-button--quiet,
-.topcoat-button--large,
-.topcoat-button--large--quiet,
-.topcoat-button--cta,
-.topcoat-button--large--cta,
-.topcoat-button-bar__button,
-.topcoat-button-bar__button--large {
- padding: 0 1.25rem;
- font-size: 16px;
- line-height: 3rem;
- letter-spacing: 1px;
- color: #c6c8c8;
- text-shadow: 0 -1px rgba(0,0,0,0.69);
- vertical-align: top;
- background-color: #595b5b;
- box-shadow: inset 0 1px #737373;
- border: 1px solid #333434;
- border-radius: 6px;
-}
-
-.topcoat-button:hover,
-.topcoat-button--quiet:hover,
-.topcoat-button--large:hover,
-.topcoat-button--large--quiet:hover,
-.topcoat-button-bar__button:hover,
-.topcoat-button-bar__button--large:hover {
- background-color: #626465;
-}
-
-.topcoat-button:focus,
-.topcoat-button--quiet:focus,
-.topcoat-button--quiet:hover:focus,
-.topcoat-button--large:focus,
-.topcoat-button--large--quiet:focus,
-.topcoat-button--large--quiet:hover:focus,
-.topcoat-button--cta:focus,
-.topcoat-button--large--cta:focus,
-.topcoat-button-bar__button:focus,
-.topcoat-button-bar__button--large:focus {
- border: 1px solid #0036ff;
- box-shadow: inset 0 1px rgba(255,255,255,0.36), 0 0 0 2px #6fb5f1;
- outline: 0;
-}
-
-.topcoat-button:active,
-.topcoat-button--large:active,
-.topcoat-button-bar__button:active,
-.topcoat-button-bar__button--large:active,
-:checked + .topcoat-button-bar__button {
- border: 1px solid #333434;
- background-color: #3f4041;
- box-shadow: inset 0 1px rgba(0,0,0,0.05);
-}
-
-.topcoat-button--quiet {
- background: transparent;
- border: 1px solid transparent;
- box-shadow: none;
-}
-
-.topcoat-button--quiet:hover,
-.topcoat-button--large--quiet:hover {
- text-shadow: 0 -1px rgba(0,0,0,0.69);
- border: 1px solid #333434;
- box-shadow: inset 0 1px #737373;
-}
-
-.topcoat-button--quiet:active,
-.topcoat-button--quiet:focus:active,
-.topcoat-button--large--quiet:active,
-.topcoat-button--large--quiet:focus:active {
- color: #c6c8c8;
- text-shadow: 0 -1px rgba(0,0,0,0.69);
- background-color: #3f4041;
- border: 1px solid #333434;
- box-shadow: inset 0 1px rgba(0,0,0,0.05);
-}
-
-.topcoat-button--large,
-.topcoat-button--large--quiet,
-.topcoat-button-bar__button--large {
- font-size: 1.3rem;
- font-weight: 400;
- line-height: 4.375rem;
- padding: 0 1.25rem;
-}
-
-.topcoat-button--large--quiet {
- background: transparent;
- border: 1px solid transparent;
- box-shadow: none;
-}
-
-.topcoat-button--cta,
-.topcoat-button--large--cta {
- border: 1px solid #134f7f;
- background-color: #288edf;
- box-shadow: inset 0 1px rgba(255,255,255,0.36);
- color: #fff;
- font-weight: 500;
- text-shadow: 0 -1px rgba(0,0,0,0.36);
-}
-
-.topcoat-button--cta:hover,
-.topcoat-button--large--cta:hover {
- background-color: #4ca1e4;
-}
-
-.topcoat-button--cta:active,
-.topcoat-button--large--cta:active {
- background-color: #1e7dc8;
- box-shadow: inset 0 1px rgba(0,0,0,0.12);
-}
-
-.topcoat-button--large--cta {
- font-size: 1.3rem;
- font-weight: 400;
- line-height: 4.375rem;
- padding: 0 1.25rem;
-}
-
-.button-bar,
-.topcoat-button-bar {
- display: table;
- table-layout: fixed;
- white-space: nowrap;
- margin: 0;
- padding: 0;
-}
-
-.button-bar__item,
-.topcoat-button-bar__item {
- display: table-cell;
- width: auto;
- border-radius: 0;
-}
-
-.button-bar__item > input,
-.topcoat-button-bar__item > input {
- position: absolute;
- overflow: hidden;
- padding: 0;
- border: 0;
- opacity: 0.001;
- z-index: 1;
- vertical-align: top;
- outline: none;
-}
-
-.button-bar__button {
- border-radius: inherit;
-}
-
-.button-bar__item:disabled {
- opacity: 0.3;
- cursor: default;
- pointer-events: none;
-}
-
-/* topdoc
- name: Button Bar
- description: Component of grouped buttons
- modifiers:
- :disabled: Disabled state
- markup:
- <div class="topcoat-button-bar">
- <div class="topcoat-button-bar__item">
- <button class="topcoat-button-bar__button">One</button>
- </div>
- <div class="topcoat-button-bar__item">
- <button class="topcoat-button-bar__button">Two</button>
- </div>
- <div class="topcoat-button-bar__item">
- <button class="topcoat-button-bar__button">Three</button>
- </div>
- </div>
- examples:
- mobile button bar: http://codepen.io/Topcoat/pen/kdKyg
- tags:
- - desktop
- - light
- - dark
- - mobile
- - button
- - group
- - bar
-*/
-
-.topcoat-button-bar > .topcoat-button-bar__item:first-child {
- border-top-left-radius: 6px;
- border-bottom-left-radius: 6px;
-}
-
-.topcoat-button-bar > .topcoat-button-bar__item:last-child {
- border-top-right-radius: 6px;
- border-bottom-right-radius: 6px;
-}
-
-.topcoat-button-bar__item:first-child > .topcoat-button-bar__button,
-.topcoat-button-bar__item:first-child > .topcoat-button-bar__button--large {
- border-right: none;
-}
-
-.topcoat-button-bar__item:last-child > .topcoat-button-bar__button,
-.topcoat-button-bar__item:last-child > .topcoat-button-bar__button--large {
- border-left: none;
-}
-
-.topcoat-button-bar__button {
- border-radius: inherit;
-}
-
-.topcoat-button-bar__button:focus,
-.topcoat-button-bar__button--large:focus {
- z-index: 1;
-}
-
-/* topdoc
- name: Large Button Bar
- description: A button bar, only larger
- modifiers:
- :disabled: Disabled state
- markup:
- <div class="topcoat-button-bar">
- <div class="topcoat-button-bar__item">
- <button class="topcoat-button-bar__button--large">One</button>
- </div>
- <div class="topcoat-button-bar__item">
- <button class="topcoat-button-bar__button--large">Two</button>
- </div>
- <div class="topcoat-button-bar__item">
- <button class="topcoat-button-bar__button--large">Three</button>
- </div>
- </div>
- tags:
- - desktop
- - light
- - dark
- - mobile
- - button
- - group
- - bar
- - large
-*/
-
-.topcoat-button-bar__button--large {
- border-radius: inherit;
-}
-
-/**
-*
-* Copyright 2012 Adobe Systems Inc.;
-*
-* Licensed under the Apache License, Version 2.0 (the "License");
-* you may not use this file except in compliance with the License.
-* You may obtain a copy of the License at
-*
-* http://www.apache.org/licenses/LICENSE-2.0
-*
-* Unless required by applicable law or agreed to in writing, software
-* distributed under the License is distributed on an "AS IS" BASIS,
-* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-* See the License for the specific language governing permissions and
-* limitations under the License.
-*
-*/
-
-.button {
- position: relative;
- display: inline-block;
- vertical-align: top;
- -moz-box-sizing: border-box;
- box-sizing: border-box;
- background-clip: padding-box;
- padding: 0;
- margin: 0;
- font: inherit;
- color: inherit;
- background: transparent;
- border: none;
- cursor: default;
- -webkit-user-select: none;
- -moz-user-select: none;
- -ms-user-select: none;
- user-select: none;
- text-overflow: ellipsis;
- white-space: nowrap;
- overflow: hidden;
- text-decoration: none;
-}
-
-.button--quiet {
- background: transparent;
- border: 1px solid transparent;
- box-shadow: none;
-}
-
-.button--disabled {
- opacity: 0.3;
- cursor: default;
- pointer-events: none;
-}
-
-/**
-*
-* Copyright 2012 Adobe Systems Inc.;
-*
-* Licensed under the Apache License, Version 2.0 (the "License");
-* you may not use this file except in compliance with the License.
-* You may obtain a copy of the License at
-*
-* http://www.apache.org/licenses/LICENSE-2.0
-*
-* Unless required by applicable law or agreed to in writing, software
-* distributed under the License is distributed on an "AS IS" BASIS,
-* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-* See the License for the specific language governing permissions and
-* limitations under the License.
-*
-*/
-
-/**
-*
-* Copyright 2012 Adobe Systems Inc.;
-*
-* Licensed under the Apache License, Version 2.0 (the "License");
-* you may not use this file except in compliance with the License.
-* You may obtain a copy of the License at
-*
-* http://www.apache.org/licenses/LICENSE-2.0
-*
-* Unless required by applicable law or agreed to in writing, software
-* distributed under the License is distributed on an "AS IS" BASIS,
-* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-* See the License for the specific language governing permissions and
-* limitations under the License.
-*
-*/
-
-/**
-*
-* Copyright 2012 Adobe Systems Inc.;
-*
-* Licensed under the Apache License, Version 2.0 (the "License");
-* you may not use this file except in compliance with the License.
-* You may obtain a copy of the License at
-*
-* http://www.apache.org/licenses/LICENSE-2.0
-*
-* Unless required by applicable law or agreed to in writing, software
-* distributed under the License is distributed on an "AS IS" BASIS,
-* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-* See the License for the specific language governing permissions and
-* limitations under the License.
-*
-*/
-
-.button,
-.topcoat-button,
-.topcoat-button--quiet,
-.topcoat-button--large,
-.topcoat-button--large--quiet,
-.topcoat-button--cta,
-.topcoat-button--large--cta {
- position: relative;
- display: inline-block;
- vertical-align: top;
- -moz-box-sizing: border-box;
- box-sizing: border-box;
- background-clip: padding-box;
- padding: 0;
- margin: 0;
- font: inherit;
- color: inherit;
- background: transparent;
- border: none;
- cursor: default;
- -webkit-user-select: none;
- -moz-user-select: none;
- -ms-user-select: none;
- user-select: none;
- text-overflow: ellipsis;
- white-space: nowrap;
- overflow: hidden;
- text-decoration: none;
-}
-
-.button--quiet {
- background: transparent;
- border: 1px solid transparent;
- box-shadow: none;
-}
-
-.button--disabled,
-.topcoat-button:disabled,
-.topcoat-button--quiet:disabled,
-.topcoat-button--large:disabled,
-.topcoat-button--large--quiet:disabled,
-.topcoat-button--cta:disabled,
-.topcoat-button--large--cta:disabled {
- opacity: 0.3;
- cursor: default;
- pointer-events: none;
-}
-
-/* topdoc
- name: Button
- description: A simple button
- modifiers:
- :active: Active state
- :disabled: Disabled state
- :hover: Hover state
- :focus: Focused
- markup:
- <button class="topcoat-button">Button</button>
- <button class="topcoat-button" disabled>Button</button>
- examples:
- mobile button: http://codepen.io/Topcoat/pen/DpKtf
- tags:
- - desktop
- - light
- - mobile
- - button
-*/
-
-.topcoat-button,
-.topcoat-button--quiet,
-.topcoat-button--large,
-.topcoat-button--large--quiet,
-.topcoat-button--cta,
-.topcoat-button--large--cta {
- padding: 0 1.25rem;
- font-size: 16px;
- line-height: 3rem;
- letter-spacing: 1px;
- color: #c6c8c8;
- text-shadow: 0 -1px rgba(0,0,0,0.69);
- vertical-align: top;
- background-color: #595b5b;
- box-shadow: inset 0 1px #737373;
- border: 1px solid #333434;
- border-radius: 6px;
-}
-
-.topcoat-button:hover,
-.topcoat-button--quiet:hover,
-.topcoat-button--large:hover,
-.topcoat-button--large--quiet:hover {
- background-color: #626465;
-}
-
-.topcoat-button:focus,
-.topcoat-button--quiet:focus,
-.topcoat-button--quiet:hover:focus,
-.topcoat-button--large:focus,
-.topcoat-button--large--quiet:focus,
-.topcoat-button--large--quiet:hover:focus,
-.topcoat-button--cta:focus,
-.topcoat-button--large--cta:focus {
- border: 1px solid #0036ff;
- box-shadow: inset 0 1px rgba(255,255,255,0.36), 0 0 0 2px #6fb5f1;
- outline: 0;
-}
-
-.topcoat-button:active,
-.topcoat-button--large:active {
- border: 1px solid #333434;
- background-color: #3f4041;
- box-shadow: inset 0 1px rgba(0,0,0,0.05);
-}
-
-/* topdoc
- name: Quiet Button
- description: A simple, yet quiet button
- modifiers:
- :active: Quiet button active state
- :disabled: Disabled state
- :hover: Hover state
- :focus: Focused
- markup:
- <button class="topcoat-button--quiet">Button</button>
- <button class="topcoat-button--quiet" disabled>Button</button>
- tags:
- - desktop
- - light
- - mobile
- - button
- - quiet
-*/
-
-.topcoat-button--quiet {
- background: transparent;
- border: 1px solid transparent;
- box-shadow: none;
-}
-
-.topcoat-button--quiet:hover,
-.topcoat-button--large--quiet:hover {
- text-shadow: 0 -1px rgba(0,0,0,0.69);
- border: 1px solid #333434;
- box-shadow: inset 0 1px #737373;
-}
-
-.topcoat-button--quiet:active,
-.topcoat-button--quiet:focus:active,
-.topcoat-button--large--quiet:active,
-.topcoat-button--large--quiet:focus:active {
- color: #c6c8c8;
- text-shadow: 0 -1px rgba(0,0,0,0.69);
- background-color: #3f4041;
- border: 1px solid #333434;
- box-shadow: inset 0 1px rgba(0,0,0,0.05);
-}
-
-/* topdoc
- name: Large Button
- description: A big ol button
- modifiers:
- :active: Active state
- :disabled: Disabled state
- :hover: Hover state
- :focus: Focused
- markup:
- <button class="topcoat-button--large" >Button</button>
- <button class="topcoat-button--large" disabled>Button</button>
- tags:
- - desktop
- - light
- - mobile
- - button
- - large
-*/
-
-.topcoat-button--large,
-.topcoat-button--large--quiet {
- font-size: 1.3rem;
- font-weight: 400;
- line-height: 4.375rem;
- padding: 0 1.25rem;
-}
-
-/* topdoc
- name: Large Quiet Button
- description: A large, yet quiet button
- modifiers:
- :active: Active state
- :disabled: Disabled state
- :hover: Hover state
- :focus: Focused
- markup:
- <button class="topcoat-button--large--quiet" >Button</button>
- <button class="topcoat-button--large--quiet" disabled>Button</button>
- tags:
- - desktop
- - light
- - mobile
- - button
- - large
- - quiet
-*/
-
-.topcoat-button--large--quiet {
- background: transparent;
- border: 1px solid transparent;
- box-shadow: none;
-}
-
-/* topdoc
- name: Call To Action Button
- description: A CALL TO ARMS, er, ACTION!
- modifiers:
- :active: Active state
- :disabled: Disabled state
- :hover: Hover state
- :focus: Focused
- markup:
- <button class="topcoat-button--cta" >Button</button>
- <button class="topcoat-button--cta" disabled>Button</button>
- tags:
- - desktop
- - light
- - mobile
- - button
- - call to action
-*/
-
-.topcoat-button--cta,
-.topcoat-button--large--cta {
- border: 1px solid #134f7f;
- background-color: #288edf;
- box-shadow: inset 0 1px rgba(255,255,255,0.36);
- color: #fff;
- font-weight: 500;
- text-shadow: 0 -1px rgba(0,0,0,0.36);
-}
-
-.topcoat-button--cta:hover,
-.topcoat-button--large--cta:hover {
- background-color: #4ca1e4;
-}
-
-.topcoat-button--cta:active,
-.topcoat-button--large--cta:active {
- background-color: #1e7dc8;
- box-shadow: inset 0 1px rgba(0,0,0,0.12);
-}
-
-/* topdoc
- name: Large Call To Action Button
- description: Like call to action, but bigger
- modifiers:
- :active: Active state
- :disabled: Disabled state
- :hover: Hover state
- :focus: Focused
- markup:
- <button class="topcoat-button--large--cta" >Button</button>
- <button class="topcoat-button--large--cta" disabled>Button</button>
- tags:
- - desktop
- - light
- - mobile
- - button
- - large
- - call to action
-*/
-
-.topcoat-button--large--cta {
- font-size: 1.3rem;
- font-weight: 400;
- line-height: 4.375rem;
- padding: 0 1.25rem;
-}
-
-/**
-*
-* Copyright 2012 Adobe Systems Inc.;
-*
-* Licensed under the Apache License, Version 2.0 (the "License");
-* you may not use this file except in compliance with the License.
-* You may obtain a copy of the License at
-*
-* http://www.apache.org/licenses/LICENSE-2.0
-*
-* Unless required by applicable law or agreed to in writing, software
-* distributed under the License is distributed on an "AS IS" BASIS,
-* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-* See the License for the specific language governing permissions and
-* limitations under the License.
-*
-*/
-
-input[type="checkbox"] {
- position: absolute;
- overflow: hidden;
- padding: 0;
- border: 0;
- opacity: 0.001;
- z-index: 1;
- vertical-align: top;
- outline: none;
-}
-
-.checkbox {
- -moz-box-sizing: border-box;
- box-sizing: border-box;
- background-clip: padding-box;
- position: relative;
- display: inline-block;
- vertical-align: top;
- cursor: default;
- -webkit-user-select: none;
- -moz-user-select: none;
- -ms-user-select: none;
- user-select: none;
-}
-
-.checkbox__label {
- position: relative;
- display: inline-block;
- vertical-align: top;
- cursor: default;
- -webkit-user-select: none;
- -moz-user-select: none;
- -ms-user-select: none;
- user-select: none;
-}
-
-.checkbox--disabled {
- opacity: 0.3;
- cursor: default;
- pointer-events: none;
-}
-
-.checkbox:before,
-.checkbox:after {
- content: '';
- position: absolute;
-}
-
-.checkbox:before {
- -moz-box-sizing: border-box;
- box-sizing: border-box;
- background-clip: padding-box;
-}
-
-/**
-*
-* Copyright 2012 Adobe Systems Inc.;
-*
-* Licensed under the Apache License, Version 2.0 (the "License");
-* you may not use this file except in compliance with the License.
-* You may obtain a copy of the License at
-*
-* http://www.apache.org/licenses/LICENSE-2.0
-*
-* Unless required by applicable law or agreed to in writing, software
-* distributed under the License is distributed on an "AS IS" BASIS,
-* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-* See the License for the specific language governing permissions and
-* limitations under the License.
-*
-*/
-
-/**
-*
-* Copyright 2012 Adobe Systems Inc.;
-*
-* Licensed under the Apache License, Version 2.0 (the "License");
-* you may not use this file except in compliance with the License.
-* You may obtain a copy of the License at
-*
-* http://www.apache.org/licenses/LICENSE-2.0
-*
-* Unless required by applicable law or agreed to in writing, software
-* distributed under the License is distributed on an "AS IS" BASIS,
-* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-* See the License for the specific language governing permissions and
-* limitations under the License.
-*
-*/
-
-/**
-*
-* Copyright 2012 Adobe Systems Inc.;
-*
-* Licensed under the Apache License, Version 2.0 (the "License");
-* you may not use this file except in compliance with the License.
-* You may obtain a copy of the License at
-*
-* http://www.apache.org/licenses/LICENSE-2.0
-*
-* Unless required by applicable law or agreed to in writing, software
-* distributed under the License is distributed on an "AS IS" BASIS,
-* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-* See the License for the specific language governing permissions and
-* limitations under the License.
-*
-*/
-
-input[type="checkbox"] {
- position: absolute;
- overflow: hidden;
- padding: 0;
- border: 0;
- opacity: 0.001;
- z-index: 1;
- vertical-align: top;
- outline: none;
-}
-
-.checkbox,
-.topcoat-checkbox__checkmark {
- -moz-box-sizing: border-box;
- box-sizing: border-box;
- background-clip: padding-box;
- position: relative;
- display: inline-block;
- vertical-align: top;
- cursor: default;
- -webkit-user-select: none;
- -moz-user-select: none;
- -ms-user-select: none;
- user-select: none;
-}
-
-.checkbox__label,
-.topcoat-checkbox {
- position: relative;
- display: inline-block;
- vertical-align: top;
- cursor: default;
- -webkit-user-select: none;
- -moz-user-select: none;
- -ms-user-select: none;
- user-select: none;
-}
-
-.checkbox--disabled,
-input[type="checkbox"]:disabled + .topcoat-checkbox__checkmark {
- opacity: 0.3;
- cursor: default;
- pointer-events: none;
-}
-
-.checkbox:before,
-.checkbox:after,
-.topcoat-checkbox__checkmark:before,
-.topcoat-checkbox__checkmark:after {
- content: '';
- position: absolute;
-}
-
-.checkbox:before,
-.topcoat-checkbox__checkmark:before {
- -moz-box-sizing: border-box;
- box-sizing: border-box;
- background-clip: padding-box;
-}
-
-/* topdoc
- name: Checkbox
- description: Default skin for Topcoat checkbox
- modifiers:
- :focus: Focus state
- :disabled: Disabled state
- markup:
- <label class="topcoat-checkbox">
- <input type="checkbox">
- <div class="topcoat-checkbox__checkmark"></div>
- Default
- </label>
- <br>
- <br>
- <label class="topcoat-checkbox">
- <input type="checkbox" disabled>
- <div class="topcoat-checkbox__checkmark"></div>
- Disabled
- </label>
- examples:
- mobile checkbox: http://codepen.io/Topcoat/pen/piHcs
- tags:
- - desktop
- - light
- - mobile
- - checkbox
-*/
-
-.topcoat-checkbox__checkmark {
- height: 2rem;
-}
-
-input[type="checkbox"] {
- height: 2rem;
- width: 2rem;
- margin-top: 0;
- margin-right: -2rem;
- margin-bottom: -2rem;
- margin-left: 0;
-}
-
-input[type="checkbox"]:checked + .topcoat-checkbox__checkmark:after {
- opacity: 1;
-}
-
-.topcoat-checkbox {
- line-height: 2rem;
-}
-
-.topcoat-checkbox__checkmark:before {
- width: 2rem;
- height: 2rem;
- background: #595b5b;
- border: 1px solid #333434;
- border-radius: 3px;
- box-shadow: inset 0 1px #737373;
-}
-
-.topcoat-checkbox__checkmark {
- width: 2rem;
- height: 2rem;
-}
-
-.topcoat-checkbox__checkmark:after {
- top: 1px;
- left: 2px;
- opacity: 0;
- width: 28px;
- height: 11px;
- background: transparent;
- border: 7px solid #c6c8c8;
- border-width: 7px;
- border-top: none;
- border-right: none;
- border-radius: 2px;
- -webkit-transform: rotate(-50deg);
- -ms-transform: rotate(-50deg);
- transform: rotate(-50deg);
-}
-
-input[type="checkbox"]:focus + .topcoat-checkbox__checkmark:before {
- border: 1px solid #0036ff;
- box-shadow: inset 0 1px rgba(255,255,255,0.36), 0 0 0 2px #6fb5f1;
-}
-
-input[type="checkbox"]:active + .topcoat-checkbox__checkmark:before {
- border: 1px solid #333434;
- background-color: #3f4041;
- box-shadow: inset 0 1px rgba(0,0,0,0.05);
-}
-
-input[type="checkbox"]:disabled:active + .topcoat-checkbox__checkmark:before {
- border: 1px solid #333434;
- background: #595b5b;
- box-shadow: inset 0 1px #737373;
-}
-
-/**
-*
-* Copyright 2012 Adobe Systems Inc.;
-*
-* Licensed under the Apache License, Version 2.0 (the "License");
-* you may not use this file except in compliance with the License.
-* You may obtain a copy of the License at
-*
-* http://www.apache.org/licenses/LICENSE-2.0
-*
-* Unless required by applicable law or agreed to in writing, software
-* distributed under the License is distributed on an "AS IS" BASIS,
-* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-* See the License for the specific language governing permissions and
-* limitations under the License.
-*
-*/
-
-/**
-*
-* Copyright 2012 Adobe Systems Inc.;
-*
-* Licensed under the Apache License, Version 2.0 (the "License");
-* you may not use this file except in compliance with the License.
-* You may obtain a copy of the License at
-*
-* http://www.apache.org/licenses/LICENSE-2.0
-*
-* Unless required by applicable law or agreed to in writing, software
-* distributed under the License is distributed on an "AS IS" BASIS,
-* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-* See the License for the specific language governing permissions and
-* limitations under the License.
-*
-*/
-
-.button,
-.topcoat-icon-button,
-.topcoat-icon-button--quiet,
-.topcoat-icon-button--large,
-.topcoat-icon-button--large--quiet {
- position: relative;
- display: inline-block;
- vertical-align: top;
- -moz-box-sizing: border-box;
- box-sizing: border-box;
- background-clip: padding-box;
- padding: 0;
- margin: 0;
- font: inherit;
- color: inherit;
- background: transparent;
- border: none;
- cursor: default;
- -webkit-user-select: none;
- -moz-user-select: none;
- -ms-user-select: none;
- user-select: none;
- text-overflow: ellipsis;
- white-space: nowrap;
- overflow: hidden;
- text-decoration: none;
-}
-
-.button--quiet {
- background: transparent;
- border: 1px solid transparent;
- box-shadow: none;
-}
-
-.button--disabled,
-.topcoat-icon-button:disabled,
-.topcoat-icon-button--quiet:disabled,
-.topcoat-icon-button--large:disabled,
-.topcoat-icon-button--large--quiet:disabled {
- opacity: 0.3;
- cursor: default;
- pointer-events: none;
-}
-
-/* topdoc
- name: Icon Button
- description: Like button, but it has an icon.
- modifiers:
- :active: Active state
- :disabled: Disabled state
- :hover: Hover state
- :focus: Focused
- markup:
- <button class="topcoat-icon-button">
- <span class="topcoat-icon" style="background-color:#A5A7A7;"></span>
- </button>
- <button class="topcoat-icon-button" disabled>
- <span class="topcoat-icon" style="background-color:#A5A7A7;"></span>
- </button>
- tags:
- - desktop
- - light
- - mobile
- - button
- - icon
-*/
-
-.topcoat-icon-button,
-.topcoat-icon-button--quiet,
-.topcoat-icon-button--large,
-.topcoat-icon-button--large--quiet {
- padding: 0 0.75rem;
- line-height: 3rem;
- letter-spacing: 1px;
- color: #c6c8c8;
- text-shadow: 0 -1px rgba(0,0,0,0.69);
- vertical-align: baseline;
- background-color: #595b5b;
- box-shadow: inset 0 1px #737373;
- border: 1px solid #333434;
- border-radius: 6px;
-}
-
-.topcoat-icon-button:hover,
-.topcoat-icon-button--quiet:hover,
-.topcoat-icon-button--large:hover,
-.topcoat-icon-button--large--quiet:hover {
- background-color: #626465;
-}
-
-.topcoat-icon-button:focus,
-.topcoat-icon-button--quiet:focus,
-.topcoat-icon-button--quiet:hover:focus,
-.topcoat-icon-button--large:focus,
-.topcoat-icon-button--large--quiet:focus,
-.topcoat-icon-button--large--quiet:hover:focus {
- border: 1px solid #0036ff;
- box-shadow: inset 0 1px rgba(255,255,255,0.36), 0 0 0 2px #6fb5f1;
- outline: 0;
-}
-
-.topcoat-icon-button:active,
-.topcoat-icon-button--large:active {
- border: 1px solid #333434;
- background-color: #3f4041;
- box-shadow: inset 0 1px rgba(0,0,0,0.05);
-}
-
-/* topdoc
- name: Quiet Icon Button
- description: Like quiet button, but it has an icon.
- modifiers:
- :active: Active state
- :disabled: Disabled state
- :hover: Hover state
- :focus: Focused
- markup:
- <button class="topcoat-icon-button--quiet">
- <span class="topcoat-icon" style="background-color:#A5A7A7;"></span>
- </button>
- <button class="topcoat-icon-button--quiet" disabled>
- <span class="topcoat-icon" style="background-color:#A5A7A7;"></span>
- </button>
- tags:
- - desktop
- - light
- - mobile
- - button
- - icon
- - quiet
-*/
-
-.topcoat-icon-button--quiet {
- background: transparent;
- border: 1px solid transparent;
- box-shadow: none;
-}
-
-.topcoat-icon-button--quiet:hover,
-.topcoat-icon-button--large--quiet:hover {
- text-shadow: 0 -1px rgba(0,0,0,0.69);
- border: 1px solid #333434;
- box-shadow: inset 0 1px #737373;
-}
-
-.topcoat-icon-button--quiet:active,
-.topcoat-icon-button--quiet:focus:active,
-.topcoat-icon-button--large--quiet:active,
-.topcoat-icon-button--large--quiet:focus:active {
- color: #c6c8c8;
- text-shadow: 0 -1px rgba(0,0,0,0.69);
- background-color: #3f4041;
- border: 1px solid #333434;
- box-shadow: inset 0 1px rgba(0,0,0,0.05);
-}
-
-/* topdoc
- name: Large Icon Button
- description: Like large button, but it has an icon.
- modifiers:
- :active: Active state
- :disabled: Disabled state
- :hover: Hover state
- :focus: Focused
- markup:
- <button class="topcoat-icon-button--large">
- <span class="topcoat-icon--large" style="background-color:#A5A7A7;"></span>
- </button>
- <button class="topcoat-icon-button--large" disabled>
- <span class="topcoat-icon--large" style="background-color:#A5A7A7;"></span>
- </button>
- tags:
- - desktop
- - light
- - mobile
- - button
- - icon
- - large
-*/
-
-.topcoat-icon-button--large,
-.topcoat-icon-button--large--quiet {
- width: 4.375rem;
- height: 4.375rem;
- line-height: 4.375rem;
-}
-
-/* topdoc
- name: Large Quiet Icon Button
- description: Like large button, but it has an icon and this one is quiet.
- modifiers:
- :active: Active state
- :disabled: Disabled state
- :hover: Hover state
- markup:
- <button class="topcoat-icon-button--large--quiet">
- <span class="topcoat-icon--large" style="background-color:#A5A7A7;"></span>
- </button>
- <button class="topcoat-icon-button--large--quiet" disabled>
- <span class="topcoat-icon--large" style="background-color:#A5A7A7;"></span>
- </button>
- tags:
- - desktop
- - light
- - mobile
- - button
- - icon
- - large
- - quiet
-*/
-
-.topcoat-icon-button--large--quiet {
- background: transparent;
- border: 1px solid transparent;
- box-shadow: none;
-}
-
-.topcoat-icon,
-.topcoat-icon--large {
- position: relative;
- display: inline-block;
- vertical-align: top;
- overflow: hidden;
- width: 1.62rem;
- height: 1.62rem;
- vertical-align: middle;
- top: -1px;
-}
-
-.topcoat-icon--large {
- width: 2.499999998125rem;
- height: 2.499999998125rem;
- top: -2px;
-}
-
-/**
-*
-* Copyright 2012 Adobe Systems Inc.;
-*
-* Licensed under the Apache License, Version 2.0 (the "License");
-* you may not use this file except in compliance with the License.
-* You may obtain a copy of the License at
-*
-* http://www.apache.org/licenses/LICENSE-2.0
-*
-* Unless required by applicable law or agreed to in writing, software
-* distributed under the License is distributed on an "AS IS" BASIS,
-* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-* See the License for the specific language governing permissions and
-* limitations under the License.
-*
-*/
-
-/**
-*
-* Copyright 2012 Adobe Systems Inc.;
-*
-* Licensed under the Apache License, Version 2.0 (the "License");
-* you may not use this file except in compliance with the License.
-* You may obtain a copy of the License at
-*
-* http://www.apache.org/licenses/LICENSE-2.0
-*
-* Unless required by applicable law or agreed to in writing, software
-* distributed under the License is distributed on an "AS IS" BASIS,
-* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-* See the License for the specific language governing permissions and
-* limitations under the License.
-*
-*/
-
-.input {
- padding: 0;
- margin: 0;
- font: inherit;
- color: inherit;
- background: transparent;
- border: none;
- -moz-box-sizing: border-box;
- box-sizing: border-box;
- background-clip: padding-box;
- vertical-align: top;
- outline: none;
-}
-
-.input:disabled {
- opacity: 0.3;
- cursor: default;
- pointer-events: none;
-}
-
-/**
-*
-* Copyright 2012 Adobe Systems Inc.;
-*
-* Licensed under the Apache License, Version 2.0 (the "License");
-* you may not use this file except in compliance with the License.
-* You may obtain a copy of the License at
-*
-* http://www.apache.org/licenses/LICENSE-2.0
-*
-* Unless required by applicable law or agreed to in writing, software
-* distributed under the License is distributed on an "AS IS" BASIS,
-* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-* See the License for the specific language governing permissions and
-* limitations under the License.
-*
-*/
-
-/**
-*
-* Copyright 2012 Adobe Systems Inc.;
-*
-* Licensed under the Apache License, Version 2.0 (the "License");
-* you may not use this file except in compliance with the License.
-* You may obtain a copy of the License at
-*
-* http://www.apache.org/licenses/LICENSE-2.0
-*
-* Unless required by applicable law or agreed to in writing, software
-* distributed under the License is distributed on an "AS IS" BASIS,
-* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-* See the License for the specific language governing permissions and
-* limitations under the License.
-*
-*/
-
-.list {
- padding: 0;
- margin: 0;
- font: inherit;
- color: inherit;
- background: transparent;
- border: none;
- cursor: default;
- -webkit-user-select: none;
- -moz-user-select: none;
- -ms-user-select: none;
- user-select: none;
- overflow: auto;
- -webkit-overflow-scrolling: touch;
-}
-
-.list__header {
- margin: 0;
-}
-
-.list__container {
- padding: 0;
- margin: 0;
- list-style-type: none;
-}
-
-.list__item {
- margin: 0;
- padding: 0;
-}
-
-/**
-*
-* Copyright 2012 Adobe Systems Inc.;
-*
-* Licensed under the Apache License, Version 2.0 (the "License");
-* you may not use this file except in compliance with the License.
-* You may obtain a copy of the License at
-*
-* http://www.apache.org/licenses/LICENSE-2.0
-*
-* Unless required by applicable law or agreed to in writing, software
-* distributed under the License is distributed on an "AS IS" BASIS,
-* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-* See the License for the specific language governing permissions and
-* limitations under the License.
-*
-*/
-
-/**
-*
-* Copyright 2012 Adobe Systems Inc.;
-*
-* Licensed under the Apache License, Version 2.0 (the "License");
-* you may not use this file except in compliance with the License.
-* You may obtain a copy of the License at
-*
-* http://www.apache.org/licenses/LICENSE-2.0
-*
-* Unless required by applicable law or agreed to in writing, software
-* distributed under the License is distributed on an "AS IS" BASIS,
-* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-* See the License for the specific language governing permissions and
-* limitations under the License.
-*
-*/
-
-.list,
-.topcoat-list {
- padding: 0;
- margin: 0;
- font: inherit;
- color: inherit;
- background: transparent;
- border: none;
- cursor: default;
- -webkit-user-select: none;
- -moz-user-select: none;
- -ms-user-select: none;
- user-select: none;
- overflow: auto;
- -webkit-overflow-scrolling: touch;
-}
-
-.list__header,
-.topcoat-list__header {
- margin: 0;
-}
-
-.list__container,
-.topcoat-list__container {
- padding: 0;
- margin: 0;
- list-style-type: none;
-}
-
-.list__item,
-.topcoat-list__item {
- margin: 0;
- padding: 0;
-}
-
-/* topdoc
- name: List
- description: Topcoat default list skin
- markup:
- <div class="topcoat-list">
- <h3 class="topcoat-list__header">Category</h3>
- <ul class="topcoat-list__container">
- <li class="topcoat-list__item">
- Item
- </li>
- <li class="topcoat-list__item">
- Item
- </li>
- <li class="topcoat-list__item">
- Item
- </li>
- </ul>
- </div>
- tags:
- - mobile
- - list
-*/
-
-.topcoat-list {
- border-top: 1px solid #333434;
- border-bottom: 1px solid #616363;
- background-color: #454646;
-}
-
-.topcoat-list__header {
- padding: 4px 20px;
- font-size: 0.9em;
- font-weight: 400;
- background-color: #3f4041;
- color: #c6c8c8;
- text-shadow: 0 1px 0 rgba(255,255,255,0.1);
- border-top: 1px solid rgba(255,255,255,0.1);
- border-bottom: 1px solid rgba(255,255,255,0.05);
-}
-
-.topcoat-list__container {
- border-top: 1px solid #333434;
- color: #c6c8c8;
-}
-
-.topcoat-list__item {
- padding: 1.25rem;
- border-top: 1px solid #616363;
- border-bottom: 1px solid #333434;
-}
-
-.topcoat-list__item:first-child {
- border-top: 1px solid rgba(0,0,0,0.05);
-}
-
-/**
-*
-* Copyright 2012 Adobe Systems Inc.;
-*
-* Licensed under the Apache License, Version 2.0 (the "License");
-* you may not use this file except in compliance with the License.
-* You may obtain a copy of the License at
-*
-* http://www.apache.org/licenses/LICENSE-2.0
-*
-* Unless required by applicable law or agreed to in writing, software
-* distributed under the License is distributed on an "AS IS" BASIS,
-* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-* See the License for the specific language governing permissions and
-* limitations under the License.
-*
-*/
-
-/**
-*
-* Copyright 2012 Adobe Systems Inc.;
-*
-* Licensed under the Apache License, Version 2.0 (the "License");
-* you may not use this file except in compliance with the License.
-* You may obtain a copy of the License at
-*
-* http://www.apache.org/licenses/LICENSE-2.0
-*
-* Unless required by applicable law or agreed to in writing, software
-* distributed under the License is distributed on an "AS IS" BASIS,
-* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-* See the License for the specific language governing permissions and
-* limitations under the License.
-*
-*/
-
-.navigation-bar {
- -moz-box-sizing: border-box;
- box-sizing: border-box;
- background-clip: padding-box;
- white-space: nowrap;
- overflow: hidden;
- word-spacing: 0;
- padding: 0;
- margin: 0;
- font: inherit;
- color: inherit;
- background: transparent;
- border: none;
- cursor: default;
- -webkit-user-select: none;
- -moz-user-select: none;
- -ms-user-select: none;
- user-select: none;
-}
-
-.navigation-bar__item {
- -moz-box-sizing: border-box;
- box-sizing: border-box;
- background-clip: padding-box;
- position: relative;
- display: inline-block;
- vertical-align: top;
- padding: 0;
- margin: 0;
- font: inherit;
- color: inherit;
- background: transparent;
- border: none;
-}
-
-.navigation-bar__title {
- padding: 0;
- margin: 0;
- font: inherit;
- color: inherit;
- background: transparent;
- border: none;
- text-overflow: ellipsis;
- white-space: nowrap;
- overflow: hidden;
-}
-
-/**
-*
-* Copyright 2012 Adobe Systems Inc.;
-*
-* Licensed under the Apache License, Version 2.0 (the "License");
-* you may not use this file except in compliance with the License.
-* You may obtain a copy of the License at
-*
-* http://www.apache.org/licenses/LICENSE-2.0
-*
-* Unless required by applicable law or agreed to in writing, software
-* distributed under the License is distributed on an "AS IS" BASIS,
-* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-* See the License for the specific language governing permissions and
-* limitations under the License.
-*
-*/
-
-/**
-*
-* Copyright 2012 Adobe Systems Inc.;
-*
-* Licensed under the Apache License, Version 2.0 (the "License");
-* you may not use this file except in compliance with the License.
-* You may obtain a copy of the License at
-*
-* http://www.apache.org/licenses/LICENSE-2.0
-*
-* Unless required by applicable law or agreed to in writing, software
-* distributed under the License is distributed on an "AS IS" BASIS,
-* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-* See the License for the specific language governing permissions and
-* limitations under the License.
-*
-*/
-
-.navigation-bar,
-.topcoat-navigation-bar {
- -moz-box-sizing: border-box;
- box-sizing: border-box;
- background-clip: padding-box;
- white-space: nowrap;
- overflow: hidden;
- word-spacing: 0;
- padding: 0;
- margin: 0;
- font: inherit;
- color: inherit;
- background: transparent;
- border: none;
- cursor: default;
- -webkit-user-select: none;
- -moz-user-select: none;
- -ms-user-select: none;
- user-select: none;
-}
-
-.navigation-bar__item,
-.topcoat-navigation-bar__item {
- -moz-box-sizing: border-box;
- box-sizing: border-box;
- background-clip: padding-box;
- position: relative;
- display: inline-block;
- vertical-align: top;
- padding: 0;
- margin: 0;
- font: inherit;
- color: inherit;
- background: transparent;
- border: none;
-}
-
-.navigation-bar__title,
-.topcoat-navigation-bar__title {
- padding: 0;
- margin: 0;
- font: inherit;
- color: inherit;
- background: transparent;
- border: none;
- text-overflow: ellipsis;
- white-space: nowrap;
- overflow: hidden;
-}
-
-/* topdoc
- name: Navigation Bar
- description: A place where navigation goes to drink
- markup:
- <div class="topcoat-navigation-bar">
- <div class="topcoat-navigation-bar__item center full">
- <h1 class="topcoat-navigation-bar__title">Header</h1>
- </div>
- </div>
- tags:
- - desktop
- - light
- - mobile
- - navigation
- - bar
-*/
-
-.topcoat-navigation-bar {
- height: 4.375rem;
- padding-left: 1rem;
- padding-right: 1rem;
- background: #595b5b;
- color: #fff;
- box-shadow: inset 0 -1px #333434, 0 1px #454646;
-}
-
-.topcoat-navigation-bar__item {
- margin: 0;
- line-height: 4.375rem;
- vertical-align: top;
-}
-
-.topcoat-navigation-bar__title {
- font-size: 1.3rem;
- font-weight: 400;
- color: #fff;
-}
-
-/*
-Copyright 2012 Adobe Systems Inc.;
-Licensed under the Apache License, Version 2.0 (the "License");
-you may not use this file except in compliance with the License.
-You may obtain a copy of the License at
-
-http://www.apache.org/licenses/LICENSE-2.0
-
-Unless required by applicable law or agreed to in writing, software
-distributed under the License is distributed on an "AS IS" BASIS,
-WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-See the License for the specific language governing permissions and
-limitations under the License.
-*/
-
-/**
-*
-* Copyright 2012 Adobe Systems Inc.;
-*
-* Licensed under the Apache License, Version 2.0 (the "License");
-* you may not use this file except in compliance with the License.
-* You may obtain a copy of the License at
-*
-* http://www.apache.org/licenses/LICENSE-2.0
-*
-* Unless required by applicable law or agreed to in writing, software
-* distributed under the License is distributed on an "AS IS" BASIS,
-* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-* See the License for the specific language governing permissions and
-* limitations under the License.
-*
-*/
-
-.notification {
- position: relative;
- display: inline-block;
- vertical-align: top;
- -moz-box-sizing: border-box;
- box-sizing: border-box;
- background-clip: padding-box;
- padding: 0;
- margin: 0;
- font: inherit;
- color: inherit;
- background: transparent;
- border: none;
- cursor: default;
- -webkit-user-select: none;
- -moz-user-select: none;
- -ms-user-select: none;
- user-select: none;
- text-overflow: ellipsis;
- white-space: nowrap;
- overflow: hidden;
- text-decoration: none;
-}
-
-/*
-Copyright 2012 Adobe Systems Inc.;
-Licensed under the Apache License, Version 2.0 (the "License");
-you may not use this file except in compliance with the License.
-You may obtain a copy of the License at
-
-http://www.apache.org/licenses/LICENSE-2.0
-
-Unless required by applicable law or agreed to in writing, software
-distributed under the License is distributed on an "AS IS" BASIS,
-WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-See the License for the specific language governing permissions and
-limitations under the License.
-*/
-
-/**
-*
-* Copyright 2012 Adobe Systems Inc.;
-*
-* Licensed under the Apache License, Version 2.0 (the "License");
-* you may not use this file except in compliance with the License.
-* You may obtain a copy of the License at
-*
-* http://www.apache.org/licenses/LICENSE-2.0
-*
-* Unless required by applicable law or agreed to in writing, software
-* distributed under the License is distributed on an "AS IS" BASIS,
-* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-* See the License for the specific language governing permissions and
-* limitations under the License.
-*
-*/
-
-.notification,
-.topcoat-notification {
- position: relative;
- display: inline-block;
- vertical-align: top;
- -moz-box-sizing: border-box;
- box-sizing: border-box;
- background-clip: padding-box;
- padding: 0;
- margin: 0;
- font: inherit;
- color: inherit;
- background: transparent;
- border: none;
- cursor: default;
- -webkit-user-select: none;
- -moz-user-select: none;
- -ms-user-select: none;
- user-select: none;
- text-overflow: ellipsis;
- white-space: nowrap;
- overflow: hidden;
- text-decoration: none;
-}
-
-/* topdoc
- name: Notification
- description: Notification badge
- markup:
- <span class="topcoat-notification">1</span>
- tags:
- - desktop
- - light
- - mobile
- - notification
-*/
-
-.topcoat-notification {
- padding: 0.15em 0.5em 0.2em;
- border-radius: 2px;
- background-color: #ec514e;
- color: #fff;
-}
-
-/**
-*
-* Copyright 2012 Adobe Systems Inc.;
-*
-* Licensed under the Apache License, Version 2.0 (the "License");
-* you may not use this file except in compliance with the License.
-* You may obtain a copy of the License at
-*
-* http://www.apache.org/licenses/LICENSE-2.0
-*
-* Unless required by applicable law or agreed to in writing, software
-* distributed under the License is distributed on an "AS IS" BASIS,
-* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-* See the License for the specific language governing permissions and
-* limitations under the License.
-*
-*/
-
-/**
-*
-* Copyright 2012 Adobe Systems Inc.;
-*
-* Licensed under the Apache License, Version 2.0 (the "License");
-* you may not use this file except in compliance with the License.
-* You may obtain a copy of the License at
-*
-* http://www.apache.org/licenses/LICENSE-2.0
-*
-* Unless required by applicable law or agreed to in writing, software
-* distributed under the License is distributed on an "AS IS" BASIS,
-* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-* See the License for the specific language governing permissions and
-* limitations under the License.
-*
-*/
-
-input[type="radio"] {
- position: absolute;
- overflow: hidden;
- padding: 0;
- border: 0;
- opacity: 0.001;
- z-index: 1;
- vertical-align: top;
- outline: none;
-}
-
-.radio-button {
- -moz-box-sizing: border-box;
- box-sizing: border-box;
- background-clip: padding-box;
- position: relative;
- display: inline-block;
- vertical-align: top;
- cursor: default;
- -webkit-user-select: none;
- -moz-user-select: none;
- -ms-user-select: none;
- user-select: none;
-}
-
-.radio-button__label {
- position: relative;
- display: inline-block;
- vertical-align: top;
- cursor: default;
- -webkit-user-select: none;
- -moz-user-select: none;
- -ms-user-select: none;
- user-select: none;
-}
-
-.radio-button:before,
-.radio-button:after {
- content: '';
- position: absolute;
- border-radius: 100%;
-}
-
-.radio-button:after {
- top: 50%;
- left: 50%;
- -webkit-transform: translate(-50%, -50%);
- -ms-transform: translate(-50%, -50%);
- transform: translate(-50%, -50%);
-}
-
-.radio-button:before {
- -moz-box-sizing: border-box;
- box-sizing: border-box;
- background-clip: padding-box;
-}
-
-.radio-button--disabled {
- opacity: 0.3;
- cursor: default;
- pointer-events: none;
-}
-
-/**
-*
-* Copyright 2012 Adobe Systems Inc.;
-*
-* Licensed under the Apache License, Version 2.0 (the "License");
-* you may not use this file except in compliance with the License.
-* You may obtain a copy of the License at
-*
-* http://www.apache.org/licenses/LICENSE-2.0
-*
-* Unless required by applicable law or agreed to in writing, software
-* distributed under the License is distributed on an "AS IS" BASIS,
-* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-* See the License for the specific language governing permissions and
-* limitations under the License.
-*
-*/
-
-/**
-*
-* Copyright 2012 Adobe Systems Inc.;
-*
-* Licensed under the Apache License, Version 2.0 (the "License");
-* you may not use this file except in compliance with the License.
-* You may obtain a copy of the License at
-*
-* http://www.apache.org/licenses/LICENSE-2.0
-*
-* Unless required by applicable law or agreed to in writing, software
-* distributed under the License is distributed on an "AS IS" BASIS,
-* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-* See the License for the specific language governing permissions and
-* limitations under the License.
-*
-*/
-
-input[type="radio"] {
- position: absolute;
- overflow: hidden;
- padding: 0;
- border: 0;
- opacity: 0.001;
- z-index: 1;
- vertical-align: top;
- outline: none;
-}
-
-.radio-button,
-.topcoat-radio-button__checkmark {
- -moz-box-sizing: border-box;
- box-sizing: border-box;
- background-clip: padding-box;
- position: relative;
- display: inline-block;
- vertical-align: top;
- cursor: default;
- -webkit-user-select: none;
- -moz-user-select: none;
- -ms-user-select: none;
- user-select: none;
-}
-
-.radio-button__label,
-.topcoat-radio-button {
- position: relative;
- display: inline-block;
- vertical-align: top;
- cursor: default;
- -webkit-user-select: none;
- -moz-user-select: none;
- -ms-user-select: none;
- user-select: none;
-}
-
-.radio-button:before,
-.radio-button:after,
-.topcoat-radio-button__checkmark:before,
-.topcoat-radio-button__checkmark:after {
- content: '';
- position: absolute;
- border-radius: 100%;
-}
-
-.radio-button:after,
-.topcoat-radio-button__checkmark:after {
- top: 50%;
- left: 50%;
- -webkit-transform: translate(-50%, -50%);
- -ms-transform: translate(-50%, -50%);
- transform: translate(-50%, -50%);
-}
-
-.radio-button:before,
-.topcoat-radio-button__checkmark:before {
- -moz-box-sizing: border-box;
- box-sizing: border-box;
- background-clip: padding-box;
-}
-
-.radio-button--disabled,
-input[type="radio"]:disabled + .topcoat-radio-button__checkmark {
- opacity: 0.3;
- cursor: default;
- pointer-events: none;
-}
-
-/* topdoc
- name: Radio Button
- description: A button that can play music, but usually just plays ads.
- modifiers:
- markup:
- <!-- NO LABEL -->
- <label class="topcoat-radio-button">
- <input type="radio" name="topcoat">
- <div class="topcoat-radio-button__checkmark"></div>
- </label>
- <br>
- <br>
- <!-- LEFT LABEL -->
- <label class="topcoat-radio-button">
- Left label
- <input type="radio" name="topcoat">
- <div class="topcoat-radio-button__checkmark"></div>
- </label>
- <br>
- <br>
- <!-- RIGHT LABEL -->
- <label class="topcoat-radio-button">
- <input type="radio" name="topcoat">
- <div class="topcoat-radio-button__checkmark"></div>
- Right label
- </label>
- <br>
- <br>
- <!-- DISABLED -->
- <label class="topcoat-radio-button">
- <input type="radio" name="topcoat" Disabled>
- <div class="topcoat-radio-button__checkmark"></div>
- Disabled
- </label>
- examples:
- Mobile Radio Button: http://codepen.io/Topcoat/pen/HDcJj
- tags:
- - desktop
- - light
- - mobile
- - Radio
-*/
-
-input[type="radio"] {
- height: 1.875rem;
- width: 1.875rem;
- margin-top: 0;
- margin-right: -1.875rem;
- margin-bottom: -1.875rem;
- margin-left: 0;
-}
-
-input[type="radio"]:checked + .topcoat-radio-button__checkmark:after {
- opacity: 1;
-}
-
-.topcoat-radio-button {
- color: #c6c8c8;
- line-height: 1.875rem;
-}
-
-.topcoat-radio-button__checkmark:before {
- width: 1.875rem;
- height: 1.875rem;
- background: #595b5b;
- border: 1px solid #333434;
- box-shadow: inset 0 1px #737373;
-}
-
-.topcoat-radio-button__checkmark {
- position: relative;
- width: 1.875rem;
- height: 1.875rem;
-}
-
-.topcoat-radio-button__checkmark:after {
- opacity: 0;
- width: 0.875rem;
- height: 0.875rem;
- background: #c6c8c8;
- border: 1px solid rgba(0,0,0,0.05);
- box-shadow: 0 1px rgba(255,255,255,0.1);
- -webkit-transform: none;
- -ms-transform: none;
- transform: none;
- top: 7px;
- left: 7px;
-}
-
-input[type="radio"]:focus + .topcoat-radio-button__checkmark:before {
- border: 1px solid #0036ff;
- box-shadow: inset 0 1px rgba(255,255,255,0.36), 0 0 0 2px #6fb5f1;
-}
-
-input[type="radio"]:active + .topcoat-radio-button__checkmark:before {
- border: 1px solid #333434;
- background-color: #3f4041;
- box-shadow: inset 0 1px rgba(0,0,0,0.05);
-}
-
-input[type="radio"]:disabled:active + .topcoat-radio-button__checkmark:before {
- border: 1px solid #333434;
- background: #595b5b;
- box-shadow: inset 0 1px #737373;
-}
-
-/*
-Copyright 2012 Adobe Systems Inc.;
-Licensed under the Apache License, Version 2.0 (the "License");
-you may not use this file except in compliance with the License.
-You may obtain a copy of the License at
-
-http://www.apache.org/licenses/LICENSE-2.0
-
-Unless required by applicable law or agreed to in writing, software
-distributed under the License is distributed on an "AS IS" BASIS,
-WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-See the License for the specific language governing permissions and
-limitations under the License.
-*/
-
-/*
-Copyright 2012 Adobe Systems Inc.;
-Licensed under the Apache License, Version 2.0 (the "License");
-you may not use this file except in compliance with the License.
-You may obtain a copy of the License at
-
-http://www.apache.org/licenses/LICENSE-2.0
-
-Unless required by applicable law or agreed to in writing, software
-distributed under the License is distributed on an "AS IS" BASIS,
-WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-See the License for the specific language governing permissions and
-limitations under the License.
-*/
-
-.range {
- padding: 0;
- margin: 0;
- font: inherit;
- color: inherit;
- background: transparent;
- border: none;
- -moz-box-sizing: border-box;
- box-sizing: border-box;
- background-clip: padding-box;
- vertical-align: top;
- outline: none;
- -webkit-appearance: none;
-}
-
-.range__thumb {
- cursor: pointer;
-}
-
-.range__thumb--webkit {
- cursor: pointer;
- -webkit-appearance: none;
-}
-
-.range:disabled {
- opacity: 0.3;
- cursor: default;
- pointer-events: none;
-}
-
-/*
-Copyright 2012 Adobe Systems Inc.;
-Licensed under the Apache License, Version 2.0 (the "License");
-you may not use this file except in compliance with the License.
-You may obtain a copy of the License at
-
-http://www.apache.org/licenses/LICENSE-2.0
-
-Unless required by applicable law or agreed to in writing, software
-distributed under the License is distributed on an "AS IS" BASIS,
-WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-See the License for the specific language governing permissions and
-limitations under the License.
-*/
-
-/*
-Copyright 2012 Adobe Systems Inc.;
-Licensed under the Apache License, Version 2.0 (the "License");
-you may not use this file except in compliance with the License.
-You may obtain a copy of the License at
-
-http://www.apache.org/licenses/LICENSE-2.0
-
-Unless required by applicable law or agreed to in writing, software
-distributed under the License is distributed on an "AS IS" BASIS,
-WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-See the License for the specific language governing permissions and
-limitations under the License.
-*/
-
-.range,
-.topcoat-range {
- padding: 0;
- margin: 0;
- font: inherit;
- color: inherit;
- background: transparent;
- border: none;
- -moz-box-sizing: border-box;
- box-sizing: border-box;
- background-clip: padding-box;
- vertical-align: top;
- outline: none;
- -webkit-appearance: none;
-}
-
-.range__thumb,
-.topcoat-range::-moz-range-thumb {
- cursor: pointer;
-}
-
-.range__thumb--webkit,
-.topcoat-range::-webkit-slider-thumb {
- cursor: pointer;
- -webkit-appearance: none;
-}
-
-.range:disabled,
-.topcoat-range:disabled {
- opacity: 0.3;
- cursor: default;
- pointer-events: none;
-}
-
-/* topdoc
- name: Range
- description: Range input
- modifiers:
- :active: Active state
- :disabled: Disabled state
- :hover: Hover state
- :focus: Focused
- markup:
- <input type="range" class="topcoat-range">
- <input type="range" class="topcoat-range" disabled>
- examples:
- mobile range: http://codepen.io/Topcoat/pen/BskEn
- tags:
- - desktop
- - mobile
- - range
-*/
-
-.topcoat-range {
- border-radius: 6px;
- border: 1px solid #333434;
- background-color: #454646;
- height: 1rem;
- border-radius: 30px;
-}
-
-.topcoat-range::-moz-range-track {
- border-radius: 6px;
- border: 1px solid #333434;
- background-color: #454646;
- height: 1rem;
- border-radius: 30px;
-}
-
-.topcoat-range::-webkit-slider-thumb {
- height: 3rem;
- width: 2rem;
- background-color: #595b5b;
- border: 1px solid #333434;
- border-radius: 6px;
- box-shadow: inset 0 1px #737373;
-}
-
-.topcoat-range::-moz-range-thumb {
- height: 3rem;
- width: 2rem;
- background-color: #595b5b;
- border: 1px solid #333434;
- border-radius: 6px;
- box-shadow: inset 0 1px #737373;
-}
-
-.topcoat-range:focus::-webkit-slider-thumb {
- border: 1px solid #0036ff;
- box-shadow: inset 0 1px rgba(255,255,255,0.36), 0 0 0 2px #6fb5f1;
-}
-
-.topcoat-range:focus::-moz-range-thumb {
- border: 1px solid #0036ff;
- box-shadow: inset 0 1px rgba(255,255,255,0.36), 0 0 0 2px #6fb5f1;
-}
-
-.topcoat-range:active::-webkit-slider-thumb {
- border: 1px solid #333434;
- box-shadow: inset 0 1px #737373;
-}
-
-.topcoat-range:active::-moz-range-thumb {
- border: 1px solid #333434;
- box-shadow: inset 0 1px #737373;
-}
-
-/**
-*
-* Copyright 2012 Adobe Systems Inc.;
-*
-* Licensed under the Apache License, Version 2.0 (the "License");
-* you may not use this file except in compliance with the License.
-* You may obtain a copy of the License at
-*
-* http://www.apache.org/licenses/LICENSE-2.0
-*
-* Unless required by applicable law or agreed to in writing, software
-* distributed under the License is distributed on an "AS IS" BASIS,
-* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-* See the License for the specific language governing permissions and
-* limitations under the License.
-*
-*/
-
-/**
-*
-* Copyright 2012 Adobe Systems Inc.;
-*
-* Licensed under the Apache License, Version 2.0 (the "License");
-* you may not use this file except in compliance with the License.
-* You may obtain a copy of the License at
-*
-* http://www.apache.org/licenses/LICENSE-2.0
-*
-* Unless required by applicable law or agreed to in writing, software
-* distributed under the License is distributed on an "AS IS" BASIS,
-* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-* See the License for the specific language governing permissions and
-* limitations under the License.
-*
-*/
-
-.search-input {
- padding: 0;
- margin: 0;
- font: inherit;
- color: inherit;
- background: transparent;
- border: none;
- -moz-box-sizing: border-box;
- box-sizing: border-box;
- background-clip: padding-box;
- vertical-align: top;
- outline: none;
- -webkit-appearance: none;
-}
-
-input[type="search"]::-webkit-search-cancel-button {
- -webkit-appearance: none;
-}
-
-.search-input:disabled {
- opacity: 0.3;
- cursor: default;
- pointer-events: none;
-}
-
-/**
-*
-* Copyright 2012 Adobe Systems Inc.;
-*
-* Licensed under the Apache License, Version 2.0 (the "License");
-* you may not use this file except in compliance with the License.
-* You may obtain a copy of the License at
-*
-* http://www.apache.org/licenses/LICENSE-2.0
-*
-* Unless required by applicable law or agreed to in writing, software
-* distributed under the License is distributed on an "AS IS" BASIS,
-* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-* See the License for the specific language governing permissions and
-* limitations under the License.
-*
-*/
-
-/**
-*
-* Copyright 2012 Adobe Systems Inc.;
-*
-* Licensed under the Apache License, Version 2.0 (the "License");
-* you may not use this file except in compliance with the License.
-* You may obtain a copy of the License at
-*
-* http://www.apache.org/licenses/LICENSE-2.0
-*
-* Unless required by applicable law or agreed to in writing, software
-* distributed under the License is distributed on an "AS IS" BASIS,
-* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-* See the License for the specific language governing permissions and
-* limitations under the License.
-*
-*/
-
-.search-input,
-.topcoat-search-input,
-.topcoat-search-input--large {
- padding: 0;
- margin: 0;
- font: inherit;
- color: inherit;
- background: transparent;
- border: none;
- -moz-box-sizing: border-box;
- box-sizing: border-box;
- background-clip: padding-box;
- vertical-align: top;
- outline: none;
- -webkit-appearance: none;
-}
-
-input[type="search"]::-webkit-search-cancel-button {
- -webkit-appearance: none;
-}
-
-.search-input:disabled,
-.topcoat-search-input:disabled,
-.topcoat-search-input--large:disabled {
- opacity: 0.3;
- cursor: default;
- pointer-events: none;
-}
-
-/* topdoc
- name: Search Input
- description: A text input designed for searching.
- modifiers:
- :disabled: Disabled state
- markup:
- <input type="search" value="" placeholder="search" class="topcoat-search-input">
- <input type="search" value="" placeholder="search" class="topcoat-search-input" disabled>
- tags:
- - desktop
- - light
- - mobile
- - text
- - input
- - search
- - form
-*/
-
-.topcoat-search-input,
-.topcoat-search-input--large {
- line-height: 3rem;
- height: 3rem;
- font-size: 16px;
- border: 1px solid #333434;
- background-color: #454646;
- box-shadow: inset 0 1px 0 rgba(0,0,0,0.23);
- color: #c6c8c8;
- padding: 0 0 0 2rem;
- border-radius: 30px;
- background-image: url("../img/search.svg");
- background-position: 1rem center;
- background-repeat: no-repeat;
- background-size: 16px;
-}
-
-.topcoat-search-input:focus,
-.topcoat-search-input--large:focus {
- background-color: #595b5b;
- color: #fff;
- border: 1px solid #0036ff;
- box-shadow: inset 0 1px 0 rgba(0,0,0,0.23), 0 0 0 2px #6fb5f1;
-}
-
-.topcoat-search-input::-webkit-search-cancel-button,
-.topcoat-search-input::-webkit-search-decoration,
-.topcoat-search-input--large::-webkit-search-cancel-button,
-.topcoat-search-input--large::-webkit-search-decoration {
- margin-right: 5px;
-}
-
-.topcoat-search-input:focus::-webkit-input-placeholder,
-.topcoat-search-input:focus::-webkit-input-placeholder {
- color: #c6c8c8;
-}
-
-.topcoat-search-input:disabled::-webkit-input-placeholder {
- color: #fff;
-}
-
-.topcoat-search-input:disabled::-moz-placeholder {
- color: #fff;
-}
-
-.topcoat-search-input:disabled:-ms-input-placeholder {
- color: #fff;
-}
-
-/* topdoc
- name: Large Search Input
- description: A large text input designed for searching.
- modifiers:
- :disabled: Disabled state
- markup:
- <input type="search" value="" placeholder="search" class="topcoat-search-input--large">
- <input type="search" value="" placeholder="search" class="topcoat-search-input--large" disabled>
- tags:
- - desktop
- - light
- - mobile
- - text
- - input
- - search
- - form
- - large
-*/
-
-.topcoat-search-input--large {
- line-height: 4.375rem;
- height: 4.375rem;
- font-size: 1.3rem;
- font-weight: 400;
- padding: 0 0 0 2.9rem;
- border-radius: 40px;
- background-position: 1.2rem center;
- background-size: 1.3rem;
-}
-
-.topcoat-search-input--large:disabled {
- color: #fff;
-}
-
-.topcoat-search-input--large:disabled::-webkit-input-placeholder {
- color: #fff;
-}
-
-.topcoat-search-input--large:disabled::-moz-placeholder {
- color: #fff;
-}
-
-.topcoat-search-input--large:disabled:-ms-input-placeholder {
- color: #fff;
-}
-
-/**
-*
-* Copyright 2012 Adobe Systems Inc.;
-*
-* Licensed under the Apache License, Version 2.0 (the "License");
-* you may not use this file except in compliance with the License.
-* You may obtain a copy of the License at
-*
-* http://www.apache.org/licenses/LICENSE-2.0
-*
-* Unless required by applicable law or agreed to in writing, software
-* distributed under the License is distributed on an "AS IS" BASIS,
-* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-* See the License for the specific language governing permissions and
-* limitations under the License.
-*
-*/
-
-/**
-*
-* Copyright 2012 Adobe Systems Inc.;
-*
-* Licensed under the Apache License, Version 2.0 (the "License");
-* you may not use this file except in compliance with the License.
-* You may obtain a copy of the License at
-*
-* http://www.apache.org/licenses/LICENSE-2.0
-*
-* Unless required by applicable law or agreed to in writing, software
-* distributed under the License is distributed on an "AS IS" BASIS,
-* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-* See the License for the specific language governing permissions and
-* limitations under the License.
-*
-*/
-
-.switch {
- position: relative;
- display: inline-block;
- vertical-align: top;
- -moz-box-sizing: border-box;
- box-sizing: border-box;
- background-clip: padding-box;
-}
-
-.switch__input {
- position: absolute;
- overflow: hidden;
- padding: 0;
- border: 0;
- opacity: 0.001;
- z-index: 1;
- vertical-align: top;
- outline: none;
-}
-
-.switch__toggle {
- position: relative;
- display: inline-block;
- vertical-align: top;
- -moz-box-sizing: border-box;
- box-sizing: border-box;
- background-clip: padding-box;
- padding: 0;
- margin: 0;
- font: inherit;
- color: inherit;
- background: transparent;
- border: none;
- cursor: default;
- -webkit-user-select: none;
- -moz-user-select: none;
- -ms-user-select: none;
- user-select: none;
-}
-
-.switch__toggle:before,
-.switch__toggle:after {
- content: '';
- position: absolute;
- z-index: -1;
- -moz-box-sizing: border-box;
- box-sizing: border-box;
- background-clip: padding-box;
-}
-
-.switch--disabled {
- opacity: 0.3;
- cursor: default;
- pointer-events: none;
-}
-
-/**
-*
-* Copyright 2012 Adobe Systems Inc.;
-*
-* Licensed under the Apache License, Version 2.0 (the "License");
-* you may not use this file except in compliance with the License.
-* You may obtain a copy of the License at
-*
-* http://www.apache.org/licenses/LICENSE-2.0
-*
-* Unless required by applicable law or agreed to in writing, software
-* distributed under the License is distributed on an "AS IS" BASIS,
-* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-* See the License for the specific language governing permissions and
-* limitations under the License.
-*
-*/
-
-/**
-*
-* Copyright 2012 Adobe Systems Inc.;
-*
-* Licensed under the Apache License, Version 2.0 (the "License");
-* you may not use this file except in compliance with the License.
-* You may obtain a copy of the License at
-*
-* http://www.apache.org/licenses/LICENSE-2.0
-*
-* Unless required by applicable law or agreed to in writing, software
-* distributed under the License is distributed on an "AS IS" BASIS,
-* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-* See the License for the specific language governing permissions and
-* limitations under the License.
-*
-*/
-
-.switch,
-.topcoat-switch {
- position: relative;
- display: inline-block;
- vertical-align: top;
- -moz-box-sizing: border-box;
- box-sizing: border-box;
- background-clip: padding-box;
-}
-
-.switch__input,
-.topcoat-switch__input {
- position: absolute;
- overflow: hidden;
- padding: 0;
- border: 0;
- opacity: 0.001;
- z-index: 1;
- vertical-align: top;
- outline: none;
-}
-
-.switch__toggle,
-.topcoat-switch__toggle {
- position: relative;
- display: inline-block;
- vertical-align: top;
- -moz-box-sizing: border-box;
- box-sizing: border-box;
- background-clip: padding-box;
- padding: 0;
- margin: 0;
- font: inherit;
- color: inherit;
- background: transparent;
- border: none;
- cursor: default;
- -webkit-user-select: none;
- -moz-user-select: none;
- -ms-user-select: none;
- user-select: none;
-}
-
-.switch__toggle:before,
-.switch__toggle:after,
-.topcoat-switch__toggle:before,
-.topcoat-switch__toggle:after {
- content: '';
- position: absolute;
- z-index: -1;
- -moz-box-sizing: border-box;
- box-sizing: border-box;
- background-clip: padding-box;
-}
-
-.switch--disabled,
-.topcoat-switch__input:disabled + .topcoat-switch__toggle {
- opacity: 0.3;
- cursor: default;
- pointer-events: none;
-}
-
-/* topdoc
- name: Switch
- description: Default skin for Topcoat switch
- modifiers:
- :focus: Focus state
- :disabled: Disabled state
- markup:
- <label class="topcoat-switch">
- <input type="checkbox" class="topcoat-switch__input">
- <div class="topcoat-switch__toggle"></div>
- </label>
- <br>
- <br>
- <label class="topcoat-switch">
- <input type="checkbox" class="topcoat-switch__input" checked>
- <div class="topcoat-switch__toggle"></div>
- </label>
- <br>
- <br>
- <label class="topcoat-switch">
- <input type="checkbox" class="topcoat-switch__input" disabled>
- <div class="topcoat-switch__toggle"></div>
- </label>
- examples:
- mobile switch: http://codepen.io/Topcoat/pen/upxds
- tags:
- - desktop
- - light
- - mobile
- - switch
-*/
-
-.topcoat-switch {
- font-size: 16px;
- padding: 0 1.25rem;
- border-radius: 6px;
- border: 1px solid #333434;
- overflow: hidden;
- width: 6rem;
-}
-
-.topcoat-switch__toggle:before,
-.topcoat-switch__toggle:after {
- top: -1px;
- width: 5rem;
-}
-
-.topcoat-switch__toggle:before {
- content: 'ON';
- color: #288edf;
- background-color: #3f4041;
- right: 1rem;
- padding-left: 1.5rem;
-}
-
-.topcoat-switch__toggle {
- line-height: 3rem;
- height: 3rem;
- width: 2rem;
- border-radius: 6px;
- color: #c6c8c8;
- text-shadow: 0 -1px rgba(0,0,0,0.69);
- background-color: #595b5b;
- border: 1px solid #333434;
- margin-left: -1.3rem;
- margin-bottom: -1px;
- margin-top: -1px;
- box-shadow: inset 0 1px #737373;
- -webkit-transition: margin-left 0.05s ease-in-out;
- transition: margin-left 0.05s ease-in-out;
-}
-
-.topcoat-switch__toggle:after {
- content: 'OFF';
- background-color: #3f4041;
- left: 1rem;
- padding-left: 2rem;
-}
-
-.topcoat-switch__input:checked + .topcoat-switch__toggle {
- margin-left: 2.7rem;
-}
-
-.topcoat-switch__input:active + .topcoat-switch__toggle {
- border: 1px solid #333434;
- box-shadow: inset 0 1px #737373;
-}
-
-.topcoat-switch__input:focus + .topcoat-switch__toggle {
- border: 1px solid #0036ff;
- box-shadow: 0 0 0 2px #6fb5f1;
-}
-
-.topcoat-switch__input:disabled + .topcoat-switch__toggle:after,
-.topcoat-switch__input:disabled + .topcoat-switch__toggle:before {
- background: transparent;
-}
-
-/**
-*
-* Copyright 2012 Adobe Systems Inc.;
-*
-* Licensed under the Apache License, Version 2.0 (the "License");
-* you may not use this file except in compliance with the License.
-* You may obtain a copy of the License at
-*
-* http://www.apache.org/licenses/LICENSE-2.0
-*
-* Unless required by applicable law or agreed to in writing, software
-* distributed under the License is distributed on an "AS IS" BASIS,
-* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-* See the License for the specific language governing permissions and
-* limitations under the License.
-*
-*/
-
-/**
-*
-* Copyright 2012 Adobe Systems Inc.;
-*
-* Licensed under the Apache License, Version 2.0 (the "License");
-* you may not use this file except in compliance with the License.
-* You may obtain a copy of the License at
-*
-* http://www.apache.org/licenses/LICENSE-2.0
-*
-* Unless required by applicable law or agreed to in writing, software
-* distributed under the License is distributed on an "AS IS" BASIS,
-* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-* See the License for the specific language governing permissions and
-* limitations under the License.
-*
-*/
-
-.button,
-.topcoat-tab-bar__button {
- position: relative;
- display: inline-block;
- vertical-align: top;
- -moz-box-sizing: border-box;
- box-sizing: border-box;
- background-clip: padding-box;
- padding: 0;
- margin: 0;
- font: inherit;
- color: inherit;
- background: transparent;
- border: none;
- cursor: default;
- -webkit-user-select: none;
- -moz-user-select: none;
- -ms-user-select: none;
- user-select: none;
- text-overflow: ellipsis;
- white-space: nowrap;
- overflow: hidden;
- text-decoration: none;
-}
-
-.button--quiet {
- background: transparent;
- border: 1px solid transparent;
- box-shadow: none;
-}
-
-.button--disabled,
-.topcoat-tab-bar__button:disabled {
- opacity: 0.3;
- cursor: default;
- pointer-events: none;
-}
-
-.button-bar,
-.topcoat-tab-bar {
- display: table;
- table-layout: fixed;
- white-space: nowrap;
- margin: 0;
- padding: 0;
-}
-
-.button-bar__item,
-.topcoat-tab-bar__item {
- display: table-cell;
- width: auto;
- border-radius: 0;
-}
-
-.button-bar__item > input,
-.topcoat-tab-bar__item > input {
- position: absolute;
- overflow: hidden;
- padding: 0;
- border: 0;
- opacity: 0.001;
- z-index: 1;
- vertical-align: top;
- outline: none;
-}
-
-.button-bar__button {
- border-radius: inherit;
-}
-
-.button-bar__item:disabled {
- opacity: 0.3;
- cursor: default;
- pointer-events: none;
-}
-
-/* topdoc
- name: Tab Bar
- description: Component of tab buttons
- modifiers:
- :disabled: Disabled state
- markup:
- <div class="topcoat-tab-bar">
- <label class="topcoat-tab-bar__item">
- <input type="radio" name="tab-bar">
- <button class="topcoat-tab-bar__button">One</button>
- </label>
- <label class="topcoat-tab-bar__item">
- <input type="radio" name="tab-bar">
- <button class="topcoat-tab-bar__button">Two</button>
- </label>
- <label class="topcoat-tab-bar__item">
- <input type="radio" name="tab-bar">
- <button class="topcoat-tab-bar__button">Three</button>
- </label>
- </div>
- examples:
- mobile tab bar: http://codepen.io/Topcoat/pen/rJICF
- tags:
- - desktop
- - light
- - dark
- - mobile
- - tab
- - group
- - bar
-*/
-
-.topcoat-tab-bar__button {
- padding: 0 1.25rem;
- height: 3rem;
- line-height: 3rem;
- letter-spacing: 1px;
- color: #c6c8c8;
- text-shadow: 0 -1px rgba(0,0,0,0.69);
- vertical-align: top;
- background-color: #595b5b;
- box-shadow: inset 0 1px #737373;
- border-top: 1px solid #333434;
-}
-
-.topcoat-tab-bar__button:active,
-.topcoat-tab-bar__button--large:active,
-:checked + .topcoat-tab-bar__button {
- color: #288edf;
- background-color: #3f4041;
- box-shadow: inset 0 0 1px rgba(0,0,0,0.05);
-}
-
-.topcoat-tab-bar__button:focus,
-.topcoat-tab-bar__button--large:focus {
- z-index: 1;
- box-shadow: inset 0 1px rgba(255,255,255,0.36), 0 0 0 2px #6fb5f1;
- outline: 0;
-}
-
-/**
-*
-* Copyright 2012 Adobe Systems Inc.;
-*
-* Licensed under the Apache License, Version 2.0 (the "License");
-* you may not use this file except in compliance with the License.
-* You may obtain a copy of the License at
-*
-* http://www.apache.org/licenses/LICENSE-2.0
-*
-* Unless required by applicable law or agreed to in writing, software
-* distributed under the License is distributed on an "AS IS" BASIS,
-* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-* See the License for the specific language governing permissions and
-* limitations under the License.
-*
-*/
-
-/**
-*
-* Copyright 2012 Adobe Systems Inc.;
-*
-* Licensed under the Apache License, Version 2.0 (the "License");
-* you may not use this file except in compliance with the License.
-* You may obtain a copy of the License at
-*
-* http://www.apache.org/licenses/LICENSE-2.0
-*
-* Unless required by applicable law or agreed to in writing, software
-* distributed under the License is distributed on an "AS IS" BASIS,
-* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-* See the License for the specific language governing permissions and
-* limitations under the License.
-*
-*/
-
-.input,
-.topcoat-text-input,
-.topcoat-text-input--large {
- padding: 0;
- margin: 0;
- font: inherit;
- color: inherit;
- background: transparent;
- border: none;
- -moz-box-sizing: border-box;
- box-sizing: border-box;
- background-clip: padding-box;
- vertical-align: top;
- outline: none;
-}
-
-.input:disabled,
-.topcoat-text-input:disabled,
-.topcoat-text-input--large:disabled {
- opacity: 0.3;
- cursor: default;
- pointer-events: none;
-}
-
-/* topdoc
- name: Text input
- description: Topdoc text input
- modifiers:
- :disabled: Disabled state
- :focus: Focused
- :invalid: Hover state
- markup:
- <input type="text" class="topcoat-text-input" placeholder="text" value="">
- <br>
- <br>
- <input type="text" class="topcoat-text-input" placeholder="text" value="" disabled>
- <br>
- <br>
- <input type="text" class="topcoat-text-input" placeholder="text" value="fail" pattern="not-fail">
- tags:
- - desktop
- - mobile
- - text
- - input
-*/
-
-.topcoat-text-input,
-.topcoat-text-input--large {
- line-height: 3rem;
- font-size: 16px;
- letter-spacing: 1px;
- padding: 0 1.25rem;
- border: 1px solid #333434;
- border-radius: 6px;
- background-color: #454646;
- box-shadow: inset 0 1px rgba(0,0,0,0.05);
- color: #c6c8c8;
- vertical-align: top;
-}
-
-.topcoat-text-input:focus,
-.topcoat-text-input--large:focus {
- background-color: #595b5b;
- color: #fff;
- border: 1px solid #0036ff;
- box-shadow: 0 0 0 2px #6fb5f1;
-}
-
-.topcoat-text-input:disabled::-webkit-input-placeholder {
- color: #fff;
-}
-
-.topcoat-text-input:disabled::-moz-placeholder {
- color: #fff;
-}
-
-.topcoat-text-input:disabled:-ms-input-placeholder {
- color: #fff;
-}
-
-.topcoat-text-input:invalid {
- border: 1px solid #ec514e;
-}
-
-/* topdoc
- name: Large Text Input
- description: A bigger input, still for text.
- modifiers:
- :disabled: Disabled state
- :focus: Focused
- :invalid: Hover state
- markup:
- <input type="text" class="topcoat-text-input--large" value="" placeholder="text">
- <br>
- <br>
- <input type="text" class="topcoat-text-input--large" value="" placeholder="text" disabled>
- <br>
- <br>
- <input type="text" class="topcoat-text-input--large" placeholder="text" value="fail" pattern="not-fail">
- tags:
- - desktop
- - light
- - mobile
- - form
- - input
- - large
-*/
-
-.topcoat-text-input--large {
- line-height: 4.375rem;
- font-size: 1.3rem;
-}
-
-.topcoat-text-input--large:disabled {
- color: #fff;
-}
-
-.topcoat-text-input--large:disabled::-webkit-input-placeholder {
- color: #fff;
-}
-
-.topcoat-text-input--large:disabled::-moz-placeholder {
- color: #fff;
-}
-
-.topcoat-text-input--large:disabled:-ms-input-placeholder {
- color: #fff;
-}
-
-.topcoat-text-input--large:invalid {
- border: 1px solid #ec514e;
-}
-
-/**
-*
-* Copyright 2012 Adobe Systems Inc.;
-*
-* Licensed under the Apache License, Version 2.0 (the "License");
-* you may not use this file except in compliance with the License.
-* You may obtain a copy of the License at
-*
-* http://www.apache.org/licenses/LICENSE-2.0
-*
-* Unless required by applicable law or agreed to in writing, software
-* distributed under the License is distributed on an "AS IS" BASIS,
-* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-* See the License for the specific language governing permissions and
-* limitations under the License.
-*
-*/
-
-/**
-*
-* Copyright 2012 Adobe Systems Inc.;
-*
-* Licensed under the Apache License, Version 2.0 (the "License");
-* you may not use this file except in compliance with the License.
-* You may obtain a copy of the License at
-*
-* http://www.apache.org/licenses/LICENSE-2.0
-*
-* Unless required by applicable law or agreed to in writing, software
-* distributed under the License is distributed on an "AS IS" BASIS,
-* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-* See the License for the specific language governing permissions and
-* limitations under the License.
-*
-*/
-
-.textarea {
- -moz-box-sizing: border-box;
- box-sizing: border-box;
- background-clip: padding-box;
- padding: 0;
- margin: 0;
- font: inherit;
- color: inherit;
- background: transparent;
- border: none;
- vertical-align: top;
- resize: none;
- outline: none;
-}
-
-.textarea:disabled {
- opacity: 0.3;
- cursor: default;
- pointer-events: none;
-}
-
-/**
-*
-* Copyright 2012 Adobe Systems Inc.;
-*
-* Licensed under the Apache License, Version 2.0 (the "License");
-* you may not use this file except in compliance with the License.
-* You may obtain a copy of the License at
-*
-* http://www.apache.org/licenses/LICENSE-2.0
-*
-* Unless required by applicable law or agreed to in writing, software
-* distributed under the License is distributed on an "AS IS" BASIS,
-* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-* See the License for the specific language governing permissions and
-* limitations under the License.
-*
-*/
-
-/**
-*
-* Copyright 2012 Adobe Systems Inc.;
-*
-* Licensed under the Apache License, Version 2.0 (the "License");
-* you may not use this file except in compliance with the License.
-* You may obtain a copy of the License at
-*
-* http://www.apache.org/licenses/LICENSE-2.0
-*
-* Unless required by applicable law or agreed to in writing, software
-* distributed under the License is distributed on an "AS IS" BASIS,
-* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-* See the License for the specific language governing permissions and
-* limitations under the License.
-*
-*/
-
-.textarea,
-.topcoat-textarea,
-.topcoat-textarea--large {
- -moz-box-sizing: border-box;
- box-sizing: border-box;
- background-clip: padding-box;
- padding: 0;
- margin: 0;
- font: inherit;
- color: inherit;
- background: transparent;
- border: none;
- vertical-align: top;
- resize: none;
- outline: none;
-}
-
-.textarea:disabled,
-.topcoat-textarea:disabled,
-.topcoat-textarea--large:disabled {
- opacity: 0.3;
- cursor: default;
- pointer-events: none;
-}
-
-/* topdoc
- name: Textarea
- description: A whole area, just for text.
- modifiers:
- :disabled: Disabled state
- markup:
- <textarea class="topcoat-textarea" rows="6" cols="36" placeholder="Textarea"></textarea>
- <br>
- <br>
- <textarea class="topcoat-textarea" rows="6" cols="36" placeholder="Textarea" disabled></textarea>
- tags:
- - desktop
- - light
- - mobile
- - form
- - input
- - textarea
-*/
-
-.topcoat-textarea,
-.topcoat-textarea--large {
- padding: 2rem;
- font-size: 2.5rem;
- font-weight: 400;
- border-radius: 6px;
- line-height: 3rem;
- border: 1px solid #333434;
- background-color: #454646;
- box-shadow: inset 0 1px rgba(0,0,0,0.05);
- color: #c6c8c8;
- letter-spacing: 1px;
-}
-
-.topcoat-textarea:focus,
-.topcoat-textarea--large:focus {
- background-color: #595b5b;
- color: #fff;
- border: 1px solid #0036ff;
- box-shadow: 0 0 0 2px #6fb5f1;
-}
-
-.topcoat-textarea:disabled::-webkit-input-placeholder {
- color: #fff;
-}
-
-.topcoat-textarea:disabled::-moz-placeholder {
- color: #fff;
-}
-
-.topcoat-textarea:disabled:-ms-input-placeholder {
- color: #fff;
-}
-
-/* topdoc
- name: Large Textarea
- description: A whole area, just for text; now available in large.
- modifiers:
- :disabled: Disabled state
- markup:
- <textarea class="topcoat-textarea--large" rows="6" cols="36" placeholder="Textarea"></textarea>
- <br>
- <br>
- <textarea class="topcoat-textarea--large" rows="6" cols="36" placeholder="Textarea" disabled></textarea>
- tags:
- - desktop
- - light
- - mobile
- - form
- - input
- - textarea
-*/
-
-.topcoat-textarea--large {
- font-size: 3rem;
- line-height: 4.375rem;
-}
-
-.topcoat-textarea--large:disabled {
- color: #fff;
-}
-
-.topcoat-textarea--large:disabled::-webkit-input-placeholder {
- color: #fff;
-}
-
-.topcoat-textarea--large:disabled::-moz-placeholder {
- color: #fff;
-}
-
-.topcoat-textarea--large:disabled:-ms-input-placeholder {
- color: #fff;
-}
-
-@font-face {
- font-family: "Source Sans";
- src: url("../font/SourceSansPro-Regular.otf");
-}
-
-@font-face {
- font-family: "Source Sans";
- src: url("../font/SourceSansPro-Light.otf");
- font-weight: 200;
-}
-
-@font-face {
- font-family: "Source Sans";
- src: url("../font/SourceSansPro-Semibold.otf");
- font-weight: 600;
-}
-
-body {
- margin: 0;
- padding: 0;
- background: #4b4d4e;
- color: #000;
- font: 16px "Source Sans", helvetica, arial, sans-serif;
- font-weight: 400;
-}
-
-:focus {
- outline-color: transparent;
- outline-style: none;
-}
-
-.topcoat-icon--menu-stack {
- background: url("../img/hamburger_l
<TRUNCATED>
[3/5] Cleaning up the repo
Posted by st...@apache.org.
http://git-wip-us.apache.org/repos/asf/cordova-registry-web/blob/3243029e/attachments/css/topcoat-mobile-dark.min.css
----------------------------------------------------------------------
diff --git a/attachments/css/topcoat-mobile-dark.min.css b/attachments/css/topcoat-mobile-dark.min.css
deleted file mode 100755
index a72f464..0000000
--- a/attachments/css/topcoat-mobile-dark.min.css
+++ /dev/null
@@ -1 +0,0 @@
-.button-bar{display:table;table-layout:fixed;white-space:nowrap;margin:0;padding:0}.button-bar__item{display:table-cell;width:auto;border-radius:0}.button-bar__item>input{position:absolute;overflow:hidden;padding:0;border:0;opacity:.001;z-index:1;vertical-align:top;outline:0}.button-bar__button{border-radius:inherit}.button-bar__item:disabled{opacity:.3;cursor:default;pointer-events:none}.button,.topcoat-button,.topcoat-button--quiet,.topcoat-button--large,.topcoat-button--large--quiet,.topcoat-button--cta,.topcoat-button--large--cta,.topcoat-button-bar__button,.topcoat-button-bar__button--large{position:relative;display:inline-block;vertical-align:top;-moz-box-sizing:border-box;box-sizing:border-box;background-clip:padding-box;padding:0;margin:0;font:inherit;color:inherit;background:transparent;border:0;cursor:default;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;text-overflow:ellipsis;white-space:nowrap;overflow:hidden;text-decoration:none}.b
utton--quiet{background:transparent;border:1px solid transparent;box-shadow:none}.button--disabled,.topcoat-button:disabled,.topcoat-button--quiet:disabled,.topcoat-button--large:disabled,.topcoat-button--large--quiet:disabled,.topcoat-button--cta:disabled,.topcoat-button--large--cta:disabled,.topcoat-button-bar__button:disabled,.topcoat-button-bar__button--large:disabled{opacity:.3;cursor:default;pointer-events:none}.topcoat-button,.topcoat-button--quiet,.topcoat-button--large,.topcoat-button--large--quiet,.topcoat-button--cta,.topcoat-button--large--cta,.topcoat-button-bar__button,.topcoat-button-bar__button--large{padding:0 1.25rem;font-size:16px;line-height:3rem;letter-spacing:1px;color:#c6c8c8;text-shadow:0 -1px rgba(0,0,0,.69);vertical-align:top;background-color:#595b5b;box-shadow:inset 0 1px #737373;border:1px solid #333434;border-radius:6px}.topcoat-button:hover,.topcoat-button--quiet:hover,.topcoat-button--large:hover,.topcoat-button--large--quiet:hover,.topcoat-button-bar_
_button:hover,.topcoat-button-bar__button--large:hover{background-color:#626465}.topcoat-button:focus,.topcoat-button--quiet:focus,.topcoat-button--quiet:hover:focus,.topcoat-button--large:focus,.topcoat-button--large--quiet:focus,.topcoat-button--large--quiet:hover:focus,.topcoat-button--cta:focus,.topcoat-button--large--cta:focus,.topcoat-button-bar__button:focus,.topcoat-button-bar__button--large:focus{border:1px solid #0036ff;box-shadow:inset 0 1px rgba(255,255,255,.36),0 0 0 2px #6fb5f1;outline:0}.topcoat-button:active,.topcoat-button--large:active,.topcoat-button-bar__button:active,.topcoat-button-bar__button--large:active,:checked+.topcoat-button-bar__button{border:1px solid #333434;background-color:#3f4041;box-shadow:inset 0 1px rgba(0,0,0,.05)}.topcoat-button--quiet{background:transparent;border:1px solid transparent;box-shadow:none}.topcoat-button--quiet:hover,.topcoat-button--large--quiet:hover{text-shadow:0 -1px rgba(0,0,0,.69);border:1px solid #333434;box-shadow:inset 0
1px #737373}.topcoat-button--quiet:active,.topcoat-button--quiet:focus:active,.topcoat-button--large--quiet:active,.topcoat-button--large--quiet:focus:active{color:#c6c8c8;text-shadow:0 -1px rgba(0,0,0,.69);background-color:#3f4041;border:1px solid #333434;box-shadow:inset 0 1px rgba(0,0,0,.05)}.topcoat-button--large,.topcoat-button--large--quiet,.topcoat-button-bar__button--large{font-size:1.3rem;font-weight:400;line-height:4.375rem;padding:0 1.25rem}.topcoat-button--large--quiet{background:transparent;border:1px solid transparent;box-shadow:none}.topcoat-button--cta,.topcoat-button--large--cta{border:1px solid #134f7f;background-color:#288edf;box-shadow:inset 0 1px rgba(255,255,255,.36);color:#fff;font-weight:500;text-shadow:0 -1px rgba(0,0,0,.36)}.topcoat-button--cta:hover,.topcoat-button--large--cta:hover{background-color:#4ca1e4}.topcoat-button--cta:active,.topcoat-button--large--cta:active{background-color:#1e7dc8;box-shadow:inset 0 1px rgba(0,0,0,.12)}.topcoat-button--large-
-cta{font-size:1.3rem;font-weight:400;line-height:4.375rem;padding:0 1.25rem}.button-bar,.topcoat-button-bar{display:table;table-layout:fixed;white-space:nowrap;margin:0;padding:0}.button-bar__item,.topcoat-button-bar__item{display:table-cell;width:auto;border-radius:0}.button-bar__item>input,.topcoat-button-bar__item>input{position:absolute;overflow:hidden;padding:0;border:0;opacity:.001;z-index:1;vertical-align:top;outline:0}.button-bar__button{border-radius:inherit}.button-bar__item:disabled{opacity:.3;cursor:default;pointer-events:none}.topcoat-button-bar>.topcoat-button-bar__item:first-child{border-top-left-radius:6px;border-bottom-left-radius:6px}.topcoat-button-bar>.topcoat-button-bar__item:last-child{border-top-right-radius:6px;border-bottom-right-radius:6px}.topcoat-button-bar__item:first-child>.topcoat-button-bar__button,.topcoat-button-bar__item:first-child>.topcoat-button-bar__button--large{border-right:0}.topcoat-button-bar__item:last-child>.topcoat-button-bar__button,.
topcoat-button-bar__item:last-child>.topcoat-button-bar__button--large{border-left:0}.topcoat-button-bar__button{border-radius:inherit}.topcoat-button-bar__button:focus,.topcoat-button-bar__button--large:focus{z-index:1}.topcoat-button-bar__button--large{border-radius:inherit}.button{position:relative;display:inline-block;vertical-align:top;-moz-box-sizing:border-box;box-sizing:border-box;background-clip:padding-box;padding:0;margin:0;font:inherit;color:inherit;background:transparent;border:0;cursor:default;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;text-overflow:ellipsis;white-space:nowrap;overflow:hidden;text-decoration:none}.button--quiet{background:transparent;border:1px solid transparent;box-shadow:none}.button--disabled{opacity:.3;cursor:default;pointer-events:none}.button,.topcoat-button,.topcoat-button--quiet,.topcoat-button--large,.topcoat-button--large--quiet,.topcoat-button--cta,.topcoat-button--large--cta{position:relative;displa
y:inline-block;vertical-align:top;-moz-box-sizing:border-box;box-sizing:border-box;background-clip:padding-box;padding:0;margin:0;font:inherit;color:inherit;background:transparent;border:0;cursor:default;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;text-overflow:ellipsis;white-space:nowrap;overflow:hidden;text-decoration:none}.button--quiet{background:transparent;border:1px solid transparent;box-shadow:none}.button--disabled,.topcoat-button:disabled,.topcoat-button--quiet:disabled,.topcoat-button--large:disabled,.topcoat-button--large--quiet:disabled,.topcoat-button--cta:disabled,.topcoat-button--large--cta:disabled{opacity:.3;cursor:default;pointer-events:none}.topcoat-button,.topcoat-button--quiet,.topcoat-button--large,.topcoat-button--large--quiet,.topcoat-button--cta,.topcoat-button--large--cta{padding:0 1.25rem;font-size:16px;line-height:3rem;letter-spacing:1px;color:#c6c8c8;text-shadow:0 -1px rgba(0,0,0,.69);vertical-align:top;backgroun
d-color:#595b5b;box-shadow:inset 0 1px #737373;border:1px solid #333434;border-radius:6px}.topcoat-button:hover,.topcoat-button--quiet:hover,.topcoat-button--large:hover,.topcoat-button--large--quiet:hover{background-color:#626465}.topcoat-button:focus,.topcoat-button--quiet:focus,.topcoat-button--quiet:hover:focus,.topcoat-button--large:focus,.topcoat-button--large--quiet:focus,.topcoat-button--large--quiet:hover:focus,.topcoat-button--cta:focus,.topcoat-button--large--cta:focus{border:1px solid #0036ff;box-shadow:inset 0 1px rgba(255,255,255,.36),0 0 0 2px #6fb5f1;outline:0}.topcoat-button:active,.topcoat-button--large:active{border:1px solid #333434;background-color:#3f4041;box-shadow:inset 0 1px rgba(0,0,0,.05)}.topcoat-button--quiet{background:transparent;border:1px solid transparent;box-shadow:none}.topcoat-button--quiet:hover,.topcoat-button--large--quiet:hover{text-shadow:0 -1px rgba(0,0,0,.69);border:1px solid #333434;box-shadow:inset 0 1px #737373}.topcoat-button--quiet:ac
tive,.topcoat-button--quiet:focus:active,.topcoat-button--large--quiet:active,.topcoat-button--large--quiet:focus:active{color:#c6c8c8;text-shadow:0 -1px rgba(0,0,0,.69);background-color:#3f4041;border:1px solid #333434;box-shadow:inset 0 1px rgba(0,0,0,.05)}.topcoat-button--large,.topcoat-button--large--quiet{font-size:1.3rem;font-weight:400;line-height:4.375rem;padding:0 1.25rem}.topcoat-button--large--quiet{background:transparent;border:1px solid transparent;box-shadow:none}.topcoat-button--cta,.topcoat-button--large--cta{border:1px solid #134f7f;background-color:#288edf;box-shadow:inset 0 1px rgba(255,255,255,.36);color:#fff;font-weight:500;text-shadow:0 -1px rgba(0,0,0,.36)}.topcoat-button--cta:hover,.topcoat-button--large--cta:hover{background-color:#4ca1e4}.topcoat-button--cta:active,.topcoat-button--large--cta:active{background-color:#1e7dc8;box-shadow:inset 0 1px rgba(0,0,0,.12)}.topcoat-button--large--cta{font-size:1.3rem;font-weight:400;line-height:4.375rem;padding:0 1.25
rem}input[type=checkbox]{position:absolute;overflow:hidden;padding:0;border:0;opacity:.001;z-index:1;vertical-align:top;outline:0}.checkbox{-moz-box-sizing:border-box;box-sizing:border-box;background-clip:padding-box;position:relative;display:inline-block;vertical-align:top;cursor:default;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.checkbox__label{position:relative;display:inline-block;vertical-align:top;cursor:default;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.checkbox--disabled{opacity:.3;cursor:default;pointer-events:none}.checkbox:before,.checkbox:after{content:'';position:absolute}.checkbox:before{-moz-box-sizing:border-box;box-sizing:border-box;background-clip:padding-box}input[type=checkbox]{position:absolute;overflow:hidden;padding:0;border:0;opacity:.001;z-index:1;vertical-align:top;outline:0}.checkbox,.topcoat-checkbox__checkmark{-moz-box-sizing:border-box;box-sizing:border-box;background-
clip:padding-box;position:relative;display:inline-block;vertical-align:top;cursor:default;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.checkbox__label,.topcoat-checkbox{position:relative;display:inline-block;vertical-align:top;cursor:default;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.checkbox--disabled,input[type=checkbox]:disabled+.topcoat-checkbox__checkmark{opacity:.3;cursor:default;pointer-events:none}.checkbox:before,.checkbox:after,.topcoat-checkbox__checkmark:before,.topcoat-checkbox__checkmark:after{content:'';position:absolute}.checkbox:before,.topcoat-checkbox__checkmark:before{-moz-box-sizing:border-box;box-sizing:border-box;background-clip:padding-box}.topcoat-checkbox__checkmark{height:2rem}input[type=checkbox]{height:2rem;width:2rem;margin-top:0;margin-right:-2rem;margin-bottom:-2rem;margin-left:0}input[type=checkbox]:checked+.topcoat-checkbox__checkmark:after{opacity:1}.topcoat-checkbo
x{line-height:2rem}.topcoat-checkbox__checkmark:before{width:2rem;height:2rem;background:#595b5b;border:1px solid #333434;border-radius:3px;box-shadow:inset 0 1px #737373}.topcoat-checkbox__checkmark{width:2rem;height:2rem}.topcoat-checkbox__checkmark:after{top:1px;left:2px;opacity:0;width:28px;height:11px;background:transparent;border:7px solid #c6c8c8;border-width:7px;border-top:0;border-right:0;border-radius:2px;-webkit-transform:rotate(-50deg);-ms-transform:rotate(-50deg);transform:rotate(-50deg)}input[type=checkbox]:focus+.topcoat-checkbox__checkmark:before{border:1px solid #0036ff;box-shadow:inset 0 1px rgba(255,255,255,.36),0 0 0 2px #6fb5f1}input[type=checkbox]:active+.topcoat-checkbox__checkmark:before{border:1px solid #333434;background-color:#3f4041;box-shadow:inset 0 1px rgba(0,0,0,.05)}input[type=checkbox]:disabled:active+.topcoat-checkbox__checkmark:before{border:1px solid #333434;background:#595b5b;box-shadow:inset 0 1px #737373}.button,.topcoat-icon-button,.topcoat-i
con-button--quiet,.topcoat-icon-button--large,.topcoat-icon-button--large--quiet{position:relative;display:inline-block;vertical-align:top;-moz-box-sizing:border-box;box-sizing:border-box;background-clip:padding-box;padding:0;margin:0;font:inherit;color:inherit;background:transparent;border:0;cursor:default;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;text-overflow:ellipsis;white-space:nowrap;overflow:hidden;text-decoration:none}.button--quiet{background:transparent;border:1px solid transparent;box-shadow:none}.button--disabled,.topcoat-icon-button:disabled,.topcoat-icon-button--quiet:disabled,.topcoat-icon-button--large:disabled,.topcoat-icon-button--large--quiet:disabled{opacity:.3;cursor:default;pointer-events:none}.topcoat-icon-button,.topcoat-icon-button--quiet,.topcoat-icon-button--large,.topcoat-icon-button--large--quiet{padding:0 .75rem;line-height:3rem;letter-spacing:1px;color:#c6c8c8;text-shadow:0 -1px rgba(0,0,0,.69);vertical-align:
baseline;background-color:#595b5b;box-shadow:inset 0 1px #737373;border:1px solid #333434;border-radius:6px}.topcoat-icon-button:hover,.topcoat-icon-button--quiet:hover,.topcoat-icon-button--large:hover,.topcoat-icon-button--large--quiet:hover{background-color:#626465}.topcoat-icon-button:focus,.topcoat-icon-button--quiet:focus,.topcoat-icon-button--quiet:hover:focus,.topcoat-icon-button--large:focus,.topcoat-icon-button--large--quiet:focus,.topcoat-icon-button--large--quiet:hover:focus{border:1px solid #0036ff;box-shadow:inset 0 1px rgba(255,255,255,.36),0 0 0 2px #6fb5f1;outline:0}.topcoat-icon-button:active,.topcoat-icon-button--large:active{border:1px solid #333434;background-color:#3f4041;box-shadow:inset 0 1px rgba(0,0,0,.05)}.topcoat-icon-button--quiet{background:transparent;border:1px solid transparent;box-shadow:none}.topcoat-icon-button--quiet:hover,.topcoat-icon-button--large--quiet:hover{text-shadow:0 -1px rgba(0,0,0,.69);border:1px solid #333434;box-shadow:inset 0 1px #
737373}.topcoat-icon-button--quiet:active,.topcoat-icon-button--quiet:focus:active,.topcoat-icon-button--large--quiet:active,.topcoat-icon-button--large--quiet:focus:active{color:#c6c8c8;text-shadow:0 -1px rgba(0,0,0,.69);background-color:#3f4041;border:1px solid #333434;box-shadow:inset 0 1px rgba(0,0,0,.05)}.topcoat-icon-button--large,.topcoat-icon-button--large--quiet{width:4.375rem;height:4.375rem;line-height:4.375rem}.topcoat-icon-button--large--quiet{background:transparent;border:1px solid transparent;box-shadow:none}.topcoat-icon,.topcoat-icon--large{position:relative;display:inline-block;vertical-align:top;overflow:hidden;width:1.62rem;height:1.62rem;vertical-align:middle;top:-1px}.topcoat-icon--large{width:2.499999998125rem;height:2.499999998125rem;top:-2px}.input{padding:0;margin:0;font:inherit;color:inherit;background:transparent;border:0;-moz-box-sizing:border-box;box-sizing:border-box;background-clip:padding-box;vertical-align:top;outline:0}.input:disabled{opacity:.3;cu
rsor:default;pointer-events:none}.list{padding:0;margin:0;font:inherit;color:inherit;background:transparent;border:0;cursor:default;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;overflow:auto;-webkit-overflow-scrolling:touch}.list__header{margin:0}.list__container{padding:0;margin:0;list-style-type:none}.list__item{margin:0;padding:0}.list,.topcoat-list{padding:0;margin:0;font:inherit;color:inherit;background:transparent;border:0;cursor:default;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;overflow:auto;-webkit-overflow-scrolling:touch}.list__header,.topcoat-list__header{margin:0}.list__container,.topcoat-list__container{padding:0;margin:0;list-style-type:none}.list__item,.topcoat-list__item{margin:0;padding:0}.topcoat-list{border-top:1px solid #333434;border-bottom:1px solid #616363;background-color:#454646}.topcoat-list__header{padding:4px 20px;font-size:.9em;font-weight:400;background-color:#3f4041;colo
r:#c6c8c8;text-shadow:0 1px 0 rgba(255,255,255,.1);border-top:1px solid rgba(255,255,255,.1);border-bottom:1px solid rgba(255,255,255,.05)}.topcoat-list__container{border-top:1px solid #333434;color:#c6c8c8}.topcoat-list__item{padding:1.25rem;border-top:1px solid #616363;border-bottom:1px solid #333434}.topcoat-list__item:first-child{border-top:1px solid rgba(0,0,0,.05)}.navigation-bar{-moz-box-sizing:border-box;box-sizing:border-box;background-clip:padding-box;white-space:nowrap;overflow:hidden;word-spacing:0;padding:0;margin:0;font:inherit;color:inherit;background:transparent;border:0;cursor:default;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.navigation-bar__item{-moz-box-sizing:border-box;box-sizing:border-box;background-clip:padding-box;position:relative;display:inline-block;vertical-align:top;padding:0;margin:0;font:inherit;color:inherit;background:transparent;border:0}.navigation-bar__title{padding:0;margin:0;font:inherit;color:inherit
;background:transparent;border:0;text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.navigation-bar,.topcoat-navigation-bar{-moz-box-sizing:border-box;box-sizing:border-box;background-clip:padding-box;white-space:nowrap;overflow:hidden;word-spacing:0;padding:0;margin:0;font:inherit;color:inherit;background:transparent;border:0;cursor:default;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.navigation-bar__item,.topcoat-navigation-bar__item{-moz-box-sizing:border-box;box-sizing:border-box;background-clip:padding-box;position:relative;display:inline-block;vertical-align:top;padding:0;margin:0;font:inherit;color:inherit;background:transparent;border:0}.navigation-bar__title,.topcoat-navigation-bar__title{padding:0;margin:0;font:inherit;color:inherit;background:transparent;border:0;text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.topcoat-navigation-bar{height:4.375rem;padding-left:1rem;padding-right:1rem;background:#595b5b;color:#fff
;box-shadow:inset 0 -1px #333434,0 1px #454646}.topcoat-navigation-bar__item{margin:0;line-height:4.375rem;vertical-align:top}.topcoat-navigation-bar__title{font-size:1.3rem;font-weight:400;color:#fff}.notification{position:relative;display:inline-block;vertical-align:top;-moz-box-sizing:border-box;box-sizing:border-box;background-clip:padding-box;padding:0;margin:0;font:inherit;color:inherit;background:transparent;border:0;cursor:default;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;text-overflow:ellipsis;white-space:nowrap;overflow:hidden;text-decoration:none}.notification,.topcoat-notification{position:relative;display:inline-block;vertical-align:top;-moz-box-sizing:border-box;box-sizing:border-box;background-clip:padding-box;padding:0;margin:0;font:inherit;color:inherit;background:transparent;border:0;cursor:default;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;text-overflow:ellipsis;white-space:nowrap
;overflow:hidden;text-decoration:none}.topcoat-notification{padding:.15em .5em .2em;border-radius:2px;background-color:#ec514e;color:#fff}input[type=radio]{position:absolute;overflow:hidden;padding:0;border:0;opacity:.001;z-index:1;vertical-align:top;outline:0}.radio-button{-moz-box-sizing:border-box;box-sizing:border-box;background-clip:padding-box;position:relative;display:inline-block;vertical-align:top;cursor:default;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.radio-button__label{position:relative;display:inline-block;vertical-align:top;cursor:default;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.radio-button:before,.radio-button:after{content:'';position:absolute;border-radius:100%}.radio-button:after{top:50%;left:50%;-webkit-transform:translate(-50%,-50%);-ms-transform:translate(-50%,-50%);transform:translate(-50%,-50%)}.radio-button:before{-moz-box-sizing:border-box;box-sizing:border-box;backgro
und-clip:padding-box}.radio-button--disabled{opacity:.3;cursor:default;pointer-events:none}input[type=radio]{position:absolute;overflow:hidden;padding:0;border:0;opacity:.001;z-index:1;vertical-align:top;outline:0}.radio-button,.topcoat-radio-button__checkmark{-moz-box-sizing:border-box;box-sizing:border-box;background-clip:padding-box;position:relative;display:inline-block;vertical-align:top;cursor:default;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.radio-button__label,.topcoat-radio-button{position:relative;display:inline-block;vertical-align:top;cursor:default;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.radio-button:before,.radio-button:after,.topcoat-radio-button__checkmark:before,.topcoat-radio-button__checkmark:after{content:'';position:absolute;border-radius:100%}.radio-button:after,.topcoat-radio-button__checkmark:after{top:50%;left:50%;-webkit-transform:translate(-50%,-50%);-ms-transform:tra
nslate(-50%,-50%);transform:translate(-50%,-50%)}.radio-button:before,.topcoat-radio-button__checkmark:before{-moz-box-sizing:border-box;box-sizing:border-box;background-clip:padding-box}.radio-button--disabled,input[type=radio]:disabled+.topcoat-radio-button__checkmark{opacity:.3;cursor:default;pointer-events:none}input[type=radio]{height:1.875rem;width:1.875rem;margin-top:0;margin-right:-1.875rem;margin-bottom:-1.875rem;margin-left:0}input[type=radio]:checked+.topcoat-radio-button__checkmark:after{opacity:1}.topcoat-radio-button{color:#c6c8c8;line-height:1.875rem}.topcoat-radio-button__checkmark:before{width:1.875rem;height:1.875rem;background:#595b5b;border:1px solid #333434;box-shadow:inset 0 1px #737373}.topcoat-radio-button__checkmark{position:relative;width:1.875rem;height:1.875rem}.topcoat-radio-button__checkmark:after{opacity:0;width:.875rem;height:.875rem;background:#c6c8c8;border:1px solid rgba(0,0,0,.05);box-shadow:0 1px rgba(255,255,255,.1);-webkit-transform:none;-ms-tr
ansform:none;transform:none;top:7px;left:7px}input[type=radio]:focus+.topcoat-radio-button__checkmark:before{border:1px solid #0036ff;box-shadow:inset 0 1px rgba(255,255,255,.36),0 0 0 2px #6fb5f1}input[type=radio]:active+.topcoat-radio-button__checkmark:before{border:1px solid #333434;background-color:#3f4041;box-shadow:inset 0 1px rgba(0,0,0,.05)}input[type=radio]:disabled:active+.topcoat-radio-button__checkmark:before{border:1px solid #333434;background:#595b5b;box-shadow:inset 0 1px #737373}.range{padding:0;margin:0;font:inherit;color:inherit;background:transparent;border:0;-moz-box-sizing:border-box;box-sizing:border-box;background-clip:padding-box;vertical-align:top;outline:0;-webkit-appearance:none}.range__thumb{cursor:pointer}.range__thumb--webkit{cursor:pointer;-webkit-appearance:none}.range:disabled{opacity:.3;cursor:default;pointer-events:none}.range,.topcoat-range{padding:0;margin:0;font:inherit;color:inherit;background:transparent;border:0;-moz-box-sizing:border-box;box
-sizing:border-box;background-clip:padding-box;vertical-align:top;outline:0;-webkit-appearance:none}.range__thumb,.topcoat-range::-moz-range-thumb{cursor:pointer}.range__thumb--webkit,.topcoat-range::-webkit-slider-thumb{cursor:pointer;-webkit-appearance:none}.range:disabled,.topcoat-range:disabled{opacity:.3;cursor:default;pointer-events:none}.topcoat-range{border-radius:6px;border:1px solid #333434;background-color:#454646;height:1rem;border-radius:30px}.topcoat-range::-moz-range-track{border-radius:6px;border:1px solid #333434;background-color:#454646;height:1rem;border-radius:30px}.topcoat-range::-webkit-slider-thumb{height:3rem;width:2rem;background-color:#595b5b;border:1px solid #333434;border-radius:6px;box-shadow:inset 0 1px #737373}.topcoat-range::-moz-range-thumb{height:3rem;width:2rem;background-color:#595b5b;border:1px solid #333434;border-radius:6px;box-shadow:inset 0 1px #737373}.topcoat-range:focus::-webkit-slider-thumb{border:1px solid #0036ff;box-shadow:inset 0 1px
rgba(255,255,255,.36),0 0 0 2px #6fb5f1}.topcoat-range:focus::-moz-range-thumb{border:1px solid #0036ff;box-shadow:inset 0 1px rgba(255,255,255,.36),0 0 0 2px #6fb5f1}.topcoat-range:active::-webkit-slider-thumb{border:1px solid #333434;box-shadow:inset 0 1px #737373}.topcoat-range:active::-moz-range-thumb{border:1px solid #333434;box-shadow:inset 0 1px #737373}.search-input{padding:0;margin:0;font:inherit;color:inherit;background:transparent;border:0;-moz-box-sizing:border-box;box-sizing:border-box;background-clip:padding-box;vertical-align:top;outline:0;-webkit-appearance:none}input[type=search]::-webkit-search-cancel-button{-webkit-appearance:none}.search-input:disabled{opacity:.3;cursor:default;pointer-events:none}.search-input,.topcoat-search-input,.topcoat-search-input--large{padding:0;margin:0;font:inherit;color:inherit;background:transparent;border:0;-moz-box-sizing:border-box;box-sizing:border-box;background-clip:padding-box;vertical-align:top;outline:0;-webkit-appearance:no
ne}input[type=search]::-webkit-search-cancel-button{-webkit-appearance:none}.search-input:disabled,.topcoat-search-input:disabled,.topcoat-search-input--large:disabled{opacity:.3;cursor:default;pointer-events:none}.topcoat-search-input,.topcoat-search-input--large{line-height:3rem;height:3rem;font-size:16px;border:1px solid #333434;background-color:#454646;box-shadow:inset 0 1px 0 rgba(0,0,0,.23);color:#c6c8c8;padding:0 0 0 2rem;border-radius:30px;background-image:url(../img/search.svg);background-position:1rem center;background-repeat:no-repeat;background-size:16px}.topcoat-search-input:focus,.topcoat-search-input--large:focus{background-color:#595b5b;color:#fff;border:1px solid #0036ff;box-shadow:inset 0 1px 0 rgba(0,0,0,.23),0 0 0 2px #6fb5f1}.topcoat-search-input::-webkit-search-cancel-button,.topcoat-search-input::-webkit-search-decoration,.topcoat-search-input--large::-webkit-search-cancel-button,.topcoat-search-input--large::-webkit-search-decoration{margin-right:5px}.topcoat
-search-input:focus::-webkit-input-placeholder,.topcoat-search-input:focus::-webkit-input-placeholder{color:#c6c8c8}.topcoat-search-input:disabled::-webkit-input-placeholder{color:#fff}.topcoat-search-input:disabled::-moz-placeholder{color:#fff}.topcoat-search-input:disabled:-ms-input-placeholder{color:#fff}.topcoat-search-input--large{line-height:4.375rem;height:4.375rem;font-size:1.3rem;font-weight:400;padding:0 0 0 2.9rem;border-radius:40px;background-position:1.2rem center;background-size:1.3rem}.topcoat-search-input--large:disabled{color:#fff}.topcoat-search-input--large:disabled::-webkit-input-placeholder{color:#fff}.topcoat-search-input--large:disabled::-moz-placeholder{color:#fff}.topcoat-search-input--large:disabled:-ms-input-placeholder{color:#fff}.switch{position:relative;display:inline-block;vertical-align:top;-moz-box-sizing:border-box;box-sizing:border-box;background-clip:padding-box}.switch__input{position:absolute;overflow:hidden;padding:0;border:0;opacity:.001;z-ind
ex:1;vertical-align:top;outline:0}.switch__toggle{position:relative;display:inline-block;vertical-align:top;-moz-box-sizing:border-box;box-sizing:border-box;background-clip:padding-box;padding:0;margin:0;font:inherit;color:inherit;background:transparent;border:0;cursor:default;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.switch__toggle:before,.switch__toggle:after{content:'';position:absolute;z-index:-1;-moz-box-sizing:border-box;box-sizing:border-box;background-clip:padding-box}.switch--disabled{opacity:.3;cursor:default;pointer-events:none}.switch,.topcoat-switch{position:relative;display:inline-block;vertical-align:top;-moz-box-sizing:border-box;box-sizing:border-box;background-clip:padding-box}.switch__input,.topcoat-switch__input{position:absolute;overflow:hidden;padding:0;border:0;opacity:.001;z-index:1;vertical-align:top;outline:0}.switch__toggle,.topcoat-switch__toggle{position:relative;display:inline-block;vertical-align:top;-moz-box
-sizing:border-box;box-sizing:border-box;background-clip:padding-box;padding:0;margin:0;font:inherit;color:inherit;background:transparent;border:0;cursor:default;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.switch__toggle:before,.switch__toggle:after,.topcoat-switch__toggle:before,.topcoat-switch__toggle:after{content:'';position:absolute;z-index:-1;-moz-box-sizing:border-box;box-sizing:border-box;background-clip:padding-box}.switch--disabled,.topcoat-switch__input:disabled+.topcoat-switch__toggle{opacity:.3;cursor:default;pointer-events:none}.topcoat-switch{font-size:16px;padding:0 1.25rem;border-radius:6px;border:1px solid #333434;overflow:hidden;width:6rem}.topcoat-switch__toggle:before,.topcoat-switch__toggle:after{top:-1px;width:5rem}.topcoat-switch__toggle:before{content:'ON';color:#288edf;background-color:#3f4041;right:1rem;padding-left:1.5rem}.topcoat-switch__toggle{line-height:3rem;height:3rem;width:2rem;border-radius:6px;color:#c6c8
c8;text-shadow:0 -1px rgba(0,0,0,.69);background-color:#595b5b;border:1px solid #333434;margin-left:-1.3rem;margin-bottom:-1px;margin-top:-1px;box-shadow:inset 0 1px #737373;-webkit-transition:margin-left .05s ease-in-out;transition:margin-left .05s ease-in-out}.topcoat-switch__toggle:after{content:'OFF';background-color:#3f4041;left:1rem;padding-left:2rem}.topcoat-switch__input:checked+.topcoat-switch__toggle{margin-left:2.7rem}.topcoat-switch__input:active+.topcoat-switch__toggle{border:1px solid #333434;box-shadow:inset 0 1px #737373}.topcoat-switch__input:focus+.topcoat-switch__toggle{border:1px solid #0036ff;box-shadow:0 0 0 2px #6fb5f1}.topcoat-switch__input:disabled+.topcoat-switch__toggle:after,.topcoat-switch__input:disabled+.topcoat-switch__toggle:before{background:transparent}.button,.topcoat-tab-bar__button{position:relative;display:inline-block;vertical-align:top;-moz-box-sizing:border-box;box-sizing:border-box;background-clip:padding-box;padding:0;margin:0;font:inherit
;color:inherit;background:transparent;border:0;cursor:default;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;text-overflow:ellipsis;white-space:nowrap;overflow:hidden;text-decoration:none}.button--quiet{background:transparent;border:1px solid transparent;box-shadow:none}.button--disabled,.topcoat-tab-bar__button:disabled{opacity:.3;cursor:default;pointer-events:none}.button-bar,.topcoat-tab-bar{display:table;table-layout:fixed;white-space:nowrap;margin:0;padding:0}.button-bar__item,.topcoat-tab-bar__item{display:table-cell;width:auto;border-radius:0}.button-bar__item>input,.topcoat-tab-bar__item>input{position:absolute;overflow:hidden;padding:0;border:0;opacity:.001;z-index:1;vertical-align:top;outline:0}.button-bar__button{border-radius:inherit}.button-bar__item:disabled{opacity:.3;cursor:default;pointer-events:none}.topcoat-tab-bar__button{padding:0 1.25rem;height:3rem;line-height:3rem;letter-spacing:1px;color:#c6c8c8;text-shadow:0 -1px rgba(0
,0,0,.69);vertical-align:top;background-color:#595b5b;box-shadow:inset 0 1px #737373;border-top:1px solid #333434}.topcoat-tab-bar__button:active,.topcoat-tab-bar__button--large:active,:checked+.topcoat-tab-bar__button{color:#288edf;background-color:#3f4041;box-shadow:inset 0 0 1px rgba(0,0,0,.05)}.topcoat-tab-bar__button:focus,.topcoat-tab-bar__button--large:focus{z-index:1;box-shadow:inset 0 1px rgba(255,255,255,.36),0 0 0 2px #6fb5f1;outline:0}.input,.topcoat-text-input,.topcoat-text-input--large{padding:0;margin:0;font:inherit;color:inherit;background:transparent;border:0;-moz-box-sizing:border-box;box-sizing:border-box;background-clip:padding-box;vertical-align:top;outline:0}.input:disabled,.topcoat-text-input:disabled,.topcoat-text-input--large:disabled{opacity:.3;cursor:default;pointer-events:none}.topcoat-text-input,.topcoat-text-input--large{line-height:3rem;font-size:16px;letter-spacing:1px;padding:0 1.25rem;border:1px solid #333434;border-radius:6px;background-color:#4546
46;box-shadow:inset 0 1px rgba(0,0,0,.05);color:#c6c8c8;vertical-align:top}.topcoat-text-input:focus,.topcoat-text-input--large:focus{background-color:#595b5b;color:#fff;border:1px solid #0036ff;box-shadow:0 0 0 2px #6fb5f1}.topcoat-text-input:disabled::-webkit-input-placeholder{color:#fff}.topcoat-text-input:disabled::-moz-placeholder{color:#fff}.topcoat-text-input:disabled:-ms-input-placeholder{color:#fff}.topcoat-text-input:invalid{border:1px solid #ec514e}.topcoat-text-input--large{line-height:4.375rem;font-size:1.3rem}.topcoat-text-input--large:disabled{color:#fff}.topcoat-text-input--large:disabled::-webkit-input-placeholder{color:#fff}.topcoat-text-input--large:disabled::-moz-placeholder{color:#fff}.topcoat-text-input--large:disabled:-ms-input-placeholder{color:#fff}.topcoat-text-input--large:invalid{border:1px solid #ec514e}.textarea{-moz-box-sizing:border-box;box-sizing:border-box;background-clip:padding-box;padding:0;margin:0;font:inherit;color:inherit;background:transpare
nt;border:0;vertical-align:top;resize:none;outline:0}.textarea:disabled{opacity:.3;cursor:default;pointer-events:none}.textarea,.topcoat-textarea,.topcoat-textarea--large{-moz-box-sizing:border-box;box-sizing:border-box;background-clip:padding-box;padding:0;margin:0;font:inherit;color:inherit;background:transparent;border:0;vertical-align:top;resize:none;outline:0}.textarea:disabled,.topcoat-textarea:disabled,.topcoat-textarea--large:disabled{opacity:.3;cursor:default;pointer-events:none}.topcoat-textarea,.topcoat-textarea--large{padding:2rem;font-size:2.5rem;font-weight:400;border-radius:6px;line-height:3rem;border:1px solid #333434;background-color:#454646;box-shadow:inset 0 1px rgba(0,0,0,.05);color:#c6c8c8;letter-spacing:1px}.topcoat-textarea:focus,.topcoat-textarea--large:focus{background-color:#595b5b;color:#fff;border:1px solid #0036ff;box-shadow:0 0 0 2px #6fb5f1}.topcoat-textarea:disabled::-webkit-input-placeholder{color:#fff}.topcoat-textarea:disabled::-moz-placeholder{col
or:#fff}.topcoat-textarea:disabled:-ms-input-placeholder{color:#fff}.topcoat-textarea--large{font-size:3rem;line-height:4.375rem}.topcoat-textarea--large:disabled{color:#fff}.topcoat-textarea--large:disabled::-webkit-input-placeholder{color:#fff}.topcoat-textarea--large:disabled::-moz-placeholder{color:#fff}.topcoat-textarea--large:disabled:-ms-input-placeholder{color:#fff}@font-face{font-family:"Source Sans";src:url(../font/SourceSansPro-Regular.otf)}@font-face{font-family:"Source Sans";src:url(../font/SourceSansPro-Light.otf);font-weight:200}@font-face{font-family:"Source Sans";src:url(../font/SourceSansPro-Semibold.otf);font-weight:600}body{margin:0;padding:0;background:#4b4d4e;color:#000;font:16px "Source Sans",helvetica,arial,sans-serif;font-weight:400}:focus{outline-color:transparent;outline-style:none}.topcoat-icon--menu-stack{background:url(../img/hamburger_light.svg) no-repeat;background-size:cover}.quarter{width:25%}.half{width:50%}.three-quarters{width:75%}.third{width:33
.333%}.two-thirds{width:66.666%}.full{width:100%}.left{text-align:left}.center{text-align:center}.right{text-align:right}.reset-ui{-moz-box-sizing:border-box;box-sizing:border-box;background-clip:padding-box;position:relative;display:inline-block;vertical-align:top;padding:0;margin:0;font:inherit;color:inherit;background:transparent;border:0;cursor:default;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;text-overflow:ellipsis;white-space:nowrap;overflow:hidden}
\ No newline at end of file
[5/5] git commit: Cleaning up the repo
Posted by st...@apache.org.
Cleaning up the repo
Project: http://git-wip-us.apache.org/repos/asf/cordova-registry-web/repo
Commit: http://git-wip-us.apache.org/repos/asf/cordova-registry-web/commit/3243029e
Tree: http://git-wip-us.apache.org/repos/asf/cordova-registry-web/tree/3243029e
Diff: http://git-wip-us.apache.org/repos/asf/cordova-registry-web/diff/3243029e
Branch: refs/heads/refactor
Commit: 3243029e88b49d2df7e95f23b2dc6c508853a58d
Parents: 074012f
Author: Steven Gill <st...@gmail.com>
Authored: Thu Mar 13 16:33:23 2014 -0700
Committer: Steven Gill <st...@gmail.com>
Committed: Thu Mar 13 16:33:23 2014 -0700
----------------------------------------------------------------------
README.md | 148 +-
attachments/css/directives/pluginlist.less | 9 +
attachments/css/directives/topbar.less | 31 +
attachments/css/pages/pluginlist.less | 9 -
attachments/css/pages/topbar.less | 31 -
attachments/css/styles.less | 4 +-
attachments/css/topcoat-mobile-dark.css | 3759 ---------------------
attachments/css/topcoat-mobile-dark.min.css | 1 -
attachments/css/topcoat-mobile-light.css | 3759 ---------------------
attachments/css/topcoat-mobile-light.min.css | 1 -
attachments/index.html | 5 -
attachments/js/app.js | 7 +-
attachments/js/controllers/viewAll.js | 11 +-
attachments/js/services.js | 7 -
attachments/js/services/search-service.js | 8 -
attachments/js/site.js | 977 ------
attachments/js/stats.js | 66 -
17 files changed, 116 insertions(+), 8717 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/cordova-registry-web/blob/3243029e/README.md
----------------------------------------------------------------------
diff --git a/README.md b/README.md
index 5f09a58..37d8636 100644
--- a/README.md
+++ b/README.md
@@ -1,84 +1,70 @@
-{\rtf1\ansi\ansicpg1252\cocoartf1187\cocoasubrtf400
-{\fonttbl\f0\fswiss\fcharset0 Helvetica;}
-{\colortbl;\red255\green255\blue255;}
-\margl1440\margr1440\vieww10800\viewh8400\viewkind0
-\pard\tx720\tx1440\tx2160\tx2880\tx3600\tx4320\tx5040\tx5760\tx6480\tx7200\tx7920\tx8640\pardirnatural
-
-\f0\fs24 \cf0 Install COUCHDB\
-\
-brew install couchdb\
-\
-create registry database in couch\
-curl -X PUT http://localhost:5984/registry\
-\
-npmjs\
-git clone https://github.com/imhotep/npmjs.org\
-\
-cordova registry web\
-git clone https://git-wip-us.apache.org/repos/asf/cordova-registry-web.git\
-\
-cd npmjs\
-npm install -g couchapp\
-npm install couchapp\
-npm install semver\
-\
-\pard\tx720\tx1440\tx2160\tx2880\tx3600\tx4320\tx5040\tx5760\tx6480\tx7200\tx7920\tx8640\pardirnatural
-\cf0 couchapp push registry/app.js http://localhost:5984/registry\
-\pard\tx720\tx1440\tx2160\tx2880\tx3600\tx4320\tx5040\tx5760\tx6480\tx7200\tx7920\tx8640\pardirnatural
-\cf0 \
-cd ../cordova-registry-web\
-couchapp push app.js http://localhost:5984/registry\
-\
-Pretty much all of the work you need to do is in cordova-registry-web\
-\
-Enter this into your terminal because legacy.\
-\pard\tx720\tx1440\tx2160\tx2880\tx3600\tx4320\tx5040\tx5760\tx6480\tx7200\tx7920\tx8640\pardirnatural
-\cf0 curl http://localhost:5984/registry/_design/scratch -X COPY -H destination:'_design/app'\
-\pard\tx720\tx1440\tx2160\tx2880\tx3600\tx4320\tx5040\tx5760\tx6480\tx7200\tx7920\tx8640\pardirnatural
-\cf0 \
-## Displaying on localhost\
-\
-cd /etc/apache2/users\
-sudo vim YOURCOMPUTERUSERNAME.conf (mine was stevengill.conf)\
-\
-Paste the following rewrite rules into it.\
-\
-<VirtualHost *:80>\
- ServerName localhost\
- RewriteEngine on\
-# RewriteRule ^/downloads/(.*)$ http://cordova.iriscouch.com/downloads/$1 [P]\
-# RewriteRule ^/(.*)$ /registry/_design/ui/_rewrite/$1 [PT]\
- RewriteRule ^/((?!downloads).*)$ /registry/_design/ui/_rewrite/$1 [PT]\
- ProxyPassMatch ^/downloads/(.*)$ http://cordova.iriscouch.com/downloads/$1\
- ProxyPassMatch ^/registry/(.*)$ http://localhost:5984/registry/$1\
- RewriteLog "/var/log/apache2/plugins.cordova.io-rewrite.log"\
- RewriteLogLevel 3\
- LogLevel debug\
- ErrorLog "/var/log/apache2/plugins.cordova.io-error_log"\
- CustomLog "/var/log/apache2/plugins.cordova.io-access_log" common\
-</VirtualHost>\
-\
-back to terminal, start apache with:\
-\pard\tx720\tx1440\tx2160\tx2880\tx3600\tx4320\tx5040\tx5760\tx6480\tx7200\tx7920\tx8640\pardirnatural
-\cf0 sudo apachectl start\
-\
-go to localhost in your browser and bam! should be working.\
-\
-\
-## Publish Plugins to your local instance\
-plugman config set registry http://localhost:5984/registry/_design/app/_rewrite\
-\
-\
-##Potential Errors\
-\
-If you keep seeing `POST /_session 401` when you try to publish a plugin locally, you need to go delete your user info. In terminal type `rm -rf ~/.plugman`. Then go to the plugin you want to add and go `plugman adduser`. Enter in your username, password and email. \
-\
-\
-Alternative\
-couchapp serve app.js http://localhost:5984/registry -p 3000 -l -d attachments/\
-\pard\tx720\tx1440\tx2160\tx2880\tx3600\tx4320\tx5040\tx5760\tx6480\tx7200\tx7920\tx8640\pardirnatural
-\cf0 \
-}
+# Cordova Registry UI
+This repo contains the assets for [plugins.cordova.io](http://plugins.cordova.io). Everything is located in the attachments folder. Below we go over the steps of getting setup and running locally.
+
+## Setup
+
+### Install COUCHDB
+
+`brew install couchdb`
+
+You can find more documentation
+
+### Create registry database in couch
+curl -X PUT http://localhost:5984/registry
+
+### npmjs
+git clone https://github.com/imhotep/npmjs.org
+
+### cordova registry web
+git clone https://git-wip-us.apache.org/repos/asf/cordova-registry-web.git
+
+cd npmjs
+npm install -g couchapp
+npm install couchapp
+npm install semver
+
+couchapp push registry/app.js http://localhost:5984/registry
+cd ../cordova-registry-web
+couchapp push app.js http://localhost:5984/registry
+
+Pretty much all of the work you need to do is in cordova-registry-web
+
+Enter this into your terminal because legacy.
+curl http://localhost:5984/registry/_design/scratch -X COPY -H destination:'_design/app'
+
+## Displaying on localhost
+
+cd /etc/apache2/users
+sudo vim YOURCOMPUTERUSERNAME.conf (mine was stevengill.conf)
+
+Paste the following rewrite rules into it.
+
+<VirtualHost *:80>
+ ServerName localhost
+ RewriteEngine on
+ RewriteRule ^/((?!downloads).*)$ /registry/_design/ui/_rewrite/$1 [PT]
+ ProxyPassMatch ^/downloads/(.*)$ http://cordova.iriscouch.com/downloads/$1
+ ProxyPassMatch ^/registry/(.*)$ http://localhost:5984/registry/$1
+ RewriteLog "/var/log/apache2/plugins.cordova.io-rewrite.log"
+ RewriteLogLevel 3
+ LogLevel debug
+ ErrorLog "/var/log/apache2/plugins.cordova.io-error_log"
+ CustomLog "/var/log/apache2/plugins.cordova.io-access_log" common
+</VirtualHost>
+
+back to terminal, start apache with:
+sudo apachectl start\
+
+go to localhost in your browser and bam! should be working.
+
+## Publish Plugins to your local instance
+plugman config set registry http://localhost:5984/registry/_design/app/_rewrite
+
+##Potential Errors
+If you keep seeing `POST /_session 401` when you try to publish a plugin locally, you need to go delete your user info. In terminal type `rm -rf ~/.plugman`. Then go to the plugin you want to add and go `plugman adduser`. Enter in your username, password and email.
+
+##Alternative
+couchapp serve app.js http://localhost:5984/registry -p 3000 -l -d attachments/
## Changes to LESS
http://git-wip-us.apache.org/repos/asf/cordova-registry-web/blob/3243029e/attachments/css/directives/pluginlist.less
----------------------------------------------------------------------
diff --git a/attachments/css/directives/pluginlist.less b/attachments/css/directives/pluginlist.less
new file mode 100644
index 0000000..3bcc72f
--- /dev/null
+++ b/attachments/css/directives/pluginlist.less
@@ -0,0 +1,9 @@
+.pluginHeader {
+ border-bottom:solid 2px black;
+}
+
+.pluginItem {
+ border-bottom:solid 2px #bfb7b9;
+ padding-top:10px;
+ padding-bottom:10px;
+}
http://git-wip-us.apache.org/repos/asf/cordova-registry-web/blob/3243029e/attachments/css/directives/topbar.less
----------------------------------------------------------------------
diff --git a/attachments/css/directives/topbar.less b/attachments/css/directives/topbar.less
new file mode 100644
index 0000000..904ab11
--- /dev/null
+++ b/attachments/css/directives/topbar.less
@@ -0,0 +1,31 @@
+.topbar-row {
+ padding-top:5px;
+ padding-bottom:5px;
+ background-color:#ededed;
+}
+
+.topbar-search {
+ height: 35px;
+ border: 1px solid #4cc2e4;
+}
+
+.topbar-button {
+ background-color: #4cc2e4;
+ height:35px;
+ background-position: center;
+ background-image: url('/img/search_light.svg');
+ background-size: 20px 25px;
+ background-repeat: no-repeat;
+ margin-left: -5px;
+ border: 2px solid #4cc2e4;
+}
+
+.topbar-spacer {
+ padding-top:10px;
+}
+
+.topbar-browse {
+ display: block;
+ font-size: 20px;
+ padding-top:5px;
+}
http://git-wip-us.apache.org/repos/asf/cordova-registry-web/blob/3243029e/attachments/css/pages/pluginlist.less
----------------------------------------------------------------------
diff --git a/attachments/css/pages/pluginlist.less b/attachments/css/pages/pluginlist.less
deleted file mode 100644
index 3bcc72f..0000000
--- a/attachments/css/pages/pluginlist.less
+++ /dev/null
@@ -1,9 +0,0 @@
-.pluginHeader {
- border-bottom:solid 2px black;
-}
-
-.pluginItem {
- border-bottom:solid 2px #bfb7b9;
- padding-top:10px;
- padding-bottom:10px;
-}
http://git-wip-us.apache.org/repos/asf/cordova-registry-web/blob/3243029e/attachments/css/pages/topbar.less
----------------------------------------------------------------------
diff --git a/attachments/css/pages/topbar.less b/attachments/css/pages/topbar.less
deleted file mode 100644
index 904ab11..0000000
--- a/attachments/css/pages/topbar.less
+++ /dev/null
@@ -1,31 +0,0 @@
-.topbar-row {
- padding-top:5px;
- padding-bottom:5px;
- background-color:#ededed;
-}
-
-.topbar-search {
- height: 35px;
- border: 1px solid #4cc2e4;
-}
-
-.topbar-button {
- background-color: #4cc2e4;
- height:35px;
- background-position: center;
- background-image: url('/img/search_light.svg');
- background-size: 20px 25px;
- background-repeat: no-repeat;
- margin-left: -5px;
- border: 2px solid #4cc2e4;
-}
-
-.topbar-spacer {
- padding-top:10px;
-}
-
-.topbar-browse {
- display: block;
- font-size: 20px;
- padding-top:5px;
-}
http://git-wip-us.apache.org/repos/asf/cordova-registry-web/blob/3243029e/attachments/css/styles.less
----------------------------------------------------------------------
diff --git a/attachments/css/styles.less b/attachments/css/styles.less
index 103614b..86cd854 100644
--- a/attachments/css/styles.less
+++ b/attachments/css/styles.less
@@ -19,5 +19,5 @@
@import "pages/packageDetails.less";
@import "pages/viewAll.less";
@import "pages/search.less";
-@import "pages/topbar.less";
-@import "pages/pluginlist.less";
+@import "directives/topbar.less";
+@import "directives/pluginlist.less";
[2/5] Cleaning up the repo
Posted by st...@apache.org.
http://git-wip-us.apache.org/repos/asf/cordova-registry-web/blob/3243029e/attachments/css/topcoat-mobile-light.css
----------------------------------------------------------------------
diff --git a/attachments/css/topcoat-mobile-light.css b/attachments/css/topcoat-mobile-light.css
deleted file mode 100755
index 296f100..0000000
--- a/attachments/css/topcoat-mobile-light.css
+++ /dev/null
@@ -1,3759 +0,0 @@
-/**
-*
-* Copyright 2012 Adobe Systems Inc.;
-*
-* Licensed under the Apache License, Version 2.0 (the "License");
-* you may not use this file except in compliance with the License.
-* You may obtain a copy of the License at
-*
-* http://www.apache.org/licenses/LICENSE-2.0
-*
-* Unless required by applicable law or agreed to in writing, software
-* distributed under the License is distributed on an "AS IS" BASIS,
-* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-* See the License for the specific language governing permissions and
-* limitations under the License.
-*
-*/
-
-.button-bar {
- display: table;
- table-layout: fixed;
- white-space: nowrap;
- margin: 0;
- padding: 0;
-}
-
-.button-bar__item {
- display: table-cell;
- width: auto;
- border-radius: 0;
-}
-
-.button-bar__item > input {
- position: absolute;
- overflow: hidden;
- padding: 0;
- border: 0;
- opacity: 0.001;
- z-index: 1;
- vertical-align: top;
- outline: none;
-}
-
-.button-bar__button {
- border-radius: inherit;
-}
-
-.button-bar__item:disabled {
- opacity: 0.3;
- cursor: default;
- pointer-events: none;
-}
-
-/**
-*
-* Copyright 2012 Adobe Systems Inc.;
-*
-* Licensed under the Apache License, Version 2.0 (the "License");
-* you may not use this file except in compliance with the License.
-* You may obtain a copy of the License at
-*
-* http://www.apache.org/licenses/LICENSE-2.0
-*
-* Unless required by applicable law or agreed to in writing, software
-* distributed under the License is distributed on an "AS IS" BASIS,
-* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-* See the License for the specific language governing permissions and
-* limitations under the License.
-*
-*/
-
-/**
-*
-* Copyright 2012 Adobe Systems Inc.;
-*
-* Licensed under the Apache License, Version 2.0 (the "License");
-* you may not use this file except in compliance with the License.
-* You may obtain a copy of the License at
-*
-* http://www.apache.org/licenses/LICENSE-2.0
-*
-* Unless required by applicable law or agreed to in writing, software
-* distributed under the License is distributed on an "AS IS" BASIS,
-* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-* See the License for the specific language governing permissions and
-* limitations under the License.
-*
-*/
-
-/**
-*
-* Copyright 2012 Adobe Systems Inc.;
-*
-* Licensed under the Apache License, Version 2.0 (the "License");
-* you may not use this file except in compliance with the License.
-* You may obtain a copy of the License at
-*
-* http://www.apache.org/licenses/LICENSE-2.0
-*
-* Unless required by applicable law or agreed to in writing, software
-* distributed under the License is distributed on an "AS IS" BASIS,
-* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-* See the License for the specific language governing permissions and
-* limitations under the License.
-*
-*/
-
-.button,
-.topcoat-button,
-.topcoat-button--quiet,
-.topcoat-button--large,
-.topcoat-button--large--quiet,
-.topcoat-button--cta,
-.topcoat-button--large--cta,
-.topcoat-button-bar__button,
-.topcoat-button-bar__button--large {
- position: relative;
- display: inline-block;
- vertical-align: top;
- -moz-box-sizing: border-box;
- box-sizing: border-box;
- background-clip: padding-box;
- padding: 0;
- margin: 0;
- font: inherit;
- color: inherit;
- background: transparent;
- border: none;
- cursor: default;
- -webkit-user-select: none;
- -moz-user-select: none;
- -ms-user-select: none;
- user-select: none;
- text-overflow: ellipsis;
- white-space: nowrap;
- overflow: hidden;
- text-decoration: none;
-}
-
-.button--quiet {
- background: transparent;
- border: 1px solid transparent;
- box-shadow: none;
-}
-
-.button--disabled,
-.topcoat-button:disabled,
-.topcoat-button--quiet:disabled,
-.topcoat-button--large:disabled,
-.topcoat-button--large--quiet:disabled,
-.topcoat-button--cta:disabled,
-.topcoat-button--large--cta:disabled,
-.topcoat-button-bar__button:disabled,
-.topcoat-button-bar__button--large:disabled {
- opacity: 0.3;
- cursor: default;
- pointer-events: none;
-}
-
-.topcoat-button,
-.topcoat-button--quiet,
-.topcoat-button--large,
-.topcoat-button--large--quiet,
-.topcoat-button--cta,
-.topcoat-button--large--cta,
-.topcoat-button-bar__button,
-.topcoat-button-bar__button--large {
- padding: 0 1.25rem;
- font-size: 16px;
- line-height: 3rem;
- letter-spacing: 1px;
- color: #454545;
- text-shadow: 0 1px #fff;
- vertical-align: top;
- background-color: #e5e9e8;
- box-shadow: inset 0 1px #fff;
- border: 1px solid #9daca9;
- border-radius: 6px;
-}
-
-.topcoat-button:hover,
-.topcoat-button--quiet:hover,
-.topcoat-button--large:hover,
-.topcoat-button--large--quiet:hover,
-.topcoat-button-bar__button:hover,
-.topcoat-button-bar__button--large:hover {
- background-color: #eff1f1;
-}
-
-.topcoat-button:focus,
-.topcoat-button--quiet:focus,
-.topcoat-button--quiet:hover:focus,
-.topcoat-button--large:focus,
-.topcoat-button--large--quiet:focus,
-.topcoat-button--large--quiet:hover:focus,
-.topcoat-button--cta:focus,
-.topcoat-button--large--cta:focus,
-.topcoat-button-bar__button:focus,
-.topcoat-button-bar__button--large:focus {
- border: 1px solid #0036ff;
- box-shadow: inset 0 1px rgba(255,255,255,0.36), 0 0 0 2px #6fb5f1;
- outline: 0;
-}
-
-.topcoat-button:active,
-.topcoat-button--large:active,
-.topcoat-button-bar__button:active,
-.topcoat-button-bar__button--large:active,
-:checked + .topcoat-button-bar__button {
- border: 1px solid #9daca9;
- background-color: #d2d6d6;
- box-shadow: inset 0 1px rgba(0,0,0,0.1);
-}
-
-.topcoat-button--quiet {
- background: transparent;
- border: 1px solid transparent;
- box-shadow: none;
-}
-
-.topcoat-button--quiet:hover,
-.topcoat-button--large--quiet:hover {
- text-shadow: 0 1px #fff;
- border: 1px solid #9daca9;
- box-shadow: inset 0 1px #fff;
-}
-
-.topcoat-button--quiet:active,
-.topcoat-button--quiet:focus:active,
-.topcoat-button--large--quiet:active,
-.topcoat-button--large--quiet:focus:active {
- color: #454545;
- text-shadow: 0 1px #fff;
- background-color: #d2d6d6;
- border: 1px solid #9daca9;
- box-shadow: inset 0 1px rgba(0,0,0,0.1);
-}
-
-.topcoat-button--large,
-.topcoat-button--large--quiet,
-.topcoat-button-bar__button--large {
- font-size: 1.3rem;
- font-weight: 400;
- line-height: 4.375rem;
- padding: 0 1.25rem;
-}
-
-.topcoat-button--large--quiet {
- background: transparent;
- border: 1px solid transparent;
- box-shadow: none;
-}
-
-.topcoat-button--cta,
-.topcoat-button--large--cta {
- border: 1px solid #134f7f;
- background-color: #288edf;
- box-shadow: inset 0 1px rgba(255,255,255,0.36);
- color: #fff;
- font-weight: 500;
- text-shadow: 0 -1px rgba(0,0,0,0.36);
-}
-
-.topcoat-button--cta:hover,
-.topcoat-button--large--cta:hover {
- background-color: #4ca1e4;
-}
-
-.topcoat-button--cta:active,
-.topcoat-button--large--cta:active {
- background-color: #1e7dc8;
- box-shadow: inset 0 1px rgba(0,0,0,0.12);
-}
-
-.topcoat-button--large--cta {
- font-size: 1.3rem;
- font-weight: 400;
- line-height: 4.375rem;
- padding: 0 1.25rem;
-}
-
-.button-bar,
-.topcoat-button-bar {
- display: table;
- table-layout: fixed;
- white-space: nowrap;
- margin: 0;
- padding: 0;
-}
-
-.button-bar__item,
-.topcoat-button-bar__item {
- display: table-cell;
- width: auto;
- border-radius: 0;
-}
-
-.button-bar__item > input,
-.topcoat-button-bar__item > input {
- position: absolute;
- overflow: hidden;
- padding: 0;
- border: 0;
- opacity: 0.001;
- z-index: 1;
- vertical-align: top;
- outline: none;
-}
-
-.button-bar__button {
- border-radius: inherit;
-}
-
-.button-bar__item:disabled {
- opacity: 0.3;
- cursor: default;
- pointer-events: none;
-}
-
-/* topdoc
- name: Button Bar
- description: Component of grouped buttons
- modifiers:
- :disabled: Disabled state
- markup:
- <div class="topcoat-button-bar">
- <div class="topcoat-button-bar__item">
- <button class="topcoat-button-bar__button">One</button>
- </div>
- <div class="topcoat-button-bar__item">
- <button class="topcoat-button-bar__button">Two</button>
- </div>
- <div class="topcoat-button-bar__item">
- <button class="topcoat-button-bar__button">Three</button>
- </div>
- </div>
- examples:
- mobile button bar: http://codepen.io/Topcoat/pen/kdKyg
- tags:
- - desktop
- - light
- - dark
- - mobile
- - button
- - group
- - bar
-*/
-
-.topcoat-button-bar > .topcoat-button-bar__item:first-child {
- border-top-left-radius: 6px;
- border-bottom-left-radius: 6px;
-}
-
-.topcoat-button-bar > .topcoat-button-bar__item:last-child {
- border-top-right-radius: 6px;
- border-bottom-right-radius: 6px;
-}
-
-.topcoat-button-bar__item:first-child > .topcoat-button-bar__button,
-.topcoat-button-bar__item:first-child > .topcoat-button-bar__button--large {
- border-right: none;
-}
-
-.topcoat-button-bar__item:last-child > .topcoat-button-bar__button,
-.topcoat-button-bar__item:last-child > .topcoat-button-bar__button--large {
- border-left: none;
-}
-
-.topcoat-button-bar__button {
- border-radius: inherit;
-}
-
-.topcoat-button-bar__button:focus,
-.topcoat-button-bar__button--large:focus {
- z-index: 1;
-}
-
-/* topdoc
- name: Large Button Bar
- description: A button bar, only larger
- modifiers:
- :disabled: Disabled state
- markup:
- <div class="topcoat-button-bar">
- <div class="topcoat-button-bar__item">
- <button class="topcoat-button-bar__button--large">One</button>
- </div>
- <div class="topcoat-button-bar__item">
- <button class="topcoat-button-bar__button--large">Two</button>
- </div>
- <div class="topcoat-button-bar__item">
- <button class="topcoat-button-bar__button--large">Three</button>
- </div>
- </div>
- tags:
- - desktop
- - light
- - dark
- - mobile
- - button
- - group
- - bar
- - large
-*/
-
-.topcoat-button-bar__button--large {
- border-radius: inherit;
-}
-
-/**
-*
-* Copyright 2012 Adobe Systems Inc.;
-*
-* Licensed under the Apache License, Version 2.0 (the "License");
-* you may not use this file except in compliance with the License.
-* You may obtain a copy of the License at
-*
-* http://www.apache.org/licenses/LICENSE-2.0
-*
-* Unless required by applicable law or agreed to in writing, software
-* distributed under the License is distributed on an "AS IS" BASIS,
-* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-* See the License for the specific language governing permissions and
-* limitations under the License.
-*
-*/
-
-.button {
- position: relative;
- display: inline-block;
- vertical-align: top;
- -moz-box-sizing: border-box;
- box-sizing: border-box;
- background-clip: padding-box;
- padding: 0;
- margin: 0;
- font: inherit;
- color: inherit;
- background: transparent;
- border: none;
- cursor: default;
- -webkit-user-select: none;
- -moz-user-select: none;
- -ms-user-select: none;
- user-select: none;
- text-overflow: ellipsis;
- white-space: nowrap;
- overflow: hidden;
- text-decoration: none;
-}
-
-.button--quiet {
- background: transparent;
- border: 1px solid transparent;
- box-shadow: none;
-}
-
-.button--disabled {
- opacity: 0.3;
- cursor: default;
- pointer-events: none;
-}
-
-/**
-*
-* Copyright 2012 Adobe Systems Inc.;
-*
-* Licensed under the Apache License, Version 2.0 (the "License");
-* you may not use this file except in compliance with the License.
-* You may obtain a copy of the License at
-*
-* http://www.apache.org/licenses/LICENSE-2.0
-*
-* Unless required by applicable law or agreed to in writing, software
-* distributed under the License is distributed on an "AS IS" BASIS,
-* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-* See the License for the specific language governing permissions and
-* limitations under the License.
-*
-*/
-
-/**
-*
-* Copyright 2012 Adobe Systems Inc.;
-*
-* Licensed under the Apache License, Version 2.0 (the "License");
-* you may not use this file except in compliance with the License.
-* You may obtain a copy of the License at
-*
-* http://www.apache.org/licenses/LICENSE-2.0
-*
-* Unless required by applicable law or agreed to in writing, software
-* distributed under the License is distributed on an "AS IS" BASIS,
-* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-* See the License for the specific language governing permissions and
-* limitations under the License.
-*
-*/
-
-/**
-*
-* Copyright 2012 Adobe Systems Inc.;
-*
-* Licensed under the Apache License, Version 2.0 (the "License");
-* you may not use this file except in compliance with the License.
-* You may obtain a copy of the License at
-*
-* http://www.apache.org/licenses/LICENSE-2.0
-*
-* Unless required by applicable law or agreed to in writing, software
-* distributed under the License is distributed on an "AS IS" BASIS,
-* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-* See the License for the specific language governing permissions and
-* limitations under the License.
-*
-*/
-
-.button,
-.topcoat-button,
-.topcoat-button--quiet,
-.topcoat-button--large,
-.topcoat-button--large--quiet,
-.topcoat-button--cta,
-.topcoat-button--large--cta {
- position: relative;
- display: inline-block;
- vertical-align: top;
- -moz-box-sizing: border-box;
- box-sizing: border-box;
- background-clip: padding-box;
- padding: 0;
- margin: 0;
- font: inherit;
- color: inherit;
- background: transparent;
- border: none;
- cursor: default;
- -webkit-user-select: none;
- -moz-user-select: none;
- -ms-user-select: none;
- user-select: none;
- text-overflow: ellipsis;
- white-space: nowrap;
- overflow: hidden;
- text-decoration: none;
-}
-
-.button--quiet {
- background: transparent;
- border: 1px solid transparent;
- box-shadow: none;
-}
-
-.button--disabled,
-.topcoat-button:disabled,
-.topcoat-button--quiet:disabled,
-.topcoat-button--large:disabled,
-.topcoat-button--large--quiet:disabled,
-.topcoat-button--cta:disabled,
-.topcoat-button--large--cta:disabled {
- opacity: 0.3;
- cursor: default;
- pointer-events: none;
-}
-
-/* topdoc
- name: Button
- description: A simple button
- modifiers:
- :active: Active state
- :disabled: Disabled state
- :hover: Hover state
- :focus: Focused
- markup:
- <button class="topcoat-button">Button</button>
- <button class="topcoat-button" disabled>Button</button>
- examples:
- mobile button: http://codepen.io/Topcoat/pen/DpKtf
- tags:
- - desktop
- - light
- - mobile
- - button
-*/
-
-.topcoat-button,
-.topcoat-button--quiet,
-.topcoat-button--large,
-.topcoat-button--large--quiet,
-.topcoat-button--cta,
-.topcoat-button--large--cta {
- padding: 0 1.25rem;
- font-size: 16px;
- line-height: 3rem;
- letter-spacing: 1px;
- color: #454545;
- text-shadow: 0 1px #fff;
- vertical-align: top;
- background-color: #e5e9e8;
- box-shadow: inset 0 1px #fff;
- border: 1px solid #9daca9;
- border-radius: 6px;
-}
-
-.topcoat-button:hover,
-.topcoat-button--quiet:hover,
-.topcoat-button--large:hover,
-.topcoat-button--large--quiet:hover {
- background-color: #eff1f1;
-}
-
-.topcoat-button:focus,
-.topcoat-button--quiet:focus,
-.topcoat-button--quiet:hover:focus,
-.topcoat-button--large:focus,
-.topcoat-button--large--quiet:focus,
-.topcoat-button--large--quiet:hover:focus,
-.topcoat-button--cta:focus,
-.topcoat-button--large--cta:focus {
- border: 1px solid #0036ff;
- box-shadow: inset 0 1px rgba(255,255,255,0.36), 0 0 0 2px #6fb5f1;
- outline: 0;
-}
-
-.topcoat-button:active,
-.topcoat-button--large:active {
- border: 1px solid #9daca9;
- background-color: #d2d6d6;
- box-shadow: inset 0 1px rgba(0,0,0,0.1);
-}
-
-/* topdoc
- name: Quiet Button
- description: A simple, yet quiet button
- modifiers:
- :active: Quiet button active state
- :disabled: Disabled state
- :hover: Hover state
- :focus: Focused
- markup:
- <button class="topcoat-button--quiet">Button</button>
- <button class="topcoat-button--quiet" disabled>Button</button>
- tags:
- - desktop
- - light
- - mobile
- - button
- - quiet
-*/
-
-.topcoat-button--quiet {
- background: transparent;
- border: 1px solid transparent;
- box-shadow: none;
-}
-
-.topcoat-button--quiet:hover,
-.topcoat-button--large--quiet:hover {
- text-shadow: 0 1px #fff;
- border: 1px solid #9daca9;
- box-shadow: inset 0 1px #fff;
-}
-
-.topcoat-button--quiet:active,
-.topcoat-button--quiet:focus:active,
-.topcoat-button--large--quiet:active,
-.topcoat-button--large--quiet:focus:active {
- color: #454545;
- text-shadow: 0 1px #fff;
- background-color: #d2d6d6;
- border: 1px solid #9daca9;
- box-shadow: inset 0 1px rgba(0,0,0,0.1);
-}
-
-/* topdoc
- name: Large Button
- description: A big ol button
- modifiers:
- :active: Active state
- :disabled: Disabled state
- :hover: Hover state
- :focus: Focused
- markup:
- <button class="topcoat-button--large" >Button</button>
- <button class="topcoat-button--large" disabled>Button</button>
- tags:
- - desktop
- - light
- - mobile
- - button
- - large
-*/
-
-.topcoat-button--large,
-.topcoat-button--large--quiet {
- font-size: 1.3rem;
- font-weight: 400;
- line-height: 4.375rem;
- padding: 0 1.25rem;
-}
-
-/* topdoc
- name: Large Quiet Button
- description: A large, yet quiet button
- modifiers:
- :active: Active state
- :disabled: Disabled state
- :hover: Hover state
- :focus: Focused
- markup:
- <button class="topcoat-button--large--quiet" >Button</button>
- <button class="topcoat-button--large--quiet" disabled>Button</button>
- tags:
- - desktop
- - light
- - mobile
- - button
- - large
- - quiet
-*/
-
-.topcoat-button--large--quiet {
- background: transparent;
- border: 1px solid transparent;
- box-shadow: none;
-}
-
-/* topdoc
- name: Call To Action Button
- description: A CALL TO ARMS, er, ACTION!
- modifiers:
- :active: Active state
- :disabled: Disabled state
- :hover: Hover state
- :focus: Focused
- markup:
- <button class="topcoat-button--cta" >Button</button>
- <button class="topcoat-button--cta" disabled>Button</button>
- tags:
- - desktop
- - light
- - mobile
- - button
- - call to action
-*/
-
-.topcoat-button--cta,
-.topcoat-button--large--cta {
- border: 1px solid #134f7f;
- background-color: #288edf;
- box-shadow: inset 0 1px rgba(255,255,255,0.36);
- color: #fff;
- font-weight: 500;
- text-shadow: 0 -1px rgba(0,0,0,0.36);
-}
-
-.topcoat-button--cta:hover,
-.topcoat-button--large--cta:hover {
- background-color: #4ca1e4;
-}
-
-.topcoat-button--cta:active,
-.topcoat-button--large--cta:active {
- background-color: #1e7dc8;
- box-shadow: inset 0 1px rgba(0,0,0,0.12);
-}
-
-/* topdoc
- name: Large Call To Action Button
- description: Like call to action, but bigger
- modifiers:
- :active: Active state
- :disabled: Disabled state
- :hover: Hover state
- :focus: Focused
- markup:
- <button class="topcoat-button--large--cta" >Button</button>
- <button class="topcoat-button--large--cta" disabled>Button</button>
- tags:
- - desktop
- - light
- - mobile
- - button
- - large
- - call to action
-*/
-
-.topcoat-button--large--cta {
- font-size: 1.3rem;
- font-weight: 400;
- line-height: 4.375rem;
- padding: 0 1.25rem;
-}
-
-/**
-*
-* Copyright 2012 Adobe Systems Inc.;
-*
-* Licensed under the Apache License, Version 2.0 (the "License");
-* you may not use this file except in compliance with the License.
-* You may obtain a copy of the License at
-*
-* http://www.apache.org/licenses/LICENSE-2.0
-*
-* Unless required by applicable law or agreed to in writing, software
-* distributed under the License is distributed on an "AS IS" BASIS,
-* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-* See the License for the specific language governing permissions and
-* limitations under the License.
-*
-*/
-
-input[type="checkbox"] {
- position: absolute;
- overflow: hidden;
- padding: 0;
- border: 0;
- opacity: 0.001;
- z-index: 1;
- vertical-align: top;
- outline: none;
-}
-
-.checkbox {
- -moz-box-sizing: border-box;
- box-sizing: border-box;
- background-clip: padding-box;
- position: relative;
- display: inline-block;
- vertical-align: top;
- cursor: default;
- -webkit-user-select: none;
- -moz-user-select: none;
- -ms-user-select: none;
- user-select: none;
-}
-
-.checkbox__label {
- position: relative;
- display: inline-block;
- vertical-align: top;
- cursor: default;
- -webkit-user-select: none;
- -moz-user-select: none;
- -ms-user-select: none;
- user-select: none;
-}
-
-.checkbox--disabled {
- opacity: 0.3;
- cursor: default;
- pointer-events: none;
-}
-
-.checkbox:before,
-.checkbox:after {
- content: '';
- position: absolute;
-}
-
-.checkbox:before {
- -moz-box-sizing: border-box;
- box-sizing: border-box;
- background-clip: padding-box;
-}
-
-/**
-*
-* Copyright 2012 Adobe Systems Inc.;
-*
-* Licensed under the Apache License, Version 2.0 (the "License");
-* you may not use this file except in compliance with the License.
-* You may obtain a copy of the License at
-*
-* http://www.apache.org/licenses/LICENSE-2.0
-*
-* Unless required by applicable law or agreed to in writing, software
-* distributed under the License is distributed on an "AS IS" BASIS,
-* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-* See the License for the specific language governing permissions and
-* limitations under the License.
-*
-*/
-
-/**
-*
-* Copyright 2012 Adobe Systems Inc.;
-*
-* Licensed under the Apache License, Version 2.0 (the "License");
-* you may not use this file except in compliance with the License.
-* You may obtain a copy of the License at
-*
-* http://www.apache.org/licenses/LICENSE-2.0
-*
-* Unless required by applicable law or agreed to in writing, software
-* distributed under the License is distributed on an "AS IS" BASIS,
-* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-* See the License for the specific language governing permissions and
-* limitations under the License.
-*
-*/
-
-/**
-*
-* Copyright 2012 Adobe Systems Inc.;
-*
-* Licensed under the Apache License, Version 2.0 (the "License");
-* you may not use this file except in compliance with the License.
-* You may obtain a copy of the License at
-*
-* http://www.apache.org/licenses/LICENSE-2.0
-*
-* Unless required by applicable law or agreed to in writing, software
-* distributed under the License is distributed on an "AS IS" BASIS,
-* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-* See the License for the specific language governing permissions and
-* limitations under the License.
-*
-*/
-
-input[type="checkbox"] {
- position: absolute;
- overflow: hidden;
- padding: 0;
- border: 0;
- opacity: 0.001;
- z-index: 1;
- vertical-align: top;
- outline: none;
-}
-
-.checkbox,
-.topcoat-checkbox__checkmark {
- -moz-box-sizing: border-box;
- box-sizing: border-box;
- background-clip: padding-box;
- position: relative;
- display: inline-block;
- vertical-align: top;
- cursor: default;
- -webkit-user-select: none;
- -moz-user-select: none;
- -ms-user-select: none;
- user-select: none;
-}
-
-.checkbox__label,
-.topcoat-checkbox {
- position: relative;
- display: inline-block;
- vertical-align: top;
- cursor: default;
- -webkit-user-select: none;
- -moz-user-select: none;
- -ms-user-select: none;
- user-select: none;
-}
-
-.checkbox--disabled,
-input[type="checkbox"]:disabled + .topcoat-checkbox__checkmark {
- opacity: 0.3;
- cursor: default;
- pointer-events: none;
-}
-
-.checkbox:before,
-.checkbox:after,
-.topcoat-checkbox__checkmark:before,
-.topcoat-checkbox__checkmark:after {
- content: '';
- position: absolute;
-}
-
-.checkbox:before,
-.topcoat-checkbox__checkmark:before {
- -moz-box-sizing: border-box;
- box-sizing: border-box;
- background-clip: padding-box;
-}
-
-/* topdoc
- name: Checkbox
- description: Default skin for Topcoat checkbox
- modifiers:
- :focus: Focus state
- :disabled: Disabled state
- markup:
- <label class="topcoat-checkbox">
- <input type="checkbox">
- <div class="topcoat-checkbox__checkmark"></div>
- Default
- </label>
- <br>
- <br>
- <label class="topcoat-checkbox">
- <input type="checkbox" disabled>
- <div class="topcoat-checkbox__checkmark"></div>
- Disabled
- </label>
- examples:
- mobile checkbox: http://codepen.io/Topcoat/pen/piHcs
- tags:
- - desktop
- - light
- - mobile
- - checkbox
-*/
-
-.topcoat-checkbox__checkmark {
- height: 2rem;
-}
-
-input[type="checkbox"] {
- height: 2rem;
- width: 2rem;
- margin-top: 0;
- margin-right: -2rem;
- margin-bottom: -2rem;
- margin-left: 0;
-}
-
-input[type="checkbox"]:checked + .topcoat-checkbox__checkmark:after {
- opacity: 1;
-}
-
-.topcoat-checkbox {
- line-height: 2rem;
-}
-
-.topcoat-checkbox__checkmark:before {
- width: 2rem;
- height: 2rem;
- background: #e5e9e8;
- border: 1px solid #9daca9;
- border-radius: 3px;
- box-shadow: inset 0 1px #fff;
-}
-
-.topcoat-checkbox__checkmark {
- width: 2rem;
- height: 2rem;
-}
-
-.topcoat-checkbox__checkmark:after {
- top: 1px;
- left: 2px;
- opacity: 0;
- width: 28px;
- height: 11px;
- background: transparent;
- border: 7px solid #454545;
- border-width: 7px;
- border-top: none;
- border-right: none;
- border-radius: 2px;
- -webkit-transform: rotate(-50deg);
- -ms-transform: rotate(-50deg);
- transform: rotate(-50deg);
-}
-
-input[type="checkbox"]:focus + .topcoat-checkbox__checkmark:before {
- border: 1px solid #0036ff;
- box-shadow: inset 0 1px rgba(255,255,255,0.36), 0 0 0 2px #6fb5f1;
-}
-
-input[type="checkbox"]:active + .topcoat-checkbox__checkmark:before {
- border: 1px solid #9daca9;
- background-color: #d2d6d6;
- box-shadow: inset 0 1px rgba(0,0,0,0.1);
-}
-
-input[type="checkbox"]:disabled:active + .topcoat-checkbox__checkmark:before {
- border: 1px solid #9daca9;
- background: #e5e9e8;
- box-shadow: inset 0 1px #fff;
-}
-
-/**
-*
-* Copyright 2012 Adobe Systems Inc.;
-*
-* Licensed under the Apache License, Version 2.0 (the "License");
-* you may not use this file except in compliance with the License.
-* You may obtain a copy of the License at
-*
-* http://www.apache.org/licenses/LICENSE-2.0
-*
-* Unless required by applicable law or agreed to in writing, software
-* distributed under the License is distributed on an "AS IS" BASIS,
-* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-* See the License for the specific language governing permissions and
-* limitations under the License.
-*
-*/
-
-/**
-*
-* Copyright 2012 Adobe Systems Inc.;
-*
-* Licensed under the Apache License, Version 2.0 (the "License");
-* you may not use this file except in compliance with the License.
-* You may obtain a copy of the License at
-*
-* http://www.apache.org/licenses/LICENSE-2.0
-*
-* Unless required by applicable law or agreed to in writing, software
-* distributed under the License is distributed on an "AS IS" BASIS,
-* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-* See the License for the specific language governing permissions and
-* limitations under the License.
-*
-*/
-
-.button,
-.topcoat-icon-button,
-.topcoat-icon-button--quiet,
-.topcoat-icon-button--large,
-.topcoat-icon-button--large--quiet {
- position: relative;
- display: inline-block;
- vertical-align: top;
- -moz-box-sizing: border-box;
- box-sizing: border-box;
- background-clip: padding-box;
- padding: 0;
- margin: 0;
- font: inherit;
- color: inherit;
- background: transparent;
- border: none;
- cursor: default;
- -webkit-user-select: none;
- -moz-user-select: none;
- -ms-user-select: none;
- user-select: none;
- text-overflow: ellipsis;
- white-space: nowrap;
- overflow: hidden;
- text-decoration: none;
-}
-
-.button--quiet {
- background: transparent;
- border: 1px solid transparent;
- box-shadow: none;
-}
-
-.button--disabled,
-.topcoat-icon-button:disabled,
-.topcoat-icon-button--quiet:disabled,
-.topcoat-icon-button--large:disabled,
-.topcoat-icon-button--large--quiet:disabled {
- opacity: 0.3;
- cursor: default;
- pointer-events: none;
-}
-
-/* topdoc
- name: Icon Button
- description: Like button, but it has an icon.
- modifiers:
- :active: Active state
- :disabled: Disabled state
- :hover: Hover state
- :focus: Focused
- markup:
- <button class="topcoat-icon-button">
- <span class="topcoat-icon" style="background-color:#A5A7A7;"></span>
- </button>
- <button class="topcoat-icon-button" disabled>
- <span class="topcoat-icon" style="background-color:#A5A7A7;"></span>
- </button>
- tags:
- - desktop
- - light
- - mobile
- - button
- - icon
-*/
-
-.topcoat-icon-button,
-.topcoat-icon-button--quiet,
-.topcoat-icon-button--large,
-.topcoat-icon-button--large--quiet {
- padding: 0 0.75rem;
- line-height: 3rem;
- letter-spacing: 1px;
- color: #454545;
- text-shadow: 0 1px #fff;
- vertical-align: baseline;
- background-color: #e5e9e8;
- box-shadow: inset 0 1px #fff;
- border: 1px solid #9daca9;
- border-radius: 6px;
-}
-
-.topcoat-icon-button:hover,
-.topcoat-icon-button--quiet:hover,
-.topcoat-icon-button--large:hover,
-.topcoat-icon-button--large--quiet:hover {
- background-color: #eff1f1;
-}
-
-.topcoat-icon-button:focus,
-.topcoat-icon-button--quiet:focus,
-.topcoat-icon-button--quiet:hover:focus,
-.topcoat-icon-button--large:focus,
-.topcoat-icon-button--large--quiet:focus,
-.topcoat-icon-button--large--quiet:hover:focus {
- border: 1px solid #0036ff;
- box-shadow: inset 0 1px rgba(255,255,255,0.36), 0 0 0 2px #6fb5f1;
- outline: 0;
-}
-
-.topcoat-icon-button:active,
-.topcoat-icon-button--large:active {
- border: 1px solid #9daca9;
- background-color: #d2d6d6;
- box-shadow: inset 0 1px rgba(0,0,0,0.1);
-}
-
-/* topdoc
- name: Quiet Icon Button
- description: Like quiet button, but it has an icon.
- modifiers:
- :active: Active state
- :disabled: Disabled state
- :hover: Hover state
- :focus: Focused
- markup:
- <button class="topcoat-icon-button--quiet">
- <span class="topcoat-icon" style="background-color:#A5A7A7;"></span>
- </button>
- <button class="topcoat-icon-button--quiet" disabled>
- <span class="topcoat-icon" style="background-color:#A5A7A7;"></span>
- </button>
- tags:
- - desktop
- - light
- - mobile
- - button
- - icon
- - quiet
-*/
-
-.topcoat-icon-button--quiet {
- background: transparent;
- border: 1px solid transparent;
- box-shadow: none;
-}
-
-.topcoat-icon-button--quiet:hover,
-.topcoat-icon-button--large--quiet:hover {
- text-shadow: 0 1px #fff;
- border: 1px solid #9daca9;
- box-shadow: inset 0 1px #fff;
-}
-
-.topcoat-icon-button--quiet:active,
-.topcoat-icon-button--quiet:focus:active,
-.topcoat-icon-button--large--quiet:active,
-.topcoat-icon-button--large--quiet:focus:active {
- color: #454545;
- text-shadow: 0 1px #fff;
- background-color: #d2d6d6;
- border: 1px solid #9daca9;
- box-shadow: inset 0 1px rgba(0,0,0,0.1);
-}
-
-/* topdoc
- name: Large Icon Button
- description: Like large button, but it has an icon.
- modifiers:
- :active: Active state
- :disabled: Disabled state
- :hover: Hover state
- :focus: Focused
- markup:
- <button class="topcoat-icon-button--large">
- <span class="topcoat-icon--large" style="background-color:#A5A7A7;"></span>
- </button>
- <button class="topcoat-icon-button--large" disabled>
- <span class="topcoat-icon--large" style="background-color:#A5A7A7;"></span>
- </button>
- tags:
- - desktop
- - light
- - mobile
- - button
- - icon
- - large
-*/
-
-.topcoat-icon-button--large,
-.topcoat-icon-button--large--quiet {
- width: 4.375rem;
- height: 4.375rem;
- line-height: 4.375rem;
-}
-
-/* topdoc
- name: Large Quiet Icon Button
- description: Like large button, but it has an icon and this one is quiet.
- modifiers:
- :active: Active state
- :disabled: Disabled state
- :hover: Hover state
- markup:
- <button class="topcoat-icon-button--large--quiet">
- <span class="topcoat-icon--large" style="background-color:#A5A7A7;"></span>
- </button>
- <button class="topcoat-icon-button--large--quiet" disabled>
- <span class="topcoat-icon--large" style="background-color:#A5A7A7;"></span>
- </button>
- tags:
- - desktop
- - light
- - mobile
- - button
- - icon
- - large
- - quiet
-*/
-
-.topcoat-icon-button--large--quiet {
- background: transparent;
- border: 1px solid transparent;
- box-shadow: none;
-}
-
-.topcoat-icon,
-.topcoat-icon--large {
- position: relative;
- display: inline-block;
- vertical-align: top;
- overflow: hidden;
- width: 1.62rem;
- height: 1.62rem;
- vertical-align: middle;
- top: -1px;
-}
-
-.topcoat-icon--large {
- width: 2.499999998125rem;
- height: 2.499999998125rem;
- top: -2px;
-}
-
-/**
-*
-* Copyright 2012 Adobe Systems Inc.;
-*
-* Licensed under the Apache License, Version 2.0 (the "License");
-* you may not use this file except in compliance with the License.
-* You may obtain a copy of the License at
-*
-* http://www.apache.org/licenses/LICENSE-2.0
-*
-* Unless required by applicable law or agreed to in writing, software
-* distributed under the License is distributed on an "AS IS" BASIS,
-* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-* See the License for the specific language governing permissions and
-* limitations under the License.
-*
-*/
-
-/**
-*
-* Copyright 2012 Adobe Systems Inc.;
-*
-* Licensed under the Apache License, Version 2.0 (the "License");
-* you may not use this file except in compliance with the License.
-* You may obtain a copy of the License at
-*
-* http://www.apache.org/licenses/LICENSE-2.0
-*
-* Unless required by applicable law or agreed to in writing, software
-* distributed under the License is distributed on an "AS IS" BASIS,
-* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-* See the License for the specific language governing permissions and
-* limitations under the License.
-*
-*/
-
-.input {
- padding: 0;
- margin: 0;
- font: inherit;
- color: inherit;
- background: transparent;
- border: none;
- -moz-box-sizing: border-box;
- box-sizing: border-box;
- background-clip: padding-box;
- vertical-align: top;
- outline: none;
-}
-
-.input:disabled {
- opacity: 0.3;
- cursor: default;
- pointer-events: none;
-}
-
-/**
-*
-* Copyright 2012 Adobe Systems Inc.;
-*
-* Licensed under the Apache License, Version 2.0 (the "License");
-* you may not use this file except in compliance with the License.
-* You may obtain a copy of the License at
-*
-* http://www.apache.org/licenses/LICENSE-2.0
-*
-* Unless required by applicable law or agreed to in writing, software
-* distributed under the License is distributed on an "AS IS" BASIS,
-* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-* See the License for the specific language governing permissions and
-* limitations under the License.
-*
-*/
-
-/**
-*
-* Copyright 2012 Adobe Systems Inc.;
-*
-* Licensed under the Apache License, Version 2.0 (the "License");
-* you may not use this file except in compliance with the License.
-* You may obtain a copy of the License at
-*
-* http://www.apache.org/licenses/LICENSE-2.0
-*
-* Unless required by applicable law or agreed to in writing, software
-* distributed under the License is distributed on an "AS IS" BASIS,
-* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-* See the License for the specific language governing permissions and
-* limitations under the License.
-*
-*/
-
-.list {
- padding: 0;
- margin: 0;
- font: inherit;
- color: inherit;
- background: transparent;
- border: none;
- cursor: default;
- -webkit-user-select: none;
- -moz-user-select: none;
- -ms-user-select: none;
- user-select: none;
- overflow: auto;
- -webkit-overflow-scrolling: touch;
-}
-
-.list__header {
- margin: 0;
-}
-
-.list__container {
- padding: 0;
- margin: 0;
- list-style-type: none;
-}
-
-.list__item {
- margin: 0;
- padding: 0;
-}
-
-/**
-*
-* Copyright 2012 Adobe Systems Inc.;
-*
-* Licensed under the Apache License, Version 2.0 (the "License");
-* you may not use this file except in compliance with the License.
-* You may obtain a copy of the License at
-*
-* http://www.apache.org/licenses/LICENSE-2.0
-*
-* Unless required by applicable law or agreed to in writing, software
-* distributed under the License is distributed on an "AS IS" BASIS,
-* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-* See the License for the specific language governing permissions and
-* limitations under the License.
-*
-*/
-
-/**
-*
-* Copyright 2012 Adobe Systems Inc.;
-*
-* Licensed under the Apache License, Version 2.0 (the "License");
-* you may not use this file except in compliance with the License.
-* You may obtain a copy of the License at
-*
-* http://www.apache.org/licenses/LICENSE-2.0
-*
-* Unless required by applicable law or agreed to in writing, software
-* distributed under the License is distributed on an "AS IS" BASIS,
-* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-* See the License for the specific language governing permissions and
-* limitations under the License.
-*
-*/
-
-.list,
-.topcoat-list {
- padding: 0;
- margin: 0;
- font: inherit;
- color: inherit;
- background: transparent;
- border: none;
- cursor: default;
- -webkit-user-select: none;
- -moz-user-select: none;
- -ms-user-select: none;
- user-select: none;
- overflow: auto;
- -webkit-overflow-scrolling: touch;
-}
-
-.list__header,
-.topcoat-list__header {
- margin: 0;
-}
-
-.list__container,
-.topcoat-list__container {
- padding: 0;
- margin: 0;
- list-style-type: none;
-}
-
-.list__item,
-.topcoat-list__item {
- margin: 0;
- padding: 0;
-}
-
-/* topdoc
- name: List
- description: Topcoat default list skin
- markup:
- <div class="topcoat-list">
- <h3 class="topcoat-list__header">Category</h3>
- <ul class="topcoat-list__container">
- <li class="topcoat-list__item">
- Item
- </li>
- <li class="topcoat-list__item">
- Item
- </li>
- <li class="topcoat-list__item">
- Item
- </li>
- </ul>
- </div>
- tags:
- - mobile
- - list
-*/
-
-.topcoat-list {
- border-top: 1px solid #9daca9;
- border-bottom: 1px solid #fff;
- background-color: #e5e9e8;
-}
-
-.topcoat-list__header {
- padding: 4px 20px;
- font-size: 0.9em;
- font-weight: 400;
- background-color: #d2d6d6;
- color: #454545;
- text-shadow: 0 1px 0 rgba(255,255,255,0.5);
- border-top: 1px solid rgba(255,255,255,0.5);
- border-bottom: 1px solid rgba(255,255,255,0.23);
-}
-
-.topcoat-list__container {
- border-top: 1px solid #9daca9;
- color: #454545;
-}
-
-.topcoat-list__item {
- padding: 1.25rem;
- border-top: 1px solid #fff;
- border-bottom: 1px solid #9daca9;
-}
-
-.topcoat-list__item:first-child {
- border-top: 1px solid #d6dcdb;
-}
-
-/**
-*
-* Copyright 2012 Adobe Systems Inc.;
-*
-* Licensed under the Apache License, Version 2.0 (the "License");
-* you may not use this file except in compliance with the License.
-* You may obtain a copy of the License at
-*
-* http://www.apache.org/licenses/LICENSE-2.0
-*
-* Unless required by applicable law or agreed to in writing, software
-* distributed under the License is distributed on an "AS IS" BASIS,
-* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-* See the License for the specific language governing permissions and
-* limitations under the License.
-*
-*/
-
-/**
-*
-* Copyright 2012 Adobe Systems Inc.;
-*
-* Licensed under the Apache License, Version 2.0 (the "License");
-* you may not use this file except in compliance with the License.
-* You may obtain a copy of the License at
-*
-* http://www.apache.org/licenses/LICENSE-2.0
-*
-* Unless required by applicable law or agreed to in writing, software
-* distributed under the License is distributed on an "AS IS" BASIS,
-* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-* See the License for the specific language governing permissions and
-* limitations under the License.
-*
-*/
-
-.navigation-bar {
- -moz-box-sizing: border-box;
- box-sizing: border-box;
- background-clip: padding-box;
- white-space: nowrap;
- overflow: hidden;
- word-spacing: 0;
- padding: 0;
- margin: 0;
- font: inherit;
- color: inherit;
- background: transparent;
- border: none;
- cursor: default;
- -webkit-user-select: none;
- -moz-user-select: none;
- -ms-user-select: none;
- user-select: none;
-}
-
-.navigation-bar__item {
- -moz-box-sizing: border-box;
- box-sizing: border-box;
- background-clip: padding-box;
- position: relative;
- display: inline-block;
- vertical-align: top;
- padding: 0;
- margin: 0;
- font: inherit;
- color: inherit;
- background: transparent;
- border: none;
-}
-
-.navigation-bar__title {
- padding: 0;
- margin: 0;
- font: inherit;
- color: inherit;
- background: transparent;
- border: none;
- text-overflow: ellipsis;
- white-space: nowrap;
- overflow: hidden;
-}
-
-/**
-*
-* Copyright 2012 Adobe Systems Inc.;
-*
-* Licensed under the Apache License, Version 2.0 (the "License");
-* you may not use this file except in compliance with the License.
-* You may obtain a copy of the License at
-*
-* http://www.apache.org/licenses/LICENSE-2.0
-*
-* Unless required by applicable law or agreed to in writing, software
-* distributed under the License is distributed on an "AS IS" BASIS,
-* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-* See the License for the specific language governing permissions and
-* limitations under the License.
-*
-*/
-
-/**
-*
-* Copyright 2012 Adobe Systems Inc.;
-*
-* Licensed under the Apache License, Version 2.0 (the "License");
-* you may not use this file except in compliance with the License.
-* You may obtain a copy of the License at
-*
-* http://www.apache.org/licenses/LICENSE-2.0
-*
-* Unless required by applicable law or agreed to in writing, software
-* distributed under the License is distributed on an "AS IS" BASIS,
-* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-* See the License for the specific language governing permissions and
-* limitations under the License.
-*
-*/
-
-.navigation-bar,
-.topcoat-navigation-bar {
- -moz-box-sizing: border-box;
- box-sizing: border-box;
- background-clip: padding-box;
- white-space: nowrap;
- overflow: hidden;
- word-spacing: 0;
- padding: 0;
- margin: 0;
- font: inherit;
- color: inherit;
- background: transparent;
- border: none;
- cursor: default;
- -webkit-user-select: none;
- -moz-user-select: none;
- -ms-user-select: none;
- user-select: none;
-}
-
-.navigation-bar__item,
-.topcoat-navigation-bar__item {
- -moz-box-sizing: border-box;
- box-sizing: border-box;
- background-clip: padding-box;
- position: relative;
- display: inline-block;
- vertical-align: top;
- padding: 0;
- margin: 0;
- font: inherit;
- color: inherit;
- background: transparent;
- border: none;
-}
-
-.navigation-bar__title,
-.topcoat-navigation-bar__title {
- padding: 0;
- margin: 0;
- font: inherit;
- color: inherit;
- background: transparent;
- border: none;
- text-overflow: ellipsis;
- white-space: nowrap;
- overflow: hidden;
-}
-
-/* topdoc
- name: Navigation Bar
- description: A place where navigation goes to drink
- markup:
- <div class="topcoat-navigation-bar">
- <div class="topcoat-navigation-bar__item center full">
- <h1 class="topcoat-navigation-bar__title">Header</h1>
- </div>
- </div>
- tags:
- - desktop
- - light
- - mobile
- - navigation
- - bar
-*/
-
-.topcoat-navigation-bar {
- height: 4.375rem;
- padding-left: 1rem;
- padding-right: 1rem;
- background: #e5e9e8;
- color: #454545;
- box-shadow: inset 0 -1px #9daca9, 0 1px #d6dcdb;
-}
-
-.topcoat-navigation-bar__item {
- margin: 0;
- line-height: 4.375rem;
- vertical-align: top;
-}
-
-.topcoat-navigation-bar__title {
- font-size: 1.3rem;
- font-weight: 400;
- color: #454545;
-}
-
-/*
-Copyright 2012 Adobe Systems Inc.;
-Licensed under the Apache License, Version 2.0 (the "License");
-you may not use this file except in compliance with the License.
-You may obtain a copy of the License at
-
-http://www.apache.org/licenses/LICENSE-2.0
-
-Unless required by applicable law or agreed to in writing, software
-distributed under the License is distributed on an "AS IS" BASIS,
-WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-See the License for the specific language governing permissions and
-limitations under the License.
-*/
-
-/**
-*
-* Copyright 2012 Adobe Systems Inc.;
-*
-* Licensed under the Apache License, Version 2.0 (the "License");
-* you may not use this file except in compliance with the License.
-* You may obtain a copy of the License at
-*
-* http://www.apache.org/licenses/LICENSE-2.0
-*
-* Unless required by applicable law or agreed to in writing, software
-* distributed under the License is distributed on an "AS IS" BASIS,
-* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-* See the License for the specific language governing permissions and
-* limitations under the License.
-*
-*/
-
-.notification {
- position: relative;
- display: inline-block;
- vertical-align: top;
- -moz-box-sizing: border-box;
- box-sizing: border-box;
- background-clip: padding-box;
- padding: 0;
- margin: 0;
- font: inherit;
- color: inherit;
- background: transparent;
- border: none;
- cursor: default;
- -webkit-user-select: none;
- -moz-user-select: none;
- -ms-user-select: none;
- user-select: none;
- text-overflow: ellipsis;
- white-space: nowrap;
- overflow: hidden;
- text-decoration: none;
-}
-
-/*
-Copyright 2012 Adobe Systems Inc.;
-Licensed under the Apache License, Version 2.0 (the "License");
-you may not use this file except in compliance with the License.
-You may obtain a copy of the License at
-
-http://www.apache.org/licenses/LICENSE-2.0
-
-Unless required by applicable law or agreed to in writing, software
-distributed under the License is distributed on an "AS IS" BASIS,
-WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-See the License for the specific language governing permissions and
-limitations under the License.
-*/
-
-/**
-*
-* Copyright 2012 Adobe Systems Inc.;
-*
-* Licensed under the Apache License, Version 2.0 (the "License");
-* you may not use this file except in compliance with the License.
-* You may obtain a copy of the License at
-*
-* http://www.apache.org/licenses/LICENSE-2.0
-*
-* Unless required by applicable law or agreed to in writing, software
-* distributed under the License is distributed on an "AS IS" BASIS,
-* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-* See the License for the specific language governing permissions and
-* limitations under the License.
-*
-*/
-
-.notification,
-.topcoat-notification {
- position: relative;
- display: inline-block;
- vertical-align: top;
- -moz-box-sizing: border-box;
- box-sizing: border-box;
- background-clip: padding-box;
- padding: 0;
- margin: 0;
- font: inherit;
- color: inherit;
- background: transparent;
- border: none;
- cursor: default;
- -webkit-user-select: none;
- -moz-user-select: none;
- -ms-user-select: none;
- user-select: none;
- text-overflow: ellipsis;
- white-space: nowrap;
- overflow: hidden;
- text-decoration: none;
-}
-
-/* topdoc
- name: Notification
- description: Notification badge
- markup:
- <span class="topcoat-notification">1</span>
- tags:
- - desktop
- - light
- - mobile
- - notification
-*/
-
-.topcoat-notification {
- padding: 0.15em 0.5em 0.2em;
- border-radius: 2px;
- background-color: #ec514e;
- color: #fff;
-}
-
-/**
-*
-* Copyright 2012 Adobe Systems Inc.;
-*
-* Licensed under the Apache License, Version 2.0 (the "License");
-* you may not use this file except in compliance with the License.
-* You may obtain a copy of the License at
-*
-* http://www.apache.org/licenses/LICENSE-2.0
-*
-* Unless required by applicable law or agreed to in writing, software
-* distributed under the License is distributed on an "AS IS" BASIS,
-* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-* See the License for the specific language governing permissions and
-* limitations under the License.
-*
-*/
-
-/**
-*
-* Copyright 2012 Adobe Systems Inc.;
-*
-* Licensed under the Apache License, Version 2.0 (the "License");
-* you may not use this file except in compliance with the License.
-* You may obtain a copy of the License at
-*
-* http://www.apache.org/licenses/LICENSE-2.0
-*
-* Unless required by applicable law or agreed to in writing, software
-* distributed under the License is distributed on an "AS IS" BASIS,
-* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-* See the License for the specific language governing permissions and
-* limitations under the License.
-*
-*/
-
-input[type="radio"] {
- position: absolute;
- overflow: hidden;
- padding: 0;
- border: 0;
- opacity: 0.001;
- z-index: 1;
- vertical-align: top;
- outline: none;
-}
-
-.radio-button {
- -moz-box-sizing: border-box;
- box-sizing: border-box;
- background-clip: padding-box;
- position: relative;
- display: inline-block;
- vertical-align: top;
- cursor: default;
- -webkit-user-select: none;
- -moz-user-select: none;
- -ms-user-select: none;
- user-select: none;
-}
-
-.radio-button__label {
- position: relative;
- display: inline-block;
- vertical-align: top;
- cursor: default;
- -webkit-user-select: none;
- -moz-user-select: none;
- -ms-user-select: none;
- user-select: none;
-}
-
-.radio-button:before,
-.radio-button:after {
- content: '';
- position: absolute;
- border-radius: 100%;
-}
-
-.radio-button:after {
- top: 50%;
- left: 50%;
- -webkit-transform: translate(-50%, -50%);
- -ms-transform: translate(-50%, -50%);
- transform: translate(-50%, -50%);
-}
-
-.radio-button:before {
- -moz-box-sizing: border-box;
- box-sizing: border-box;
- background-clip: padding-box;
-}
-
-.radio-button--disabled {
- opacity: 0.3;
- cursor: default;
- pointer-events: none;
-}
-
-/**
-*
-* Copyright 2012 Adobe Systems Inc.;
-*
-* Licensed under the Apache License, Version 2.0 (the "License");
-* you may not use this file except in compliance with the License.
-* You may obtain a copy of the License at
-*
-* http://www.apache.org/licenses/LICENSE-2.0
-*
-* Unless required by applicable law or agreed to in writing, software
-* distributed under the License is distributed on an "AS IS" BASIS,
-* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-* See the License for the specific language governing permissions and
-* limitations under the License.
-*
-*/
-
-/**
-*
-* Copyright 2012 Adobe Systems Inc.;
-*
-* Licensed under the Apache License, Version 2.0 (the "License");
-* you may not use this file except in compliance with the License.
-* You may obtain a copy of the License at
-*
-* http://www.apache.org/licenses/LICENSE-2.0
-*
-* Unless required by applicable law or agreed to in writing, software
-* distributed under the License is distributed on an "AS IS" BASIS,
-* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-* See the License for the specific language governing permissions and
-* limitations under the License.
-*
-*/
-
-input[type="radio"] {
- position: absolute;
- overflow: hidden;
- padding: 0;
- border: 0;
- opacity: 0.001;
- z-index: 1;
- vertical-align: top;
- outline: none;
-}
-
-.radio-button,
-.topcoat-radio-button__checkmark {
- -moz-box-sizing: border-box;
- box-sizing: border-box;
- background-clip: padding-box;
- position: relative;
- display: inline-block;
- vertical-align: top;
- cursor: default;
- -webkit-user-select: none;
- -moz-user-select: none;
- -ms-user-select: none;
- user-select: none;
-}
-
-.radio-button__label,
-.topcoat-radio-button {
- position: relative;
- display: inline-block;
- vertical-align: top;
- cursor: default;
- -webkit-user-select: none;
- -moz-user-select: none;
- -ms-user-select: none;
- user-select: none;
-}
-
-.radio-button:before,
-.radio-button:after,
-.topcoat-radio-button__checkmark:before,
-.topcoat-radio-button__checkmark:after {
- content: '';
- position: absolute;
- border-radius: 100%;
-}
-
-.radio-button:after,
-.topcoat-radio-button__checkmark:after {
- top: 50%;
- left: 50%;
- -webkit-transform: translate(-50%, -50%);
- -ms-transform: translate(-50%, -50%);
- transform: translate(-50%, -50%);
-}
-
-.radio-button:before,
-.topcoat-radio-button__checkmark:before {
- -moz-box-sizing: border-box;
- box-sizing: border-box;
- background-clip: padding-box;
-}
-
-.radio-button--disabled,
-input[type="radio"]:disabled + .topcoat-radio-button__checkmark {
- opacity: 0.3;
- cursor: default;
- pointer-events: none;
-}
-
-/* topdoc
- name: Radio Button
- description: A button that can play music, but usually just plays ads.
- modifiers:
- markup:
- <!-- NO LABEL -->
- <label class="topcoat-radio-button">
- <input type="radio" name="topcoat">
- <div class="topcoat-radio-button__checkmark"></div>
- </label>
- <br>
- <br>
- <!-- LEFT LABEL -->
- <label class="topcoat-radio-button">
- Left label
- <input type="radio" name="topcoat">
- <div class="topcoat-radio-button__checkmark"></div>
- </label>
- <br>
- <br>
- <!-- RIGHT LABEL -->
- <label class="topcoat-radio-button">
- <input type="radio" name="topcoat">
- <div class="topcoat-radio-button__checkmark"></div>
- Right label
- </label>
- <br>
- <br>
- <!-- DISABLED -->
- <label class="topcoat-radio-button">
- <input type="radio" name="topcoat" Disabled>
- <div class="topcoat-radio-button__checkmark"></div>
- Disabled
- </label>
- examples:
- Mobile Radio Button: http://codepen.io/Topcoat/pen/HDcJj
- tags:
- - desktop
- - light
- - mobile
- - Radio
-*/
-
-input[type="radio"] {
- height: 1.875rem;
- width: 1.875rem;
- margin-top: 0;
- margin-right: -1.875rem;
- margin-bottom: -1.875rem;
- margin-left: 0;
-}
-
-input[type="radio"]:checked + .topcoat-radio-button__checkmark:after {
- opacity: 1;
-}
-
-.topcoat-radio-button {
- color: #454545;
- line-height: 1.875rem;
-}
-
-.topcoat-radio-button__checkmark:before {
- width: 1.875rem;
- height: 1.875rem;
- background: #e5e9e8;
- border: 1px solid #9daca9;
- box-shadow: inset 0 1px #fff;
-}
-
-.topcoat-radio-button__checkmark {
- position: relative;
- width: 1.875rem;
- height: 1.875rem;
-}
-
-.topcoat-radio-button__checkmark:after {
- opacity: 0;
- width: 0.875rem;
- height: 0.875rem;
- background: #454545;
- border: 1px solid rgba(0,0,0,0.1);
- box-shadow: 0 1px rgba(255,255,255,0.5);
- -webkit-transform: none;
- -ms-transform: none;
- transform: none;
- top: 7px;
- left: 7px;
-}
-
-input[type="radio"]:focus + .topcoat-radio-button__checkmark:before {
- border: 1px solid #0036ff;
- box-shadow: inset 0 1px rgba(255,255,255,0.36), 0 0 0 2px #6fb5f1;
-}
-
-input[type="radio"]:active + .topcoat-radio-button__checkmark:before {
- border: 1px solid #9daca9;
- background-color: #d2d6d6;
- box-shadow: inset 0 1px rgba(0,0,0,0.1);
-}
-
-input[type="radio"]:disabled:active + .topcoat-radio-button__checkmark:before {
- border: 1px solid #9daca9;
- background: #e5e9e8;
- box-shadow: inset 0 1px #fff;
-}
-
-/*
-Copyright 2012 Adobe Systems Inc.;
-Licensed under the Apache License, Version 2.0 (the "License");
-you may not use this file except in compliance with the License.
-You may obtain a copy of the License at
-
-http://www.apache.org/licenses/LICENSE-2.0
-
-Unless required by applicable law or agreed to in writing, software
-distributed under the License is distributed on an "AS IS" BASIS,
-WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-See the License for the specific language governing permissions and
-limitations under the License.
-*/
-
-/*
-Copyright 2012 Adobe Systems Inc.;
-Licensed under the Apache License, Version 2.0 (the "License");
-you may not use this file except in compliance with the License.
-You may obtain a copy of the License at
-
-http://www.apache.org/licenses/LICENSE-2.0
-
-Unless required by applicable law or agreed to in writing, software
-distributed under the License is distributed on an "AS IS" BASIS,
-WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-See the License for the specific language governing permissions and
-limitations under the License.
-*/
-
-.range {
- padding: 0;
- margin: 0;
- font: inherit;
- color: inherit;
- background: transparent;
- border: none;
- -moz-box-sizing: border-box;
- box-sizing: border-box;
- background-clip: padding-box;
- vertical-align: top;
- outline: none;
- -webkit-appearance: none;
-}
-
-.range__thumb {
- cursor: pointer;
-}
-
-.range__thumb--webkit {
- cursor: pointer;
- -webkit-appearance: none;
-}
-
-.range:disabled {
- opacity: 0.3;
- cursor: default;
- pointer-events: none;
-}
-
-/*
-Copyright 2012 Adobe Systems Inc.;
-Licensed under the Apache License, Version 2.0 (the "License");
-you may not use this file except in compliance with the License.
-You may obtain a copy of the License at
-
-http://www.apache.org/licenses/LICENSE-2.0
-
-Unless required by applicable law or agreed to in writing, software
-distributed under the License is distributed on an "AS IS" BASIS,
-WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-See the License for the specific language governing permissions and
-limitations under the License.
-*/
-
-/*
-Copyright 2012 Adobe Systems Inc.;
-Licensed under the Apache License, Version 2.0 (the "License");
-you may not use this file except in compliance with the License.
-You may obtain a copy of the License at
-
-http://www.apache.org/licenses/LICENSE-2.0
-
-Unless required by applicable law or agreed to in writing, software
-distributed under the License is distributed on an "AS IS" BASIS,
-WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-See the License for the specific language governing permissions and
-limitations under the License.
-*/
-
-.range,
-.topcoat-range {
- padding: 0;
- margin: 0;
- font: inherit;
- color: inherit;
- background: transparent;
- border: none;
- -moz-box-sizing: border-box;
- box-sizing: border-box;
- background-clip: padding-box;
- vertical-align: top;
- outline: none;
- -webkit-appearance: none;
-}
-
-.range__thumb,
-.topcoat-range::-moz-range-thumb {
- cursor: pointer;
-}
-
-.range__thumb--webkit,
-.topcoat-range::-webkit-slider-thumb {
- cursor: pointer;
- -webkit-appearance: none;
-}
-
-.range:disabled,
-.topcoat-range:disabled {
- opacity: 0.3;
- cursor: default;
- pointer-events: none;
-}
-
-/* topdoc
- name: Range
- description: Range input
- modifiers:
- :active: Active state
- :disabled: Disabled state
- :hover: Hover state
- :focus: Focused
- markup:
- <input type="range" class="topcoat-range">
- <input type="range" class="topcoat-range" disabled>
- examples:
- mobile range: http://codepen.io/Topcoat/pen/BskEn
- tags:
- - desktop
- - mobile
- - range
-*/
-
-.topcoat-range {
- border-radius: 6px;
- border: 1px solid #9daca9;
- background-color: #d6dcdb;
- height: 1rem;
- border-radius: 30px;
-}
-
-.topcoat-range::-moz-range-track {
- border-radius: 6px;
- border: 1px solid #9daca9;
- background-color: #d6dcdb;
- height: 1rem;
- border-radius: 30px;
-}
-
-.topcoat-range::-webkit-slider-thumb {
- height: 3rem;
- width: 2rem;
- background-color: #e5e9e8;
- border: 1px solid #9daca9;
- border-radius: 6px;
- box-shadow: inset 0 1px #fff;
-}
-
-.topcoat-range::-moz-range-thumb {
- height: 3rem;
- width: 2rem;
- background-color: #e5e9e8;
- border: 1px solid #9daca9;
- border-radius: 6px;
- box-shadow: inset 0 1px #fff;
-}
-
-.topcoat-range:focus::-webkit-slider-thumb {
- border: 1px solid #0036ff;
- box-shadow: inset 0 1px rgba(255,255,255,0.36), 0 0 0 2px #6fb5f1;
-}
-
-.topcoat-range:focus::-moz-range-thumb {
- border: 1px solid #0036ff;
- box-shadow: inset 0 1px rgba(255,255,255,0.36), 0 0 0 2px #6fb5f1;
-}
-
-.topcoat-range:active::-webkit-slider-thumb {
- border: 1px solid #9daca9;
- box-shadow: inset 0 1px #fff;
-}
-
-.topcoat-range:active::-moz-range-thumb {
- border: 1px solid #9daca9;
- box-shadow: inset 0 1px #fff;
-}
-
-/**
-*
-* Copyright 2012 Adobe Systems Inc.;
-*
-* Licensed under the Apache License, Version 2.0 (the "License");
-* you may not use this file except in compliance with the License.
-* You may obtain a copy of the License at
-*
-* http://www.apache.org/licenses/LICENSE-2.0
-*
-* Unless required by applicable law or agreed to in writing, software
-* distributed under the License is distributed on an "AS IS" BASIS,
-* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-* See the License for the specific language governing permissions and
-* limitations under the License.
-*
-*/
-
-/**
-*
-* Copyright 2012 Adobe Systems Inc.;
-*
-* Licensed under the Apache License, Version 2.0 (the "License");
-* you may not use this file except in compliance with the License.
-* You may obtain a copy of the License at
-*
-* http://www.apache.org/licenses/LICENSE-2.0
-*
-* Unless required by applicable law or agreed to in writing, software
-* distributed under the License is distributed on an "AS IS" BASIS,
-* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-* See the License for the specific language governing permissions and
-* limitations under the License.
-*
-*/
-
-.search-input {
- padding: 0;
- margin: 0;
- font: inherit;
- color: inherit;
- background: transparent;
- border: none;
- -moz-box-sizing: border-box;
- box-sizing: border-box;
- background-clip: padding-box;
- vertical-align: top;
- outline: none;
- -webkit-appearance: none;
-}
-
-input[type="search"]::-webkit-search-cancel-button {
- -webkit-appearance: none;
-}
-
-.search-input:disabled {
- opacity: 0.3;
- cursor: default;
- pointer-events: none;
-}
-
-/**
-*
-* Copyright 2012 Adobe Systems Inc.;
-*
-* Licensed under the Apache License, Version 2.0 (the "License");
-* you may not use this file except in compliance with the License.
-* You may obtain a copy of the License at
-*
-* http://www.apache.org/licenses/LICENSE-2.0
-*
-* Unless required by applicable law or agreed to in writing, software
-* distributed under the License is distributed on an "AS IS" BASIS,
-* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-* See the License for the specific language governing permissions and
-* limitations under the License.
-*
-*/
-
-/**
-*
-* Copyright 2012 Adobe Systems Inc.;
-*
-* Licensed under the Apache License, Version 2.0 (the "License");
-* you may not use this file except in compliance with the License.
-* You may obtain a copy of the License at
-*
-* http://www.apache.org/licenses/LICENSE-2.0
-*
-* Unless required by applicable law or agreed to in writing, software
-* distributed under the License is distributed on an "AS IS" BASIS,
-* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-* See the License for the specific language governing permissions and
-* limitations under the License.
-*
-*/
-
-.search-input,
-.topcoat-search-input,
-.topcoat-search-input--large {
- padding: 0;
- margin: 0;
- font: inherit;
- color: inherit;
- background: transparent;
- border: none;
- -moz-box-sizing: border-box;
- box-sizing: border-box;
- background-clip: padding-box;
- vertical-align: top;
- outline: none;
- -webkit-appearance: none;
-}
-
-input[type="search"]::-webkit-search-cancel-button {
- -webkit-appearance: none;
-}
-
-.search-input:disabled,
-.topcoat-search-input:disabled,
-.topcoat-search-input--large:disabled {
- opacity: 0.3;
- cursor: default;
- pointer-events: none;
-}
-
-/* topdoc
- name: Search Input
- description: A text input designed for searching.
- modifiers:
- :disabled: Disabled state
- markup:
- <input type="search" value="" placeholder="search" class="topcoat-search-input">
- <input type="search" value="" placeholder="search" class="topcoat-search-input" disabled>
- tags:
- - desktop
- - light
- - mobile
- - text
- - input
- - search
- - form
-*/
-
-.topcoat-search-input,
-.topcoat-search-input--large {
- line-height: 3rem;
- height: 3rem;
- font-size: 16px;
- border: 1px solid #9daca9;
- background-color: #fff;
- box-shadow: inset 0 1px 0 rgba(0,0,0,0.23);
- color: #454545;
- padding: 0 0 0 2rem;
- border-radius: 30px;
- background-image: url("../images/search.svg");
- background-position: 1rem center;
- background-repeat: no-repeat;
- background-size: 16px;
-}
-
-.topcoat-search-input:focus,
-.topcoat-search-input--large:focus {
- background-color: #fff;
- color: #454545;
- border: 1px solid #0036ff;
- box-shadow: inset 0 1px 0 rgba(0,0,0,0.23), 0 0 0 2px #6fb5f1;
-}
-
-.topcoat-search-input::-webkit-search-cancel-button,
-.topcoat-search-input::-webkit-search-decoration,
-.topcoat-search-input--large::-webkit-search-cancel-button,
-.topcoat-search-input--large::-webkit-search-decoration {
- margin-right: 5px;
-}
-
-.topcoat-search-input:focus::-webkit-input-placeholder,
-.topcoat-search-input:focus::-webkit-input-placeholder {
- color: #c6c8c8;
-}
-
-.topcoat-search-input:disabled::-webkit-input-placeholder {
- color: #454545;
-}
-
-.topcoat-search-input:disabled::-moz-placeholder {
- color: #454545;
-}
-
-.topcoat-search-input:disabled:-ms-input-placeholder {
- color: #454545;
-}
-
-/* topdoc
- name: Large Search Input
- description: A large text input designed for searching.
- modifiers:
- :disabled: Disabled state
- markup:
- <input type="search" value="" placeholder="search" class="topcoat-search-input--large">
- <input type="search" value="" placeholder="search" class="topcoat-search-input--large" disabled>
- tags:
- - desktop
- - light
- - mobile
- - text
- - input
- - search
- - form
- - large
-*/
-
-.topcoat-search-input--large {
- line-height: 4.375rem;
- height: 4.375rem;
- font-size: 1.3rem;
- font-weight: 400;
- padding: 0 0 0 2.9rem;
- border-radius: 40px;
- background-position: 1.2rem center;
- background-size: 1.3rem;
-}
-
-.topcoat-search-input--large:disabled {
- color: #454545;
-}
-
-.topcoat-search-input--large:disabled::-webkit-input-placeholder {
- color: #454545;
-}
-
-.topcoat-search-input--large:disabled::-moz-placeholder {
- color: #454545;
-}
-
-.topcoat-search-input--large:disabled:-ms-input-placeholder {
- color: #454545;
-}
-
-/**
-*
-* Copyright 2012 Adobe Systems Inc.;
-*
-* Licensed under the Apache License, Version 2.0 (the "License");
-* you may not use this file except in compliance with the License.
-* You may obtain a copy of the License at
-*
-* http://www.apache.org/licenses/LICENSE-2.0
-*
-* Unless required by applicable law or agreed to in writing, software
-* distributed under the License is distributed on an "AS IS" BASIS,
-* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-* See the License for the specific language governing permissions and
-* limitations under the License.
-*
-*/
-
-/**
-*
-* Copyright 2012 Adobe Systems Inc.;
-*
-* Licensed under the Apache License, Version 2.0 (the "License");
-* you may not use this file except in compliance with the License.
-* You may obtain a copy of the License at
-*
-* http://www.apache.org/licenses/LICENSE-2.0
-*
-* Unless required by applicable law or agreed to in writing, software
-* distributed under the License is distributed on an "AS IS" BASIS,
-* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-* See the License for the specific language governing permissions and
-* limitations under the License.
-*
-*/
-
-.switch {
- position: relative;
- display: inline-block;
- vertical-align: top;
- -moz-box-sizing: border-box;
- box-sizing: border-box;
- background-clip: padding-box;
-}
-
-.switch__input {
- position: absolute;
- overflow: hidden;
- padding: 0;
- border: 0;
- opacity: 0.001;
- z-index: 1;
- vertical-align: top;
- outline: none;
-}
-
-.switch__toggle {
- position: relative;
- display: inline-block;
- vertical-align: top;
- -moz-box-sizing: border-box;
- box-sizing: border-box;
- background-clip: padding-box;
- padding: 0;
- margin: 0;
- font: inherit;
- color: inherit;
- background: transparent;
- border: none;
- cursor: default;
- -webkit-user-select: none;
- -moz-user-select: none;
- -ms-user-select: none;
- user-select: none;
-}
-
-.switch__toggle:before,
-.switch__toggle:after {
- content: '';
- position: absolute;
- z-index: -1;
- -moz-box-sizing: border-box;
- box-sizing: border-box;
- background-clip: padding-box;
-}
-
-.switch--disabled {
- opacity: 0.3;
- cursor: default;
- pointer-events: none;
-}
-
-/**
-*
-* Copyright 2012 Adobe Systems Inc.;
-*
-* Licensed under the Apache License, Version 2.0 (the "License");
-* you may not use this file except in compliance with the License.
-* You may obtain a copy of the License at
-*
-* http://www.apache.org/licenses/LICENSE-2.0
-*
-* Unless required by applicable law or agreed to in writing, software
-* distributed under the License is distributed on an "AS IS" BASIS,
-* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-* See the License for the specific language governing permissions and
-* limitations under the License.
-*
-*/
-
-/**
-*
-* Copyright 2012 Adobe Systems Inc.;
-*
-* Licensed under the Apache License, Version 2.0 (the "License");
-* you may not use this file except in compliance with the License.
-* You may obtain a copy of the License at
-*
-* http://www.apache.org/licenses/LICENSE-2.0
-*
-* Unless required by applicable law or agreed to in writing, software
-* distributed under the License is distributed on an "AS IS" BASIS,
-* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-* See the License for the specific language governing permissions and
-* limitations under the License.
-*
-*/
-
-.switch,
-.topcoat-switch {
- position: relative;
- display: inline-block;
- vertical-align: top;
- -moz-box-sizing: border-box;
- box-sizing: border-box;
- background-clip: padding-box;
-}
-
-.switch__input,
-.topcoat-switch__input {
- position: absolute;
- overflow: hidden;
- padding: 0;
- border: 0;
- opacity: 0.001;
- z-index: 1;
- vertical-align: top;
- outline: none;
-}
-
-.switch__toggle,
-.topcoat-switch__toggle {
- position: relative;
- display: inline-block;
- vertical-align: top;
- -moz-box-sizing: border-box;
- box-sizing: border-box;
- background-clip: padding-box;
- padding: 0;
- margin: 0;
- font: inherit;
- color: inherit;
- background: transparent;
- border: none;
- cursor: default;
- -webkit-user-select: none;
- -moz-user-select: none;
- -ms-user-select: none;
- user-select: none;
-}
-
-.switch__toggle:before,
-.switch__toggle:after,
-.topcoat-switch__toggle:before,
-.topcoat-switch__toggle:after {
- content: '';
- position: absolute;
- z-index: -1;
- -moz-box-sizing: border-box;
- box-sizing: border-box;
- background-clip: padding-box;
-}
-
-.switch--disabled,
-.topcoat-switch__input:disabled + .topcoat-switch__toggle {
- opacity: 0.3;
- cursor: default;
- pointer-events: none;
-}
-
-/* topdoc
- name: Switch
- description: Default skin for Topcoat switch
- modifiers:
- :focus: Focus state
- :disabled: Disabled state
- markup:
- <label class="topcoat-switch">
- <input type="checkbox" class="topcoat-switch__input">
- <div class="topcoat-switch__toggle"></div>
- </label>
- <br>
- <br>
- <label class="topcoat-switch">
- <input type="checkbox" class="topcoat-switch__input" checked>
- <div class="topcoat-switch__toggle"></div>
- </label>
- <br>
- <br>
- <label class="topcoat-switch">
- <input type="checkbox" class="topcoat-switch__input" disabled>
- <div class="topcoat-switch__toggle"></div>
- </label>
- examples:
- mobile switch: http://codepen.io/Topcoat/pen/upxds
- tags:
- - desktop
- - light
- - mobile
- - switch
-*/
-
-.topcoat-switch {
- font-size: 16px;
- padding: 0 1.25rem;
- border-radius: 6px;
- border: 1px solid #9daca9;
- overflow: hidden;
- width: 6rem;
-}
-
-.topcoat-switch__toggle:before,
-.topcoat-switch__toggle:after {
- top: -1px;
- width: 5rem;
-}
-
-.topcoat-switch__toggle:before {
- content: 'ON';
- color: #288edf;
- background-color: #e5f1fb;
- right: 1rem;
- padding-left: 1.5rem;
-}
-
-.topcoat-switch__toggle {
- line-height: 3rem;
- height: 3rem;
- width: 2rem;
- border-radius: 6px;
- color: #454545;
- text-shadow: 0 1px #fff;
- background-color: #e5e9e8;
- border: 1px solid #9daca9;
- margin-left: -1.3rem;
- margin-bottom: -1px;
- margin-top: -1px;
- box-shadow: inset 0 1px #fff;
- -webkit-transition: margin-left 0.05s ease-in-out;
- transition: margin-left 0.05s ease-in-out;
-}
-
-.topcoat-switch__toggle:after {
- content: 'OFF';
- background-color: #d2d6d6;
- left: 1rem;
- padding-left: 2rem;
-}
-
-.topcoat-switch__input:checked + .topcoat-switch__toggle {
- margin-left: 2.7rem;
-}
-
-.topcoat-switch__input:active + .topcoat-switch__toggle {
- border: 1px solid #9daca9;
- box-shadow: inset 0 1px #fff;
-}
-
-.topcoat-switch__input:focus + .topcoat-switch__toggle {
- border: 1px solid #0036ff;
- box-shadow: 0 0 0 2px #6fb5f1;
-}
-
-.topcoat-switch__input:disabled + .topcoat-switch__toggle:after,
-.topcoat-switch__input:disabled + .topcoat-switch__toggle:before {
- background: transparent;
-}
-
-/**
-*
-* Copyright 2012 Adobe Systems Inc.;
-*
-* Licensed under the Apache License, Version 2.0 (the "License");
-* you may not use this file except in compliance with the License.
-* You may obtain a copy of the License at
-*
-* http://www.apache.org/licenses/LICENSE-2.0
-*
-* Unless required by applicable law or agreed to in writing, software
-* distributed under the License is distributed on an "AS IS" BASIS,
-* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-* See the License for the specific language governing permissions and
-* limitations under the License.
-*
-*/
-
-/**
-*
-* Copyright 2012 Adobe Systems Inc.;
-*
-* Licensed under the Apache License, Version 2.0 (the "License");
-* you may not use this file except in compliance with the License.
-* You may obtain a copy of the License at
-*
-* http://www.apache.org/licenses/LICENSE-2.0
-*
-* Unless required by applicable law or agreed to in writing, software
-* distributed under the License is distributed on an "AS IS" BASIS,
-* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-* See the License for the specific language governing permissions and
-* limitations under the License.
-*
-*/
-
-.button,
-.topcoat-tab-bar__button {
- position: relative;
- display: inline-block;
- vertical-align: top;
- -moz-box-sizing: border-box;
- box-sizing: border-box;
- background-clip: padding-box;
- padding: 0;
- margin: 0;
- font: inherit;
- color: inherit;
- background: transparent;
- border: none;
- cursor: default;
- -webkit-user-select: none;
- -moz-user-select: none;
- -ms-user-select: none;
- user-select: none;
- text-overflow: ellipsis;
- white-space: nowrap;
- overflow: hidden;
- text-decoration: none;
-}
-
-.button--quiet {
- background: transparent;
- border: 1px solid transparent;
- box-shadow: none;
-}
-
-.button--disabled,
-.topcoat-tab-bar__button:disabled {
- opacity: 0.3;
- cursor: default;
- pointer-events: none;
-}
-
-.button-bar,
-.topcoat-tab-bar {
- display: table;
- table-layout: fixed;
- white-space: nowrap;
- margin: 0;
- padding: 0;
-}
-
-.button-bar__item,
-.topcoat-tab-bar__item {
- display: table-cell;
- width: auto;
- border-radius: 0;
-}
-
-.button-bar__item > input,
-.topcoat-tab-bar__item > input {
- position: absolute;
- overflow: hidden;
- padding: 0;
- border: 0;
- opacity: 0.001;
- z-index: 1;
- vertical-align: top;
- outline: none;
-}
-
-.button-bar__button {
- border-radius: inherit;
-}
-
-.button-bar__item:disabled {
- opacity: 0.3;
- cursor: default;
- pointer-events: none;
-}
-
-/* topdoc
- name: Tab Bar
- description: Component of tab buttons
- modifiers:
- :disabled: Disabled state
- markup:
- <div class="topcoat-tab-bar">
- <label class="topcoat-tab-bar__item">
- <input type="radio" name="tab-bar">
- <button class="topcoat-tab-bar__button">One</button>
- </label>
- <label class="topcoat-tab-bar__item">
- <input type="radio" name="tab-bar">
- <button class="topcoat-tab-bar__button">Two</button>
- </label>
- <label class="topcoat-tab-bar__item">
- <input type="radio" name="tab-bar">
- <button class="topcoat-tab-bar__button">Three</button>
- </label>
- </div>
- examples:
- mobile tab bar: http://codepen.io/Topcoat/pen/rJICF
- tags:
- - desktop
- - light
- - dark
- - mobile
- - tab
- - group
- - bar
-*/
-
-.topcoat-tab-bar__button {
- padding: 0 1.25rem;
- height: 3rem;
- line-height: 3rem;
- letter-spacing: 1px;
- color: #454545;
- text-shadow: 0 1px #fff;
- vertical-align: top;
- background-color: #e5e9e8;
- box-shadow: inset 0 1px #fff;
- border-top: 1px solid #9daca9;
-}
-
-.topcoat-tab-bar__button:active,
-.topcoat-tab-bar__button--large:active,
-:checked + .topcoat-tab-bar__button {
- color: #288edf;
- background-color: #e5f1fb;
- box-shadow: inset 0 0 1px rgba(0,0,0,0.1);
-}
-
-.topcoat-tab-bar__button:focus,
-.topcoat-tab-bar__button--large:focus {
- z-index: 1;
- box-shadow: inset 0 1px rgba(255,255,255,0.36), 0 0 0 2px #6fb5f1;
- outline: 0;
-}
-
-/**
-*
-* Copyright 2012 Adobe Systems Inc.;
-*
-* Licensed under the Apache License, Version 2.0 (the "License");
-* you may not use this file except in compliance with the License.
-* You may obtain a copy of the License at
-*
-* http://www.apache.org/licenses/LICENSE-2.0
-*
-* Unless required by applicable law or agreed to in writing, software
-* distributed under the License is distributed on an "AS IS" BASIS,
-* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-* See the License for the specific language governing permissions and
-* limitations under the License.
-*
-*/
-
-/**
-*
-* Copyright 2012 Adobe Systems Inc.;
-*
-* Licensed under the Apache License, Version 2.0 (the "License");
-* you may not use this file except in compliance with the License.
-* You may obtain a copy of the License at
-*
-* http://www.apache.org/licenses/LICENSE-2.0
-*
-* Unless required by applicable law or agreed to in writing, software
-* distributed under the License is distributed on an "AS IS" BASIS,
-* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-* See the License for the specific language governing permissions and
-* limitations under the License.
-*
-*/
-
-.input,
-.topcoat-text-input,
-.topcoat-text-input--large {
- padding: 0;
- margin: 0;
- font: inherit;
- color: inherit;
- background: transparent;
- border: none;
- -moz-box-sizing: border-box;
- box-sizing: border-box;
- background-clip: padding-box;
- vertical-align: top;
- outline: none;
-}
-
-.input:disabled,
-.topcoat-text-input:disabled,
-.topcoat-text-input--large:disabled {
- opacity: 0.3;
- cursor: default;
- pointer-events: none;
-}
-
-/* topdoc
- name: Text input
- description: Topdoc text input
- modifiers:
- :disabled: Disabled state
- :focus: Focused
- :invalid: Hover state
- markup:
- <input type="text" class="topcoat-text-input" placeholder="text" value="">
- <br>
- <br>
- <input type="text" class="topcoat-text-input" placeholder="text" value="" disabled>
- <br>
- <br>
- <input type="text" class="topcoat-text-input" placeholder="text" value="fail" pattern="not-fail">
- tags:
- - desktop
- - mobile
- - text
- - input
-*/
-
-.topcoat-text-input,
-.topcoat-text-input--large {
- line-height: 3rem;
- font-size: 16px;
- letter-spacing: 1px;
- padding: 0 1.25rem;
- border: 1px solid #9daca9;
- border-radius: 6px;
- background-color: #fff;
- box-shadow: inset 0 1px rgba(0,0,0,0.1);
- color: #454545;
- vertical-align: top;
-}
-
-.topcoat-text-input:focus,
-.topcoat-text-input--large:focus {
- background-color: #fff;
- color: #454545;
- border: 1px solid #0036ff;
- box-shadow: 0 0 0 2px #6fb5f1;
-}
-
-.topcoat-text-input:disabled::-webkit-input-placeholder {
- color: #454545;
-}
-
-.topcoat-text-input:disabled::-moz-placeholder {
- color: #454545;
-}
-
-.topcoat-text-input:disabled:-ms-input-placeholder {
- color: #454545;
-}
-
-.topcoat-text-input:invalid {
- border: 1px solid #ec514e;
-}
-
-/* topdoc
- name: Large Text Input
- description: A bigger input, still for text.
- modifiers:
- :disabled: Disabled state
- :focus: Focused
- :invalid: Hover state
- markup:
- <input type="text" class="topcoat-text-input--large" value="" placeholder="text">
- <br>
- <br>
- <input type="text" class="topcoat-text-input--large" value="" placeholder="text" disabled>
- <br>
- <br>
- <input type="text" class="topcoat-text-input--large" placeholder="text" value="fail" pattern="not-fail">
- tags:
- - desktop
- - light
- - mobile
- - form
- - input
- - large
-*/
-
-.topcoat-text-input--large {
- line-height: 4.375rem;
- font-size: 1.3rem;
-}
-
-.topcoat-text-input--large:disabled {
- color: #454545;
-}
-
-.topcoat-text-input--large:disabled::-webkit-input-placeholder {
- color: #454545;
-}
-
-.topcoat-text-input--large:disabled::-moz-placeholder {
- color: #454545;
-}
-
-.topcoat-text-input--large:disabled:-ms-input-placeholder {
- color: #454545;
-}
-
-.topcoat-text-input--large:invalid {
- border: 1px solid #ec514e;
-}
-
-/**
-*
-* Copyright 2012 Adobe Systems Inc.;
-*
-* Licensed under the Apache License, Version 2.0 (the "License");
-* you may not use this file except in compliance with the License.
-* You may obtain a copy of the License at
-*
-* http://www.apache.org/licenses/LICENSE-2.0
-*
-* Unless required by applicable law or agreed to in writing, software
-* distributed under the License is distributed on an "AS IS" BASIS,
-* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-* See the License for the specific language governing permissions and
-* limitations under the License.
-*
-*/
-
-/**
-*
-* Copyright 2012 Adobe Systems Inc.;
-*
-* Licensed under the Apache License, Version 2.0 (the "License");
-* you may not use this file except in compliance with the License.
-* You may obtain a copy of the License at
-*
-* http://www.apache.org/licenses/LICENSE-2.0
-*
-* Unless required by applicable law or agreed to in writing, software
-* distributed under the License is distributed on an "AS IS" BASIS,
-* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-* See the License for the specific language governing permissions and
-* limitations under the License.
-*
-*/
-
-.textarea {
- -moz-box-sizing: border-box;
- box-sizing: border-box;
- background-clip: padding-box;
- padding: 0;
- margin: 0;
- font: inherit;
- color: inherit;
- background: transparent;
- border: none;
- vertical-align: top;
- resize: none;
- outline: none;
-}
-
-.textarea:disabled {
- opacity: 0.3;
- cursor: default;
- pointer-events: none;
-}
-
-/**
-*
-* Copyright 2012 Adobe Systems Inc.;
-*
-* Licensed under the Apache License, Version 2.0 (the "License");
-* you may not use this file except in compliance with the License.
-* You may obtain a copy of the License at
-*
-* http://www.apache.org/licenses/LICENSE-2.0
-*
-* Unless required by applicable law or agreed to in writing, software
-* distributed under the License is distributed on an "AS IS" BASIS,
-* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-* See the License for the specific language governing permissions and
-* limitations under the License.
-*
-*/
-
-/**
-*
-* Copyright 2012 Adobe Systems Inc.;
-*
-* Licensed under the Apache License, Version 2.0 (the "License");
-* you may not use this file except in compliance with the License.
-* You may obtain a copy of the License at
-*
-* http://www.apache.org/licenses/LICENSE-2.0
-*
-* Unless required by applicable law or agreed to in writing, software
-* distributed under the License is distributed on an "AS IS" BASIS,
-* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-* See the License for the specific language governing permissions and
-* limitations under the License.
-*
-*/
-
-.textarea,
-.topcoat-textarea,
-.topcoat-textarea--large {
- -moz-box-sizing: border-box;
- box-sizing: border-box;
- background-clip: padding-box;
- padding: 0;
- margin: 0;
- font: inherit;
- color: inherit;
- background: transparent;
- border: none;
- vertical-align: top;
- resize: none;
- outline: none;
-}
-
-.textarea:disabled,
-.topcoat-textarea:disabled,
-.topcoat-textarea--large:disabled {
- opacity: 0.3;
- cursor: default;
- pointer-events: none;
-}
-
-/* topdoc
- name: Textarea
- description: A whole area, just for text.
- modifiers:
- :disabled: Disabled state
- markup:
- <textarea class="topcoat-textarea" rows="6" cols="36" placeholder="Textarea"></textarea>
- <br>
- <br>
- <textarea class="topcoat-textarea" rows="6" cols="36" placeholder="Textarea" disabled></textarea>
- tags:
- - desktop
- - light
- - mobile
- - form
- - input
- - textarea
-*/
-
-.topcoat-textarea,
-.topcoat-textarea--large {
- padding: 2rem;
- font-size: 2.5rem;
- font-weight: 400;
- border-radius: 6px;
- line-height: 3rem;
- border: 1px solid #9daca9;
- background-color: #fff;
- box-shadow: inset 0 1px rgba(0,0,0,0.1);
- color: #454545;
- letter-spacing: 1px;
-}
-
-.topcoat-textarea:focus,
-.topcoat-textarea--large:focus {
- background-color: #fff;
- color: #454545;
- border: 1px solid #0036ff;
- box-shadow: 0 0 0 2px #6fb5f1;
-}
-
-.topcoat-textarea:disabled::-webkit-input-placeholder {
- color: #454545;
-}
-
-.topcoat-textarea:disabled::-moz-placeholder {
- color: #454545;
-}
-
-.topcoat-textarea:disabled:-ms-input-placeholder {
- color: #454545;
-}
-
-/* topdoc
- name: Large Textarea
- description: A whole area, just for text; now available in large.
- modifiers:
- :disabled: Disabled state
- markup:
- <textarea class="topcoat-textarea--large" rows="6" cols="36" placeholder="Textarea"></textarea>
- <br>
- <br>
- <textarea class="topcoat-textarea--large" rows="6" cols="36" placeholder="Textarea" disabled></textarea>
- tags:
- - desktop
- - light
- - mobile
- - form
- - input
- - textarea
-*/
-
-.topcoat-textarea--large {
- font-size: 3rem;
- line-height: 4.375rem;
-}
-
-.topcoat-textarea--large:disabled {
- color: #454545;
-}
-
-.topcoat-textarea--large:disabled::-webkit-input-placeholder {
- color: #454545;
-}
-
-.topcoat-textarea--large:disabled::-moz-placeholder {
- color: #454545;
-}
-
-.topcoat-textarea--large:disabled:-ms-input-placeholder {
- color: #454545;
-}
-
-@font-face {
- font-family: "Source Sans";
- src: url("../font/SourceSansPro-Regular.otf");
-}
-
-@font-face {
- font-family: "Source Sans";
- src: url("../font/SourceSansPro-Light.otf");
- font-weight: 200;
-}
-
-@font-face {
- font-family: "Source Sans";
- src: url("../font/SourceSansPro-Semibold.otf");
- font-weight: 600;
-}
-
-body {
- margin: 0;
- padding: 0;
- background: #dfe2e2;
- color: #000;
- font: 16px "Source Sans", helvetica, arial, sans-serif;
- font-weight: 400;
-}
-
-:focus {
- outline-color: transparent;
- outline-style: none;
-}
-
-.topcoat-icon--menu-stack {
- background: url("../img/hamburger_dark.svg") no-repeat;
- background-size: cover;
-}
-
-.quarter {
- width: 25%;
-}
-
-.half {
- width: 50%;
-}
-
-.three-quarters {
- width: 75%;
-}
-
-
<TRUNCATED>