mirror of
https://github.com/BookStackApp/BookStack.git
synced 2024-08-25 11:45:58 +00:00
Removed throttling from web-end requests
Generally seems to cause issues when secure images are in use. Was added during laravel upgrade but laravel does not use this directly for its web middleware anyway.
This commit is contained in:
parent
b0b28e7b5e
commit
d4b0e4acad
@ -26,7 +26,6 @@ class Kernel extends HttpKernel
|
|||||||
\Illuminate\Cookie\Middleware\AddQueuedCookiesToResponse::class,
|
\Illuminate\Cookie\Middleware\AddQueuedCookiesToResponse::class,
|
||||||
\Illuminate\Session\Middleware\StartSession::class,
|
\Illuminate\Session\Middleware\StartSession::class,
|
||||||
\Illuminate\View\Middleware\ShareErrorsFromSession::class,
|
\Illuminate\View\Middleware\ShareErrorsFromSession::class,
|
||||||
\Illuminate\Routing\Middleware\ThrottleRequests::class,
|
|
||||||
\BookStack\Http\Middleware\VerifyCsrfToken::class,
|
\BookStack\Http\Middleware\VerifyCsrfToken::class,
|
||||||
\BookStack\Http\Middleware\Localization::class,
|
\BookStack\Http\Middleware\Localization::class,
|
||||||
\BookStack\Http\Middleware\GlobalViewData::class,
|
\BookStack\Http\Middleware\GlobalViewData::class,
|
||||||
|
@ -385,7 +385,7 @@ div[editor-type="markdown"] .title-input.page-title input[type="text"] {
|
|||||||
button {
|
button {
|
||||||
background-color: transparent;
|
background-color: transparent;
|
||||||
border: none;
|
border: none;
|
||||||
fill: #666;
|
@include lightDark(color, #666, #AAA);
|
||||||
padding: 0;
|
padding: 0;
|
||||||
cursor: pointer;
|
cursor: pointer;
|
||||||
position: absolute;
|
position: absolute;
|
||||||
|
@ -98,6 +98,7 @@ header .search-box {
|
|||||||
button {
|
button {
|
||||||
z-index: 1;
|
z-index: 1;
|
||||||
left: 16px;
|
left: 16px;
|
||||||
|
@include lightDark(color, rgba(255, 255, 255, 0.8), #AAA);
|
||||||
@include rtl {
|
@include rtl {
|
||||||
left: auto;
|
left: auto;
|
||||||
right: 16px;
|
right: 16px;
|
||||||
@ -264,7 +265,7 @@ header .search-box {
|
|||||||
display: none;
|
display: none;
|
||||||
}
|
}
|
||||||
> span:first-child {
|
> span:first-child {
|
||||||
margin-block-end: 0;
|
margin-inline-end: 0;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -280,7 +281,7 @@ header .search-box {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
.svg-icon {
|
.svg-icon {
|
||||||
margin-block-end: 0;
|
margin-inline-end: 0;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -358,7 +358,8 @@ ul.pagination {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
li.active span {
|
li.active span {
|
||||||
color: #FFF;
|
@include lightDark(color, #444, #eee);
|
||||||
|
@include lightDark(background-color, rgba(0, 0, 0, 0.1), rgba(0, 0, 0, 0.5));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -151,15 +151,16 @@ body.mce-fullscreen, body.markdown-fullscreen {
|
|||||||
}
|
}
|
||||||
.pointer {
|
.pointer {
|
||||||
border: 1px solid #CCC;
|
border: 1px solid #CCC;
|
||||||
|
@include lightDark(border-color, #ccc, #000);
|
||||||
display: flex;
|
display: flex;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
justify-items: center;
|
justify-items: center;
|
||||||
padding: $-s $-s;
|
padding: $-s $-s;
|
||||||
border-radius: 4px;
|
border-radius: 4px;
|
||||||
box-shadow: 0 0 12px 1px rgba(212, 209, 209, 0.3);
|
box-shadow: 0 0 12px 1px rgba(0, 0, 0, 0.1);
|
||||||
position: absolute;
|
position: absolute;
|
||||||
top: -60px;
|
top: -60px;
|
||||||
background-color:#FFF;
|
@include lightDark(background-color, #fff, #333);
|
||||||
width: 275px;
|
width: 275px;
|
||||||
z-index: 55;
|
z-index: 55;
|
||||||
|
|
||||||
@ -176,12 +177,13 @@ body.mce-fullscreen, body.markdown-fullscreen {
|
|||||||
margin-inline-start: -8px;
|
margin-inline-start: -8px;
|
||||||
content: '';
|
content: '';
|
||||||
display: block;
|
display: block;
|
||||||
background-color:#FFF;
|
|
||||||
transform: rotate(45deg);
|
transform: rotate(45deg);
|
||||||
transform-origin: 50% 50%;
|
transform-origin: 50% 50%;
|
||||||
border-inline-startom: 1px solid #CCC;
|
border-block-end: 1px solid #CCC;
|
||||||
border-inline-end: 1px solid #CCC;
|
border-inline-end: 1px solid #CCC;
|
||||||
z-index: 56;
|
z-index: 56;
|
||||||
|
@include lightDark(background-color, #fff, #333);
|
||||||
|
@include lightDark(border-color, #ccc, #000);
|
||||||
}
|
}
|
||||||
input, button, a {
|
input, button, a {
|
||||||
position: relative;
|
position: relative;
|
||||||
@ -194,6 +196,7 @@ body.mce-fullscreen, body.markdown-fullscreen {
|
|||||||
input {
|
input {
|
||||||
background-color: #FFF;
|
background-color: #FFF;
|
||||||
border: 1px solid #DDD;
|
border: 1px solid #DDD;
|
||||||
|
@include lightDark(border-color, #ddd, #000);
|
||||||
color: #666;
|
color: #666;
|
||||||
width: 172px;
|
width: 172px;
|
||||||
z-index: 40;
|
z-index: 40;
|
||||||
@ -218,6 +221,9 @@ body.mce-fullscreen, body.markdown-fullscreen {
|
|||||||
width: 1.2em;
|
width: 1.2em;
|
||||||
height: 1.2em;
|
height: 1.2em;
|
||||||
}
|
}
|
||||||
|
.button {
|
||||||
|
@include lightDark(border-color, #ddd, #000);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
// Attribute form
|
// Attribute form
|
||||||
|
@ -54,6 +54,11 @@ body.dragging, body.dragging * {
|
|||||||
&.square {
|
&.square {
|
||||||
border-radius: 3px;
|
border-radius: 3px;
|
||||||
}
|
}
|
||||||
|
&[src$="user_avatar.png"] {
|
||||||
|
@include whenDark {
|
||||||
|
filter: invert(1);
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
// Loading icon
|
// Loading icon
|
||||||
|
Loading…
Reference in New Issue
Block a user