mirror of
https://github.com/documize/community.git
synced 2025-07-25 08:09:43 +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
|
||||
}
|
||||
|
||||
ok := permission.HasPermission(ctx, *h.Store, spaceID,
|
||||
pm.SpaceManage, pm.SpaceOwner, pm.SpaceView)
|
||||
ok := permission.HasPermission(ctx, *h.Store, spaceID, pm.SpaceManage, pm.SpaceOwner, pm.SpaceView)
|
||||
if !ok {
|
||||
response.WriteForbiddenError(w)
|
||||
return
|
||||
|
|
|
@ -9,6 +9,11 @@
|
|||
//
|
||||
// https://documize.com
|
||||
|
||||
// Theme colors
|
||||
$color-primary: #2667af;
|
||||
$color-link: #0092d3;
|
||||
$color-border: #f3f5f8;
|
||||
|
||||
// Theme-neutral colors
|
||||
$color-off-white: #f5f5f5;
|
||||
$color-off-black: #393939;
|
||||
|
@ -30,12 +35,8 @@ $color-input: #5a5a5a;
|
|||
$color-stroke: #e1e1e1;
|
||||
$color-tooltip: #a1a1a1;
|
||||
$color-toast: #4c4c4c;
|
||||
|
||||
// Theme colors
|
||||
$color-primary: #2667af;
|
||||
$color-link: #0092d3;
|
||||
$color-border: #f3f5f8;
|
||||
|
||||
$color-symbol-box: #dce5e8;
|
||||
$color-symbol-icon: #a4b8be;
|
||||
$color-checkbox: #0092d3;
|
||||
|
||||
// gray sidebar
|
||||
|
|
|
@ -54,6 +54,9 @@
|
|||
.start-section,
|
||||
.start-button,
|
||||
.is-a-tab,
|
||||
.document-toolbar,
|
||||
#document-category-button,
|
||||
#document-tag-button,
|
||||
.new-section-wizard {
|
||||
float: none !important;
|
||||
display: none !important;
|
||||
|
@ -63,6 +66,10 @@
|
|||
z-index: 0 !important;
|
||||
}
|
||||
|
||||
.document-category {
|
||||
margin-left: 0 !important;
|
||||
}
|
||||
|
||||
.non-printable-message,
|
||||
.print-title {
|
||||
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-selection";
|
||||
@import "widget-sidebar-menu";
|
||||
@import "widget-symbol";
|
||||
@import "widget-tab";
|
||||
@import "widget-table";
|
||||
@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