aboutsummaryrefslogtreecommitdiff
path: root/src/app/components/profile-settings/profile-settings.component.css
blob: 1c07d9fc4c7e218ba7abc338aef36bcf43c13de1 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
* {
  box-sizing: border-box;
}

#content {
  max-width: 22em;
  justify-content: start;
}

form {
  width: 100%;
}

hr {
  width: calc(100% - 1em);
  color: black;
  border: 1px solid black;
}

/* Navigation bar (for loggedin user) */

#navigation {
  display: flex;
  width: 100%;
}

#navigation > .submit-btn {
  flex: 1;
  margin-top: 0;
  margin-left: .5em;
  font-size: inherit;
}

#navigation > .submit-btn:nth-of-type(1) {
  margin-left: 0;
}

/* Form */

#update-profile-picture {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 .5em;
  flex-wrap: wrap;
}

#profile-picture {
  width: 5em;
  height: 5em;
}

#submit-file {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 1em;
}

#upload-file:hover {
  cursor: inherit;
}

#upload-file > input:hover {
  cursor: pointer;
}

#upload-file > input::-webkit-file-upload-button {
  visibility: hidden;
}

#update-user {
  margin-top: 1.1em;
}

.input-field {
  border-color: var(--focus-color) !important;
  caret-color: var(--focus-color);
  border-width: 2px !important;
  margin-top: -1px !important;
}

.input-field-label {
  font-size: .7em;
  color: var(--focus-color);
  transform: translate(0, -1.2em);
}

#all-languages, #all-technologies {
  display: flex;
  flex-wrap: wrap;
}

/* Buttons */

.edit-btn {
  border-radius: 0 !important;
  color: var(--focus-color);
  background-color: white;
  border-color: var(--focus-color);
}

.edit-btn:hover {
  color: white;
  background-color: black;
  border-color: black !important;
}

.submit-btn {
  margin-bottom: .5em;
}

#update-profile-btn {
  margin-top: 1em;
}

#confirm-delete {
  box-sizing: border-box;
  width: 100%;
  background-color: var(--failure);
  color: white;
  padding: .2em;
  text-align: center;
}