4545 --tb-fs-s : 1vw ;
4646
4747 --default-height : 24px ;
48+ --default-width : 24px ;
4849 --header-height : 34px ;
4950
5051 /* Annotations */
@@ -599,7 +600,7 @@ body {
599600}
600601
601602.cool-annotation-content-wrapper , .cool-annotation-redline-content-wrapper {
602- padding : 8px ;
603+ padding : 12 px 8px ;
603604 font-family : var (--cool-font ) !important ;
604605 font-size : var (--default-font-size );
605606 text-align : left;
@@ -609,6 +610,22 @@ body {
609610 border : none;
610611 border-radius : var (--border-radius );
611612 width : auto;
613+ display : flex;
614+ flex-direction : column;
615+ row-gap : 8px ;
616+ }
617+
618+ .cool-annotation-author-header {
619+ display : inline-flex;
620+ align-items : center;
621+ width : 100% ;
622+ }
623+
624+ .cool-annotation-footer {
625+ display : inline-flex;
626+ justify-content : space-between;
627+ align-items : center;
628+ width : 100% ;
612629}
613630
614631.cool-annotation : not (.annotation-active ) .cool-annotation-content-wrapper : hover ,
@@ -622,7 +639,6 @@ body {
622639}
623640
624641.cool-annotation-content {
625- margin : 3px ;
626642 line-height : 1.4 ;
627643 max-height : var (--annotation-input-size );
628644 overflow : auto;
@@ -682,21 +698,25 @@ body {
682698 hyphens : auto;
683699}
684700
685- .cool-annotation-content-author {
686- margin : 0 ;
687- margin-top : 2px ;
688- height : 18px ;
689- }
690-
691701.cool-annotation-content-resolved {
692702 color : var (--color-success );
703+ font-weight : 700 ;
704+ font-size : 0.625rem ;
693705}
694706
695707.cool-annotation-edit {
696- margin : 3px ;
697708 line-height : 1.4 ;
698709}
699710
711+ .cool-annotation-edit .cool-font {
712+ padding : 0 !important ;
713+ }
714+
715+ .cool-annotation-edit p {
716+ margin-top : 0 ;
717+ margin-bottom : 8px ;
718+ }
719+
700720.cool-annotation-textarea {
701721 font-family : var (--cool-font ) !important ;
702722 font-size : var (--default-font-size );
@@ -707,6 +727,7 @@ body {
707727 padding : 2px ;
708728 height : 54px ;
709729 width : 100% ;
730+ margin-bottom : 8px ;
710731 box-sizing : border-box;
711732}
712733
@@ -738,11 +759,16 @@ body {
738759 box-sizing : content-box !important ;
739760 max-width : 32px ;
740761 display : inline-block;
741- border : solid 2 px ;
762+ border : solid 1 px ;
742763 border-radius : 50% ;
743- height : 32 px ;
744- width : 32 px ;
764+ height : var ( --default-height ) ;
765+ width : var ( --default-width ) ;
745766 padding : 0 ;
767+ outline : 1px solid # fff ;
768+ outline-offset : -2px ;
769+ }
770+
771+ .cool-annotation .collapsed-comment .cool-annotation-img {
746772 opacity : 0.9 ;
747773}
748774
@@ -759,8 +785,8 @@ body {
759785 display : block;
760786 -moz-box-sizing : border-box;
761787 box-sizing : border-box;
762- width : 32 px ; /* Width of new image */
763- height : 32 px ; /* Height of new image */
788+ width : var ( --default-width ) ; /* Width of new image */
789+ height : var ( --default-height ) ; /* Height of new image */
764790 background : url ('images/user.svg' ) center 3px no-repeat;
765791}
766792
@@ -791,24 +817,34 @@ body {
791817}
792818
793819.cool-annotation-author {
794- padding-left : 10 px ;
795- padding-right : 10 px ;
820+ padding-left : 8 px ;
821+ padding-right : 8 px ;
796822 vertical-align : top;
797823 display : table-cell;
798824 width : 100% ;
799825 overflow : hidden;
800- max-width : 110px ;
826+ flex : 1 ;
827+ }
828+
829+ .cool-annotation : not (.annotation-pop-up ) .cool-annotation-author {
830+ max-width : 150px ;
801831}
802832
803- .cool-annotation-menu , .cool-annotation-menu-redline , .cool-redline-accept-button , .cool-redline-reject-button {
833+ .cool-annotation-content-author {
834+ white-space : normal;
835+ word-break : break-word;
836+ }
837+
838+ .cool-annotation-menu , .cool-annotation-menu-redline , .cool-redline-accept-button , .cool-redline-reject-button , .cool-annotation-menu-edit {
804839 margin : 0 !important ;
805840 padding : 0 !important ;
806841 min-width : initial !important ;
807- width : var (--btn-size ) !important ;
808- height : var (--btn-size ) !important ;
842+ width : var (--btn-img- size ) !important ;
843+ height : var (--btn-img- size ) !important ;
809844 vertical-align : top;
810845 border : 1px solid transparent !important ;
811846 display : inline-block !important ;
847+ cursor : pointer;
812848}
813849
814850.cool-redline-accept-button {
@@ -820,19 +856,28 @@ body {
820856}
821857
822858.cool-annotation-menu , .cool-annotation-menu-redline {
823- background : url ('images/lc_more .svg' ) no-repeat center/contain !important ;
859+ background : url ('images/lc_openmore .svg' ) no-repeat center/contain !important ;
824860}
825861
826862[data-theme = 'dark' ] .cool-annotation-menu , .cool-annotation-menu-redline {
827- background : url ('images/dark/lc_more .svg' ) no-repeat center/contain !important ;
863+ background : url ('images/dark/lc_openmore .svg' ) no-repeat center/contain !important ;
828864}
829865
830- .cool-annotation-menu : hover , .cool-annotation-menu-redline : hover , .cool-redline-accept-button : hover , .cool-redline-reject-button : hover {
866+ .cool-annotation-menu-edit {
867+ background : url ('images/lc_edit.svg' ) no-repeat center/contain !important ;
868+ }
869+
870+ [data-theme = 'dark' ] .cool-annotation-menu-edit {
871+ background : url ('images/dark/lc_edit.svg' ) no-repeat center/contain !important ;
872+ }
873+
874+ .cool-annotation-menu : hover , .cool-annotation-menu-redline : hover , .cool-redline-accept-button : hover , .cool-redline-reject-button : hover , .cool-annotation-menu-edit : hover {
831875 border : 1px solid var (--color-border-darker );
832876}
833877
834878.cool-annotation-date {
835- font-size : var (--default-font-size );
879+ font-size : 0.625rem ;
880+ color : # 555555 ;
836881}
837882
838883.annotation-button-autosaved {
@@ -845,9 +890,10 @@ body {
845890}
846891
847892.cool-annotation-menubar {
848- margin : 0 ;
849- padding : 0 ;
850- vertical-align : top;
893+ display : flex;
894+ justify-content : flex-end;
895+ align-items : center;
896+ column-gap : 4px ;
851897}
852898
853899.cool-annotation-child-line {
0 commit comments