diff --git a/frontend/styles.css b/frontend/styles.css index 55c259e2..e59002a1 100644 --- a/frontend/styles.css +++ b/frontend/styles.css @@ -41,4 +41,8 @@ input[type=file] { @apply block w-full px-3 py-1 text-base font-normal text-orange bg-clip-padding border border-solid border-slate rounded transition ease-in-out my-2; } + #signup_form input[type=email], + #signup_form input[type=password]{ + @apply rounded bg-charcoal text-white border border-slate w-full; + } } diff --git a/static/css/styles.css b/static/css/styles.css index 047ea0d2..059c3c2c 100644 --- a/static/css/styles.css +++ b/static/css/styles.css @@ -675,6 +675,19 @@ input[type=file] { transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1); } +#signup_form input[type=email], + #signup_form input[type=password] { + width: 100%; + border-radius: 0.25rem; + border-width: 1px; + --tw-border-opacity: 1; + border-color: rgb(49 74 87 / var(--tw-border-opacity)); + --tw-bg-opacity: 1; + background-color: rgb(23 42 52 / var(--tw-bg-opacity)); + --tw-text-opacity: 1; + color: rgb(255 255 255 / var(--tw-text-opacity)); +} + *, ::before, ::after { --tw-border-spacing-x: 0; --tw-border-spacing-y: 0; @@ -1173,6 +1186,10 @@ input[type=file] { width: auto; } +.w-1\/3 { + width: 33.333333%; +} + .w-1\/6 { width: 16.666667%; } @@ -1201,10 +1218,6 @@ input[type=file] { width: 1rem; } -.w-1\/3 { - width: 33.333333%; -} - .w-5 { width: 1.25rem; } @@ -1474,8 +1487,9 @@ input[type=file] { border-color: rgb(23 42 52 / var(--tw-border-opacity)); } -.border-slate\/60 { - border-color: rgb(49 74 87 / 0.6); +.bg-red-600 { + --tw-bg-opacity: 1; + background-color: rgb(220 38 38 / var(--tw-bg-opacity)); } .bg-black { @@ -1483,6 +1497,11 @@ input[type=file] { background-color: rgb(5 26 38 / var(--tw-bg-opacity)); } +.bg-white { + --tw-bg-opacity: 1; + background-color: rgb(255 255 255 / var(--tw-bg-opacity)); +} + .bg-charcoal { --tw-bg-opacity: 1; background-color: rgb(23 42 52 / var(--tw-bg-opacity)); @@ -1492,6 +1511,11 @@ input[type=file] { background-color: rgb(90 213 153 / 0.1); } +.bg-indigo-600 { + --tw-bg-opacity: 1; + background-color: rgb(79 70 229 / var(--tw-bg-opacity)); +} + .bg-charcoal\/60 { background-color: rgb(23 42 52 / 0.6); } @@ -1816,14 +1840,14 @@ input[type=file] { font-weight: 500; } -.font-light { - font-weight: 300; -} - .font-bold { font-weight: 700; } +.font-light { + font-weight: 300; +} + .uppercase { text-transform: uppercase; } @@ -1840,6 +1864,11 @@ input[type=file] { letter-spacing: -0.025em; } +.text-white { + --tw-text-opacity: 1; + color: rgb(255 255 255 / var(--tw-text-opacity)); +} + .text-orange { --tw-text-opacity: 1; color: rgb(255 159 0 / var(--tw-text-opacity)); @@ -1870,6 +1899,14 @@ input[type=file] { color: rgb(181 201 211 / var(--tw-text-opacity)); } +.text-white\/80 { + color: rgb(255 255 255 / 0.8); +} + +.text-white\/50 { + color: rgb(255 255 255 / 0.5); +} + .shadow { --tw-shadow: 0 1px 3px 0 rgb(0 0 0 / 0.1), 0 1px 2px -1px rgb(0 0 0 / 0.1); --tw-shadow-colored: 0 1px 3px 0 var(--tw-shadow-color), 0 1px 2px -1px var(--tw-shadow-color); @@ -1893,11 +1930,26 @@ input[type=file] { background-color: rgb(255 159 0 / var(--tw-bg-opacity)); } +.hover\:bg-indigo-700:hover { + --tw-bg-opacity: 1; + background-color: rgb(67 56 202 / var(--tw-bg-opacity)); +} + .hover\:bg-orange:hover { --tw-bg-opacity: 1; background-color: rgb(255 159 0 / var(--tw-bg-opacity)); } +.hover\:text-white:hover { + --tw-text-opacity: 1; + color: rgb(255 255 255 / var(--tw-text-opacity)); +} + +.focus\:bg-white:focus { + --tw-bg-opacity: 1; + background-color: rgb(255 255 255 / var(--tw-bg-opacity)); +} + .focus\:text-charcoal:focus { --tw-text-opacity: 1; color: rgb(23 42 52 / var(--tw-text-opacity)); @@ -2099,14 +2151,14 @@ input[type=file] { width: 50%; } - .md\:w-5\/6 { - width: 83.333333%; - } - .md\:w-full { width: 100%; } + .md\:w-5\/6 { + width: 83.333333%; + } + .md\:w-2\/3 { width: 66.666667%; } @@ -2295,16 +2347,16 @@ input[type=file] { padding-right: 0px; } - .md\:py-2 { - padding-top: 0.5rem; - padding-bottom: 0.5rem; - } - .md\:py-1 { padding-top: 0.25rem; padding-bottom: 0.25rem; } + .md\:py-2 { + padding-top: 0.5rem; + padding-bottom: 0.5rem; + } + .md\:py-11 { padding-top: 2.75rem; padding-bottom: 2.75rem; diff --git a/tailwind.config.js b/tailwind.config.js index b6ab12e3..bf8acaf3 100644 --- a/tailwind.config.js +++ b/tailwind.config.js @@ -1,18 +1,27 @@ +const colors = require('tailwindcss/colors') + module.exports = { content: ["templates/**/*.html"], darkMode: 'media', theme: { colors: { - 'charcoal': '#172A34', - 'orange': '#FF9F00', - 'green': '#5AD599', - 'black': '#051A26', - 'slate': '#314A57', - 'steel': '#B5C9D3', + transparent: 'transparent', + current: 'currentColor', + white: colors.white, + emerald: colors.emerald, + indigo: colors.indigo, + yellow: colors.yellow, + red: colors.red, + charcoal: '#172A34', + orange: '#FF9F00', + green: '#5AD599', + black: '#051A26', + slate: '#314A57', + steel: '#B5C9D3', 'stone-white': '#DDE7EC', - 'gold': '#F4CA1F', - 'bronze': '#BB8A56', - 'silver': '#B5C9D3', + gold: '#F4CA1F', + bronze: '#BB8A56', + silver: '#B5C9D3', }, extend: { fontFamily: { diff --git a/templates/account/login.html b/templates/account/login.html index 1610fab2..662900f0 100644 --- a/templates/account/login.html +++ b/templates/account/login.html @@ -8,40 +8,60 @@ {% block content %} -
{% blocktrans with site.name as site_name %}Please log in with one -of your existing third party accounts. Or, sign up -for a {{ site_name }} account and log in below:{% endblocktrans %}
+{% blocktrans %}If you have not created an account yet, then please -sign up first.{% endblocktrans %}
-{% endif %} + {% include "socialaccount/snippets/login_extra.html" %} - + {% else %} +{% blocktrans %}If you have not created an account yet, then please + sign up first.{% endblocktrans %}
+ {% endif %} + + +{% blocktrans %}Already have an account? Then please sign in.{% endblocktrans %}
++ {% blocktrans %}Already have an account? Then please sign in.{% endblocktrans %} +
+Experience C++ libraries created by experts to be reliable, skillfully designed, and well-tested.