Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit195f52b

Browse files
committed
Cookie consent partial DONE
1 parent8dd0885 commit195f52b

File tree

2 files changed

+8
-55
lines changed

2 files changed

+8
-55
lines changed

‎src/CoreUI.Mvc/Views/Shared/_CookieConsentPartial.cshtml‎

Lines changed: 8 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -8,20 +8,15 @@
88

99
@if (showBanner)
1010
{
11-
<navid="cookieConsent"class="cookiebar"role="alert">
11+
<navid="cookieConsent"style="z-index:1030"class="navbar navbar-expand-md navbar-light fixed-top bg-light"role="alert">
1212
<divclass="container">
13-
<divclass="cookiebar-header">
14-
<buttontype="button"class="navbar-toggler"style="display:none"data-toggle="collapse"data-target="#cookieConsent .navbar-collapse">
15-
<spanclass="sr-only">Togglecookieconsentbanner</span>
16-
<spanclass="navbar-toggler-icon"></span>
17-
</button>
18-
<spanclass="cookiebar-brand"><spanclass="fa fa-info-circle"aria-hidden="true"></span></span>
19-
</div>
20-
<divclass="collapse navbar-collapse show">
21-
<pclass="cookiebar-text">
22-
Usethisspacetosummarizeyourprivacyandcookieusepolicy.
23-
</p>
24-
<divclass="cookiebar-buttons"style="float:right">
13+
<aclass="navbar-brand"><spanclass="fa fa-info-circle"aria-hidden="true"></span></a>
14+
<buttonclass="navbar-toggler"type="button"data-toggle="collapse"data-target="#cookieText"aria-controls="cookieText"aria-expanded="false"aria-label="Toggle navigation">
15+
<spanclass="navbar-toggler-icon"></span>
16+
</button>
17+
<divclass="collapse navbar-collapse"id="cookieText">
18+
<spanclass="navbar-text mr-auto mt-2 mt-md-0">Usethisspacetosummarizeyourprivacyandcookieusepolicy.</span>
19+
<divclass="my-2 my-md-0">
2520
<aasp-controller="Home"asp-action="Privacy"class="btn btn-info">LearnMore</a>
2621
<buttontype="button"class="btn btn-secondary"data-cookie-string="@cookieString">Accept</button>
2722
</div>

‎src/CoreUI.Mvc/wwwroot/css/site.css‎

Lines changed: 0 additions & 42 deletions
Original file line numberDiff line numberDiff line change
@@ -31,45 +31,3 @@
3131
.breadcrumb {
3232
margin-bottom:0;
3333
}
34-
35-
.cookiebar {
36-
background-color:#f8f8f8;
37-
border-color:#e7e7e7;
38-
top:0;
39-
border-width:001px;
40-
position: fixed;
41-
right:0;
42-
left:0;
43-
z-index:1030;
44-
min-height:50px;
45-
margin-bottom:20px;
46-
border:1px solid transparent;
47-
display: block;
48-
}
49-
50-
.cookiebar-header {
51-
display: block;
52-
float: left;
53-
}
54-
55-
.cookiebar-brand {
56-
float: left;
57-
height:50px;
58-
padding:15px15px;
59-
font-size:18px;
60-
line-height:20px;
61-
}
62-
63-
.cookiebar-text {
64-
float: left;
65-
margin-right:15px;
66-
margin-left:15px;
67-
margin-top:15px;
68-
margin-bottom:15px;
69-
}
70-
71-
.cookiebar-buttons{
72-
float: right!important;
73-
margin-right:-15px;
74-
margin-top:8px;
75-
}

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp