Guest User

Untitled

a guest
Oct 15th, 2018
89
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.89 KB | None | 0 0
  1. /*
  2. * ページ内容の上に浮かぶようなダイアログ
  3. */
  4. .hoverpanel {
  5. position: absolute;
  6. top: 0;
  7. left: 0;
  8. z-index: @zindexPopover;
  9. padding: 5px;
  10. background-color: @white;
  11. border: 1px solid #999;
  12. border: 1px solid rgba(0,0,0,.3);
  13. *border: 1px solid #999; /* IE6-7 */
  14. .border-radius(6px);
  15. .box-shadow(0 3px 7px rgba(0,0,0,0.3));
  16. .background-clip(padding-box);
  17.  
  18. .hoverpanel-header {
  19. padding: 9px 15px;
  20. border-bottom: 1px solid #eee;
  21. // Close icon
  22. .close { margin-top: 2px; }
  23. }
  24.  
  25. .hoverpanel-body {
  26. overflow-y: auto;
  27. max-height: 400px;
  28. padding: 15px;
  29. }
  30.  
  31. .hoverpanel-footer {
  32. padding: 14px 15px 15px;
  33. margin-bottom: 0;
  34. text-align: right; // right align buttons
  35. background-color: #f5f5f5;
  36. border-top: 1px solid #ddd;
  37. .border-radius(0 0 6px 6px);
  38. .box-shadow(inset 0 1px 0 @white);
  39. .clearfix(); // clear it in case folks use .pull-* classes on buttons
  40.  
  41. // Properly space out buttons
  42. .btn + .btn {
  43. margin-left: 5px;
  44. margin-bottom: 0; // account for input[type="submit"] which gets the bottom margin like all other inputs
  45. }
  46.  
  47. // but override that for button groups
  48. .btn-group .btn + .btn {
  49. margin-left: -1px;
  50. }
  51. }
  52. }
  53.  
  54. /*
  55. * 日時入力用
  56. * inc/scripts/bootstrap-datetime.jsをご参考に。
  57. */
  58. .datetime-input {
  59. width: 300px;
  60.  
  61. table th,
  62. table td {
  63. text-align: center;
  64. }
  65.  
  66. .datetime-date {
  67.  
  68. .datetime-yyyymm-input {
  69. display: none;
  70. }
  71.  
  72. &.datetime-yyyymm-on {
  73. .datetime-yyyymm-label {
  74. display: none;
  75. }
  76.  
  77. .datetime-yyyymm-input {
  78. display: inline;
  79. }
  80. .datetime-yyyymm-input input {
  81. width: auto;
  82. margin-bottom: 0;
  83. }
  84. }
  85.  
  86. tbody td a {
  87. cursor: pointer;
  88. }
  89.  
  90. .inactive a {
  91. color: @grayDarker;
  92. }
  93. .selected {
  94. .buttonBackground(@btnPrimaryBackground, @btnPrimaryBackgroundHighlight);
  95. }
  96. .selected a {
  97. color: @white;
  98. }
  99. }
  100.  
  101. .datetime-time {
  102. thead {
  103. display: none;
  104. }
  105. select {
  106. width: 100%;
  107. }
  108. }
  109. }
Add Comment
Please, Sign In to add comment