|
1 | 1 | @include icon-black-white('circle', 'tasks', 1); |
| 2 | +@include icon-black-white('reminder', 'tasks', 1); |
| 3 | +@include icon-black-white('repeat', 'tasks', 1); |
| 4 | +@include icon-black-white('note', 'tasks', 1); |
| 5 | +@include icon-black-white('pinned', 'tasks', 1); |
| 6 | +@include icon-black-white('pinned-off', 'tasks', 1); |
2 | 7 |
|
3 | 8 | @include icon-black-white('list', 'tasks', 1); |
4 | 9 | @include icon-black-white('list--up', 'tasks', 1); |
@@ -782,17 +787,46 @@ $blue_due: #4271a6; // due dates and low importance |
782 | 787 | } |
783 | 788 |
|
784 | 789 | /** |
785 | | - * rules for app-sidebar |
786 | | - */ |
| 790 | + * Rules for app-sidebar |
| 791 | + */ |
787 | 792 |
|
788 | | -#app-sidebar { |
789 | | - .flex-container { |
| 793 | +.app-sidebar { |
| 794 | + .app-sidebar-header__desc .detail-checkbox { |
790 | 795 | display: flex; |
791 | | - flex-direction: column; |
792 | | - height: 100%; |
| 796 | + height: 44px; |
| 797 | + width: 44px; |
| 798 | + justify-content: center; |
| 799 | + |
| 800 | + input[type='checkbox'].checkbox + label { |
| 801 | + display: flex; |
| 802 | + align-items: center; |
| 803 | + |
| 804 | + &::before { |
| 805 | + margin: 0; |
| 806 | + border-width: 2px; |
| 807 | + border-radius: var(--border-radius); |
| 808 | + border-color: var(--color-border-dark); |
| 809 | + } |
| 810 | + |
| 811 | + &:hover { |
| 812 | + border-color: var(--color-border-dark); |
| 813 | + } |
| 814 | + |
| 815 | + &.priority-high::before { |
| 816 | + border-color: $red_overdue; |
| 817 | + } |
| 818 | + |
| 819 | + &.priority-medium::before { |
| 820 | + border-color: $yellow; |
| 821 | + } |
| 822 | + |
| 823 | + &.priority-low::before { |
| 824 | + border-color: $blue_due; |
| 825 | + } |
| 826 | + } |
793 | 827 | } |
794 | 828 |
|
795 | | - .content-wrapper { |
| 829 | + section { |
796 | 830 | padding: 0; |
797 | 831 | box-sizing: border-box; |
798 | 832 | height: 100%; |
@@ -827,146 +861,6 @@ $blue_due: #4271a6; // due dates and low importance |
827 | 861 | } |
828 | 862 | } |
829 | 863 |
|
830 | | - .title { |
831 | | - flex: 0 0 auto; |
832 | | - display: flex; |
833 | | - align-items: center; |
834 | | - background-color: var(--color-background-hover); |
835 | | - border-bottom: 1px solid var(--color-border-dark); |
836 | | - font-size: 16px; |
837 | | - font-weight: bold; |
838 | | - min-height: 50px; |
839 | | - word-wrap: break-word; |
840 | | - |
841 | | - &.editing { |
842 | | - .title-text { |
843 | | - display: none !important; |
844 | | - } |
845 | | - |
846 | | - .expandable-container { |
847 | | - display: inline-block !important; |
848 | | - } |
849 | | - } |
850 | | - |
851 | | - .detail-checkbox { |
852 | | - padding: 11px 10px; |
853 | | - padding-right: 7px; |
854 | | - |
855 | | - input[type='checkbox'].checkbox + label { |
856 | | - &::before { |
857 | | - border-width: 2px; |
858 | | - border-radius: var(--border-radius); |
859 | | - border-color: var(--color-border-dark); |
860 | | - } |
861 | | - |
862 | | - &:hover { |
863 | | - border-color: var(--color-border-dark); |
864 | | - } |
865 | | - |
866 | | - &.priority-high::before { |
867 | | - border-color: $red_overdue; |
868 | | - } |
869 | | - |
870 | | - &.priority-medium::before { |
871 | | - border-color: $yellow; |
872 | | - } |
873 | | - |
874 | | - &.priority-low::before { |
875 | | - border-color: $blue_due; |
876 | | - } |
877 | | - } |
878 | | - } |
879 | | - |
880 | | - .title-wrapper { |
881 | | - flex-grow: 1; |
882 | | - |
883 | | - .title-text, |
884 | | - .expandable-container { |
885 | | - max-height: 110px; |
886 | | - overflow-y: hidden; |
887 | | - margin: 13px 0; |
888 | | - min-height: 24px; |
889 | | - width: 100%; |
890 | | - padding: 0 6px; |
891 | | - } |
892 | | - |
893 | | - .title-text { |
894 | | - cursor: text; |
895 | | - display: inline-block; |
896 | | - line-height: 22px; |
897 | | - // this border is to adjust the size of the div to the size |
898 | | - // of the input field for editing the title |
899 | | - // (setting a padding always led to a small flickering) |
900 | | - border: 1px solid transparent; |
901 | | - |
902 | | - &.strike-through { |
903 | | - text-decoration: line-through; |
904 | | - } |
905 | | - } |
906 | | - |
907 | | - .expandable-container { |
908 | | - border: 1px solid #a0a0a0; |
909 | | - display: none; |
910 | | - line-height: 24px; |
911 | | - |
912 | | - .expandingArea { |
913 | | - position: relative; |
914 | | - } |
915 | | - } |
916 | | - |
917 | | - textarea, |
918 | | - pre { |
919 | | - box-shadow: none; |
920 | | - font-size: 16px; |
921 | | - font-weight: bold; |
922 | | - line-height: 22px; |
923 | | - min-height: 22px; |
924 | | - background: none repeat scroll 0 0 transparent; |
925 | | - border: medium none; |
926 | | - padding: 0; |
927 | | - white-space: pre-wrap; |
928 | | - word-wrap: break-word; |
929 | | - } |
930 | | - |
931 | | - textarea { |
932 | | - margin: 0; |
933 | | - border-radius: 0; |
934 | | - height: 100%; |
935 | | - left: 0; |
936 | | - overflow: hidden; |
937 | | - position: absolute; |
938 | | - resize: none; |
939 | | - top: 0; |
940 | | - width: 100%; |
941 | | - } |
942 | | - |
943 | | - pre { |
944 | | - border: 0 none !important; |
945 | | - display: block; |
946 | | - margin: 0; |
947 | | - outline: 0 none; |
948 | | - padding: 0 !important; |
949 | | - visibility: hidden; |
950 | | - } |
951 | | - } |
952 | | - |
953 | | - .status-display { |
954 | | - margin: 17px 6px; |
955 | | - min-width: 16px; |
956 | | - } |
957 | | - |
958 | | - button { |
959 | | - padding: 10px; |
960 | | - display: flex; |
961 | | - align-items: center; |
962 | | - justify-content: center; |
963 | | - |
964 | | - .icon { |
965 | | - transform: scale(1.5); |
966 | | - } |
967 | | - } |
968 | | - } |
969 | | - |
970 | 864 | .body { |
971 | 865 | flex: 1 1 auto; |
972 | 866 | overflow-y: auto; |
|
0 commit comments