habitica-sync/styles.css

249 lines
4.3 KiB
CSS
Raw Normal View History

2021-11-18 14:16:20 +08:00
* {
padding: 0;
}
.add-task-input {
display: flex;
}
2021-11-16 19:10:49 +05:30
#profile-name {
font-size: x-large;
font-weight: bold;
padding-bottom: 3%;
}
.stats {
2021-11-18 14:16:20 +08:00
display: flex;
justify-content: space-between;
2021-11-16 19:10:49 +05:30
}
2021-11-22 23:05:12 +08:00
.modify-todo {
align-self: center;
}
.delete-todo {
align-self: center;
}
2021-11-16 19:10:49 +05:30
.todo-item {
display: grid;
grid-template-columns: 1fr 30fr 1fr 1fr;
justify-content: left;
align-items: flex-start;
padding: 0px 0px 0;
width: 100%;
border-bottom: 1px solid #cecece;
font-family: Roboto, sans-serif;
font-weight: normal;
font-size: 16px;
}
p {
margin: 0;
2021-11-22 23:05:12 +08:00
padding: 5px;
2021-11-16 19:10:49 +05:30
}
2021-11-18 14:16:20 +08:00
.reward-item {
display: grid;
grid-template-columns: 1fr 10fr 1fr 1fr;
2021-11-18 14:16:20 +08:00
align-items: center;
padding: 0px 0px 0;
width: 100%;
border-bottom: 1px solid #cecece;
font-family: Roboto, sans-serif;
font-weight: normal;
font-size: 16px;
}
.reward-click {
padding: 5px 15px;
}
2021-11-18 14:16:20 +08:00
2021-11-16 19:10:49 +05:30
.habit-text {
2021-11-18 14:16:20 +08:00
text-align: left !important;
2021-11-16 19:10:49 +05:30
padding: 0px;
2021-11-18 14:16:20 +08:00
width: 80%;
2021-11-16 19:10:49 +05:30
margin-right: 20px;
}
.habit-plus {
/* background-color: #fff; */
border: none;
2021-11-20 17:11:13 +08:00
/* color: black; */
2021-11-18 14:16:20 +08:00
padding: 7px 5px;
2021-11-16 19:10:49 +05:30
text-align: center;
text-decoration: none;
font-size: 16px;
}
.habit-minus {
/* background-color: #fff; */
/* border-radius: 50%; */
border: none;
2021-11-20 17:11:13 +08:00
/* color: black; */
2021-11-18 14:16:20 +08:00
padding: 7px 5px;
2021-11-16 19:10:49 +05:30
text-align: center;
text-decoration: none;
font-size: 16px;
}
.habit-item {
display: grid;
grid-template-columns: 2fr 2fr 10fr 2fr 2fr;
2021-11-16 19:10:49 +05:30
align-content: space-between;
align-items: center;
padding: 0px 0px 0;
width: 100%;
border-bottom: 1px solid #cecece;
font-family: Roboto, sans-serif;
font-weight: 50%;
font-size: 16px;
}
input[type=checkbox] {
margin-right: 10px;
align-self: center;
}
.todo-content {
align-self: center;
}
.submit-button {
padding: 5px 15px;
font-size: 15px;
border: 1px solid #aaa;
2021-11-22 23:05:12 +08:00
white-space: nowrap;
2021-11-16 19:10:49 +05:30
}
input[type=checkbox]:focus {
outline: 0;
}
2021-11-18 14:16:20 +08:00
.task-view {
overflow: scroll;
}
::-webkit-scrollbar {
display: none; /* Chrome Safari */
}
2021-11-16 19:10:49 +05:30
.plugin-root {
min-width: 260px;
2021-11-18 14:16:20 +08:00
display: grid;
grid-template-rows: 93% 5% 2%;
height: inherit;
2021-11-16 19:10:49 +05:30
}
.substats {
font-size: medium;
2021-11-16 19:10:49 +05:30
}
/* react-tabs internal file :wink: */
.material-icons {
font-size: 12px !important;
padding-top: 1px;
padding-right: 2px;
}
.material-icons.md-18 { font-size: 18px !important; }
.material-icons.md-24 { font-size: 24px !important; }
.material-icons.md-32 { font-size: 32px !important; }
.material-icons.md-48 { font-size: 48px !important; }
.react-tabs {
-webkit-tap-highlight-color: transparent;
}
.react-tabs__tab-list {
border-bottom: 1px solid #aaa;
margin: 0 0 5px;
2021-11-16 19:10:49 +05:30
padding: 0;
}
.react-tabs__tab {
display: inline-block;
border: 1px solid transparent;
border-bottom: none;
bottom: -1px;
position: relative;
list-style: none;
padding: 1% 2%;
cursor: pointer;
font-size: medium;
}
.react-tabs__tab--selected {
background: var(--interactive-accent);
color: white;
border-radius: 5px 5px 0 0;
}
.react-tabs__tab--disabled {
color: GrayText;
cursor: default;
}
.react-tabs__tab:focus {
box-shadow: 0 0 5px hsl(208, 99%, 50%);
border-color: hsl(208, 99%, 50%);
outline: none;
}
.react-tabs__tab:focus:after {
content: "";
position: absolute;
height: 5px;
left: -4px;
right: -4px;
bottom: -5px;
background: #fff;
}
.react-tabs__tab-panel {
display: none;
2021-11-18 14:16:20 +08:00
left: 0px;
2021-11-16 19:10:49 +05:30
}
.react-tabs__tab-panel--selected {
display: block;
}
ul li:not(.task-list-item)::before {
content: "•";
color: transparent;
display: inline-block;
width: 1em;
margin-left: -1em;
padding: 0;
font-weight: bold;
text-shadow: 0 0 0.5em transparent;
}
body > div.app-container.is-left-sidedock-collapsed.is-right-sidedock-collapsed > div.horizontal-main-container > div > div.workspace-split.mod-horizontal.mod-right-split > div.workspace-tabs > div.workspace-leaf > div > div.view-content > div > div.cron > button {
margin: auto;
margin-bottom: 5px;
2021-11-22 23:05:12 +08:00
white-space: nowrap;
padding: 5px 5px;
margin-right: 0;
2021-11-16 19:10:49 +05:30
}
.cron {
display: inline-grid;
justify-content: center;
text-align: center;;
margin-top: 5px;
margin-left: 10%;
margin-right: 10%;
margin-bottom: 10px;
background-color: var(--background-secondary-alt);
border-radius: 10px;
}
#cronMessage {
margin: 20px;
margin-bottom: 10px;
color: var(--text-normal)
}