You are here

views_mediatable.css in Views MediaTable 7

.mediaTableWrapper {
	position: relative;
}

.mediaTableWrapperWithMenu {
	padding-top: 3em;
}

.mediaTableMenuClosed ul {
	display: none;
}

.mediaTableMenu {
	position: absolute;
	top: 0;
	right: 0;

	border: 1px solid #aaa;
	border-radius: 5px;
	overflow: hidden;
}

.mediaTableMenu a {
	display: block;
	background: #ddd;
	padding: 0.5em;
	cursor: pointer;
	
	-webkit-border-top-right-radius: 5px;
	-webkit-border-top-left-radius: 5px;
	-moz-border-radius-topright: 5px;
	-moz-border-radius-topleft: 5px;
	border-top-right-radius: 5px;
	border-top-left-radius: 5px;
	
}

.mediaTableWrapper .mediaTableMenu ul {
	background: #FFF;
	margin: 0;
	padding: 0 0.5em;
}

.mediaTableMenuClosed a {
	border-radius: 5px;
}

.mediaTableMenu ul li {
	line-height: 2em;
	position: relative;
}

.mediaTableMenu ul li label {
	cursor: pointer;
	padding-left: 20px;
}
.mediaTableMenu ul li input {
	position: absolute;
	top: 5px;
}



.activeMediaTable th,
.activeMediaTable td {
	display: none;
}

.activeMediaTable th.essential,
.activeMediaTable td.essential {
	display: table-cell;
	_display: block; /* IE6 Hack */
}
/* IE7 Hack */
*+html .activeMediaTable th.essential,
*+html .activeMediaTable td.essential {
	display:block;
}

/* ----- Media Queries ------------ */

@media screen and (min-width: 768px) {
	.activeMediaTable th.optional,
	.activeMediaTable td.optional {
		display: table-cell;
		_display: block; /* IE6 Hack */
	}
	
	/* IE7 Hack */
	*+html .activeMediaTable th.optional,
	*+html .activeMediaTable td.optional {
		display: block;
	}
	
}

@media screen and (min-width: 1024px) {
	.activeMediaTable th,
	.activeMediaTable td {
		display: table-cell;
		_display: block; /* IE6 Hack */
	}
	
	/* IE7 Hack */
	*+html .activeMediaTable th,
	*+html .activeMediaTable td {
		display: block;
	}
	
}

File

css/views_mediatable.css
View source
  1. .mediaTableWrapper {
  2. position: relative;
  3. }
  4. .mediaTableWrapperWithMenu {
  5. padding-top: 3em;
  6. }
  7. .mediaTableMenuClosed ul {
  8. display: none;
  9. }
  10. .mediaTableMenu {
  11. position: absolute;
  12. top: 0;
  13. right: 0;
  14. border: 1px solid #aaa;
  15. border-radius: 5px;
  16. overflow: hidden;
  17. }
  18. .mediaTableMenu a {
  19. display: block;
  20. background: #ddd;
  21. padding: 0.5em;
  22. cursor: pointer;
  23. -webkit-border-top-right-radius: 5px;
  24. -webkit-border-top-left-radius: 5px;
  25. -moz-border-radius-topright: 5px;
  26. -moz-border-radius-topleft: 5px;
  27. border-top-right-radius: 5px;
  28. border-top-left-radius: 5px;
  29. }
  30. .mediaTableWrapper .mediaTableMenu ul {
  31. background: #FFF;
  32. margin: 0;
  33. padding: 0 0.5em;
  34. }
  35. .mediaTableMenuClosed a {
  36. border-radius: 5px;
  37. }
  38. .mediaTableMenu ul li {
  39. line-height: 2em;
  40. position: relative;
  41. }
  42. .mediaTableMenu ul li label {
  43. cursor: pointer;
  44. padding-left: 20px;
  45. }
  46. .mediaTableMenu ul li input {
  47. position: absolute;
  48. top: 5px;
  49. }
  50. .activeMediaTable th,
  51. .activeMediaTable td {
  52. display: none;
  53. }
  54. .activeMediaTable th.essential,
  55. .activeMediaTable td.essential {
  56. display: table-cell;
  57. _display: block; /* IE6 Hack */
  58. }
  59. /* IE7 Hack */
  60. *+html .activeMediaTable th.essential,
  61. *+html .activeMediaTable td.essential {
  62. display:block;
  63. }
  64. /* ----- Media Queries ------------ */
  65. @media screen and (min-width: 768px) {
  66. .activeMediaTable th.optional,
  67. .activeMediaTable td.optional {
  68. display: table-cell;
  69. _display: block; /* IE6 Hack */
  70. }
  71. /* IE7 Hack */
  72. *+html .activeMediaTable th.optional,
  73. *+html .activeMediaTable td.optional {
  74. display: block;
  75. }
  76. }
  77. @media screen and (min-width: 1024px) {
  78. .activeMediaTable th,
  79. .activeMediaTable td {
  80. display: table-cell;
  81. _display: block; /* IE6 Hack */
  82. }
  83. /* IE7 Hack */
  84. *+html .activeMediaTable th,
  85. *+html .activeMediaTable td {
  86. display: block;
  87. }
  88. }