You are here

fb.theme.css in Drupal for Facebook 7.3

Same filename and directory in other branches
  1. 6.3 fb.theme.css
  2. 7.4 fb.theme.css
/* Hide these classes, unless javascript shows them. */
.fb_show {display: none;}
.fb_connected, .fb_not_connected {display:none;}

/*
 * Make links look like facebook buttons.
 * If you can improve this, please submit patch to http://drupal.org/project/issues/fb
 */
.fb_button_style {
    display: inline-block;
    border: 1px solid #294473;
}

.fb_button_style a:link,
.fb_button_style a:visited,
.fb_button_style a {
    background:url(images/f_logo.png) center left no-repeat;
    background-size: 22px 22px;
    padding-left: 22px;
    display: inline-block;
    background-color: #5f78ab;
}

.fb_button_style a span {
    color: #fff;
    font-size: 12px;
    font-weight: bold;
    padding: 4px 4px;
}

.fb_button_style a div,
.fb_button_style a span {
    cursor: pointer;
}

/* Show spinner when reloading. */
.fb_spinner {
    background:url(images/fb_spinner.gif) center left no-repeat;
    position: fixed;
    top: 50%;
    left: 50%;
    margin-left: -50px; /* half width of the spinner gif */
    margin-top: -50px; /* half height of the spinner gif */
    z-index:9999;
    overflow: auto;
    width: 100px; /* width of the spinner gif */
    height: 102px; /*hight of the spinner gif +2px to fix IE8 issue */
}

/* Grey out entire page when reloading. */
#fb_reload {
    position: fixed;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background:grey;
    filter:alpha(Opacity=50);
    opacity:0.5;
    z-index:9998;
}

File

fb.theme.css
View source
  1. /* Hide these classes, unless javascript shows them. */
  2. .fb_show {display: none;}
  3. .fb_connected, .fb_not_connected {display:none;}
  4. /*
  5. * Make links look like facebook buttons.
  6. * If you can improve this, please submit patch to http://drupal.org/project/issues/fb
  7. */
  8. .fb_button_style {
  9. display: inline-block;
  10. border: 1px solid #294473;
  11. }
  12. .fb_button_style a:link,
  13. .fb_button_style a:visited,
  14. .fb_button_style a {
  15. background:url(images/f_logo.png) center left no-repeat;
  16. background-size: 22px 22px;
  17. padding-left: 22px;
  18. display: inline-block;
  19. background-color: #5f78ab;
  20. }
  21. .fb_button_style a span {
  22. color: #fff;
  23. font-size: 12px;
  24. font-weight: bold;
  25. padding: 4px 4px;
  26. }
  27. .fb_button_style a div,
  28. .fb_button_style a span {
  29. cursor: pointer;
  30. }
  31. /* Show spinner when reloading. */
  32. .fb_spinner {
  33. background:url(images/fb_spinner.gif) center left no-repeat;
  34. position: fixed;
  35. top: 50%;
  36. left: 50%;
  37. margin-left: -50px; /* half width of the spinner gif */
  38. margin-top: -50px; /* half height of the spinner gif */
  39. z-index:9999;
  40. overflow: auto;
  41. width: 100px; /* width of the spinner gif */
  42. height: 102px; /*hight of the spinner gif +2px to fix IE8 issue */
  43. }
  44. /* Grey out entire page when reloading. */
  45. #fb_reload {
  46. position: fixed;
  47. width: 100%;
  48. height: 100%;
  49. top: 0;
  50. left: 0;
  51. background:grey;
  52. filter:alpha(Opacity=50);
  53. opacity:0.5;
  54. z-index:9998;
  55. }