File tree Expand file tree Collapse file tree 2 files changed +46
-3
lines changed
Expand file tree Collapse file tree 2 files changed +46
-3
lines changed Original file line number Diff line number Diff line change @@ -43,9 +43,9 @@ defmodule CbtWeb.NewJournalEntryLive do
4343 < label
4444 for = { "mood-rating-#{ rating } " }
4545 class = { [
46- "cursor-pointer p-2 rounded-full transition-colors border-2 " ,
46+ "cursor-pointer w-10 h-10 rounded-full transition-colors border flex flex-col items-center justify-center " ,
4747 if ( @ form [ :mood_rating ] . value == rating ,
48- do: "bg-blue-100 border-blue-500 ring-2 ring-blue-300 text-blue-900" ,
48+ do: "bg-blue-100 border-blue-200 text-blue-900" ,
4949 else: "hover:bg-gray-100 border-transparent"
5050 )
5151 ] }
@@ -54,7 +54,7 @@ defmodule CbtWeb.NewJournalEntryLive do
5454 </ label >
5555 < span class = { [
5656 "text-xs mt-1" ,
57- if ( @ form [ :mood_rating ] . value == rating , do: "text-blue-700 font-semibold " , else: "text-gray-600" )
57+ if ( @ form [ :mood_rating ] . value == rating , do: "text-blue-600 " , else: "text-gray-600" )
5858 ] } >
5959 { mood_label ( rating ) }
6060 </ span >
Original file line number Diff line number Diff line change @@ -1095,6 +1095,18 @@ select {
10951095 height : 1.5rem ;
10961096}
10971097
1098+ .h-8 {
1099+ height : 2rem ;
1100+ }
1101+
1102+ .h-12 {
1103+ height : 3rem ;
1104+ }
1105+
1106+ .h-10 {
1107+ height : 2.5rem ;
1108+ }
1109+
10981110.max-h-0 {
10991111 max-height : 0px ;
11001112}
@@ -1147,6 +1159,18 @@ select {
11471159 width : 100% ;
11481160}
11491161
1162+ .w-8 {
1163+ width : 2rem ;
1164+ }
1165+
1166+ .w-12 {
1167+ width : 3rem ;
1168+ }
1169+
1170+ .w-10 {
1171+ width : 2.5rem ;
1172+ }
1173+
11501174.max-w-2xl {
11511175 max-width : 42rem ;
11521176}
@@ -1379,6 +1403,16 @@ select {
13791403 border-color : rgb (212 212 216 / var (--tw-border-opacity , 1 ));
13801404}
13811405
1406+ .border-blue-200 {
1407+ --tw-border-opacity : 1 ;
1408+ border-color : rgb (191 219 254 / var (--tw-border-opacity , 1 ));
1409+ }
1410+
1411+ .border-blue-400 {
1412+ --tw-border-opacity : 1 ;
1413+ border-color : rgb (96 165 250 / var (--tw-border-opacity , 1 ));
1414+ }
1415+
13821416.bg-blue-100 {
13831417 --tw-bg-opacity : 1 ;
13841418 background-color : rgb (219 234 254 / var (--tw-bg-opacity , 1 ));
@@ -1445,6 +1479,10 @@ select {
14451479 padding : 1rem ;
14461480}
14471481
1482+ .p-1 {
1483+ padding : 0.25rem ;
1484+ }
1485+
14481486.px-2 {
14491487 padding-left : 0.5rem ;
14501488 padding-right : 0.5rem ;
@@ -1659,6 +1697,11 @@ select {
16591697 color : rgb (24 24 27 / var (--tw-text-opacity , 1 ));
16601698}
16611699
1700+ .text-blue-600 {
1701+ --tw-text-opacity : 1 ;
1702+ color : rgb (37 99 235 / var (--tw-text-opacity , 1 ));
1703+ }
1704+
16621705.underline {
16631706 text-decoration-line : underline;
16641707}
You can’t perform that action at this time.
0 commit comments