407 lines
15 KiB
CSS
407 lines
15 KiB
CSS
.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;
|
|
overflow: scroll;
|
|
}
|
|
.sn-component .panel .header {
|
|
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 {
|
|
padding: 1rem 2rem;
|
|
border-top: 1px solid #F1F1F1;
|
|
}
|
|
.sn-component .panel .footer .left {
|
|
text-align: right;
|
|
display: block;
|
|
}
|
|
.sn-component .panel .footer .right {
|
|
text-align: right;
|
|
display: block;
|
|
}
|
|
.sn-component .panel .content {
|
|
padding: 1.9rem 2rem;
|
|
padding-bottom: 0;
|
|
}
|
|
.sn-component .panel .content p {
|
|
color: #454545;
|
|
line-height: 1.3;
|
|
}
|
|
.sn-component .panel .content .label, .sn-component .panel .content .panel-section .subtitle {
|
|
font-weight: bold;
|
|
}
|
|
.sn-component .panel .content .panel-section {
|
|
padding-bottom: 1.6rem;
|
|
}
|
|
.sn-component .panel .content .panel-section.hero {
|
|
text-align: center;
|
|
}
|
|
.sn-component .panel .content .panel-section.hero .title {
|
|
margin-bottom: 1.1rem;
|
|
}
|
|
.sn-component .panel .content .panel-section p:last-child {
|
|
margin-bottom: 0;
|
|
}
|
|
.sn-component .panel .content .panel-section:not(:last-child) {
|
|
margin-bottom: 1.5rem;
|
|
border-bottom: 1px solid #DDDDDD;
|
|
}
|
|
.sn-component .panel .content .panel-section:last-child {
|
|
margin-bottom: 0.5rem;
|
|
}
|
|
.sn-component .panel .content .panel-section .outer-title {
|
|
border-bottom: 1px solid #DDDDDD;
|
|
padding-bottom: 0.9rem;
|
|
margin-top: 2.1rem;
|
|
margin-bottom: 15px;
|
|
}
|
|
.sn-component .panel .content .panel-section .title {
|
|
margin-bottom: 12px;
|
|
}
|
|
.sn-component .panel .content .panel-section .subtitle {
|
|
color: #086DD6;
|
|
margin-top: -4px;
|
|
}
|
|
.sn-component .panel .content .panel-section .panel-row {
|
|
display: block;
|
|
padding: 0.4rem 0;
|
|
}
|
|
.sn-component .panel .content .panel-form {
|
|
width: 100%;
|
|
}
|
|
.sn-component .panel .content .panel-form.half {
|
|
width: 50%;
|
|
}
|
|
.sn-component .panel .content .panel-form .form-submit {
|
|
margin-top: 0.15rem;
|
|
}
|
|
.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;
|
|
}
|
|
.sn-component .menu-panel .row .column {
|
|
display: flex;
|
|
justify-content: center;
|
|
flex-direction: column;
|
|
}
|
|
.sn-component .menu-panel .row .column:not(:first-child) {
|
|
padding-left: 1.0rem;
|
|
padding-right: 0.15rem;
|
|
}
|
|
.sn-component .menu-panel .row .button .label, .sn-component .menu-panel .row .box .label, .sn-component .menu-panel .row .notification .label, .sn-component .menu-panel .row .circle .label, .sn-component .menu-panel .row .button .panel .content .panel-section .subtitle, .sn-component .panel .content .panel-section .menu-panel .row .button .subtitle, .sn-component .menu-panel .row .box .panel .content .panel-section .subtitle, .sn-component .panel .content .panel-section .menu-panel .row .box .subtitle, .sn-component .menu-panel .row .notification .panel .content .panel-section .subtitle, .sn-component .panel .content .panel-section .menu-panel .row .notification .subtitle, .sn-component .menu-panel .row .circle .panel .content .panel-section .subtitle, .sn-component .panel .content .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 .content .panel-section .subtitle, .sn-component .panel .content .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 {
|
|
margin: 0;
|
|
padding: 0;
|
|
}
|
|
.sn-component h1 {
|
|
font-weight: 500;
|
|
font-size: 1.3rem;
|
|
}
|
|
.sn-component h2 {
|
|
font-size: 1.2rem;
|
|
}
|
|
.sn-component h3 {
|
|
font-weight: normal;
|
|
font-size: 1.2rem;
|
|
}
|
|
.sn-component h4 {
|
|
font-weight: bold;
|
|
font-size: 0.95rem;
|
|
}
|
|
.sn-component h5 {
|
|
font-weight: bold;
|
|
font-size: 0.85rem;
|
|
}
|
|
.sn-component a {
|
|
cursor: pointer;
|
|
}
|
|
.sn-component *.info {
|
|
color: #086DD6;
|
|
}
|
|
.sn-component *.warning {
|
|
color: #f6a200;
|
|
}
|
|
.sn-component *.danger {
|
|
color: #F80324;
|
|
}
|
|
.sn-component *.success {
|
|
color: #2B9612;
|
|
}
|
|
.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;
|
|
}
|
|
.sn-component input.info {
|
|
border-color: #086DD6;
|
|
background-color: transparent;
|
|
}
|
|
.sn-component label {
|
|
margin: 0.7rem 0;
|
|
display: block;
|
|
font-size: 1.1rem;
|
|
}
|
|
.sn-component label input[type='checkbox'] {
|
|
width: auto;
|
|
margin-right: 0.5rem;
|
|
/* Space after checkbox */
|
|
}
|
|
.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;
|
|
}
|
|
.sn-component .button-group.stretch .button, .sn-component .button-group.stretch .box, .sn-component .button-group.stretch .notification, .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 .notification, .sn-component .button-group .circle {
|
|
display: inline-block;
|
|
margin-bottom: 5px;
|
|
}
|
|
.sn-component .button-group .button:not(:last-child), .sn-component .button-group .box:not(:last-child), .sn-component .button-group .notification: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 .notification:not(:last-child).featured, .sn-component .button-group .circle:not(:last-child).featured {
|
|
margin-right: 8px;
|
|
}
|
|
.sn-component .box-group .box, .sn-component .box-group .notification {
|
|
display: inline-block;
|
|
margin-bottom: 5px;
|
|
}
|
|
.sn-component .box-group .box:not(:last-child), .sn-component .box-group .notification:not(:last-child) {
|
|
margin-right: 5px;
|
|
}
|
|
.sn-component .button, .sn-component .box, .sn-component .notification, .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 .notification .label, .sn-component .circle .label, .sn-component .button .panel .content .panel-section .subtitle, .sn-component .panel .content .panel-section .button .subtitle, .sn-component .box .panel .content .panel-section .subtitle, .sn-component .panel .content .panel-section .box .subtitle, .sn-component .notification .panel .content .panel-section .subtitle, .sn-component .panel .content .panel-section .notification .subtitle, .sn-component .circle .panel .content .panel-section .subtitle, .sn-component .panel .content .panel-section .circle .subtitle {
|
|
font-weight: bold;
|
|
display: block;
|
|
text-align: center;
|
|
}
|
|
.sn-component .box, .sn-component .notification {
|
|
padding: 2.5rem 1.5rem;
|
|
}
|
|
.sn-component .button.info, .sn-component .info.box, .sn-component .info.notification, .sn-component .info.circle, .sn-component .box.info, .sn-component .info.notification, .sn-component .notification.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.notification:hover, .sn-component .info.circle:hover, .sn-component .box.info:hover, .sn-component .info.notification:hover, .sn-component .notification.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.notification, .sn-component .info.featured.circle, .sn-component .box.info.featured, .sn-component .info.featured.notification, .sn-component .notification.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.notification:hover, .sn-component .info.featured.circle:hover, .sn-component .box.info.featured:hover, .sn-component .info.featured.notification:hover, .sn-component .notification.info.featured:hover, .sn-component .circle.info.featured:hover {
|
|
background-color: #1181f6;
|
|
}
|
|
.sn-component .button.warning, .sn-component .warning.box, .sn-component .warning.notification, .sn-component .warning.circle, .sn-component .box.warning, .sn-component .warning.notification, .sn-component .notification.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.notification:hover, .sn-component .warning.circle:hover, .sn-component .box.warning:hover, .sn-component .warning.notification:hover, .sn-component .notification.warning:hover {
|
|
background-color: #fff8ec;
|
|
color: #ffaa06;
|
|
}
|
|
.sn-component .button.warning.featured, .sn-component .warning.featured.box, .sn-component .warning.featured.notification, .sn-component .warning.featured.circle, .sn-component .box.warning.featured, .sn-component .warning.featured.notification, .sn-component .notification.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.notification:hover, .sn-component .warning.featured.circle:hover, .sn-component .box.warning.featured:hover, .sn-component .warning.featured.notification:hover, .sn-component .notification.warning.featured:hover {
|
|
background-color: #ffb320;
|
|
}
|
|
.sn-component .button.danger, .sn-component .danger.box, .sn-component .danger.notification, .sn-component .danger.circle, .sn-component .box.danger, .sn-component .danger.notification, .sn-component .notification.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.notification:hover, .sn-component .danger.circle:hover, .sn-component .box.danger:hover, .sn-component .danger.notification:hover, .sn-component .notification.danger:hover {
|
|
background-color: #fff1f3;
|
|
color: #fc0e2e;
|
|
}
|
|
.sn-component .button.danger.featured, .sn-component .danger.featured.box, .sn-component .danger.featured.notification, .sn-component .danger.featured.circle, .sn-component .box.danger.featured, .sn-component .danger.featured.notification, .sn-component .notification.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.notification:hover, .sn-component .danger.featured.circle:hover, .sn-component .box.danger.featured:hover, .sn-component .danger.featured.notification:hover, .sn-component .notification.danger.featured:hover {
|
|
background-color: #fc2744;
|
|
}
|
|
.sn-component .button.success, .sn-component .success.box, .sn-component .success.notification, .sn-component .success.circle, .sn-component .box.success, .sn-component .success.notification, .sn-component .notification.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.notification:hover, .sn-component .success.circle:hover, .sn-component .box.success:hover, .sn-component .success.notification:hover, .sn-component .notification.success:hover {
|
|
background-color: #b7f5a8;
|
|
color: #2fa414;
|
|
}
|
|
.sn-component .button.success.featured, .sn-component .success.featured.box, .sn-component .success.featured.notification, .sn-component .success.featured.circle, .sn-component .box.success.featured, .sn-component .success.featured.notification, .sn-component .notification.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.notification:hover, .sn-component .success.featured.circle:hover, .sn-component .box.success.featured:hover, .sn-component .success.featured.notification:hover, .sn-component .notification.success.featured:hover {
|
|
background-color: #35ba16;
|
|
}
|
|
.sn-component .notification {
|
|
padding: 1.1rem 1rem;
|
|
margin: 1.4rem 0;
|
|
text-align: left;
|
|
border-radius: 0.2rem;
|
|
cursor: default;
|
|
}
|
|
.sn-component .notification.stretch {
|
|
width: 100%;
|
|
}
|
|
.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: 12px;
|
|
height: 12px;
|
|
}
|
|
.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);
|
|
}
|
|
}
|
|
|
|
/*# sourceMappingURL=stylekit.css.map */
|