Skip to content

Commit c4d44d3

Browse files
chore: fix contacts images, treeview and tooltip styles
1 parent 155f1c0 commit c4d44d3

File tree

5 files changed

+87
-67
lines changed

5 files changed

+87
-67
lines changed

TelerikMvcWebMail/Content/common.css

Lines changed: 7 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -148,31 +148,29 @@ body > div:last-child {
148148
width: 120%;
149149
margin-left: -10%; }
150150

151-
.k-widget.k-tooltip {
151+
.k-tooltip {
152152
font-size: 12px;
153153
top: 0; }
154-
.k-widget.k-tooltip .k-tooltip-content {
154+
.k-tooltip .k-tooltip-content {
155155
padding-right: 0;
156156
padding: 0 30px; }
157-
.k-widget.k-tooltip .image-wrapper {
157+
.k-tooltip .image-wrapper {
158158
width: 100px;
159159
height: 100px;
160160
margin: 25px auto 10px;
161161
border-radius: 50%;
162162
overflow: hidden;
163163
border: 1px solid rgba(0, 0, 0, 0.15); }
164-
.k-widget.k-tooltip .image-wrapper img {
164+
.k-tooltip .image-wrapper img {
165165
width: 102%;
166166
margin-top: -5%; }
167-
.k-widget.k-tooltip .k-callout-n {
168-
top: -9px;
169-
border-bottom-color: #fff;
167+
.k-tooltip .k-callout-n {
170168
border-width: 0 9px 9px 9px;
171169
margin-left: -8px; }
172-
.k-widget.k-tooltip .name {
170+
.k-tooltip .name {
173171
font-size: 15px;
174172
margin: 5px; }
175-
.k-widget.k-tooltip #signInButton {
173+
.k-tooltip #signInButton {
176174
margin: 40px 0;
177175
padding: 5px 30px;
178176
white-space: nowrap;
@@ -259,4 +257,3 @@ body > div:last-child {
259257
tbody:empty:before {
260258
position: absolute;
261259
padding: 30px 17px; }
262-

TelerikMvcWebMail/Content/common.scss

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -198,7 +198,7 @@ body > div:last-child {
198198
}
199199
}
200200

201-
.k-widget.k-tooltip {
201+
.k-tooltip {
202202
font-size: 12px;
203203
top: 0;
204204

@@ -222,14 +222,10 @@ body > div:last-child {
222222
}
223223

224224
.k-callout-n {
225-
top: -9px;
226-
border-bottom-color: #fff;
227225
border-width: 0 9px 9px 9px;
228226
margin-left: -8px;
229227
}
230228

231-
232-
233229
.name {
234230
font-size: 15px;
235231
margin: 5px;
Lines changed: 72 additions & 46 deletions
Original file line numberDiff line numberDiff line change
@@ -1,53 +1,79 @@
11
.main-sidebar {
2-
width: 315px;
3-
min-width: 200px;
4-
display: flex;
5-
flex-direction: column;
6-
background: #fafafa;
7-
overflow: auto; }
8-
.main-sidebar .content {
9-
flex: 1; }
10-
.main-sidebar .new-btn {
2+
width: 315px;
3+
min-width: 200px;
114
display: flex;
12-
padding: 13px 16px;
13-
font-size: 16px;
14-
color: #0072c6;
15-
cursor: pointer;
16-
align-items: center; }
17-
.main-sidebar .new-btn:before {
18-
display: inline-block;
19-
content: "\e11f";
20-
margin: 0 5px 0 0;
21-
font: 24px "WebComponentsIcons";
22-
vertical-align: middle; }
23-
.main-sidebar .k-treeview .k-treeview-item {
24-
padding: 0; }
25-
.main-sidebar .k-treeview, .k-treeview-item.k-treeview-leaf {
5+
flex-direction: column;
6+
background: #fafafa;
7+
overflow: auto;
8+
}
9+
10+
.main-sidebar .content {
11+
flex: 1;
12+
}
13+
14+
.main-sidebar .new-btn {
15+
display: flex;
16+
padding: 13px 16px;
17+
font-size: 16px;
18+
color: #0072c6;
19+
cursor: pointer;
20+
align-items: center;
21+
}
22+
23+
.main-sidebar .new-btn:before {
24+
display: inline-block;
25+
content: "\e11f";
26+
margin: 0 5px 0 0;
27+
font: 24px "WebComponentsIcons";
28+
vertical-align: middle;
29+
}
30+
31+
.main-sidebar .k-treeview .k-treeview-item {
32+
padding: 0;
33+
}
34+
35+
.main-sidebar .k-treeview .k-treeview-leaf {
36+
display: block;
37+
margin: 0;
38+
padding: 10px 15px;
39+
}
40+
41+
.main-sidebar .k-treeview .k-treeview-leaf:after {
42+
content: "";
43+
display: block;
44+
clear: both;
45+
}
46+
47+
.k-treeview-top, .k-treeview-mid, .k-treeview-bot {
2648
display: block;
27-
margin: 0;
28-
padding: 10px 15px; }
29-
.main-sidebar .k-treeview, .k-treeview-item.k-treeview-leaf:after {
30-
content: "";
31-
display: block;
32-
clear: both; }
33-
.main-sidebar .k-treeview .folder-name {
34-
float: left;
35-
padding-right: 10%;
36-
}
37-
.main-sidebar .k-treeview .number {
38-
float: right; }
39-
.main-sidebar .footer {
49+
}
50+
51+
.main-sidebar .k-treeview .folder-name {
52+
float: left;
53+
}
54+
55+
.main-sidebar .k-treeview .number {
56+
float: right;
57+
}
58+
59+
.main-sidebar .footer {
4060
padding: 15px;
4161
font-size: 10px;
42-
color: #b7b7b7; }
62+
color: #b7b7b7;
63+
}
64+
4365
.main-sidebar .footer .links {
44-
color: #1e8edf;
45-
font-size: 13px;
46-
line-height: 26px;
47-
margin-bottom: 10px;
48-
cursor: pointer; }
49-
.main-sidebar .footer .links p {
50-
margin-bottom: 5px; }
51-
.main-sidebar .footer > p {
52-
margin-top: 10px; }
66+
color: #1e8edf;
67+
font-size: 13px;
68+
line-height: 26px;
69+
margin-bottom: 10px;
70+
cursor: pointer;
71+
}
72+
73+
.main-sidebar .footer .links p {
74+
margin-bottom: 5px;
75+
}
5376

77+
.main-sidebar .footer > p {
78+
margin-top: 10px;
79+
}

TelerikMvcWebMail/Content/sidebar.scss

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -31,11 +31,15 @@
3131

3232
.k-treeview {
3333

34-
.k-item {
34+
.k-treeview-item {
3535
padding: 0;
3636
}
3737

38-
.k-in {
38+
.k-treeview-top, .k-treeview-mid, .k-treeview-bot {
39+
display: block;
40+
}
41+
42+
.k-treeview-leaf {
3943
display: block;
4044
margin: 0;
4145
padding: 10px 15px;
@@ -54,11 +58,8 @@
5458
.number {
5559
float: right;
5660
}
57-
58-
5961
}
6062

61-
6263
.footer {
6364
padding: 15px;
6465
font-size: 10px;

TelerikMvcWebMail/Views/Contacts/Contacts.cshtml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
<div class="header">
1616
<span class="hidden-email" style="display:none">#: Email #</span>
1717
<span class="image-wrapper">
18-
<img src="# if (sessionStorage.getItem(EmployeeID)) {#data:image/png;base64,#:sessionStorage.getItem(EmployeeID)# # } else {#@(Url.Content("../../Contacts/Picture/"))#:EmployeeID# # } #" alt="#:EmployeeID # image"/>
18+
<img src="# if (sessionStorage.getItem(EmployeeID)) {#data:image/png;base64,#:sessionStorage.getItem(EmployeeID)# # } else {#@(Url.Content("Contacts/Picture/"))#:EmployeeID# # } #" alt="#:EmployeeID # image"/>
1919
</span>
2020
<span class="name">#: Name #</span>
2121
<div class="edit-buttons">

0 commit comments

Comments
 (0)