8000 style unsupported browser panel (close #2678) · rbazinet/activeadmin@2a6a40f · GitHub
[go: up one dir, main page]

Skip to content

Commit 2a6a40f

Browse files
committed
style unsupported browser panel (close activeadmin#2678)
1 parent f3ad915 commit 2a6a40f

File tree

3 files changed

+21
-0
lines changed

3 files changed

+21
-0
lines changed

app/assets/stylesheets/active_admin/_base.css.scss

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@
2626
@import "active_admin/components/status_tags";
2727
@import "active_admin/components/table_tools";
2828
@import "active_admin/components/index_list";
29+
@import "active_admin/components/unsupported_browser";
2930
@import "active_admin/pages/logged_out";
3031
@import "active_admin/structure/footer";
3132
@import "active_admin/structure/main_structure";
Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
.unsupported_browser {
2+
padding: 10px 30px;
3+
color: #211e14;
4+
background-color: #fae692;
5+
@include gradient(#feefae, #fae692);
6+
border-bottom: 1px solid #b3a569;
7+
8+
h1 {
9+
font-size: 13px;
10+
font-weight: bold;
11+
}
12+
13+
p {
14+
margin-bottom: 0.5em;
15+
}
16+
}

app/assets/stylesheets/active_admin/print.css.scss

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -282,3 +282,7 @@ form {
282282
}
283283
}
284284
}
285+
286+
.unsupported_browser {
287+
display: none;
288+
}

0 commit comments

Comments
 (0)
2F83
0