Skip to content

Commit ad907b0

Browse files
author
Matt Swanson
committed
fixup tooltip styles.
1 parent fb70f06 commit ad907b0

File tree

4 files changed

+11
-51
lines changed

4 files changed

+11
-51
lines changed

app/public/css/flat-ui-no-icons.css

Lines changed: 0 additions & 41 deletions
Original file line numberDiff line numberDiff line change
@@ -1396,47 +1396,6 @@ textarea,
13961396
padding-top: 5px;
13971397
width: 50%; }
13981398

1399-
.tooltip {
1400-
font-size: 13px; }
1401-
.tooltip.in {
1402-
opacity: 1;
1403-
filter: alpha(opacity=100);
1404-
zoom: 1; }
1405-
.tooltip.top {
1406-
padding-bottom: 9px; }
1407-
.tooltip.top .tooltip-arrow {
1408-
border-top-color: #34495e;
1409-
border-width: 9px 9px 0;
1410-
bottom: 0;
1411-
margin-left: -9px; }
1412-
.tooltip.right .tooltip-arrow {
1413-
border-right-color: #34495e;
1414-
border-width: 9px 9px 9px 0;
1415-
margin-top: -9px;
1416-
left: -3px; }
1417-
.tooltip.bottom {
1418-
padding-top: 8px; }
1419-
.tooltip.bottom .tooltip-arrow {
1420-
border-bottom-color: #34495e;
1421-
border-width: 0 9px 9px;
1422-
margin-left: -9px;
1423-
top: -1px; }
1424-
.tooltip.left .tooltip-arrow {
1425-
border-right-color: #34495e;
1426-
border-width: 9px 9px 9px 0;
1427-
margin-top: -3px;
1428-
top: -3px; }
1429-
1430-
.tooltip-inner {
1431-
background-color: #34495e;
1432-
line-height: 18px;
1433-
padding: 12px 12px;
1434-
text-align: center;
1435-
width: 183px;
1436-
-webkit-border-radius: 6px;
1437-
-moz-border-radius: 6px;
1438-
border-radius: 6px; }
1439-
14401399
.palette {
14411400
color: white;
14421401
margin: 0;

app/public/css/styles.css

Lines changed: 9 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -148,8 +148,8 @@ li.story.open .story-preview {
148148
white-space: nowrap;
149149
}
150150

151-
.story-preview div, .feed-line div {
152-
height: 30px;
151+
.tooltip {
152+
white-space: pre-wrap;
153153
}
154154

155155
.blog-title, .feed-title {
@@ -250,18 +250,13 @@ p.story-details {
250250
color: #7F8281;
251251
}
252252

253-
li.feed .status {
254-
margin-right: 5px;
255-
color: #ddd;
256-
}
257-
258253
li.feed .feed-line {
259254
cursor: default;
260255
}
261256

262257
li.feed .feed-title {
263258
display: inline-block;
264-
margin-left: 5px;
259+
margin-left: 0px;
265260
}
266261

267262
li.feed .feed-title a {
@@ -279,6 +274,12 @@ li.feed .feed-title-container {
279274
white-space: nowrap;
280275
}
281276

277+
li.feed .status {
278+
padding: 8px;
279+
width: 14px;
280+
color: #ddd;
281+
}
282+
282283
li.feed .status.green {
283284
color: #2ECC71;
284285
}

app/views/feeds/index.erb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,6 @@
1818

1919
<script type="text/javascript">
2020
$(document).ready(function () {
21-
$(".tooltip-js").tooltip();
21+
$(".status").tooltip();
2222
});
2323
</script>

app/views/partials/_feed.erb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
<div class="row-fluid feed-line">
33
<div class="span7 feed-title-container">
44
<p class="feed-title">
5-
<i class="icon-circle status <%= feed.status_bubble %> tooltip-js" title="<%= t("partials.feed.status_bubble.#{feed.status_bubble}") %>" data-placement="left"></i>
5+
<i class="icon-circle status <%= feed.status_bubble %>" data-toggle="tooltip" title="<%= t("partials.feed.status_bubble.#{feed.status_bubble}") %>" data-placement="left"></i>
66
<a href="<%= feed.url %>"><%= feed.name %></a>
77
</p>
88
</div>

0 commit comments

Comments
 (0)