Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
OLAT CI-CD Testing Project
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Requirements
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Locked files
Deploy
Package Registry
Container Registry
Model registry
Operate
Terraform modules
Monitor
Service Desk
Analyze
Contributor analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Lars Oliver Dam
OLAT CI-CD Testing Project
Commits
1bab0a81
Commit
1bab0a81
authored
10 years ago
by
Michael Enz
Browse files
Options
Downloads
Patches
Plain Diff
OO-1211
square style (no round borders)
parent
3c3d4051
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
src/main/webapp/static/themes/light/styles/_square_config.scss
+37
-0
37 additions, 0 deletions
...ain/webapp/static/themes/light/styles/_square_config.scss
src/main/webapp/static/themes/light/styles/_square_theme.scss
+82
-0
82 additions, 0 deletions
...main/webapp/static/themes/light/styles/_square_theme.scss
with
119 additions
and
0 deletions
src/main/webapp/static/themes/light/styles/_square_config.scss
0 → 100644
+
37
−
0
View file @
1bab0a81
/*
The square style can be added to the light theme to remove any round borders
from the light theme.
To use this style, include both square_config and square_theme.
Config must be loaded before the light theme. Theme must be loaded after.
See the theme boilerplate for an example.
*/
/* bootstrap _variables overrides */
$border-radius-base
:
0px
!
default
;
$border-radius-large
:
0px
!
default
;
$border-radius-small
:
0px
!
default
;
$input-border-radius
:
$border-radius-base
!
default
;
$navbar-border-radius
:
$border-radius-base
!
default
;
$nav-pills-border-radius
:
$border-radius-base
!
default
;
$pager-border-radius
:
0px
!
default
;
$alert-border-radius
:
$border-radius-base
!
default
;
$list-group-border-radius
:
$border-radius-base
!
default
;
$panel-border-radius
:
$border-radius-base
!
default
;
$thumbnail-border-radius
:
$border-radius-base
!
default
;
$badge-border-radius
:
0px
!
default
;
/* light theme _config overrides */
$o-content-border-box-radius
:
$border-radius-small
!
default
;
$o-content-border-img-radius
:
$thumbnail-border-radius
!
default
;
$o-navbar-toggle-border-radius
:
$border-radius-base
!
default
;
$o-toolbar-border-radius
:
$navbar-border-radius
!
default
;
$o-toolbar-nav-border-radius
:
0px
!
default
;
$o-tree-border-radius
:
$list-group-border-radius
!
default
;
$o-autocomplete-border-radius
:
$input-border-radius
!
default
;
$o-login-infomessage-radius
:
$border-radius-base
!
default
;
$o-portlet-border-radius
:
$panel-border-radius
!
default
;
$o-chelp-border-radius
:
0px
!
default
;
$o-portrait-radius
:
0px
!
default
;
This diff is collapsed.
Click to expand it.
src/main/webapp/static/themes/light/styles/_square_theme.scss
0 → 100644
+
82
−
0
View file @
1bab0a81
/*
The square style can be added to the light theme to remove any round borders
from the light theme.
To use this style, include both square_config and square_theme.
Config must be loaded before the light theme. Theme must be loaded after.
See the theme boilerplate for an example.
*/
/* bootstrap theme overrides */
.carousel-indicators
{
li
{
border-radius
:
0px
;
}
}
.label
{
border-radius
:
0px
;
}
.navbar-toggle
{
.icon-bar
{
border-radius
:
0px
;
}
}
/* light theme overrides */
a
.o_dev
{
border-radius
:
0px
;
}
.o_button_toggle
{
border-radius
:
0px
;
}
.o_navbar-toggle
{
.icon-bar
{
border-radius
:
0px
;
}
}
.o_eportfolio_maps
{
h4
{
border-radius
:
0px
;
}
}
.o_eportfolio_map
{
border-radius
:
0px
;
}
.o_eportfolio_map
ul
.nav-tabs
li
:not
(
.active
)
a
{
border-radius
:
0px
;
}
.o_eportfolio_edit
{
border-radius
:
0px
;
}
span
.o_translation_i18nitem
a
.o_translation_i18nitem_launcher
{
border-radius
:
0px
;
}
wizard
{
border-radius
:
0px
;
ul
{
li
:first-child
{
border-radius
:
0px
;
}
}
}
/* Load font-awesome variables to change the icon used for the toggle button */
@import
"../../../font-awesome/scss/variables"
;
.o_icon_toggle
:before
{
content
:
$fa-var-stop
;
}
.o_button_toggle
{
line-height
:
$o-toggle-size
+
1
;
font-size
:
$o-toggle-size
;
span
{
line-height
:
$o-toggle-size
+
1
;
}
}
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment