design-system #7

Merged
florian merged 11 commits from design-system into main 2024-10-22 08:36:08 +02:00
6 changed files with 27 additions and 16 deletions
Showing only changes of commit 7c5cc38cff - Show all commits

View File

@@ -24,9 +24,10 @@
border-radius: $borderRadiusValue; border-radius: $borderRadiusValue;
background-color: white; background-color: white;
border: none; border: none;
top: .4em; top: 0;
right: 0; right: 0;
color: #aaaaaa; color: #aaaaaa;
padding: .4em;
&:hover { &:hover {
background-color: #eee; background-color: #eee;

View File

@@ -18,6 +18,6 @@
</div> </div>
<div class="actions"> <div class="actions">
<button type="submit" i18n>Send</button> <button type="submit" i18n>Send</button>
<a [routerLink]="['/signin']" i18n>Create an account</a> <a [routerLink]="['/signin']" class="button secondary" i18n>Create an account</a>
</div> </div>
</form> </form>

View File

@@ -43,20 +43,6 @@
color: #3f51b5; color: #3f51b5;
text-decoration: none; text-decoration: none;
} }
button, a.button {
padding: .8em 1.2em;
border-radius: 10em;
border: none;
background-color: #3f51b5;
color: white;
transition: background-color .2s ease-in-out;
&:hover {
background-color: #5b6ed8;
cursor: pointer;
}
}
} }
label { label {

View File

@@ -0,0 +1,22 @@
button, a.button {
padding: .8em 1.2em;
border-radius: 10em;
border: none;
background-color: #3f51b5;
color: white;
transition: background-color .2s ease-in-out;
&:hover {
background-color: #5b6ed8;
cursor: pointer;
}
&.secondary {
color: #3f51b5;
background-color: white;
&:hover {
background-color: #f2f4ff;
}
}
}

View File

@@ -0,0 +1 @@
@use './button.scss';

View File

@@ -1,4 +1,5 @@
/* You can add global styles to this file, and also import other style files */ /* You can add global styles to this file, and also import other style files */
@use './design_system/index.scss';
html, body { height: 100%; } html, body { height: 100%; }
body { body {