mirror of
https://github.com/BookStackApp/BookStack.git
synced 2025-04-18 18:38:44 +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
6 changed files with 21 additions and 9 deletions
|
@ -26,7 +26,6 @@ class Kernel extends HttpKernel
|
|||
\Illuminate\Cookie\Middleware\AddQueuedCookiesToResponse::class,
|
||||
\Illuminate\Session\Middleware\StartSession::class,
|
||||
\Illuminate\View\Middleware\ShareErrorsFromSession::class,
|
||||
\Illuminate\Routing\Middleware\ThrottleRequests::class,
|
||||
\BookStack\Http\Middleware\VerifyCsrfToken::class,
|
||||
\BookStack\Http\Middleware\Localization::class,
|
||||
\BookStack\Http\Middleware\GlobalViewData::class,
|
||||
|
|
|
@ -385,7 +385,7 @@ div[editor-type="markdown"] .title-input.page-title input[type="text"] {
|
|||
button {
|
||||
background-color: transparent;
|
||||
border: none;
|
||||
fill: #666;
|
||||
@include lightDark(color, #666, #AAA);
|
||||
padding: 0;
|
||||
cursor: pointer;
|
||||
position: absolute;
|
||||
|
|
|
@ -98,6 +98,7 @@ header .search-box {
|
|||
button {
|
||||
z-index: 1;
|
||||
left: 16px;
|
||||
@include lightDark(color, rgba(255, 255, 255, 0.8), #AAA);
|
||||
@include rtl {
|
||||
left: auto;
|
||||
right: 16px;
|
||||
|
@ -264,7 +265,7 @@ header .search-box {
|
|||
display: none;
|
||||
}
|
||||
> span:first-child {
|
||||
margin-block-end: 0;
|
||||
margin-inline-end: 0;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -280,7 +281,7 @@ header .search-box {
|
|||
}
|
||||
}
|
||||
.svg-icon {
|
||||
margin-block-end: 0;
|
||||
margin-inline-end: 0;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -358,7 +358,8 @@ ul.pagination {
|
|||
}
|
||||
}
|
||||
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 {
|
||||
border: 1px solid #CCC;
|
||||
@include lightDark(border-color, #ccc, #000);
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-items: center;
|
||||
padding: $-s $-s;
|
||||
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;
|
||||
top: -60px;
|
||||
background-color:#FFF;
|
||||
@include lightDark(background-color, #fff, #333);
|
||||
width: 275px;
|
||||
z-index: 55;
|
||||
|
||||
|
@ -176,12 +177,13 @@ body.mce-fullscreen, body.markdown-fullscreen {
|
|||
margin-inline-start: -8px;
|
||||
content: '';
|
||||
display: block;
|
||||
background-color:#FFF;
|
||||
transform: rotate(45deg);
|
||||
transform-origin: 50% 50%;
|
||||
border-inline-startom: 1px solid #CCC;
|
||||
border-block-end: 1px solid #CCC;
|
||||
border-inline-end: 1px solid #CCC;
|
||||
z-index: 56;
|
||||
@include lightDark(background-color, #fff, #333);
|
||||
@include lightDark(border-color, #ccc, #000);
|
||||
}
|
||||
input, button, a {
|
||||
position: relative;
|
||||
|
@ -194,6 +196,7 @@ body.mce-fullscreen, body.markdown-fullscreen {
|
|||
input {
|
||||
background-color: #FFF;
|
||||
border: 1px solid #DDD;
|
||||
@include lightDark(border-color, #ddd, #000);
|
||||
color: #666;
|
||||
width: 172px;
|
||||
z-index: 40;
|
||||
|
@ -218,6 +221,9 @@ body.mce-fullscreen, body.markdown-fullscreen {
|
|||
width: 1.2em;
|
||||
height: 1.2em;
|
||||
}
|
||||
.button {
|
||||
@include lightDark(border-color, #ddd, #000);
|
||||
}
|
||||
}
|
||||
|
||||
// Attribute form
|
||||
|
|
|
@ -54,6 +54,11 @@ body.dragging, body.dragging * {
|
|||
&.square {
|
||||
border-radius: 3px;
|
||||
}
|
||||
&[src$="user_avatar.png"] {
|
||||
@include whenDark {
|
||||
filter: invert(1);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// Loading icon
|
||||
|
|
Loading…
Add table
Reference in a new issue