mirror of
https://github.com/sudoxnym/habitica-self-host.git
synced 2026-08-01 03:30:25 +00:00
some exclusions from index.css
This commit is contained in:
parent
8391c01992
commit
51f60a1e71
1 changed files with 4 additions and 490 deletions
494
css/index.css
494
css/index.css
|
|
@ -1,3 +1,7 @@
|
|||
/*$img = 'img'
|
||||
if $shared
|
||||
// need a better way to handle this. Mobile css expecs '../../img/*', but other frameworks won't
|
||||
$img = '../img'*/
|
||||
.f_weapon_6,
|
||||
.f_weapon_5,
|
||||
.f_weapon_4,
|
||||
|
|
@ -665,496 +669,6 @@
|
|||
width: 32px;
|
||||
height: 22px;
|
||||
}
|
||||
.color-worst {
|
||||
background-color: #e6b8af;
|
||||
}
|
||||
.color-worst .action-yesno label,
|
||||
.color-worst .task-action-btn {
|
||||
background-color: #c96652;
|
||||
}
|
||||
.color-worst .action-yesno label:hover,
|
||||
.color-worst .task-action-btn:hover,
|
||||
.color-worst .action-yesno label:focus,
|
||||
.color-worst .task-action-btn:focus {
|
||||
background-color: #b94f3a;
|
||||
}
|
||||
.color-worst .task-options {
|
||||
background-color: #e6b8af;
|
||||
}
|
||||
.color-worse {
|
||||
background-color: #f4cccc;
|
||||
}
|
||||
.color-worse .action-yesno label,
|
||||
.color-worse .task-action-btn {
|
||||
background-color: #dc5d5d;
|
||||
}
|
||||
.color-worse .action-yesno label:hover,
|
||||
.color-worse .task-action-btn:hover,
|
||||
.color-worse .action-yesno label:focus,
|
||||
.color-worse .task-action-btn:focus {
|
||||
background-color: #d43939;
|
||||
}
|
||||
.color-worse .task-options {
|
||||
background-color: #f4cccc;
|
||||
}
|
||||
.color-bad {
|
||||
background-color: #fce5cd;
|
||||
}
|
||||
.color-bad .action-yesno label,
|
||||
.color-bad .task-action-btn {
|
||||
background-color: #f4a24c;
|
||||
}
|
||||
.color-bad .action-yesno label:hover,
|
||||
.color-bad .task-action-btn:hover,
|
||||
.color-bad .action-yesno label:focus,
|
||||
.color-bad .task-action-btn:focus {
|
||||
background-color: #f28b21;
|
||||
}
|
||||
.color-bad .task-options {
|
||||
background-color: #fce5cd;
|
||||
}
|
||||
.color-neutral {
|
||||
background-color: #fff2cc;
|
||||
}
|
||||
.color-neutral .action-yesno label,
|
||||
.color-neutral .task-action-btn {
|
||||
background-color: #ffcf42;
|
||||
}
|
||||
.color-neutral .action-yesno label:hover,
|
||||
.color-neutral .task-action-btn:hover,
|
||||
.color-neutral .action-yesno label:focus,
|
||||
.color-neutral .task-action-btn:focus {
|
||||
background-color: #ffc314;
|
||||
}
|
||||
.color-neutral .task-options {
|
||||
background-color: #fff2cc;
|
||||
}
|
||||
.color-good {
|
||||
background-color: #d9ead3;
|
||||
}
|
||||
.color-good .action-yesno label,
|
||||
.color-good .task-action-btn {
|
||||
background-color: #8bbf79;
|
||||
}
|
||||
.color-good .action-yesno label:hover,
|
||||
.color-good .task-action-btn:hover,
|
||||
.color-good .action-yesno label:focus,
|
||||
.color-good .task-action-btn:focus {
|
||||
background-color: #71b05b;
|
||||
}
|
||||
.color-good .task-options {
|
||||
background-color: #d9ead3;
|
||||
}
|
||||
.color-better {
|
||||
background-color: #d0e0e3;
|
||||
}
|
||||
.color-better .action-yesno label,
|
||||
.color-better .task-action-btn {
|
||||
background-color: #7eaab2;
|
||||
}
|
||||
.color-better .action-yesno label:hover,
|
||||
.color-better .task-action-btn:hover,
|
||||
.color-better .action-yesno label:focus,
|
||||
.color-better .task-action-btn:focus {
|
||||
background-color: #6398a2;
|
||||
}
|
||||
.color-better .task-options {
|
||||
background-color: #d0e0e3;
|
||||
}
|
||||
.color-best {
|
||||
background-color: #c9daf8;
|
||||
}
|
||||
.color-best .action-yesno label,
|
||||
.color-best .task-action-btn {
|
||||
background-color: #5288e9;
|
||||
}
|
||||
.color-best .action-yesno label:hover,
|
||||
.color-best .task-action-btn:hover,
|
||||
.color-best .action-yesno label:focus,
|
||||
.color-best .task-action-btn:focus {
|
||||
background-color: #2a6de3;
|
||||
}
|
||||
.color-best .task-options {
|
||||
background-color: #c9daf8;
|
||||
}
|
||||
.completed {
|
||||
background-color: #d9d9d9;
|
||||
color: #999;
|
||||
}
|
||||
.completed .task-checker label {
|
||||
background-color: #989898;
|
||||
}
|
||||
.completed .task-action-btn {
|
||||
background-color: #989898;
|
||||
}
|
||||
.reward {
|
||||
background-color: #fff;
|
||||
}
|
||||
.task-column {
|
||||
padding: 1.5em;
|
||||
background: #f5f5f5;
|
||||
border: 1px solid #ccc;
|
||||
font-family: 'Lato', sans-serif;
|
||||
}
|
||||
.task-column .task-column_title {
|
||||
margin: 0 0 0.5em;
|
||||
padding: 0;
|
||||
}
|
||||
.addtask-form {
|
||||
margin-bottom: 0.75em;
|
||||
outline: 1px solid rgba(0,0,0,0.15);
|
||||
outline-offset: -1px;
|
||||
background-color: #fff;
|
||||
position: relative;
|
||||
}
|
||||
.addtask-field {
|
||||
display: block;
|
||||
width: 100%;
|
||||
}
|
||||
.addtask-field input {
|
||||
font-family: 'Lato', sans-serif;
|
||||
border: 0;
|
||||
outline: 0;
|
||||
border-radius: 0;
|
||||
box-shadow: none;
|
||||
background-color: #fff;
|
||||
height: 3em;
|
||||
padding: 0 0 0 0.5em;
|
||||
width: 100%;
|
||||
}
|
||||
.addtask-field input:focus {
|
||||
box-shadow: inset 0 0 3px #7aa4ee, inset -1px 0 1px #5288e9;
|
||||
}
|
||||
.addtask-btn {
|
||||
position: absolute;
|
||||
right: 0;
|
||||
top: 0;
|
||||
width: 1.81818em !important;
|
||||
height: 1.88em;
|
||||
padding: 0;
|
||||
font-size: 1.61em;
|
||||
line-height: 1.7;
|
||||
outline: 0;
|
||||
border: 0;
|
||||
border-radius: 0;
|
||||
background-color: #8db1f0;
|
||||
}
|
||||
.addtask-btn:hover,
|
||||
.addtask-btn:focus {
|
||||
background-color: #7aa4ee;
|
||||
}
|
||||
.addtask-btn:active {
|
||||
background-color: #5288e9;
|
||||
}
|
||||
.task {
|
||||
list-style: none;
|
||||
clear: both;
|
||||
padding: 0;
|
||||
min-height: 3em;
|
||||
margin-bottom: 0.75em;
|
||||
box-shadow: inset 0 0 1px rgba(0,0,0,0.5);
|
||||
position: relative;
|
||||
}
|
||||
.task:hover {
|
||||
cursor: move;
|
||||
}
|
||||
.task:last-child {
|
||||
margin-bottom: 0;
|
||||
}
|
||||
.task-text {
|
||||
display: block;
|
||||
padding: 0.75em 0 0.75em 3.5em;
|
||||
line-height: 1.4;
|
||||
}
|
||||
.habit-wide .task-text {
|
||||
padding-left: 7em;
|
||||
}
|
||||
.task.ui-sortable-helper {
|
||||
box-shadow: 0 0 3px rgba(0,0,0,0.15), 0 0 5px rgba(0,0,0,0.1);
|
||||
transform: scale(1.05);
|
||||
outline: 1px solid rgba(0,0,0,0.2);
|
||||
}
|
||||
.task-controls {
|
||||
display: inline-block;
|
||||
float: left;
|
||||
margin-left: -0.5em;
|
||||
margin-right: 0.5em;
|
||||
}
|
||||
.task-controls.task-primary {
|
||||
position: absolute;
|
||||
top: 0;
|
||||
bottom: 0;
|
||||
left: 0;
|
||||
float: none;
|
||||
margin: 0;
|
||||
}
|
||||
.task-action-btn {
|
||||
display: inline-block;
|
||||
width: 2.12765em;
|
||||
height: 2.12765em;
|
||||
padding: 0;
|
||||
font-size: 1.41em;
|
||||
line-height: 2.12765;
|
||||
text-align: center;
|
||||
color: #222;
|
||||
vertical-align: top;
|
||||
border-right: 1px solid rgba(0,0,0,0.25);
|
||||
}
|
||||
.task-action-btn:last-child {
|
||||
border: 0;
|
||||
}
|
||||
.task-action-btn:hover,
|
||||
.task-action-btn:focus {
|
||||
color: #222;
|
||||
text-decoration: none;
|
||||
}
|
||||
.task-checker input[type=checkbox] {
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
visibility: hidden;
|
||||
}
|
||||
.task-checker label {
|
||||
display: inline-block;
|
||||
width: 3em;
|
||||
height: 100%;
|
||||
margin: 0;
|
||||
vertical-align: top;
|
||||
cursor: pointer;
|
||||
}
|
||||
.action-plusminus label {
|
||||
margin-right: 1.5em;
|
||||
}
|
||||
.action-plusminus label:after {
|
||||
font-size: 1.41em;
|
||||
width: 2.12765em;
|
||||
height: 2.12765em;
|
||||
line-height: 2.12765;
|
||||
text-align: center;
|
||||
display: inline-block;
|
||||
vertical-align: top;
|
||||
opacity: 0.3;
|
||||
background-color: #ddd;
|
||||
outline: 1px solid rgba(0,0,0,0.5);
|
||||
color: #222;
|
||||
}
|
||||
.action-plusminus label[for$="plus"]:after {
|
||||
content: '+';
|
||||
}
|
||||
.action-plusminus label[for$="minus"]:after {
|
||||
content: '−';
|
||||
}
|
||||
.action-plusminus.select-toggle input[type=checkbox]:checked + label:after {
|
||||
opacity: 1;
|
||||
}
|
||||
.action-yesno {
|
||||
position: relative;
|
||||
}
|
||||
.action-yesno label:after,
|
||||
.action-yesno label:before {
|
||||
content: '';
|
||||
display: block;
|
||||
height: 1.714285714em;
|
||||
width: 1.714285714em;
|
||||
font-size: 1.75em;
|
||||
line-height: 1.714285714em;
|
||||
text-align: center;
|
||||
color: #000;
|
||||
opacity: 0.2;
|
||||
}
|
||||
.action-yesno label:after {
|
||||
content: '◻';
|
||||
}
|
||||
.action-yesno label:before {
|
||||
position: absolute;
|
||||
left: 0;
|
||||
}
|
||||
.action-yesno label:hover:before,
|
||||
.action-yesno label:focus:before {
|
||||
content: '';
|
||||
}
|
||||
.action-yesno label:hover:after,
|
||||
.action-yesno label:focus:after {
|
||||
content: '¬';
|
||||
font-size: 3.2em;
|
||||
line-height: 0.9375em;
|
||||
height: 0.9375em;
|
||||
width: 1.15em;
|
||||
text-align: center;
|
||||
transform: rotate(135deg);
|
||||
opacity: 0.5 !important;
|
||||
}
|
||||
.action-yesno label:active:after {
|
||||
opacity: 0.75 !important;
|
||||
}
|
||||
.action-yesno input[type=checkbox]:checked + label:after {
|
||||
content: '¬';
|
||||
font-size: 3.2em;
|
||||
line-height: 0.9375em;
|
||||
height: 0.9375em;
|
||||
width: 1.15em;
|
||||
text-align: center;
|
||||
transform: rotate(135deg);
|
||||
opacity: 0.75;
|
||||
}
|
||||
.task-meta-controls {
|
||||
float: right;
|
||||
margin: 0.75em 0.5em 0 0.25em;
|
||||
height: 1em;
|
||||
opacity: 0.25;
|
||||
}
|
||||
.task-meta-controls a > i {
|
||||
margin-left: 0.125em;
|
||||
}
|
||||
.task-meta-controls .task-notes {
|
||||
margin-left: 0.125em;
|
||||
}
|
||||
.task:hover .task-meta-controls {
|
||||
opacity: 1;
|
||||
}
|
||||
.popover {
|
||||
line-height: 1.5;
|
||||
}
|
||||
form {
|
||||
margin-bottom: 0;
|
||||
}
|
||||
[class$="-options"] {
|
||||
padding: 1em 1em 0;
|
||||
color: #333;
|
||||
z-index: 0;
|
||||
position: relative;
|
||||
background-color
|
||||
}
|
||||
[class$="-options"] .option-group {
|
||||
border-bottom: 1px solid rgba(0,0,0,0.1);
|
||||
padding: 0 0 1em;
|
||||
margin-bottom: 1em;
|
||||
}
|
||||
[class$="-options"] .option-title {
|
||||
font-size: 1em;
|
||||
margin: 0 0 0.5em;
|
||||
line-height: 1.5;
|
||||
border: 0;
|
||||
padding: 0;
|
||||
color: #333;
|
||||
font-style: italic;
|
||||
}
|
||||
[class$="-options"] .option-title:not(.mega):after {
|
||||
content: ':';
|
||||
}
|
||||
[class$="-options"] .option-title.mega {
|
||||
cursor: pointer;
|
||||
font-style: normal;
|
||||
font-weight: bold;
|
||||
text-decoration: underline;
|
||||
}
|
||||
[class$="-options"] .option-content {
|
||||
height: 2.5em;
|
||||
width: 100%;
|
||||
margin: 0 0 1em;
|
||||
padding: 0 0 0 0.5em;
|
||||
outline: 0;
|
||||
border: 1px solid rgba(0,0,0,0.2);
|
||||
box-shadow: none;
|
||||
border-radius: 0;
|
||||
font-family: 'Lato', sans-serif;
|
||||
}
|
||||
[class$="-options"] textarea.option-content {
|
||||
height: 5em;
|
||||
padding-top: 0.25em;
|
||||
resize: none;
|
||||
margin-bottom: 0;
|
||||
}
|
||||
.option-short .option-content {
|
||||
width: 3em;
|
||||
display: inline-block;
|
||||
}
|
||||
.option-short .input-suffix {
|
||||
vertical-align: 20%;
|
||||
padding-left: 0.25em;
|
||||
}
|
||||
.option-medium .option-content {
|
||||
width: 6em;
|
||||
display: inline-block;
|
||||
}
|
||||
.option-medium .input-suffix {
|
||||
vertical-align: 20%;
|
||||
padding-left: 0.25em;
|
||||
}
|
||||
.task-controls.tile-group {
|
||||
display: block;
|
||||
text-align: center;
|
||||
margin: 0;
|
||||
}
|
||||
.task-action-btn.tile {
|
||||
border: 0;
|
||||
font-size: 1.15em;
|
||||
font-weight: 300;
|
||||
outline: 1px solid rgba(0,0,0,0.2);
|
||||
outline-offset: -1px;
|
||||
margin: 0 0 0 3px;
|
||||
font-family: 'Lato', sans-serif;
|
||||
text-align: inherit;
|
||||
opacity: 0.5;
|
||||
width: auto;
|
||||
padding: 0 0.5em;
|
||||
}
|
||||
.task-action-btn.tile.active {
|
||||
opacity: 1;
|
||||
}
|
||||
.tile.solid {
|
||||
opacity: 1;
|
||||
}
|
||||
.tile.spacious {
|
||||
margin: 0.75em 0;
|
||||
font-size: 1.25em;
|
||||
opacity: 1;
|
||||
}
|
||||
.tile.bright {
|
||||
background-color: #d4e1f9;
|
||||
}
|
||||
.tile.bright:hover,
|
||||
.tile.bright:focus {
|
||||
background-color: #dfe9fb;
|
||||
}
|
||||
.tile.flush {
|
||||
margin-left: 0;
|
||||
border: 1px solid rgba(0,0,0,0.2);
|
||||
outline: 0;
|
||||
line-height: 2em;
|
||||
}
|
||||
.tile.flush:first-child {
|
||||
border-right: 0;
|
||||
}
|
||||
.context-enabled .display-context-dependant,
|
||||
.context-enabled .task-list li {
|
||||
display: none;
|
||||
}
|
||||
.context-enabled.context-completed .show-for-completed,
|
||||
.context-enabled.context-completed .completed {
|
||||
display: block;
|
||||
}
|
||||
.context-enabled.context-uncompleted .show-for-uncompleted,
|
||||
.context-enabled.context-uncompleted .uncompleted {
|
||||
display: block;
|
||||
}
|
||||
.nav-tabs {
|
||||
margin-top: 1.5em;
|
||||
}
|
||||
.nav-tabs > li.active > a {
|
||||
color: #333;
|
||||
}
|
||||
.nav-tabs > li.active > a:hover {
|
||||
margin-top: 1px;
|
||||
}
|
||||
.nav-tabs > li > a {
|
||||
border-radius: 0 !important;
|
||||
margin-top: 1px;
|
||||
color: #333;
|
||||
}
|
||||
.nav-tabs > li > a:hover {
|
||||
border-top: 0;
|
||||
margin-top: 2px;
|
||||
}
|
||||
.herobox {
|
||||
height: 10.5em;
|
||||
width: 10em;
|
||||
|
|
|
|||
Loading…
Reference in a new issue