Skip to content

Commit 0718288

Browse files
committed
Issues-506: Fixed styles for notification popup
1 parent cdda248 commit 0718288

File tree

5 files changed

+106
-5
lines changed

5 files changed

+106
-5
lines changed

design/custom.css

Lines changed: 3 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

design/custom.css.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

design/images/icon-close-2.svg

Lines changed: 19 additions & 0 deletions
Loading

src/scss/components/_index.scss

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,5 @@
22
@import 'mebox';
33
@import "lists";
44
@import "easymde";
5-
@import "searchbox";
5+
@import "searchbox";
6+
@import "popup";

src/scss/components/_popup.scss

Lines changed: 81 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,81 @@
1+
div.Popup {
2+
.Body {
3+
a {
4+
color: $global-blue;
5+
&:focus,
6+
&:hover {
7+
color: $global-blue;
8+
text-decoration: $theme-link-hover_textDecoration;
9+
}
10+
}
11+
.Buttons .Close {
12+
&:focus,
13+
&:hover {
14+
color: $global-color_white;
15+
}
16+
}
17+
}
18+
19+
20+
a.Close {
21+
top: 24px;
22+
right: 28px;
23+
@if ($staticVariables) {
24+
@include CloseButton($popup_fg);
25+
}
26+
}
27+
}
28+
.InformWrapper {
29+
margin: 0px;
30+
}
31+
.InformMessages {
32+
margin-left: 55px;
33+
}
34+
35+
.InformMessages .InformMessage {
36+
padding: 16px 34px 10px 26px;
37+
margin: 10px 0px;
38+
width: 436px;
39+
max-width: 436px;
40+
}
41+
.InformMessages .InformMessage,
42+
.InformMessages .InformMessage:hover {
43+
background-color: $global-color_white !important;
44+
border-radius: 10px;
45+
box-shadow: 0 2px 10px 2px rgba(0, 0, 0, 0.1) !important;
46+
font-size: $global-medium_fontSize;
47+
font-family: $global-body_fontFamily;
48+
49+
a {
50+
color: $global-blue;
51+
}
52+
53+
a.Close {
54+
top: 16px;
55+
right: 21px;
56+
57+
span::after {
58+
content: "";
59+
display: inline-block;
60+
background-size: cover;
61+
position: absolute;
62+
height: 12px;
63+
width: 12px;
64+
background-image: url("/themes/topcoder/design/images/icon-close-2.svg");
65+
}
66+
}
67+
}
68+
69+
@media (max-width: 500px) {
70+
.InformMessages {
71+
margin-left: 0px;
72+
}
73+
.InformWrapper {
74+
margin: 5px;
75+
}
76+
.InformMessages .InformMessage {
77+
width: 100%;
78+
max-width: 100%;
79+
}
80+
}
81+

0 commit comments

Comments
 (0)