source: RedSur/app/assets/stylesheets/hovercard.scss @ 40f563a

modelo_minuta
Last change on this file since 40f563a was 1b91e02, checked in by aosorio <aosorio@…>, 8 years ago

Version para desarrollo local

  • Property mode set to 100755
File size: 1.8 KB
Line 
1@import "colors";
2@import "_mixins";
3
4#hovercard {
5  border-radius: 2px;
6  box-shadow: 0 0 5px #666666;
7
8  position: relative;
9  display: inline-block;
10  min-width: 250px;
11  max-width: 400px;
12
13  background-color: $background-white;
14  height: 70px;
15  border: 1px solid $border-dark-grey;
16  font-size: small;
17
18  .avatar {
19    position: relative;
20    float: left;
21    height: 70px !important;
22    width: 70px !important;
23    top: 0 !important;
24
25    margin: {
26      right: 10px;
27      left: 0;
28    }
29  }
30
31  $image_width: 80px; /* including margin */
32
33  & > h4, & > div {
34    margin-left: $image_width;
35  }
36
37  & > h4, & > div, .hashtags {
38    overflow: hidden;
39    white-space: nowrap;
40    text-overflow: ellipsis;
41  }
42
43  #hovercard_dropdown_container {
44    overflow: visible !important; /* otherwise the aspect dropdown is cropped */
45  }
46
47  padding: 5px {
48    bottom: 25px;
49  };
50
51  h4 {
52    margin-top: 0px;
53    margin-bottom: 0px;
54    padding-bottom: 0px;
55    font-size: 16px;
56    a {
57      color: $blue;
58      font-weight: bold !important;
59    }
60  }
61
62  .handle {
63    color: $text-grey;
64    line-height: 18px;
65    padding-top: 0px;
66    margin-top: 0px;
67    margin-bottom: 5px;
68  }
69
70  .btn-group.aspect_membership_dropdown { margin: 0 !important; }
71
72  .hovercard_footer {
73    position: absolute;
74    bottom: 0;
75    left: 0;
76    background-color: $background-grey;
77    margin-left: 0;
78
79    width: 100%;
80    min-height: 19px;
81
82    font-size: 10px;
83    line-height: 18px;
84
85    border-top: 1px solid #cccccc;
86
87    .footer_container {
88      padding: 1px 5px;
89
90      a {
91        color: $text-grey;
92        margin-right: 4px;
93        font-weight: normal;
94      }
95    }
96  }
97}
98
99#hovercard_container {
100  position: absolute;
101  display: none;
102  z-index: 2000;
103
104  min-width: 250px;
105  max-width: 400px;
106
107  padding: 10px {
108    top: 5px;
109  }
110}
Note: See TracBrowser for help on using the repository browser.