p5.js-web-editor/client/styles/components/_api-key.scss

103 lines
1.8 KiB
SCSS
Raw Normal View History

2019-05-15 12:11:58 +02:00
.api-key-form__summary {
padding-top: #{25 / $base-font-size}rem;
}
.api-key-form__section {
padding-bottom: #{15 / $base-font-size}rem;
}
.api-key-form__title {
padding: #{15 / $base-font-size}rem 0;
font-size: #{21 / $base-font-size}rem;
font-weight: bold;
}
.api-key-form__create-button {
display: flex;
justify-content: center;
align-items: center;
}
.api-key-form__create-icon {
display: flex;
2020-04-30 00:34:37 +02:00
height: #{12 / $base-font-size}rem;
margin-right: #{3 / $base-font-size}rem;
2019-05-15 12:11:58 +02:00
}
.api-key-form__create-button .isvg {
padding-right: 10px;
}
.api-key-list {
display: block;
max-width: 900px;
border-collapse: collapse;
table-layout: fixed;
thead tr th {
width: 30%;
}
thead tr th:last-child {
width: 10%;
}
th {
padding: #{5 / $base-font-size}rem;
}
td {
padding: #{15 / $base-font-size}rem #{5 / $base-font-size}rem;
}
tbody tr:nth-child(odd) {
@include themify() {
background: getThemifyVariable('table-row-stripe-color');
}
2019-05-15 12:11:58 +02:00
}
}
.api-key-list__action {
text-align: center;
}
.api-key-list__delete-button {
width:#{20 / $base-font-size}rem;
height:#{20 / $base-font-size}rem;
text-align: center;
@include themify() {
background-color: transparent;
border: none;
cursor: pointer;
padding: 0;
position: initial;
left: 0;
top: 0;
2020-04-30 00:34:37 +02:00
& g, & path {
2019-05-15 12:11:58 +02:00
opacity: 1;
fill: getThemifyVariable('icon-color');
}
}
}
.api-key-list__delete-button:hover {
@include themify() {
2020-04-30 00:34:37 +02:00
& g, & path {
2019-05-15 12:11:58 +02:00
opacity: 1;
fill: getThemifyVariable('icon-hover-color');
}
}
}
.api-key-form__new-token__title {
margin-bottom: #{10 / $base-font-size}rem;
font-size: #{18 / $base-font-size}rem;
font-weight: bold;
}
.api-key-form__new-token__info {
padding: #{10 / $base-font-size}rem 0;
}