forked from Dgors03/Answer_Templates
126 lines
2.3 KiB
CSS
126 lines
2.3 KiB
CSS
body {
|
|
margin: 0;
|
|
min-width: 300px;
|
|
max-width: 3000px;
|
|
width: 400px;
|
|
background: #abcef5; /* Светлый фон */
|
|
font-family: Helvetica;
|
|
box-sizing: border-box;
|
|
}
|
|
|
|
div.container {
|
|
display: flex;
|
|
flex-direction: column;
|
|
padding: 1px;
|
|
}
|
|
|
|
div.header {
|
|
display: flex;
|
|
flex-direction: row;
|
|
justify-content: center;
|
|
padding: 6px;
|
|
}
|
|
|
|
h1 {
|
|
padding: 6px;
|
|
}
|
|
|
|
h3 {
|
|
padding: 6px;
|
|
}
|
|
|
|
i {
|
|
width: 20px;
|
|
}
|
|
|
|
button.template-add,
|
|
button.template-edit,
|
|
button.template-delete {
|
|
margin: 1px;
|
|
padding: 7px;
|
|
background-color: #abcef5; /* Светлый фон кнопок */
|
|
border-color: #abcef5; /* Цвет рамки кнопок */
|
|
cursor: pointer; /* Указатель при наведении */
|
|
}
|
|
|
|
div.templates {
|
|
display: flex;
|
|
flex-direction: column;
|
|
min-height: 200px;
|
|
}
|
|
|
|
span.template {
|
|
display: flex;
|
|
flex-direction: row;
|
|
justify-content: space-between;
|
|
height: fit-content;
|
|
padding: 8px 7px;
|
|
border: 2px solid #8844aa; /* Цвет рамки */
|
|
border-radius: 10px 100px / 120px;
|
|
overflow: hidden;
|
|
}
|
|
|
|
.formochka {
|
|
margin-left: 10px;
|
|
}
|
|
|
|
#template-title-input {
|
|
margin-bottom: 7px;
|
|
}
|
|
|
|
span.buttons {
|
|
display: flex;
|
|
align-items: center;
|
|
}
|
|
|
|
span.buttonsLong {
|
|
display: flex;
|
|
justify-content: center;
|
|
}
|
|
|
|
span.template:hover {
|
|
background: #d0e6ff; /* Подсветка при наведении */
|
|
}
|
|
|
|
.hidden {
|
|
display: none;
|
|
}
|
|
|
|
.category {
|
|
margin-bottom: 10px;
|
|
border: solid #8888c6 4px;
|
|
border-radius: 1px 10px / 12px;
|
|
box-shadow: 10px 5px 5px #8888c6;
|
|
}
|
|
|
|
/* Стили для темной темы */
|
|
body.dark-theme {
|
|
background: #1a1a1a; /* Темный фон */
|
|
color: white; /* Светлый текст */
|
|
}
|
|
|
|
body.dark-theme button.template-add,
|
|
body.dark-theme button.template-edit,
|
|
body.dark-theme button.template-delete {
|
|
background-color: #333; /* Темные кнопки */
|
|
border-color: #333; /* Темные рамки */
|
|
color: white; /* Светлый текст на кнопках */
|
|
}
|
|
|
|
body.dark-theme span.template {
|
|
border-color: #666; /* Темные рамки для шаблонов */
|
|
}
|
|
|
|
body.dark-theme span.template:hover {
|
|
background: #444; /* Подсветка при наведении в темной теме */
|
|
}
|
|
|
|
.btn-dark {
|
|
background-color: #444;
|
|
color: white;
|
|
border: none;
|
|
}
|
|
|
|
btn-dark:hover {
|
|
background-color: #555;
|
|
} |