Open YNSTakeru opened 5 months ago
views/member-task.php
<link rel="stylesheet" href="/views/css/popup/popup.css">
<div class="task__container">
<h2 class="project__container">
<div class="project__detail">
<?php echo $project->title ?>
<script>
const progress = Number("<?php echo $project->progress ?>")
const progressPercent = progress.toFixed(4)
document.write(progressPercent + "%")
</script>
完了
</div>
</h2>
<ul class="weekly__report__container">
<?php foreach ($users as $user) : ?>
<li class="weekly__report">
<div class="user__name">
<div>
<?php echo $user->name ?>
</div>
<div>
<!-- $userをdata-userに渡したい -->
<button class="btn transition__btn open__add__task__btn" data-user_id="<?php echo $user->name ?>" data-project_id="<?php echo $project->id ?>" >タスクを追加</button>
</div>
</div>
<?php foreach ($weekly_tasks as $weekly_task) : ?>
<?php if ($weekly_task->parent_tasks[0]->user_id === $user->id) : ?>
<div class="weekly__report__task__container">
<?php
$today = new DateTime();
$today = $today->format('Y-m-d');
?>
<?php if ($weekly_task->date === $today) :?>
<div class="date">
<div class="inner_date">
<?php echo $weekly_task->getDate() . ' 本日'; ?>
</div>
</div>
<?php endif ; ?>
<?php if ($weekly_task->date !== $today) :?>
<div class="date">
<div class="inner_date">
<?php echo $weekly_task->getDate(); ?>
</div>
</div>
<?php endif ; ?>
<div class="task">
<?php for ($i = 0; $i < count($weekly_task->parent_tasks); $i++) :?>
<?php $progress = $weekly_task->parent_tasks[$i]->progress; ?>
<div class="title_progress">
<div class="task_title"><?php echo $weekly_task->parent_tasks[$i]->title; ?></div>
<div class="task_progress"><?php echo $progress; ?>%</div>
</div>
<div class="progress-bar">
<div class="progress" style="width: <?php echo $progress; ?>%;"></div>
</div>
<?php endfor ; ?>
</div>
</div>
<?php endif ;?>
<?php endforeach; ?>
</li>
<?php endforeach; ?>
<script>
const $users = document.querySelectorAll('.user__name')
// 文字の最大値を取得
const max = Math.max(...Array.from($users).map(user => user.textContent.length))
const maxValue = Array.from($users).find(user => user.textContent.length === max)
// 横幅のピクセルを取得
const width = maxValue.offsetWidth
const $weeklyReport = document.querySelector('.weekly__report')
const height = $weeklyReport.offsetHeight
Array.from($users).forEach(user => {
user.style.width = `${width}px`
user.style.height = `${height}px`
})
</script>
</ul>
</div>
<?php
include __DIR__ . "/task-add-popup/task-add-popup-template.php";
include __DIR__ . "/task-add-popup/task-add-popup-content.php";
include __DIR__ . "/js/popup-handler-js.php";
include __DIR__ . "/js/member-task-js.php";
?>
popup.scss
ul,
li {
margin: 0;
padding: 0;
list-style: none;
}
button {
cursor: pointer;
&:focus {
outline: none;
}
border: none;
background-color: transparent;
}
input {
// デフォルトのスタイルを消す
border: none;
background-color: transparent;
color: black;
&:focus {
outline: none;
}
}
textarea {
border: none;
background-color: transparent;
color: black;
resize: none;
outline: none;
&:focus,
:hover {
outline: none;
}
}
.button__container {
width: 100vw;
height: 100vh;
display: flex;
justify-content: center;
align-items: center;
margin-top: 1rem;
position: relative;
}
.register__btn {
position: absolute;
bottom: 20px;
right: 20px;
}
.btn {
display: block;
width: fit-content;
min-height: 40px;
padding: 0 20px;
border-radius: 90px;
border: none;
background-color: #f6c64b;
color: white;
box-shadow: 6px 6px 5px 0px #f6c64ba6;
cursor: pointer;
transition: all ease-in-out 0.2s;
&:hover,
&:focus {
background-color: #f6c64ba6;
box-shadow: none;
color: gray;
transform: scale(0.95);
}
&__danger {
background-color: #ee6d6d;
box-shadow: 6px 6px 5px 0px #ee6d6da6;
margin-right: 20px;
&:hover,
&:focus {
background-color: #ee6d6da6;
box-shadow: none;
color: gray;
transform: scale(0.95);
}
}
&__container {
display: flex;
justify-content: flex-end;
align-items: flex-end;
gap: 10px;
position: absolute;
bottom: 20px;
right: 20px;
& .register__btn {
position: relative;
top: 0;
left: auto;
}
}
}
.popup {
visibility: hidden;
position: fixed;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
width: fit-content;
height: fit-content;
z-index: 1000;
opacity: 0;
transition: opacity ease-in-out 0.2s;
gap: 10px;
min-height: 66vh;
max-height: 70vh;
& .parent__task__section {
width: 100%;
display: flex;
justify-content: space-between;
align-items: center;
position: relative;
& .parent__task__input {
cursor: pointer;
display: block;
border: 1px solid black;
border-radius: 10px;
padding: 10px 20px;
margin-right: 20px;
width: 100%;
& textarea {
display: block;
width: 100%;
}
}
& .relative__progress__container {
display: flex;
flex-direction: column;
align-items: center;
position: absolute;
top: 0px;
right: 0px;
& .parent__progress {
font-size: 28px;
-webkit-text-stroke: none;
text-shadow: 0px 0px 3px black;
&.red {
color: #ee6d6d;
text-shadow: 0px 0px 3px #ee6d6d;
}
&.yellow {
color: #ffee00;
text-shadow: 0px 0px 3px #ffee00;
}
&.blue {
color: #6dcfee;
text-shadow: 0px 0px 3px #6dcfee;
}
&.green {
color: #77e48f;
text-shadow: 0px 0px 3px #77e48f;
}
}
}
}
.popup__text {
-webkit-text-stroke: 1px black;
text-shadow: 0px 0px 3px black;
color: white;
&.parent__task {
font-size: 28px;
}
&.relation__child__task {
font-size: 24px;
text-shadow: 0px 0px 0px black;
}
&.child__task {
font-size: 18px;
text-shadow: 0px 0px 0px black;
color: white;
}
& .progress__explanation__charactoer {
font-size: 18px;
text-shadow: 0px 0px 0px black;
color: white;
}
}
&.popup__open {
visibility: visible;
display: flex;
flex-direction: column;
opacity: 1;
background-color: white;
border: 1px solid white;
border-radius: 10px;
padding: 20px;
padding-right: 60px;
min-width: 33vw;
height: 33vh;
gap: 10px;
& .child__task__section {
display: flex;
gap: 8px;
flex-wrap: wrap;
width: 100%;
height: 100px;
& .child__task__container {
display: flex;
gap: 20px;
flex-direction: column;
width: 100%;
height: 29vh;
overflow-y: scroll;
scrollbar-width: none;
// はみ出てる箇所は隠す
& .child__task__list__container {
display: flex;
gap: 3px;
flex-direction: column;
& .child__task__name__remove {
display: flex;
justify-content: space-between;
align-items: center;
}
& .btn__container {
display: flex;
flex-direction: row;
gap: 10px;
}
& .comment__box {
border: 1px solid black;
border-radius: 10px;
margin-top: 10px;
margin-right: 20px;
padding: 10px 20px;
text-shadow: none;
// hiddenでアニメーションをつける
opacity: 1;
transition: all ease-in-out 0.2s;
height: fit-content;
visibility: visible;
&.hidden {
visibility: hidden;
height: 0px;
width: 0px;
opacity: 0;
margin-top: 0;
padding: 0;
}
& .comment__textarea {
border: none;
width: 100%;
&:focus {
outline: none;
}
}
}
& .progress__container {
display: flex;
gap: 10px;
flex-direction: column;
padding-top: 20px;
& .progress__character__container {
display: flex;
gap: 10px;
flex-direction: row;
& .progress__character {
font-size: 18px;
text-shadow: 0px 0px 0px black;
color: white;
cursor: pointer;
transition: all ease-in-out 0.2s;
&:hover,
&.selected {
transform: scale(1.05);
&.red {
color: #ee6d6d;
text-shadow: 0px 0px 3px #ee6d6d;
}
&.yellow {
color: #ffee00;
text-shadow: 0px 0px 3px #ffee00;
}
&.blue {
color: #6dcfee;
text-shadow: 0px 0px 3px #6dcfee;
}
&.green {
color: #77e48f;
text-shadow: 0px 0px 3px #77e48f;
}
}
& label {
cursor: pointer;
}
}
}
}
}
}
& .child__task__add {
display: flex;
width: 100%;
height: fit-content;
justify-content: space-between;
align-items: center;
padding: 20px;
padding-top: 5px;
padding-bottom: 20px;
padding-right: 0;
padding-left: 0px;
& .child__task__input {
cursor: pointer;
border: 1px solid black;
border-radius: 10px;
padding: 10px 20px;
margin-right: 20px;
// flexで8割の幅を取る
width: 80%;
& input {
display: block;
width: 100%;
}
}
}
}
}
& .close__btn {
display: block;
width: 30px;
height: 30px;
position: absolute;
top: 10px;
right: 10px;
cursor: pointer;
&::before {
content: "";
position: absolute;
width: 100%;
height: 2px;
background-color: black;
top: 50%;
left: 0;
transform: rotate(45deg);
}
&::after {
content: "";
position: absolute;
width: 100%;
height: 2px;
background-color: black;
top: 50%;
left: 0;
transform: rotate(-45deg);
}
}
}
.cover {
visibility: hidden;
position: fixed;
// DOMの範囲すべてを覆う 100vwを超えて
width: 100vw;
height: 100vh;
top: 0;
left: 0;
background-color: rgba(0, 0, 0, 0.3);
z-index: 999;
opacity: 0;
transition: opacity ease-in-out 0.2s;
&.popup__open {
visibility: visible;
opacity: 1;
}
}
.hidden {
visibility: hidden;
height: 0px;
width: 0px;
opacity: 0;
margin-top: 0;
padding: 0;
}
.icon {
display: flex;
justify-content: center;
align-items: center;
width: 40px;
height: 40px;
margin-right: 3px;
margin-bottom: 3px;
border-radius: 50%;
color: white;
cursor: pointer;
position: relative;
transition: all ease-in-out 0.2s;
&:hover,
&:focus {
box-shadow: none;
transform: scale(0.95);
}
&__add {
background-color: #77e48f;
box-shadow: #19af3a 3px 3px 3px;
&:hover,
&:focus {
background-color: #19af3a;
}
&::before {
content: "";
position: absolute;
top: 50%;
left: 50%;
width: 60%;
height: 2px;
background-color: white;
transform: translate(-50%, -50%);
border: 1px solid white;
}
&::after {
content: "";
position: absolute;
top: 50%;
left: 50%;
width: 60%;
height: 2px;
background-color: white;
transform: translate(-50%, -50%) rotate(90deg);
border: 1px solid white;
}
}
&__remove {
background-color: #ee6d6d;
color: white;
box-shadow: #b9490a 3px 3px 3px;
&:hover,
&:focus {
background-color: #b9490a;
}
&::before {
content: "";
position: absolute;
top: 50%;
left: 50%;
width: 60%;
height: 2px;
background-color: white;
transform: translate(-50%, -50%);
border: 1px solid white;
}
}
}
.pagination-nav {
position: fixed;
top: 0;
left: 0;
@media screen and (max-width: 768px) {
}
}
member-style.css
@charset "UTF-8";
body {
margin: 0;
}
/* ヘッダー */
header {
display: flex;
justify-content: space-between;
height: 3rem;
position: fixed;
top: 3px;
}
ul,
li {
list-style: none;
padding: 0;
}
.main-header {
display: flex;
}
.main-header svg {
width: 5rem;
height: 3rem;
margin: 0 0.6rem;
}
.main-header h1 {
font-size: 1.4rem;
margin: 0.6rem 1rem 1rem;
}
header nav {
margin: 0 0.5rem 0;
position: inherit;
right: 30px;
}
header nav li {
list-style: none;
display: inline-block;
margin: 0 0.5rem 0;
font-weight: bold;
}
header nav li a {
color: black;
}
/* ページネーション */
.pagination-nav {
position: fixed;
bottom: 0;
right: 20px;
width: fit-content;
height: 34px;
}
.pagination {
display: inline-block;
padding: 0;
margin: 0;
background-color: rgb(6, 71, 6);
border-radius: 5px;
}
.pagination li {
display: inline;
}
.pagination li a {
color: white;
float: left;
padding: 0.3rem 0.8rem;
text-decoration: none;
}
.pagination li a {
color: white;
}
.pagination li a:hover {
background-color: rgb(215, 215, 99);
}
/* タスク一覧画面 */
.task__container {
.project__container {
display: flex;
justify-content: end;
position: fixed;
right: 5px;
top: 30px;
.project__detail {
font-size: 1.3rem;
font-weight: bold;
}
}
}
.weekly__report__container {
display: flex;
gap: 20px;
flex-direction: column;
width: max-content;
margin-top: 90px;
.weekly__report {
min-height: calc(((100vh - (48px + 45px) - 200px) / 4));
background-color: rgb(6, 71, 6);
color: white;
display: flex;
justify-content: left;
align-items: center;
border-radius: 3px;
margin-left: 10px;
.user__name {
font-size: 1.3rem;
font-weight: bold;
line-height: 1.5;
border-right: 5px solid white;
width: 200px;
height: 100px;
.btn {
display: block;
width: -moz-fit-content;
width: fit-content;
padding: 0 10px;
min-height: 30px;
border-radius: 90px;
border: none;
background-color: #f6c64b;
color: white;
box-shadow: 6px 6px 5px 0px rgba(246, 198, 75, 0.6509803922);
cursor: pointer;
transition: all ease-in-out 0.2s;
}
}
.weekly__report__task__container {
display: flex;
flex-wrap: wrap;
justify-content: flex-start;
align-items: center;
flex-direction: column;
min-height: calc(((100vh - (48px + 45px) - 200px) / 4));
border-right: solid;
width: 180px;
height: 120px;
.date {
width: inherit;
font-size: 0.9rem;
font-weight: bold;
border-bottom: solid;
margin-inline-end: auto;
.inner_date {
text-align: center;
}
}
.task {
font-size: 0.7rem;
margin: 2px;
width: inherit;
.title_progress {
display: flex;
justify-content: space-evenly;
margin: 1px 0 2px;
}
.progress-bar {
width: 150px;
height: 10px;
background-color: #ddd;
overflow: hidden;
margin: auto;
.progress {
height: 100%;
background-color: #4caf50;
line-height: 20px;
}
}
}
}
}
}
ありがとうございます!
popup.css
ul,
li {
margin: 0;
padding: 0;
list-style: none;
}
button {
cursor: pointer;
border: none;
background-color: transparent;
}
button:focus {
outline: none;
}
input {
border: none;
background-color: transparent;
color: black;
}
input:focus {
outline: none;
}
textarea {
border: none;
background-color: transparent;
color: black;
resize: none;
outline: none;
}
textarea:focus,
textarea :hover {
outline: none;
}
.button__container {
width: 100vw;
height: 100vh;
display: flex;
justify-content: center;
align-items: center;
margin-top: 1rem;
position: relative;
}
.register__btn {
position: absolute;
bottom: 20px;
right: 20px;
}
.btn {
display: block;
width: -moz-fit-content;
width: fit-content;
min-height: 40px;
padding: 0 20px;
border-radius: 90px;
border: none;
background-color: #f6c64b;
color: white;
box-shadow: 6px 6px 5px 0px rgba(246, 198, 75, 0.6509803922);
cursor: pointer;
transition: all ease-in-out 0.2s;
}
.btn:hover, .btn:focus {
background-color: rgba(246, 198, 75, 0.6509803922);
box-shadow: none;
color: gray;
transform: scale(0.95);
}
.btn__danger {
background-color: #ee6d6d;
box-shadow: 6px 6px 5px 0px rgba(238, 109, 109, 0.6509803922);
margin-right: 20px;
}
.btn__danger:hover, .btn__danger:focus {
background-color: rgba(238, 109, 109, 0.6509803922);
box-shadow: none;
color: gray;
transform: scale(0.95);
}
.btn__container {
display: flex;
justify-content: flex-end;
align-items: flex-end;
gap: 10px;
position: absolute;
bottom: 20px;
right: 20px;
}
.btn__container .register__btn {
position: relative;
top: 0;
left: auto;
}
.popup {
visibility: hidden;
position: fixed;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
width: -moz-fit-content;
width: fit-content;
height: -moz-fit-content;
height: fit-content;
z-index: 1000;
opacity: 0;
transition: opacity ease-in-out 0.2s;
gap: 10px;
min-height: 66vh;
max-height: 70vh;
}
.popup .parent__task__section {
width: 100%;
display: flex;
justify-content: space-between;
align-items: center;
position: relative;
}
.popup .parent__task__section .parent__task__input {
cursor: pointer;
display: block;
border: 1px solid black;
border-radius: 10px;
padding: 10px 20px;
margin-right: 20px;
width: 100%;
}
.popup .parent__task__section .parent__task__input textarea {
display: block;
width: 100%;
}
.popup .parent__task__section .relative__progress__container {
display: flex;
flex-direction: column;
align-items: center;
position: absolute;
top: 0px;
right: 0px;
}
.popup .parent__task__section .relative__progress__container .parent__progress {
font-size: 28px;
-webkit-text-stroke: none;
text-shadow: 0px 0px 3px black;
}
.popup .parent__task__section .relative__progress__container .parent__progress.red {
color: #ee6d6d;
text-shadow: 0px 0px 3px #ee6d6d;
}
.popup .parent__task__section .relative__progress__container .parent__progress.yellow {
color: #ffee00;
text-shadow: 0px 0px 3px #ffee00;
}
.popup .parent__task__section .relative__progress__container .parent__progress.blue {
color: #6dcfee;
text-shadow: 0px 0px 3px #6dcfee;
}
.popup .parent__task__section .relative__progress__container .parent__progress.green {
color: #77e48f;
text-shadow: 0px 0px 3px #77e48f;
}
.popup .popup__text {
-webkit-text-stroke: 1px black;
text-shadow: 0px 0px 3px black;
color: white;
}
.popup .popup__text.parent__task {
font-size: 28px;
}
.popup .popup__text.relation__child__task {
font-size: 24px;
text-shadow: 0px 0px 0px black;
}
.popup .popup__text.child__task {
font-size: 18px;
text-shadow: 0px 0px 0px black;
color: white;
}
.popup .popup__text .progress__explanation__charactoer {
font-size: 18px;
text-shadow: 0px 0px 0px black;
color: white;
}
.popup.popup__open {
visibility: visible;
display: flex;
flex-direction: column;
opacity: 1;
background-color: white;
border: 1px solid white;
border-radius: 10px;
padding: 20px;
padding-right: 60px;
min-width: 33vw;
height: 33vh;
gap: 10px;
}
.popup.popup__open .child__task__section {
display: flex;
gap: 8px;
flex-wrap: wrap;
width: 100%;
height: 100px;
}
.popup.popup__open .child__task__section .child__task__container {
display: flex;
gap: 20px;
flex-direction: column;
width: 100%;
height: 29vh;
overflow-y: scroll;
scrollbar-width: none;
}
.popup.popup__open .child__task__section .child__task__container .child__task__list__container {
display: flex;
gap: 3px;
flex-direction: column;
}
.popup.popup__open .child__task__section .child__task__container .child__task__list__container .child__task__name__remove {
display: flex;
justify-content: space-between;
align-items: center;
}
.popup.popup__open .child__task__section .child__task__container .child__task__list__container .btn__container {
display: flex;
flex-direction: row;
gap: 10px;
}
.popup.popup__open .child__task__section .child__task__container .child__task__list__container .comment__box {
border: 1px solid black;
border-radius: 10px;
margin-top: 10px;
margin-right: 20px;
padding: 10px 20px;
text-shadow: none;
opacity: 1;
transition: all ease-in-out 0.2s;
height: -moz-fit-content;
height: fit-content;
visibility: visible;
}
.popup.popup__open .child__task__section .child__task__container .child__task__list__container .comment__box.hidden {
visibility: hidden;
height: 0px;
width: 0px;
opacity: 0;
margin-top: 0;
padding: 0;
}
.popup.popup__open .child__task__section .child__task__container .child__task__list__container .comment__box .comment__textarea {
border: none;
width: 100%;
}
.popup.popup__open .child__task__section .child__task__container .child__task__list__container .comment__box .comment__textarea:focus {
outline: none;
}
.popup.popup__open .child__task__section .child__task__container .child__task__list__container .progress__container {
display: flex;
gap: 10px;
flex-direction: column;
padding-top: 20px;
}
.popup.popup__open .child__task__section .child__task__container .child__task__list__container .progress__container .progress__character__container {
display: flex;
gap: 10px;
flex-direction: row;
}
.popup.popup__open .child__task__section .child__task__container .child__task__list__container .progress__container .progress__character__container .progress__character {
font-size: 18px;
text-shadow: 0px 0px 0px black;
color: white;
cursor: pointer;
transition: all ease-in-out 0.2s;
}
.popup.popup__open .child__task__section .child__task__container .child__task__list__container .progress__container .progress__character__container .progress__character:hover, .popup.popup__open .child__task__section .child__task__container .child__task__list__container .progress__container .progress__character__container .progress__character.selected {
transform: scale(1.05);
}
.popup.popup__open .child__task__section .child__task__container .child__task__list__container .progress__container .progress__character__container .progress__character:hover.red, .popup.popup__open .child__task__section .child__task__container .child__task__list__container .progress__container .progress__character__container .progress__character.selected.red {
color: #ee6d6d;
text-shadow: 0px 0px 3px #ee6d6d;
}
.popup.popup__open .child__task__section .child__task__container .child__task__list__container .progress__container .progress__character__container .progress__character:hover.yellow, .popup.popup__open .child__task__section .child__task__container .child__task__list__container .progress__container .progress__character__container .progress__character.selected.yellow {
color: #ffee00;
text-shadow: 0px 0px 3px #ffee00;
}
.popup.popup__open .child__task__section .child__task__container .child__task__list__container .progress__container .progress__character__container .progress__character:hover.blue, .popup.popup__open .child__task__section .child__task__container .child__task__list__container .progress__container .progress__character__container .progress__character.selected.blue {
color: #6dcfee;
text-shadow: 0px 0px 3px #6dcfee;
}
.popup.popup__open .child__task__section .child__task__container .child__task__list__container .progress__container .progress__character__container .progress__character:hover.green, .popup.popup__open .child__task__section .child__task__container .child__task__list__container .progress__container .progress__character__container .progress__character.selected.green {
color: #77e48f;
text-shadow: 0px 0px 3px #77e48f;
}
.popup.popup__open .child__task__section .child__task__container .child__task__list__container .progress__container .progress__character__container .progress__character label {
cursor: pointer;
}
.popup.popup__open .child__task__section .child__task__add {
display: flex;
width: 100%;
height: -moz-fit-content;
height: fit-content;
justify-content: space-between;
align-items: center;
padding: 20px;
padding-top: 5px;
padding-bottom: 20px;
padding-right: 0;
padding-left: 0px;
}
.popup.popup__open .child__task__section .child__task__add .child__task__input {
cursor: pointer;
border: 1px solid black;
border-radius: 10px;
padding: 10px 20px;
margin-right: 20px;
width: 80%;
}
.popup.popup__open .child__task__section .child__task__add .child__task__input input {
display: block;
width: 100%;
}
.popup .close__btn {
display: block;
width: 30px;
height: 30px;
position: absolute;
top: 10px;
right: 10px;
cursor: pointer;
}
.popup .close__btn::before {
content: "";
position: absolute;
width: 100%;
height: 2px;
background-color: black;
top: 50%;
left: 0;
transform: rotate(45deg);
}
.popup .close__btn::after {
content: "";
position: absolute;
width: 100%;
height: 2px;
background-color: black;
top: 50%;
left: 0;
transform: rotate(-45deg);
}
.cover {
visibility: hidden;
position: fixed;
width: 100vw;
height: 100vh;
top: 0;
left: 0;
background-color: rgba(0, 0, 0, 0.3);
z-index: 999;
opacity: 0;
transition: opacity ease-in-out 0.2s;
}
.cover.popup__open {
visibility: visible;
opacity: 1;
}
.hidden {
visibility: hidden;
height: 0px;
width: 0px;
opacity: 0;
margin-top: 0;
padding: 0;
}
.icon {
display: flex;
justify-content: center;
align-items: center;
width: 40px;
height: 40px;
margin-right: 3px;
margin-bottom: 3px;
border-radius: 50%;
color: white;
cursor: pointer;
position: relative;
transition: all ease-in-out 0.2s;
}
.icon:hover, .icon:focus {
box-shadow: none;
transform: scale(0.95);
}
.icon__add {
background-color: #77e48f;
box-shadow: #19af3a 3px 3px 3px;
}
.icon__add:hover, .icon__add:focus {
background-color: #19af3a;
}
.icon__add::before {
content: "";
position: absolute;
top: 50%;
left: 50%;
width: 60%;
height: 2px;
background-color: white;
transform: translate(-50%, -50%);
border: 1px solid white;
}
.icon__add::after {
content: "";
position: absolute;
top: 50%;
left: 50%;
width: 60%;
height: 2px;
background-color: white;
transform: translate(-50%, -50%) rotate(90deg);
border: 1px solid white;
}
.icon__remove {
background-color: #ee6d6d;
color: white;
box-shadow: #b9490a 3px 3px 3px;
}
.icon__remove:hover, .icon__remove:focus {
background-color: #b9490a;
}
.icon__remove::before {
content: "";
position: absolute;
top: 50%;
left: 50%;
width: 60%;
height: 2px;
background-color: white;
transform: translate(-50%, -50%);
border: 1px solid white;
}
.pagination-nav {
position: fixed;
top: 0;
left: 0;
}/*# sourceMappingURL=popup.css.map */