Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
1
Merge Requests
1
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
gitlab-ce
Commits
0269cd3a
Commit
0269cd3a
authored
Nov 04, 2014
by
Valeriy Sizov
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #8182 from cirosantilli/dry-css-behavior
Factor behaviors.scss constants
parents
ed687976
951abce5
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
18 additions
and
8 deletions
+18
-8
app/assets/stylesheets/behaviors.scss
app/assets/stylesheets/behaviors.scss
+18
-8
No files found.
app/assets/stylesheets/behaviors.scss
View file @
0269cd3a
// Details
//--------
.js-details-container
.content
{
display
:
none
;
}
.js-details-container
.content.hide
{
display
:
block
;
}
.js-details-container.open
.content
{
display
:
block
;
}
.js-details-container.open
.content.hide
{
display
:
none
;
}
.js-details-container
{
.content
{
display
:
none
;
&
.hide
{
display
:
block
;
}
}
&
.open
.content
{
display
:
block
;
&
.hide
{
display
:
none
;
}
}
}
// Toggle between two states.
.js-toggler-container
.turn-on
{
display
:
block
;
}
.js-toggler-container
.turn-off
{
display
:
none
;
}
.js-toggler-container.on
.turn-on
{
display
:
none
;
}
.js-toggler-container.on
.turn-off
{
display
:
block
;
}
.js-toggler-container
{
.turn-on
{
display
:
block
;
}
.turn-off
{
display
:
none
;
}
&
.on
{
.turn-on
{
display
:
none
;
}
.turn-off
{
display
:
block
;
}
}
}
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