4545 --tb-fs-s : 1vw ;
4646
4747 --default-height : 24px ;
48+ --default-width : 24px ;
4849 --header-height : 34px ;
4950
5051 /* Annotations */
@@ -603,7 +604,7 @@ body {
603604}
604605
605606.cool-annotation-content-wrapper , .cool-annotation-redline-content-wrapper {
606- padding : 8px ;
607+ padding : 12 px 8px ;
607608 font-family : var (--cool-font ) !important ;
608609 font-size : var (--default-font-size );
609610 text-align : left;
@@ -613,6 +614,22 @@ body {
613614 border : none;
614615 border-radius : var (--border-radius );
615616 width : auto;
617+ display : flex;
618+ flex-direction : column;
619+ row-gap : 8px ;
620+ }
621+
622+ .cool-annotation-author-header {
623+ display : inline-flex;
624+ align-items : center;
625+ width : 100% ;
626+ }
627+
628+ .cool-annotation-footer {
629+ display : inline-flex;
630+ justify-content : space-between;
631+ align-items : center;
632+ width : 100% ;
616633}
617634
618635.cool-annotation : not (.annotation-active ) .cool-annotation-content-wrapper : hover ,
@@ -626,7 +643,6 @@ body {
626643}
627644
628645.cool-annotation-content {
629- margin : 3px ;
630646 line-height : 1.4 ;
631647 max-height : var (--annotation-input-size );
632648 overflow : auto;
@@ -686,21 +702,25 @@ body {
686702 hyphens : auto;
687703}
688704
689- .cool-annotation-content-author {
690- margin : 0 ;
691- margin-top : 2px ;
692- height : 18px ;
693- }
694-
695705.cool-annotation-content-resolved {
696706 color : var (--color-success );
707+ font-weight : 700 ;
708+ font-size : 0.56rem ;
697709}
698710
699711.cool-annotation-edit {
700- margin : 3px ;
701712 line-height : 1.4 ;
702713}
703714
715+ .cool-annotation-edit .cool-font {
716+ padding : 0 !important ;
717+ }
718+
719+ .cool-annotation-edit p {
720+ margin-top : 0 ;
721+ margin-bottom : 8px ;
722+ }
723+
704724.cool-annotation-textarea {
705725 font-family : var (--cool-font ) !important ;
706726 font-size : var (--default-font-size );
@@ -711,6 +731,7 @@ body {
711731 padding : 2px ;
712732 height : 54px ;
713733 width : 100% ;
734+ margin-bottom : 8px ;
714735 box-sizing : border-box;
715736}
716737
@@ -742,10 +763,10 @@ body {
742763 box-sizing : content-box !important ;
743764 max-width : 32px ;
744765 display : inline-block;
745- border : solid 2 px ;
766+ border : solid 1 px ;
746767 border-radius : 50% ;
747- height : 32 px ;
748- width : 32 px ;
768+ height : var ( --default-height ) ;
769+ width : var ( --default-width ) ;
749770 padding : 0 ;
750771 opacity : 0.9 ;
751772}
@@ -763,8 +784,8 @@ body {
763784 display : block;
764785 -moz-box-sizing : border-box;
765786 box-sizing : border-box;
766- width : 32 px ; /* Width of new image */
767- height : 32 px ; /* Height of new image */
787+ width : var ( --default-width ) ; /* Width of new image */
788+ height : var ( --default-height ) ; /* Height of new image */
768789 background : url ('images/user.svg' ) center 3px no-repeat;
769790}
770791
@@ -786,24 +807,34 @@ body {
786807}
787808
788809.cool-annotation-author {
789- padding-left : 10 px ;
790- padding-right : 10 px ;
810+ padding-left : 8 px ;
811+ padding-right : 8 px ;
791812 vertical-align : top;
792813 display : table-cell;
793814 width : 100% ;
794815 overflow : hidden;
795- max-width : 110px ;
816+ flex : 1 ;
817+ }
818+
819+ .cool-annotation : not (.annotation-pop-up ) .cool-annotation-author {
820+ max-width : 150px ;
796821}
797822
798- .cool-annotation-menu , .cool-annotation-menu-redline , .cool-redline-accept-button , .cool-redline-reject-button {
823+ .cool-annotation-content-author {
824+ white-space : normal;
825+ word-break : break-word;
826+ }
827+
828+ .cool-annotation-menu , .cool-annotation-menu-redline , .cool-redline-accept-button , .cool-redline-reject-button , .cool-annotation-menu-edit {
799829 margin : 0 !important ;
800830 padding : 0 !important ;
801831 min-width : initial !important ;
802- width : var (--btn-size ) !important ;
803- height : var (--btn-size ) !important ;
832+ width : var (--btn-img- size ) !important ;
833+ height : var (--btn-img- size ) !important ;
804834 vertical-align : top;
805835 border : 1px solid transparent !important ;
806836 display : inline-block !important ;
837+ cursor : pointer;
807838}
808839
809840.cool-redline-accept-button {
@@ -815,19 +846,28 @@ body {
815846}
816847
817848.cool-annotation-menu , .cool-annotation-menu-redline {
818- background : url ('images/lc_more .svg' ) no-repeat center/contain !important ;
849+ background : url ('images/lc_openmore .svg' ) no-repeat center/contain !important ;
819850}
820851
821852[data-theme = 'dark' ] .cool-annotation-menu , .cool-annotation-menu-redline {
822- background : url ('images/dark/lc_more .svg' ) no-repeat center/contain !important ;
853+ background : url ('images/dark/lc_openmore .svg' ) no-repeat center/contain !important ;
823854}
824855
825- .cool-annotation-menu : hover , .cool-annotation-menu-redline : hover , .cool-redline-accept-button : hover , .cool-redline-reject-button : hover {
856+ .cool-annotation-menu-edit {
857+ background : url ('images/lc_edit.svg' ) no-repeat center/contain !important ;
858+ }
859+
860+ [data-theme = 'dark' ] .cool-annotation-menu-edit {
861+ background : url ('images/dark/lc_edit.svg' ) no-repeat center/contain !important ;
862+ }
863+
864+ .cool-annotation-menu : hover , .cool-annotation-menu-redline : hover , .cool-redline-accept-button : hover , .cool-redline-reject-button : hover , .cool-annotation-menu-edit : hover {
826865 border : 1px solid var (--color-border-darker );
827866}
828867
829868.cool-annotation-date {
830- font-size : var (--default-font-size );
869+ font-size : 0.56rem ;
870+ color : # 555555 ;
831871}
832872
833873.annotation-button-autosaved {
@@ -840,9 +880,10 @@ body {
840880}
841881
842882.cool-annotation-menubar {
843- margin : 0 ;
844- padding : 0 ;
845- vertical-align : top;
883+ display : flex;
884+ justify-content : flex-end;
885+ align-items : center;
886+ column-gap : 4px ;
846887}
847888
848889.cool-annotation-child-line {
0 commit comments