Revisions
-
arieh revised this gist
Dec 18, 2011 . 1 changed file with 19 additions and 14 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -35,29 +35,34 @@ div.tip{ width:140px; padding:0 20px; left:48px; margin-top:50%; top:-22px; font-family: MuseoSansRounded700; content:attr(data-title); } .tip.current:after{ background:url(http://tests.arieh.co.il/current.png) 0 0 no-repeat; height:40px; width:19px; display:block; border:0; top:-20px; left:37px } .tip:after, .tip.current:hover:after { content:''; border:11px solid transparent; border-right:13px solid rgba(0,0,0,0.6); height:0; width:0; left:24px; /* vertical align */ top:-11px; margin-top:50%; background:none; } -
arieh revised this gist
Dec 18, 2011 . No changes.There are no files selected for viewing
-
arieh revised this gist
Dec 18, 2011 . 2 changed files with 29 additions and 29 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -8,8 +8,10 @@ div.tip{ position:relative; cursor:pointer; } .tip:hover:before, .tip:hover:after, .tip.hover:before, .tip.hover:after { display:block; } @@ -19,45 +21,43 @@ div.tip{ font-size:0.8em; } .tip:before {/* text*/ background: rgba(0,0,0,0.7); border-radius:5px; box-shadow:0px 1px 8px rgba(0, 0, 0, 0.35), 0px 0px 2px rgba(0, 0, 0, 0.1); vertical-align:middle; color:#fff; height:44px; line-height:44px; width:140px; padding:0 20px; left:50px; margin-top:50%; top:-22px; font-family: MuseoSansRounded700; content:attr(data-title); } .tip:after { content:''; border:7px solid transparent; border-right:10px solid rgba(0,0,0,0.7); height:0; width:0; left:15px; /* vertical align */ top:-7px; margin-top:50%; } .tip.current:after{ background:url(http://tests.arieh.co.il/current.png) 0 0 no-repeat; height:40px; width:19px; display:block; } This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -1,2 +1,2 @@ <div class="tip" data-title="Cover"></div> <div class="tip current" data-title="Chapter 1"></div> -
arieh revised this gist
Dec 16, 2011 . No changes.There are no files selected for viewing
-
arieh revised this gist
Dec 16, 2011 . No changes.There are no files selected for viewing
-
arieh revised this gist
Dec 16, 2011 . 1 changed file with 1 addition and 0 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -6,6 +6,7 @@ div.tip{ border-radius:50%; background:linear-gradient(top, #f9f44a 2%, #ffa51e 61%, #d17308 100%); position:relative; cursor:pointer; } .tip:hover:before, .tip:hover:after, .tip.hover.before, .tip.hover.after{ -
arieh revised this gist
Dec 16, 2011 . No changes.There are no files selected for viewing
-
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,62 @@ div.tip{ margin:100px 150px; width:25px; height:25px; border:1px solid orange; border-radius:50%; background:linear-gradient(top, #f9f44a 2%, #ffa51e 61%, #d17308 100%); position:relative; } .tip:hover:before, .tip:hover:after, .tip.hover.before, .tip.hover.after{ display:block; } .tip:after, .tip:before { display:none; position:absolute; font-size:0.8em; } .tip:after {/*tip*/ content:''; border:7px solid transparent; border-right:10px solid rgba(0,0,0,0.7); height:0; width:0; left:20px; top:5px; } .tip:before {/* text*/ background-color:rgba(0,0,0,0.7); border-radius:5px; box-shadow:0px 1px 8px rgba(0, 0, 0, 0.35), 0px 0px 2px rgba(0, 0, 0, 0.1); vertical-align:middle; color:#fff; height:30px; line-height:30px; width:140px; padding:0 10px; left:37px; top:-2px; font-family: MuseoSansRounded700; content:attr(data-title); } .tip.horiz:before { top:-40px; left:-65px; text-align:center; } .tip.horiz:after { border:7px solid transparent; border-top:10px solid rgba(0,0,0,0.7); left:5px; top:-10px; } This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,2 @@ <div class="tip" data-title="Cover"></div> <div class="tip horiz" data-title="Chapter 1"></div> This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1 @@ {"page":"css","view":"split"}