Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
N
news
Project
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Sartika Aritonang
news
Commits
3cd5d7bd
Commit
3cd5d7bd
authored
May 29, 2020
by
Sartika Aritonang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Upload New File
parent
77673720
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
68 additions
and
0 deletions
+68
-0
_mixins.scss
project/static/result_design/scss/_mixins.scss
+68
-0
No files found.
project/static/result_design/scss/_mixins.scss
0 → 100644
View file @
3cd5d7bd
// Mixins
// Bootstrap Button Variant
@mixin
button-variant
(
$color
,
$background
,
$border
)
{
color
:
$color
;
border-color
:
$border
;
background-color
:
$background
;
&
.focus
,
&
:focus
{
color
:
$color
;
border-color
:
darken
(
$border
,
25%
);
background-color
:
darken
(
$background
,
10%
);
}
&
:hover
{
color
:
$color
;
border-color
:
darken
(
$border
,
12%
);
background-color
:
darken
(
$background
,
10%
);
}
&
.active
,
&
:active
,
.open
>
&
.dropdown-toggle
{
color
:
$color
;
border-color
:
darken
(
$border
,
12%
);
background-color
:
darken
(
$background
,
10%
);
&
.focus
,
&
:focus
,
&
:hover
{
color
:
$color
;
border-color
:
darken
(
$border
,
25%
);
background-color
:
darken
(
$background
,
17%
);
}
}
&
.active
,
&
:active
,
.open
>
&
.dropdown-toggle
{
background-image
:
none
;
}
&
.disabled
,
&
[
disabled
],
fieldset
[
disabled
]
&
{
&
.focus
,
&
:focus
,
&
:hover
{
border-color
:
$border
;
background-color
:
$background
;
}
}
.badge
{
color
:
$background
;
background-color
:
$color
;
}
}
@mixin
transition-all
()
{
-webkit-transition
:
all
0
.2s
;
-moz-transition
:
all
0
.2s
;
transition
:
all
0
.2s
;
}
@mixin
background-cover
()
{
-webkit-background-size
:
cover
;
-moz-background-size
:
cover
;
-o-background-size
:
cover
;
background-size
:
cover
;
}
@mixin
serif-font
()
{
font-family
:
'Lora'
,
'Times New Roman'
,
serif
;
}
@mixin
sans-serif-font
()
{
font-family
:
'Open Sans'
,
'Helvetica Neue'
,
Helvetica
,
Arial
,
sans-serif
;
}
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment