mirror of
https://github.com/documize/community.git
synced 2025-07-28 17:49:41 +02:00
css tweaks
This commit is contained in:
parent
0e00085f81
commit
c8dc284d03
6 changed files with 34 additions and 9 deletions
|
@ -104,8 +104,7 @@ func (h *Handler) Get(w http.ResponseWriter, r *http.Request) {
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
|
||||||
ok := permission.HasPermission(ctx, *h.Store, spaceID,
|
ok := permission.HasPermission(ctx, *h.Store, spaceID, pm.SpaceManage, pm.SpaceOwner, pm.SpaceView)
|
||||||
pm.SpaceManage, pm.SpaceOwner, pm.SpaceView)
|
|
||||||
if !ok {
|
if !ok {
|
||||||
response.WriteForbiddenError(w)
|
response.WriteForbiddenError(w)
|
||||||
return
|
return
|
||||||
|
|
|
@ -9,6 +9,11 @@
|
||||||
//
|
//
|
||||||
// https://documize.com
|
// https://documize.com
|
||||||
|
|
||||||
|
// Theme colors
|
||||||
|
$color-primary: #2667af;
|
||||||
|
$color-link: #0092d3;
|
||||||
|
$color-border: #f3f5f8;
|
||||||
|
|
||||||
// Theme-neutral colors
|
// Theme-neutral colors
|
||||||
$color-off-white: #f5f5f5;
|
$color-off-white: #f5f5f5;
|
||||||
$color-off-black: #393939;
|
$color-off-black: #393939;
|
||||||
|
@ -30,12 +35,8 @@ $color-input: #5a5a5a;
|
||||||
$color-stroke: #e1e1e1;
|
$color-stroke: #e1e1e1;
|
||||||
$color-tooltip: #a1a1a1;
|
$color-tooltip: #a1a1a1;
|
||||||
$color-toast: #4c4c4c;
|
$color-toast: #4c4c4c;
|
||||||
|
$color-symbol-box: #dce5e8;
|
||||||
// Theme colors
|
$color-symbol-icon: #a4b8be;
|
||||||
$color-primary: #2667af;
|
|
||||||
$color-link: #0092d3;
|
|
||||||
$color-border: #f3f5f8;
|
|
||||||
|
|
||||||
$color-checkbox: #0092d3;
|
$color-checkbox: #0092d3;
|
||||||
|
|
||||||
// gray sidebar
|
// gray sidebar
|
||||||
|
|
|
@ -54,6 +54,9 @@
|
||||||
.start-section,
|
.start-section,
|
||||||
.start-button,
|
.start-button,
|
||||||
.is-a-tab,
|
.is-a-tab,
|
||||||
|
.document-toolbar,
|
||||||
|
#document-category-button,
|
||||||
|
#document-tag-button,
|
||||||
.new-section-wizard {
|
.new-section-wizard {
|
||||||
float: none !important;
|
float: none !important;
|
||||||
display: none !important;
|
display: none !important;
|
||||||
|
@ -63,6 +66,10 @@
|
||||||
z-index: 0 !important;
|
z-index: 0 !important;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.document-category {
|
||||||
|
margin-left: 0 !important;
|
||||||
|
}
|
||||||
|
|
||||||
.non-printable-message,
|
.non-printable-message,
|
||||||
.print-title {
|
.print-title {
|
||||||
display: block !important;
|
display: block !important;
|
||||||
|
|
17
gui/app/styles/widget/widget-symbol.scss
Normal file
17
gui/app/styles/widget/widget-symbol.scss
Normal file
|
@ -0,0 +1,17 @@
|
||||||
|
.symbol {
|
||||||
|
display: inline-block;
|
||||||
|
border-radius: 2px;
|
||||||
|
height: 40px;
|
||||||
|
width: 40px;
|
||||||
|
padding: 0;
|
||||||
|
line-height: 0;
|
||||||
|
margin: 0;
|
||||||
|
text-align: center;
|
||||||
|
background-color: $color-symbol-box;
|
||||||
|
|
||||||
|
> .material-icons {
|
||||||
|
font-size: 22px;
|
||||||
|
margin-top: 20px;
|
||||||
|
color: $color-symbol-icon;
|
||||||
|
}
|
||||||
|
}
|
|
@ -73,6 +73,7 @@
|
||||||
@import "widget-radio";
|
@import "widget-radio";
|
||||||
@import "widget-selection";
|
@import "widget-selection";
|
||||||
@import "widget-sidebar-menu";
|
@import "widget-sidebar-menu";
|
||||||
|
@import "widget-symbol";
|
||||||
@import "widget-tab";
|
@import "widget-tab";
|
||||||
@import "widget-table";
|
@import "widget-table";
|
||||||
@import "widget-tooltip";
|
@import "widget-tooltip";
|
||||||
|
|
|
@ -1 +1 @@
|
||||||
<a id="index-{{page.id}}" class="link toc-index-item {{page.tocIndentCss}} {{if (eq page.id currentPageId) 'selected'}} " {{action 'onClick' page.id}}>{{page.title}}</a>
|
<a id="index-{{page.id}}" class="link toc-index-item {{page.tocIndentCss}} {{if (eq page.id currentPageId) 'selected'}}" {{action 'onClick' page.id}}>{{page.title}}</a>
|
Loading…
Add table
Add a link
Reference in a new issue