Editor updates

This commit is contained in:
Mo Bitar
2018-01-12 14:36:17 -06:00
parent 5db97b0a4c
commit c7ce308a19
22 changed files with 6662 additions and 794 deletions

View File

@@ -1,686 +0,0 @@
.sn-component {
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Oxygen", "Ubuntu", "Cantarell", "Fira Sans", "Droid Sans", "Helvetica Neue", sans-serif;
-webkit-font-smoothing: antialiased;
user-select: none;
}
.sn-component .panel {
box-shadow: 0px 2px 13px #C8C8C8;
border-radius: 0.7rem;
display: flex;
flex-direction: column;
overflow: hidden;
}
.sn-component .panel a:hover {
text-decoration: underline;
}
.sn-component .panel.static {
box-shadow: none;
border: none;
border-radius: 0;
}
.sn-component .panel .header {
flex-shrink: 0;
/* Don't allow to condense in height */
display: flex;
justify-content: space-between;
padding: 1.1rem 2rem;
border-bottom: 1px solid #E1E1E1;
background-color: #F6F6F6;
align-items: center;
}
.sn-component .panel .header .close-button {
font-weight: bold;
}
.sn-component .panel .footer, .sn-component .panel .panel-footer {
padding: 1rem 2rem;
border-top: 1px solid #E1E1E1;
box-sizing: border-box;
}
.sn-component .panel .footer .left, .sn-component .panel .panel-footer .left {
text-align: right;
display: block;
}
.sn-component .panel .footer .right, .sn-component .panel .panel-footer .right {
text-align: right;
display: block;
}
.sn-component .panel .content {
padding: 1.6rem 2rem;
padding-bottom: 0;
flex-grow: 1;
overflow: scroll;
}
.sn-component .panel .content p {
color: #454545;
line-height: 1.3;
}
.sn-component .panel .content .label, .sn-component .panel .content .panel-section .subtitle, .sn-component .panel-section .panel .content .subtitle {
font-weight: bold;
}
.sn-component .panel-section {
padding-bottom: 1.6rem;
display: flex;
flex-direction: column;
}
.sn-component .panel-section.no-bottom-pad {
padding-bottom: 0;
}
.sn-component .panel-section.hero {
text-align: center;
}
.sn-component .panel-section p:last-child {
margin-bottom: 0;
}
.sn-component .panel-section:not(:last-child) {
margin-bottom: 1.5rem;
border-bottom: 1px solid #DDDDDD;
}
.sn-component .panel-section:not(:last-child).no-border {
border-bottom: none;
}
.sn-component .panel-section:last-child {
margin-bottom: 0.5rem;
}
.sn-component .panel-section .outer-title {
border-bottom: 1px solid #DDDDDD;
padding-bottom: 0.9rem;
margin-top: 2.1rem;
margin-bottom: 15px;
}
.sn-component .panel-section .subtitle {
margin-top: -0.5rem;
}
.sn-component .panel-section .subtitle.subtle {
font-weight: normal;
opacity: 0.6;
}
.sn-component .panel-row {
display: flex;
justify-content: space-between;
align-items: center;
padding-top: 0.4rem;
}
.sn-component .panel-row.centered {
justify-content: center;
}
.sn-component .panel-row .panel-column {
width: 100%;
}
.sn-component .panel-row.default-padding, .sn-component .panel-row:not(:last-child) {
padding-bottom: 0.4rem;
}
.sn-component .panel-row.default-padding.condensed, .sn-component .panel-row:not(:last-child).condensed {
padding-top: 0.2rem;
padding-bottom: 0.2rem;
}
.sn-component .panel-row p {
margin: 0;
padding: 0;
}
.sn-component .panel-form {
width: 100%;
}
.sn-component .panel-form.half {
width: 50%;
}
.sn-component .panel-form .form-submit {
margin-top: 0.15rem;
}
.sn-component .right-aligned {
justify-content: flex-end;
text-align: right;
}
.sn-component .menu-panel {
box-shadow: 0px 4px 4px #C8C8C8;
border-radius: 0.6rem;
overflow: scroll;
}
.sn-component .menu-panel .header {
padding: 0.8rem 1rem;
border-bottom: 1px solid #E1E1E1;
background-color: #F6F6F6;
display: flex;
justify-content: space-between;
align-items: center;
}
.sn-component .menu-panel .header .subtitle {
font-size: 0.95rem;
margin-top: 0.2rem;
opacity: 0.6;
}
.sn-component .menu-panel .row {
padding: 1rem 1rem;
border-bottom: 1px solid #DDDDDD;
cursor: pointer;
display: flex;
flex-direction: row;
justify-content: space-between;
}
.sn-component .menu-panel .row .column {
display: flex;
justify-content: center;
flex-direction: column;
/* Nested row */
}
.sn-component .menu-panel .row .column:not(:first-child) {
padding-left: 1.0rem;
padding-right: 0.15rem;
}
.sn-component .menu-panel .row .column .row {
padding: 0;
border-bottom: none;
}
.sn-component .menu-panel .row .column .left {
display: flex;
}
.sn-component .menu-panel .row .button .label, .sn-component .menu-panel .row .box .label, .sn-component .menu-panel .row .circle .label, .sn-component .menu-panel .row .button .panel-section .subtitle, .sn-component .panel-section .menu-panel .row .button .subtitle, .sn-component .menu-panel .row .box .panel-section .subtitle, .sn-component .panel-section .menu-panel .row .box .subtitle, .sn-component .menu-panel .row .circle .panel-section .subtitle, .sn-component .panel-section .menu-panel .row .circle .subtitle {
font-size: 0.8rem;
font-weight: normal;
}
.sn-component .menu-panel .row:hover {
background-color: #efefef;
}
.sn-component .menu-panel .row .label, .sn-component .menu-panel .row .panel-section .subtitle, .sn-component .panel-section .menu-panel .row .subtitle {
font-size: 1rem;
font-weight: bold;
}
.sn-component .menu-panel .row .sublabel {
font-size: 0.9rem;
margin-top: 0.2rem;
opacity: 0.6;
}
.sn-component .red {
color: #F80324;
}
.sn-component .tinted {
color: #086DD6;
}
.sn-component h1, .sn-component h2, .sn-component h3, .sn-component h4, .sn-component h5 {
margin: 0;
padding: 0;
}
.sn-component h1 {
font-weight: 500;
font-size: 1.3rem;
line-height: 1.9rem;
}
.sn-component h2 {
font-size: 1.2rem;
line-height: 1.8rem;
}
.sn-component h3 {
font-weight: normal;
font-size: 1.2rem;
line-height: 1.7rem;
}
.sn-component h4 {
font-weight: bold;
font-size: 0.95rem;
line-height: 1.4rem;
}
.sn-component h5 {
font-weight: bold;
font-size: 0.85rem;
}
.sn-component a {
cursor: pointer;
}
.sn-component .wrap {
word-wrap: break-word;
}
.sn-component *.info {
color: #086DD6;
}
.sn-component *.warning {
color: #f6a200;
}
.sn-component *.danger {
color: #F80324;
}
.sn-component *.success {
color: #2B9612;
}
.sn-component *.clear {
background-color: transparent;
border: none;
}
.sn-component .center-text {
text-align: center;
justify-content: center;
}
.sn-component p {
margin: 0.5rem 0;
}
.sn-component input {
box-sizing: border-box;
padding: 0.75rem 0.8rem;
margin: 0.30rem 0;
border-radius: 3px;
border: 1px solid #e1e1e1;
font-size: 1.1rem;
width: 100%;
outline: 0;
resize: none;
}
.sn-component input.info {
border-color: #086DD6;
background-color: transparent;
color: #086DD6;
}
.sn-component input.info::-webkit-input-placeholder {
color: rgba(8, 109, 214, 0.5);
}
.sn-component label {
margin: 0.7rem 0;
display: block;
font-size: 1.1rem;
}
.sn-component label input[type='checkbox'], .sn-component input[type='radio'] {
width: auto;
margin-right: 0.45rem;
/* Space after checkbox */
}
.sn-component .horizontal-group > *, .sn-component .input-group > * {
display: inline-block;
vertical-align: middle;
}
.sn-component .horizontal-group > *:not(:first-child), .sn-component .input-group > *:not(:first-child) {
margin-left: 0.9rem;
}
.sn-component .border-bottom {
border-bottom: 1px solid #DDDDDD;
}
.sn-component .checkbox-group {
padding-top: 0.5rem;
padding-bottom: 0.3rem;
}
.sn-component ::placeholder {
/* Chrome, Firefox, Opera, Safari 10.1+ */
color: #c4c4c4;
}
.sn-component :-ms-input-placeholder {
/* Internet Explorer 10-11 */
color: #c4c4c4;
}
.sn-component ::-ms-input-placeholder {
/* Microsoft Edge */
color: #c4c4c4;
}
.sn-component .button-group.stretch {
display: flex;
width: 100%;
}
.sn-component .button-group.stretch .button, .sn-component .button-group.stretch .box, .sn-component .button-group.stretch .circle {
display: block;
flex-grow: 1;
text-align: center;
}
.sn-component .button-group .button, .sn-component .button-group .box, .sn-component .button-group .circle {
display: inline-block;
}
.sn-component .button-group .button:not(:last-child), .sn-component .button-group .box:not(:last-child), .sn-component .button-group .circle:not(:last-child) {
margin-right: 5px;
}
.sn-component .button-group .button:not(:last-child).featured, .sn-component .button-group .box:not(:last-child).featured, .sn-component .button-group .circle:not(:last-child).featured {
margin-right: 8px;
}
.sn-component .box-group .box {
display: inline-block;
}
.sn-component .box-group .box:not(:last-child) {
margin-right: 5px;
}
.sn-component a.button, .sn-component a.box, .sn-component a.circle {
text-decoration: none;
}
.sn-component .button, .sn-component .box, .sn-component .circle {
display: table;
border-radius: 3px;
padding: 0.5rem 0.7rem;
font-size: 0.9rem;
cursor: pointer;
text-align: center;
border: 1px solid;
}
.sn-component .button .label, .sn-component .box .label, .sn-component .circle .label, .sn-component .button .panel-section .subtitle, .sn-component .panel-section .button .subtitle, .sn-component .box .panel-section .subtitle, .sn-component .panel-section .box .subtitle, .sn-component .circle .panel-section .subtitle, .sn-component .panel-section .circle .subtitle {
font-weight: bold;
display: block;
text-align: center;
}
.sn-component .button.big, .sn-component .big.box, .sn-component .big.circle {
font-size: 1.1rem;
padding: 0.7rem 2.5rem;
}
.sn-component .box {
padding: 2.5rem 1.5rem;
}
.sn-component .button.default, .sn-component .default.box, .sn-component .default.circle, .sn-component .box.default, .sn-component .circle.default {
background-color: rgba(139, 139, 139, 0.1);
border-color: #8b8b8b;
color: #8b8b8b;
}
.sn-component .button.default:hover, .sn-component .default.box:hover, .sn-component .default.circle:hover, .sn-component .box.default:hover, .sn-component .circle.default:hover {
background-color: white;
color: #939393;
}
.sn-component .button.default.featured, .sn-component .default.featured.box, .sn-component .default.featured.circle, .sn-component .box.default.featured, .sn-component .circle.default.featured {
background-color: #8b8b8b;
border: none;
color: white;
padding: 0.75rem 1.25rem;
font-size: 1.1rem;
}
.sn-component .button.default.featured:hover, .sn-component .default.featured.box:hover, .sn-component .default.featured.circle:hover, .sn-component .box.default.featured:hover, .sn-component .circle.default.featured:hover {
background-color: #9f9f9f;
}
.sn-component .button.info, .sn-component .info.box, .sn-component .info.circle, .sn-component .box.info, .sn-component .circle.info {
background-color: rgba(8, 109, 214, 0.1);
border-color: #086DD6;
color: #086DD6;
}
.sn-component .button.info:hover, .sn-component .info.box:hover, .sn-component .info.circle:hover, .sn-component .box.info:hover, .sn-component .circle.info:hover {
background-color: #d5e9fd;
color: #0975e5;
}
.sn-component .button.info.featured, .sn-component .info.featured.box, .sn-component .info.featured.circle, .sn-component .box.info.featured, .sn-component .circle.info.featured {
background-color: #086DD6;
border: none;
color: white;
padding: 0.75rem 1.25rem;
font-size: 1.1rem;
}
.sn-component .button.info.featured:hover, .sn-component .info.featured.box:hover, .sn-component .info.featured.circle:hover, .sn-component .box.info.featured:hover, .sn-component .circle.info.featured:hover {
background-color: #1181f6;
}
.sn-component .button.warning, .sn-component .warning.box, .sn-component .warning.circle, .sn-component .box.warning, .sn-component .circle.warning {
background-color: rgba(246, 162, 0, 0.1);
border-color: #f6a200;
color: #f6a200;
}
.sn-component .button.warning:hover, .sn-component .warning.box:hover, .sn-component .warning.circle:hover, .sn-component .box.warning:hover, .sn-component .circle.warning:hover {
background-color: #fff8ec;
color: #ffaa06;
}
.sn-component .button.warning.featured, .sn-component .warning.featured.box, .sn-component .warning.featured.circle, .sn-component .box.warning.featured, .sn-component .circle.warning.featured {
background-color: #f6a200;
border: none;
color: white;
padding: 0.75rem 1.25rem;
font-size: 1.1rem;
}
.sn-component .button.warning.featured:hover, .sn-component .warning.featured.box:hover, .sn-component .warning.featured.circle:hover, .sn-component .box.warning.featured:hover, .sn-component .circle.warning.featured:hover {
background-color: #ffb320;
}
.sn-component .button.danger, .sn-component .danger.box, .sn-component .danger.circle, .sn-component .box.danger, .sn-component .circle.danger {
background-color: rgba(248, 3, 36, 0.1);
border-color: #F80324;
color: #F80324;
}
.sn-component .button.danger:hover, .sn-component .danger.box:hover, .sn-component .danger.circle:hover, .sn-component .box.danger:hover, .sn-component .circle.danger:hover {
background-color: #fff1f3;
color: #fc0e2e;
}
.sn-component .button.danger.featured, .sn-component .danger.featured.box, .sn-component .danger.featured.circle, .sn-component .box.danger.featured, .sn-component .circle.danger.featured {
background-color: #F80324;
border: none;
color: white;
padding: 0.75rem 1.25rem;
font-size: 1.1rem;
}
.sn-component .button.danger.featured:hover, .sn-component .danger.featured.box:hover, .sn-component .danger.featured.circle:hover, .sn-component .box.danger.featured:hover, .sn-component .circle.danger.featured:hover {
background-color: #fc2744;
}
.sn-component .button.success, .sn-component .success.box, .sn-component .success.circle, .sn-component .box.success, .sn-component .circle.success {
background-color: rgba(43, 150, 18, 0.1);
border-color: #2B9612;
color: #2B9612;
}
.sn-component .button.success:hover, .sn-component .success.box:hover, .sn-component .success.circle:hover, .sn-component .box.success:hover, .sn-component .circle.success:hover {
background-color: #b7f5a8;
color: #2fa414;
}
.sn-component .button.success.featured, .sn-component .success.featured.box, .sn-component .success.featured.circle, .sn-component .box.success.featured, .sn-component .circle.success.featured {
background-color: #2B9612;
border: none;
color: white;
padding: 0.75rem 1.25rem;
font-size: 1.1rem;
}
.sn-component .button.success.featured:hover, .sn-component .success.featured.box:hover, .sn-component .success.featured.circle:hover, .sn-component .box.success.featured:hover, .sn-component .circle.success.featured:hover {
background-color: #35ba16;
}
.sn-component .notification.default {
background-color: #F6F6F6;
border-color: #c4c4c4;
}
.sn-component .notification.info {
background-color: rgba(8, 109, 214, 0.1);
border-color: #086DD6;
color: #086DD6;
}
.sn-component .notification.info.featured {
background-color: #086DD6;
border: none;
color: white;
padding: 0.75rem 1.25rem;
font-size: 1.1rem;
}
.sn-component .notification.info.featured:hover {
background-color: #1181f6;
}
.sn-component .notification.warning {
background-color: rgba(246, 162, 0, 0.1);
border-color: #f6a200;
color: #f6a200;
}
.sn-component .notification.warning.featured {
background-color: #f6a200;
border: none;
color: white;
padding: 0.75rem 1.25rem;
font-size: 1.1rem;
}
.sn-component .notification.warning.featured:hover {
background-color: #ffb320;
}
.sn-component .notification.danger {
background-color: rgba(248, 3, 36, 0.1);
border-color: #F80324;
color: #F80324;
}
.sn-component .notification.danger.featured {
background-color: #F80324;
border: none;
color: white;
padding: 0.75rem 1.25rem;
font-size: 1.1rem;
}
.sn-component .notification.danger.featured:hover {
background-color: #fc2744;
}
.sn-component .notification.success {
background-color: rgba(43, 150, 18, 0.1);
border-color: #2B9612;
color: #2B9612;
}
.sn-component .notification.success.featured {
background-color: #2B9612;
border: none;
color: white;
padding: 0.75rem 1.25rem;
font-size: 1.1rem;
}
.sn-component .notification.success.featured:hover {
background-color: #35ba16;
}
.sn-component .notification {
border: 1px solid;
padding: 1.1rem 1rem;
margin: 1.4rem 0;
text-align: left;
border-radius: 0.2rem;
cursor: default;
}
.sn-component .notification.one-line {
padding: 0rem 0.4rem;
}
.sn-component .notification.stretch {
width: 100%;
}
.sn-component .notification.dashed {
border-style: dashed;
}
.sn-component .notification .text {
line-height: 1.5rem;
font-size: 1.05rem;
text-align: left;
font-weight: normal;
}
.sn-component .circle {
border-color: #DDDDDD;
background-color: #F6F6F6;
padding: 0;
border-radius: 50%;
}
.sn-component .circle.small {
width: 11px;
height: 11px;
}
.sn-component .spinner {
border: 1px solid #515263;
border-radius: 50%;
animation: rotate 0.8s infinite linear;
border-right-color: transparent;
}
.sn-component .spinner.small {
width: 12px;
height: 12px;
}
.sn-component .spinner.info {
border-color: #086DD6;
border-right-color: transparent;
}
.sn-component .spinner.warning {
border-color: #f6a200;
border-right-color: transparent;
}
.sn-component .spinner.danger {
border-color: #F80324;
border-right-color: transparent;
}
.sn-component .spinner.success {
border-color: #2B9612;
border-right-color: transparent;
}
@keyframes rotate {
0% {
transform: rotate(0deg);
}
100% {
transform: rotate(360deg);
}
}
.sn-component .app-bar {
display: flex;
width: 100%;
height: 2rem;
padding: 0.1rem 0.8rem;
background-color: #F6F6F6;
justify-content: space-between;
align-items: center;
border: 1px solid #DDDDDD;
}
.sn-component .app-bar.no-edges {
border-left: 0;
border-right: 0;
}
.sn-component .app-bar .left, .sn-component .app-bar .right {
display: flex;
height: 100%;
}
.sn-component .app-bar .item {
flex-grow: 1;
cursor: pointer;
display: flex;
align-items: center;
justify-content: center;
}
.sn-component .app-bar .item:not(:first-child) {
margin-left: 1rem;
}
.sn-component .app-bar .item.border {
border-left: 1px solid #DDDDDD;
}
.sn-component .app-bar .item > .column {
height: 100%;
display: flex;
align-items: center;
}
.sn-component .app-bar .item > .column:not(:first-child) {
margin-left: 0.5rem;
}
.sn-component .app-bar .item.no-pointer {
cursor: default;
}
.sn-component .app-bar .item:hover > .label:not(.subtle), .sn-component .app-bar .panel-section .item:hover > .subtitle:not(.subtle), .sn-component .panel-section .app-bar .item:hover > .subtitle:not(.subtle), .sn-component .app-bar .item:hover > .sublabel:not(.subtle), .sn-component .app-bar .item:hover > .column > .label:not(.subtle), .sn-component .app-bar .panel-section .item:hover > .column > .subtitle:not(.subtle), .sn-component .panel-section .app-bar .item:hover > .column > .subtitle:not(.subtle), .sn-component .app-bar .item:hover > .column > .sublabel:not(.subtle) {
color: #086DD6;
}
.sn-component .app-bar .item > .label, .sn-component .app-bar .panel-section .item > .subtitle, .sn-component .panel-section .app-bar .item > .subtitle, .sn-component .app-bar .item > .column > .label, .sn-component .app-bar .panel-section .item > .column > .subtitle, .sn-component .panel-section .app-bar .item > .column > .subtitle {
font-weight: bold;
font-size: 0.9rem;
white-space: nowrap;
}
.sn-component .app-bar .item > .sublabel, .sn-component .app-bar .item > .column > .sublabel {
font-size: 0.9rem;
font-weight: normal;
white-space: nowrap;
}
.sn-component .app-bar .item .subtle {
font-weight: normal;
opacity: 0.6;
}
.sn-component .panel-table {
display: flex;
flex-wrap: wrap;
padding-left: 1px;
padding-top: 1px;
}
.sn-component .panel-table .table-item {
flex: 45%;
flex-flow: wrap;
border: 1px solid #DDDDDD;
padding: 1rem;
margin-left: -1px;
margin-top: -1px;
display: flex;
flex-direction: column;
justify-content: space-between;
}
.sn-component .panel-table .table-item img {
max-width: 100%;
margin-bottom: 1rem;
}
.sn-component .panel-table .table-item .item-content {
display: flex;
flex-direction: row;
}
.sn-component .panel-table .table-item .item-column {
align-items: center;
}
.sn-component .panel-table .table-item .item-column:not(:first-child) {
padding-left: 0.75rem;
}
.sn-component .panel-table .table-item .item-column.quarter {
flex-basis: 25%;
}
.sn-component .panel-table .table-item .item-column.three-quarters {
flex-basis: 75%;
}
.sn-component .panel-table .table-item .item-footer {
margin-top: 1.25rem;
}
.sn-component .panel-table .table-item.no-border {
border: none;
}
/*# sourceMappingURL=stylekit.css.map */