291 lines
4.4 KiB
SCSS
291 lines
4.4 KiB
SCSS
* {
|
|
box-sizing: border-box;
|
|
}
|
|
|
|
body {
|
|
color: #fff;
|
|
background-color: #333;
|
|
font-family: sans-serif;
|
|
margin: 0;
|
|
}
|
|
|
|
section {
|
|
max-width: 700px;
|
|
margin: auto;
|
|
margin-bottom: 32px;
|
|
background-color: #fff;
|
|
color: #333;
|
|
border: 1px solid #e5e5e5;
|
|
border-radius: 3px;
|
|
}
|
|
|
|
.qr {
|
|
display: flex;
|
|
flex-direction: row;
|
|
justify-content: center;
|
|
|
|
svg {
|
|
height: 200px;
|
|
}
|
|
}
|
|
|
|
.content-group {
|
|
padding: 16px 32px;
|
|
border-bottom: 1px solid #e5e5e5;
|
|
|
|
&.even {
|
|
padding: 32px;
|
|
}
|
|
|
|
&:last-child {
|
|
border-bottom: none;
|
|
}
|
|
}
|
|
|
|
article .content-group {
|
|
&:last-child {
|
|
border-bottom: 1px solid #e5e5e5;
|
|
}
|
|
}
|
|
|
|
.title {
|
|
max-width: 700px;
|
|
margin: auto;
|
|
|
|
h1 {
|
|
font-weight: 500;
|
|
}
|
|
}
|
|
|
|
.subtitle {
|
|
margin: 0;
|
|
}
|
|
|
|
.delete-confirmation {
|
|
margin: 0;
|
|
padding: 16px 0 0;
|
|
}
|
|
|
|
h3 {
|
|
margin: 0;
|
|
}
|
|
|
|
a {
|
|
&,
|
|
&:focus,
|
|
&:active {
|
|
color: #c92a60;
|
|
}
|
|
|
|
&:hover {
|
|
color: #9d2a60;
|
|
}
|
|
}
|
|
|
|
.button {
|
|
position: relative;
|
|
overflow: hidden;
|
|
|
|
padding: 8px 16px;
|
|
margin: 0 8px;
|
|
display: inline-block;
|
|
cursor: pointer;
|
|
border-radius: 3px;
|
|
|
|
box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
|
|
|
|
&, & * {
|
|
user-select: none;
|
|
}
|
|
|
|
&.outline {
|
|
border: 1px solid #c92a60;
|
|
background-color: #fff;
|
|
color: #c92a60;
|
|
|
|
&:hover {
|
|
border-color: #9d2a60;
|
|
background-color: #fff;
|
|
color: #9d2a60;
|
|
}
|
|
}
|
|
|
|
&.plain {
|
|
border: 1px solid #e5e5e5;
|
|
background-color: #f5f5f5;
|
|
color: #222;
|
|
|
|
&:hover {
|
|
border-color: #e0e0e0;
|
|
background-color: #f0f0f0;
|
|
}
|
|
}
|
|
|
|
&.submit {
|
|
border: 1px solid #9d2a60;
|
|
background-color: #c92a60;
|
|
color: #fff;
|
|
|
|
&:hover {
|
|
border-color: #4a1a31;
|
|
background-color: #aa2452;
|
|
}
|
|
}
|
|
|
|
.action {
|
|
display: block;
|
|
position: absolute;
|
|
top: 0;
|
|
left: 0;
|
|
bottom: 0;
|
|
right: 0;
|
|
margin: 0;
|
|
padding: 0;
|
|
font-size: 20px;
|
|
cursor: pointer;
|
|
opacity: 0;
|
|
filter: alpha(opacity=0);
|
|
width: 100%;
|
|
border: 1px solid;
|
|
}
|
|
}
|
|
|
|
.button-group {
|
|
margin: 0 -8px;
|
|
}
|
|
|
|
.button-space {
|
|
padding-top: 16px;
|
|
}
|
|
|
|
ul {
|
|
margin: 0;
|
|
padding: 0;
|
|
list-style: none;
|
|
}
|
|
|
|
.input-wrapper {
|
|
width: 300px;
|
|
padding: 8px 0;
|
|
|
|
label {
|
|
display: block;
|
|
}
|
|
|
|
.input-title {
|
|
padding: 4px 0;
|
|
font-weight: 500;
|
|
}
|
|
textarea.input {
|
|
resize: vertical;
|
|
}
|
|
.input {
|
|
width: 100%;
|
|
padding: 8px 12px;
|
|
border: 1px solid #e5e5e5;
|
|
background-color: #fff;
|
|
box-shadow: 0px 0px 5px rgba(0, 0, 0, 0.1) inset;
|
|
border-radius: 3px;
|
|
}
|
|
.input:hover,
|
|
.input:focus {
|
|
box-shadow: 0px 0px 5px #c92a603b inset;
|
|
}
|
|
.input:focus {
|
|
border: 1px solid #c92a60;
|
|
}
|
|
}
|
|
|
|
.edit-row {
|
|
display: flex;
|
|
flex-direction: row-reverse;
|
|
|
|
.edit-item {
|
|
width: 100%;
|
|
flex: 1;
|
|
}
|
|
|
|
.edit-item + .edit-item {
|
|
padding-right: 32px;
|
|
}
|
|
}
|
|
|
|
.image-box {
|
|
max-width: 100%;
|
|
background-color: #f5f5f5;
|
|
box-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
|
|
border-radius: 3px;
|
|
|
|
img {
|
|
display: block;
|
|
width: 100%;
|
|
height: auto;
|
|
border-radius: 3px;
|
|
}
|
|
}
|
|
|
|
.image-meta {
|
|
padding: 8px 0 0;
|
|
|
|
.image-title {
|
|
font-weight: 500;
|
|
font-size: 18px;
|
|
padding: 8px 0;
|
|
}
|
|
|
|
.image-description {
|
|
background-color: #f5f5f5;
|
|
border: 1px solid #e5e5e5;
|
|
border-radius: 3px;
|
|
padding: 8px;
|
|
}
|
|
|
|
.image-href {
|
|
padding-top: 8px;
|
|
}
|
|
}
|
|
|
|
@media (max-width: 700px) {
|
|
section {
|
|
border-radius: 0;
|
|
}
|
|
|
|
.content-group {
|
|
&, &.even {
|
|
padding: 16px;
|
|
}
|
|
}
|
|
|
|
.input-wrapper {
|
|
width: 100%;
|
|
}
|
|
|
|
.button-group {
|
|
display: flex;
|
|
flex-wrap: wrap;
|
|
justify-content: space-between;
|
|
}
|
|
|
|
.button {
|
|
margin: 4px 8px;
|
|
flex: 1;
|
|
min-width: 150px;
|
|
text-align: center;
|
|
display: flex;
|
|
justify-content: space-around;
|
|
align-items: center;
|
|
}
|
|
|
|
.title {
|
|
padding: 0 16px;
|
|
}
|
|
|
|
.edit-row {
|
|
flex-direction: column;
|
|
|
|
.edit-item + .edit-item {
|
|
padding-right: 0;
|
|
}
|
|
}
|
|
}
|