not really known
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

269 lines
4.6 KiB

  1. /*For smartphone mode*/
  2. /** Splitbar only appears on desktop mode. I hid it when window size becomes small. **/
  3. .toolbar {
  4. padding: 0 30px !important;
  5. }
  6. .palette .wrapper {
  7. max-width: none !important;
  8. }
  9. .splitbar {
  10. display: none !important;
  11. }
  12. #image-save, #previous-button, #next-button, #add-button, #add-globe, #text-button, #sort-button, #clean-all-button {
  13. display: none;
  14. }
  15. @media only screen and (min-width: 250px) {
  16. #text-button {
  17. display: inline-block;
  18. }
  19. }
  20. @media only screen and (min-width: 290px) {
  21. #image-save {
  22. display: inline-block;
  23. }
  24. }
  25. @media only screen and (min-width: 330px) {
  26. #add-button {
  27. display: inline-block;
  28. }
  29. }
  30. @media only screen and (min-width: 390px) {
  31. #add-globe {
  32. display: inline-block;
  33. }
  34. }
  35. @media only screen and (min-width: 440px) {
  36. #previous-button {
  37. display: inline-block;
  38. }
  39. }
  40. @media only screen and (min-width: 500px) {
  41. #sort-button {
  42. display: inline-block;
  43. }
  44. }
  45. @media only screen and (min-width: 550px) {
  46. #next-button {
  47. display: inline-block;
  48. }
  49. }
  50. @media only screen and (min-width: 610px) {
  51. #clean-all-button {
  52. display: inline-block;
  53. }
  54. }
  55. @media only screen and (min-width: 690px) {
  56. .splitbar {
  57. display: inline-block !important;
  58. }
  59. }
  60. /****/
  61. #main-toolbar #activity-button {
  62. background-image: url(../activity/fototoon.svg);
  63. }
  64. #doc-open {
  65. background-image: url(../icons/document-open.svg);
  66. }
  67. #doc-save {
  68. background-image: url(../icons/document-save.svg);
  69. }
  70. #image-save {
  71. background-image: url(../icons/save-as-image.svg);
  72. }
  73. #previous-button {
  74. background-image: url(../icons/go-previous-paired.svg);
  75. }
  76. #next-button {
  77. background-image: url(../icons/go-next-paired.svg);
  78. }
  79. #add-button {
  80. background-image: url(../icons/insert-picture.svg);
  81. }
  82. #add-globe {
  83. background-image: url(../icons/globe.svg);
  84. }
  85. #text-button {
  86. background-image: url(../icons/format-text-size.svg);
  87. }
  88. #sort-button {
  89. background-image: url(../icons/thumbs-view.svg);
  90. }
  91. #clean-all-button {
  92. background-image: url(../icons/edit-clear.svg);
  93. }
  94. #text-style-toolbar {
  95. padding: 0px 25px;
  96. }
  97. #text-inc-size {
  98. background-image: url(../icons/resize+.svg);
  99. }
  100. #text-dec-size {
  101. background-image: url(../icons/resize-.svg);
  102. }
  103. #text-set-bold {
  104. background-image: url(../icons/format-text-bold.svg);
  105. }
  106. #text-set-italic {
  107. background-image: url(../icons/format-text-italic.svg);
  108. }
  109. .color-picker {
  110. width: 44px;
  111. height: 44px;
  112. margin: 2px;
  113. border-radius: 22px;
  114. border-color: white;
  115. }
  116. #text-palette textarea {
  117. height: 75px;
  118. resize: none;
  119. }
  120. /* fix padding on textpalette title */
  121. #text-palette .row.small {
  122. padding: 10px 10px 0px 10px;
  123. }
  124. /* these are the icons in the globes menu */
  125. button.icon {
  126. background-repeat: no-repeat;
  127. background-size: 33px;
  128. }
  129. button#GLOBE.icon {
  130. background-image: url(../icons/globe.svg);
  131. }
  132. button#EXCLAMATION.icon {
  133. background-image: url(../icons/exclamation.svg);
  134. }
  135. button#WHISPER.icon {
  136. background-image: url(../icons/whisper.svg);
  137. }
  138. button#RECTANGLE.icon {
  139. background-image: url(../icons/box.svg);
  140. }
  141. button#CLOUD.icon {
  142. background-image: url(../icons/think.svg);
  143. }
  144. #canvas {
  145. background-color: #fff;
  146. background-image:
  147. linear-gradient(90deg, transparent 79px, #abced4 79px, #abced4 81px, transparent 81px),
  148. linear-gradient(#eee .1em, transparent .1em);
  149. background-size: 100% 1.2em;
  150. };
  151. #canvas p {
  152. margin-top: 25%;
  153. text-align: center;
  154. }
  155. #mainCanvas {
  156. background-color: #ffffff;
  157. position: absolute;
  158. }
  159. #sortCanvas {
  160. background-color: #ffffff;
  161. position: absolute;
  162. }
  163. #page-counter {
  164. color: #ffffff;
  165. background-color: #282828;
  166. width: 80px;
  167. height: 80px;
  168. border: solid 2px white;
  169. border-radius: 60px;
  170. position: fixed;
  171. bottom: 10px;
  172. right: 10px;
  173. text-align: center;
  174. }
  175. #page-counter span {
  176. display: inline-block;
  177. vertical-align: middle;
  178. /* css trick: line-height bigger than div height to show centered :/ */
  179. line-height: 80px;
  180. font-family: Sans;
  181. font-weight: bold;
  182. font-size: 14px;
  183. }
  184. #wait {
  185. color: #ffffff;
  186. background-color: #282828;
  187. text-align: center;
  188. width: 120px;
  189. height: 120px;
  190. border: solid 2px white;
  191. border-radius: 60px;
  192. text-align: center;
  193. opacity: 0.7;
  194. vertical-align: middle;
  195. margin: 200px auto;
  196. }
  197. #wait img {
  198. margin-top: 20%;
  199. height: 60%;
  200. }
  201. /* This probably should be upstream (sugar-web, I don't know why
  202. the separators in the toolbars are wrong */
  203. .toolbar hr {
  204. margin-bottom: 5px;
  205. }
  206. .splitbar {
  207. background-image: url(../icons/split.svg);
  208. background-position: center;
  209. background-repeat: no;
  210. width: 3px;
  211. margin-left: 5px;
  212. margin-right: 4px;
  213. margin-bottom: 4px;
  214. height: 45px;
  215. display: inline-block;
  216. vertical-align: bottom;
  217. }