Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
C
coopwire-hypothesis
Project
Project
Details
Activity
Releases
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
孙灵跃 Leon Sun
coopwire-hypothesis
Commits
7f8ee702
Commit
7f8ee702
authored
Oct 09, 2012
by
Jehan Tremback
Committed by
Randall Leeds
Oct 29, 2012
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
css for new heatmap tabs
Conflicts: h/sass/app.scss
parent
899454a0
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
69 additions
and
106 deletions
+69
-106
app.scss
h/sass/app.scss
+69
-106
No files found.
h/sass/app.scss
View file @
7f8ee702
...
...
@@ -39,127 +39,90 @@ svg { -webkit-tap-highlight-color: rgba(255, 255, 255, 0); }
//HEATMAP TABS
.heatmap-tab
{
@include
user-select
(
none
);
background-image
:
url("../images/side_tab.svg")
;
background-position
:
center
1
.025em
;
background-repeat
:
no-repeat
;
background-size
:
100%
1
.4em
;
@include
transition-property
(
transform
,
left
);
@include
transition-duration
(
1s
,
.2s
);
@include
perspective
(
100px
);
color
:
rgb
(
238
,
238
,
238
);
cursor
:
pointer
;
font-weight
:
bold
;
font-size
:
.8em
;
left
:
2px
;
margin-top
:
(
1
.4
+
2
)
/
2
*
-1em
;
// TODO: Less janking v-align
padding
:
1em
0
;
left
:
-7px
;
position
:
fixed
;
text-align
:
center
;
text-decoration
:
none
;
text-shadow
:
1px
1px
1px
rgb
(
51
,
51
,
51
);
width
:
$heatmap-width
+
8px
;
height
:
20
.1px
;
width
:
40
.1px
;
vertical-align
:
middle
;
-webkit-tap-highlight-color
:
rgba
(
255
,
255
,
255
,
0
);
text-align
:
center
;
&
:hover
{
left
:
0
;
}
.svg
{
width
:
100%
;
height
:
100%
;
background-image
:
url("../images/side_tab.svg")
;
background-position
:
center
center
;
background-repeat
:
no-repeat
;
background-size
:
100%
100%
;
}
&
.lower
,
&
.upper
{
background-size
:
100%
2em
;
margin-top
:
-1em
;
&
:hover
{
left
:
2px
;
}
.label
{
font-weight
:
bold
;
font-size
:
13
.1px
;
position
:
absolute
;
text-decoration
:
none
;
text-shadow
:
1px
1px
1px
rgb
(
51
,
51
,
51
);
@include
single-transition
(
transform
,
1s
);
left
:
10px
;
right
:
2px
;
position
:
absolute
;
bottom
:
1px
;
}
&
.lower
{
background-image
:
url("../images/down_tab.svg")
;
background-position
:
center
.955em
;
// 1em + .45em in svg (TODO: crop)
&
:hover
{
left
:
-5px
;
}
&
.lower
,
&
.upper
{
left
:
0
;
width
:
33
.1px
;
height
:
26
.1px
;
.label
{
left
:
0
;
right
:
0
;
}
&
:hover
{
left
:
0px
;
}
}
&
.upper
{
background-image
:
url("../images/up_tab.svg")
;
background-position
:
center
.455em
;
// 1em - .545em in svg (TODO: crop)
.svg
{
background-image
:
url("../images/up_tab.svg")
;
}
.label
{
bottom
:
1px
;
}
&
:hover
{
margin-top
:
-2px
;
}
}
}
&
.lower
{
.svg
{
background-image
:
url("../images/down_tab.svg")
;
}
.label
{
top
:
1px
;
}
&
:hover
{
margin-top
:
2px
;
}
}
&
.flip
{
@include
rotateY
(
180deg
);
.label
{
@include
rotateY
(
180deg
);
}
}
}
// .heatmap-tab {
// @include user-select(none);
// color: rgb(238, 238, 238);
// cursor: pointer;
// left: 0px;
// position: fixed;
// text-align: center;
// text-decoration: none;
// text-shadow: 1px 1px 1px rgb(51, 51, 51);
// -webkit-tap-highlight-color: rgba(255, 255, 255, 0);
// .svg {
// width: 100%;
// height: 100%;
// }
// .tab {
// fill: #666;
// stroke: black;
// }
// .insert {
// fill: #FFEA00;
// stroke: black;
// }
// .label {
// font-weight: bold;
// font-size: 13.1px;
// position: absolute;
// }
// &.emphasis {
// .insert {
// visibility: visible;
// }
// }
// &.lower, &.upper {
// width: 33.1px;
// height: 26.1px;
// .label {
// width: 100%;
// }
// }
// &.upper {
// .label {
// bottom: 1px;
// }
// }
// &.side {
// @include transition-property(transform, left);
// @include transition-duration(.5s, .2s);
// @include perspective(100px);
// left: -7px;
// height: 20.1px;
// width: 40.1px;
// .label {
// @include single-transition(transform, .5s);
// left: 10px;
// right: 2px;
// position: absolute;
// bottom: 1px;
// }
// &.flip {
// @include rotateY(180deg);
// .label {
// @include rotateY(180deg);
// }
// &:hover {
// @include rotateY(180deg);
// .label {
// @include rotateY(180deg);
// }
// }
// }
// &:hover {
// left: -5px;
// }
// }
// }
// Hidden tabs
.nav
a
[
data-target
=
"#password-tab"
],
...
...
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